Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, it has no macros, that is its greatest selling point. Instead you can use an embedded programming language which will look familiar to anyone who has some experience with software development to script it.

Replacing TeX's abysmal macro expansion language with a reasonably normal programming language is one of the reasons you would use it. Look at the example on their GitHub to see how the language works in a document.



I take it you don't write much maths then? Most of the macros I define are to make the process of writing maths faster, easier and more correct (common expressions become short macros, macros for specific semantics etc.), and the lack of amsmath-equivalent means that Typst loses out on a major part of its audience.

The "reasonably normal programming language" part is a turn-off for non-software-devs, and for software devs I'm not sure why I wouldn't generate LaTeX via something like jinja2, or directly create PDFs with reportlab.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: