How to create Latex pdf directly from julia

Latexify generates LaTeX code from Julia code. You will want to combine Latexify.jl with Weave.jl to generate a PDF from the outputs.

I wrote a short guide for my use case of displaying functions and tables defined in a package in this post, but Weave can also include plots and numerical answers in the PDF output.

Edit: Actually, the difficulty regarding the workarounds in that post are all related to trying to Latexify and Weave code that already exists as a package. If you are just writing a standalone script to generate the PDF output, you can just follow the examples included in the Weave package.

1 Like