main_file = "example.tex" [templates] section = ''' %! TEX root = ../../../example.tex % LTeX: language=en-GB \section{lpm::new_section_name} % lpm::current_date (lpm::current_chapter_name::title_case) This is some text ''' chapter = ''' %! TEX root = ../../example.tex % LTeX: language=en-GB \chapter{lpm::new_chapter_name} % lpm::current_date ''' figure = ''' % LTeX: language=en-GB \documentclass[varwidth]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} % lpm::current_date (lpm::new_figure_name) \begin{tikzpicture} \end{tikzpicture} \end{document} '''