[pdftex] creating multiple versions of same document
Thierry Bouche
Thierry.Bouche at ujf-grenoble.fr
Thu Mar 29 11:02:40 CEST 2001
» Although TeX is very powerful it is still hard to create two PDF files from
» a single source in one run.
I think David had a script in mind, simple as:
pdflatex '\def\options{screenversion}\input' "$1.tex"
mv $1.pdf $1-screen.pdf
pdflatex '\def\options{paperversion}\input' "$1.tex"
mv $1.pdf $1-paper.pdf
etc. You can also have \PassOptionsToPackage in the pdflatex line, if
needed.
that's how I would do it...
Thierry Bouche
__
« Ils vivent pour vivre, et nous, hélas ! nous vivons pour savoir. »
Charles Baudelaire, Paris.
More information about the pdftex
mailing list