Welcome to latest

latest | A \(\LaTeX\)-oriented template engine

latest is lightweight templating engine for Python, designed for model documents separating the presentation from the data. It has a simple, configurable, \(\LaTeX\)-compatible syntax.

\documentclass{article}

\title{\latest{$ meta $}}

\begin{document}

\begin{latest}{$ data $}
x = \latest{$ len(scalar) $} so that $x^2$ = \latest{$ scalar**2 $}.
\end{latest}

\begin{itemize}
\begin{latest}{$ [{'i': i, 'v': v} for i, v in enumerate(data.vector)] $}[join={$ '\n' $}]
\item index = \latest{$ i $}, value = \latest{$ v $}
\end{latest}
\end{itemize}

\end{document}

Features

  • command line tool
  • \(\LaTeX\)-compatible
  • configurable syntax

Indices and tables