LaTeX server in Erlang?
"Lloyd R. Prentice" <[email protected]> Wed, 9 Feb 2022 22:20:36 -0700
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, I’m hoping for conceptual guidance. Turns out that LaTeX has a markdown package. This inspires me to write a LaTeX server. But I my Erlang skills aren’t yet up to it: 1. User passes markdown file to the server over the web 2. Erlang calls os:cmd(“latexmk -lualatex —shell-escape blabla.tex”) 3. lualatex generates PDF 4. Server returns PDF to user My vague understanding is that the server would provide a form that requests a file upload, then provide a location where the user can download the PDF. But I’d like go one step further: How might the user/server link be automated given that the “user” is another process or node in a cluster? I’d much appreciate ideas or pointers to references that can help dispel my mental fog. Many thanks, LRP Sent from my iPad