summary refs log tree commit diff stats
path: root/java/template.typ
Commit message (Collapse)AuthorAgeFilesLines
* Complete all Java assignmentsSudipto Mallick2024-01-281-9/+15
|
* Add support for dates of Java assignmentsSudipto Mallick2024-01-271-4/+9
|
* Rewrite Java assignment prelude to be more readableSudipto Mallick2024-01-271-3/+8
|
* Implement Java Assignment #15 and moreSudipto Mallick2024-01-241-1/+10
| | | | | | | | java/{code/ParentWithTwoChildren.java, output/ParentWithTwoChildren.typ, text/ParentWithTwoChildren.typ}: Code, output and assignment text for Java assignment #15 java/state.sql: Update for Java assignment #15 java/template.typ: Allow for long program description to be left aligned and justified, instead of centered java/tobedone: Update to show assignment numbers (implicitly `rowid`)
* Initial implementation of complete assignmentSudipto Mallick2024-01-121-4/+13
| | | | | | | | | | | | This is the initial implementation of the generation of complete document of the assignments. java/buildall: Generates a Typst document from the list of assignments in `alist.txt` (needs to updated to work with `state.sql` in future). java/prelude.typ: Contains the prelude code responsible for generating the table of contents, using the facilities provided by Typst. java/template.typ: Updated so that it can be used with `prelude.typ` for generating the table of contents. .gitignore: To ignore `all.typ`, which is a build artifact.
* Add Java assignments to the repositorySudipto Mallick2024-01-021-0/+100
.gitignore: The build files, files left by editors like *~ and the PDF documents for the assignments are to be ignored for the purposes of version control. README.rst: Rewrite, with one line description in Chinese. java/alist.txt: List of assignments, sorted in the order of the list of assignments, with the ones with completed documentation marked with `#`. java/buildall: Script that will build all of the assignments into one PDF file; to be rehauled for the final document. code/*.java: The Java source code for the assignments. dbld: Script that builds a PDF document for a single assignment. index.typ: The list of assignments, subject to update for further refinement and inclusion of yet more assignments. jbld: Script that compiles code for a single Java assignment. output/*.typ: Typst file containing the output (sessions) obtained from running the individual Java assignments. state.sql: Future alternative to `alist.txt`, under development. template.typ: The Typst template used across all of assignment, containing common code for the uniform styling, such as page border. text/*.typ: Typst file documenting each Java assignment. vendor/Java.sublime-syntax: Updated Sublime Text syntax file for Java, used for newer syntax features, such as `var`, not yet available in syntaxes shipped with Typst. vendor/gr.tmTheme: A grayscale TextMate theme to be used for code in the documents generated by Typst suitable for black and white printing. wltd: Difference between the files in `code/` and `text/`, and `code/` and `output`; need to be rewritten along with `state.sql`.