Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino.utils.latex

Based on http://www.djangosnippets.org/snippets/102/

Added by LS:

20090621 - template can now also be a list or tuple of filenames - renamed parameter “type” to “outtype” - support for templates containing non-ascii data

Functions

pdflatex(outfile[, outtype])

process_latex(template[, context, outtype, ...])

Processes a template as a LaTeX source file.

lino.utils.latex.process_latex(template, context={}, outtype='pdf', outfile=None)

Processes a template as a LaTeX source file. Output is either being returned or stored in outfile. At the moment only pdf output is supported.