Skip to content

Typical CLI workflows

For grid documents:

automath render atmxs --rotate SOURCE > exam.atmxs

Check and possibly edit exam.atmxs; then:

automath render html --answers exam.atmxs > exam_answers.html

automath render templates exam.atmxs -o exam.json

or, if you just want the complete exam (+ answers) (non-interactive) file:

automath render html -w exam.atmxs

if you prepare several levels, you can get all answers in one doc:

automath render html --answers level1.atmxs level2.atmxs level3.atmxs level4.atmxs > exam_answers.html

For slideshow documents:

automath render atmxs SOURCE > doc.atmxs

Check and possibly edit doc.atmxs; then:

automath render html -w doc.atmxs

or prepare several ones — doc1.atmxs, doc2.atmxs, doc3.atmxs — and render them all at once (-w accepts several files):

automath render html -w doc*.atmxs