Is there a way to automatically generate two different pdf files with one run of pdflatex?
I would like to produce a german and an english version of the same document. I know how to define a command acting as a switch (e.g. \germanenglish), which I could use like
\germanenglish{Deutscher Text}{english text}
Yet the best solution for now is defining a command in the preamble used to switch the switch. More convenient, however, would be a way of having latex produce
filename_de.tex
filename_en.tex
with one click.