Typst is an easy to use markup format that can produce nice-looking documents, comparable to LaTeX, with fraction of the work needed to be put in by the editor. You can edit its files with any text editor, its compiler is open source and commonly found in software repositories.
- Typst Documentation, especially styling reference.
#import "/typst/hswro.typ"
#show: hswro.template.with(
document_date: datetime.today()
)
= Document title
Document contents
In the main directory of this reporitory call:
typst compile --root (pwd) path/to/document.typYou can use the live preview feature which regenerates the output file each time the document is saved using the watch command. A convenient setup pairs this with an auto-refreshing PDF reader, for example Okular.
typst watch --root (pwd) path/to/document.typForgejo Actions will automatically build all .typ files found in this repository, compress them to a .zip file and provide in the job artifacts.