3 ms·
I'm not really into LaTeX but I am really into the specific problem of authoring documents with a certain (user-defined) look-and-feel by leveraging some (very
by airstrike 4y ago
I'm not really into LaTeX but I am really into the specific problem of authoring documents with a certain (user-defined) look-and-feel by leveraging some (very user-friendly) DSL that is close to markdown but with more features
Does Typst support themes so that I can achieve that? Are there other tools I should be aware of?
Are there tools that do all of the above and have themes defined as CSS?
I'm aware of RMarkdown + Knitr which is a fantastic combo (and honestly my inspiration for digging into this problem) but that's obviously still too much "programming" for wider adoption
- V__ 4y agoIf you don't have high typesetting needs, maybe WeasyPrint fits your use case. [1] https://weasyprint.org/ https://weasyprint.org/
- airstrike 4y agoOh my god, this is fantastic. It doesn't solve the DSL part but it does solve the output-to-PDF-using-CSS part. They also seem so nice! I guess I can clobber together my own DSL and then run with this. I can't thank you enough
- V__ 4y agoGlad to be of help. Just out of curiosity, what's your use case?
- airstrike 4y agoStarting my own company to solve other people's use cases :-) I'm a business "end user" who also loves programming. After 10+ years being a part of both worlds, I feel like I have a very strong vision for how these tools should work, so I've decided to build my own. It's a daunting task, but if I can leverage existing tools, maybe it's just a matter of gluing everything together neatly
- tarleb 4y agoMaybe take a look at pandoc before writing your own DSL. You can use it with --pdf-engine=weasyprint, so your DSL can be Markdown, reStructuredText, Org-mode, ...
- airstrike 4y agoThank you. pandoc may be part of the glue too, I have to think about it. I probably do want my own DSL as none of the existing ones apply to my "domain", "specifically"