3 ms·
Do you have plans for Latex by any chance?
by threatofrain 5y ago
Do you have plans for Latex by any chance?
- schemescape 5y agoDo you mean embedding Latex in a Markdown code block and having that render at build time (perhaps to SVG) that is embedded in (or linked from) HTML? If so, that might be something I could look into. Version 1 of md2blog actually did almost exactly that for Graphviz diagrams (but I removed that feature because, frankly, I didn't understand the Graphviz license). A quick look indicates that Latex also has its own unique license that is... quite lengthy.
- powersnail 5y agoMathjax has server-side rendering now, which could be used for this purpose.
- shoo 5y agoI recently wrote a few documents in latex after ignoring it for over a decade. Trying to get a working setup with latex + bibtex + a few custom styles was quite annoying (and i work as a backend developer, so i probably tolerate annoying command line tools more than most people). I can appreciate that people (e.g. researchers) who just want to author a document with some equations in latex but who are not programmers or avid command line users might find the entire experience of getting a tolerable latex workflow set up very challenging. I guess that might be partly why https://www.overleaf.com/ https://www.overleaf.com/ has a business model! Hide all the package management and command line tooling nonsense behind a simple web interface. I was very excited to find Thomas Weise had wrangled latex and a Tex Live installation into a docker container: https://github.com/thomasWeise/docker-texlive-thin https://github.com/thomasWeise/docker-texlive-thin Another useful tool is latexmk, which is already installed inside the docker-texlive-thin container : https://mg.readthedocs.io/latexmk.html https://mg.readthedocs.io/latexmk.html By containing the madness of latex tooling and package management with docker and some volume mounts, I could have a reasonably sane build process to manufacture PDFs from latex source files. I don't recommend md2blog add mandatory dependencies on anything related to latex. Another way to think about it might be offering optional latex support through some md2blog plugin mechanism that doesn't know anything about latex. But that path sure won't produce anything resembling a "zero config" static site generator! Might end up with something closer to apache httpd.