5 ms·
Reminds me of reportlab, which I loathe only because of their lack of documentation. Typesetting is hard. But at this point why not use semantic html and a spe
by drekipus 4y ago
Reminds me of reportlab, which I loathe only because of their lack of documentation.
Typesetting is hard. But at this point why not use semantic html and a specially crafted css?
- charlieyu1 4y agoMathML is not even supported in browsers these days
- mapierce2 4y agoEither KaTeX or MathJax has stepped in to support mathematical notation on the web. https://katex.org https://katex.org https://www.mathjax.org https://www.mathjax.org
- jfk13 4y agoThat rather depends on your choice of browser. https://en.wikipedia.org/wiki/MathML#Browser_support https://en.wikipedia.org/wiki/MathML#Browser_support
- fmajid 4y agoFor computer-generated documents like invoices, that is totally the way to go.
- pja 4y agoSile will take Docbook XML as an input format. Close enough?
- cristoperb 4y agoThis is the most exciting feature of Sile to me -- since I currently rely on a slow and memory hungry Java toolchain to convert docbook to pdf with fop -- but I just tried it on two docbook documents (a book and also a short article) and it failed to convert both. Apparently the docbook support is currently very incomplete: https://github.com/sile-typesetter/sile/issues/1338 https://github.com/sile-typesetter/sile/issues/1338
- pja 4y agoYes, I think Sile has a lot of promise but it really needs some work done to bring these features up to scratch for end users. And inevitably volunteer time is in short supply...
- alerque 4y agoActually it just takes XML as an input format, but depending on your XML you need to provide a class that defines how to typeset each tag. For Docbook SILE has an example class with about 40% of the possible tags defined to something sensible. If you want to typeset Docbook you'd need to round that out to cover your use case. To date it is only supplied as an example of how to process XML.