Typst
From Gentoo Wiki
Typst is a new markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use.
Installation
Emerge
app-text/typst is currently in GURU:
root #
emerge --ask app-text/typst::guru
Usage
The example document used is:
= Hello, World!
Hello, Gentoo!
== Things to do
+ Write Wiki page for Typst
- Mention usage
+ Bump ebuild for category/foo
== Definition of a derivative
$lim_(h arrow.r 0) (f(x + h) - f(x)) / h$
Compiling a document
To build a document, use typst compile:
user $
typst compile hello.typ
If the document was successfully compiled, nothing should be output.
Troubleshooting
Error compiling
If Typst encounters an issue in the document given, it will provide an error message detailing where the issue is:
user $
typst compile hello.typ
error: unclosed delimiter ┌─ hello.typ:13:0 │ 13 │ $lim_(h arrow.r 0) (f(x + h) - f(x) / h) │ ^