texrender
A small crate to run latexmk
from Rust, similar to latex, escape LaTeX code and generate LaTeX documents programmatically.
Example: Rendering latex
let doc = r"
\documentclass{article}
\begin{document}
hello, world.
\end{document}
";
let tex = from_bytes;
let _pdf = tex.render.expect;
Example: Generating latex code
use elems;
use TexElement;
use ;
let tex = doc;
let output = tex.render.expect;
assert_eq!;