If you have the modes defined in a layout.tex you can say in the main file:

\enablemode[times]
%\enablemode[palatino]
%\enablemode[..]
\environment layout.

So by adding the appropriate \enablemode you even do not need to run the commandline ...

Willi

Adam Lindsay wrote:
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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to