I am writing an application, of which CVT LaTeX generation is part, so I am in a situation where I have lines like
\begin{document} \title{Papers by AUTHOR} \author{} \date{} \maketitle \begin{enumerate} %% LIST OF PAPERS %% Please comment out anything between here and the %% first \item %% Please send any updates or corrections to the list to %% XXXEMAIL???XXX %\usepackage[pdftex, ...
which I would like to fill with dynamic information, for example. E-mail address. Due to the format of LaTeX itself ... the format with the {email} syntax will not work, and none of them will use the dictionary with the% (email) syntax. Editing: in particular, lines such as "\ begin {document}" (command in LaTeX) should be left literally as they are, without replacing with .format and lines such as "%%" (comment in LaTeX) should also be on the left, without replacing the dictionary. What is a smart way to do this?
python string format latex
Valkyrie savage
source share