VnPenguin said this at Sun, 20 Feb 2005 19:17:41 +0100:
I'm preparing a document and I would like to product several versions PDF with different fonts.
I would like to use command line. Could you give me a simple example please.
% I've adapted this for gwTeX default encodings. % Convert back to t5 as appropriate! \doifmode{palatino} {\usetypescript[adobekb][8r] \usetypescript[palatino][8r] \setupbodyfont[palatino,12pt]} \doifmode{times} {\usetypescript[adobekb][8r] \usetypescript[postscript][8r] \setupbodyfont[postscript,12pt]} \starttext \input knuth \showfontstrip \stoptext ...and run with: texexec --pdf --mode=palatino filename texexec --pdf --mode=times filename -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-