Crate tex_tmpl_rs

Source

Structs§

TemplateRecipe
A recipe for render_pdf which specifies an input template path, an output PDF path, data in form of mapping (Serializeable) and an optional vector of HandlebarsHelper

Functions§

prepare_tex
Outputs TeX from TemplateRecipe
render_pdf
Outputs PDF from TemplateRecipe using tectonic::latex_to_pdf
render_tex
Outputs TeX and PDF from TemplateRecipe using tectonic::latex_to_pdf

Type Aliases§

HandlebarsHelper
Alias for a (String, fn(h: &Helper<'_, '_>, hb: &Handlebars<'_>, c: &Context, rc: &mut RenderContext<'_, '_>, out: &mut dyn Output) -> HelperResult).