% == introduction == % % This is 'texexec.ini', the file used by texexec to determine where % to find files, what TeX to use, what flags to pass, etc. Although % TeXexec tries to locate things itself, a little help is sometimes % needed. One can influence texexec by setting some variables. These % are only needed when the automatic determined settings fail. % % == interfacing == % % UsedInterfaces nl,en the formats generated with --make % UserInterface nl the default format used % % == binaries == % % TeXExecutable pdfetex the TeX binary to use % MpExecutable mpost the MetaPost binary to use % MpToTeXExecutable mpto the MetaPost to TeX converter % DviToMpExecutable dvitomp the DVI to MetaPost converter % % == Scripts == % % DviSpecialScript dvispec the DVI special filter script % % == flags == % % TeXFormatFlag & the format introducer % TeXVirginFlag -ini the format generation switch % % == paths == % set TeXFormatPath to f:/localtexmf/miktex/fmt set ConTeXtPath to f:/Miktex/tex/context/base set SetupPath to f:/Miktex/tex/context/base set TeXScriptsPath to f:/Miktex/context/perltk % TeXFontsPath texmf font files % % == the main shell setting == % % As shown below, one can define his/her own sections. We default to % the teTeX/fpTeX web2c based settings. %set TeXShell to tetex %set TeXShell to fptex set TeXShell to miktex %set TeXShell to private % == setting up the variables == % % Here are some general defaults. They can be overruled later. set UsedInterfaces to en nl de uk set UserInterface to en set TeXExecutable to tex set MpExecutable to mpost set MpToTeXExecutable to mpto set DviToMpExecutable to dvitomp set DviSpecialScript to dvispec set MpFormat to metafun set TeXFormatFlag to & set MpFormatFlag to & %set TeXFontsPath to l:/tex/texmf;l:/tex/texmf-local; % For teTeX the next settings will do. for tetex set TeXExecutable to pdfetex for tetex set TeXVirginFlag to -ini for tetex set TeXPassString to -progname=context for tetex set TeXBatchFlag to -int=batchmode for tetex set MpToTeXExecutable to mpto for tetex set MpVirginFlag to -ini for tetex set MpPassString to -progname=mpost for tetex set MpBatchFlag to -int=batchmode % These also apply to fpTeX. for fptex set TeXExecutable to pdfetex for fptex set TeXVirginFlag to -ini for fptex set TeXPassString to -progname=context for fptex set TeXBatchFlag to -int=batchmode for fptex set MpToTeXExecutable to mpto for fptex set MpVirginFlag to -ini for fptex set MpPassString to -progname=mpost for fptex set MpBatchFlag to -int=batchmode % MikTeX users probably have to set up some paths too. for miktex set TeXExecutable to pdfetex for miktex set TeXVirginFlag to --initialize for miktex set TeXBatchFlag to --interaction=batchmode for miktex set MpToTeXExecutable to mptotex for miktex set MpVirginFlag to --initialize for miktex set MpPassString to for miktex set MpBatchFlag to --interaction=batchmode for miktex set TeXFormatFlag to --undump= for miktex set MpFormatFlag to --undump= % These are the settings used on some machines at PRAGMA ADE that % don't use the texmf tree. They can serve as an example for local % settings. Local settings should either be added to the previous % one, or go without the 'for' directives. Consider these % settings as an example. for private set UsedInterfaces to en nl for private set UserInterface to nl for private set ConTeXtPath to t:/sources/ for private set SetupPath to t:/perl/ for private set TeXScriptsPath to t:/perl/ % == read this too == % % If this file is called 'texexec.rme', copy it to 'texexec.ini', % check the settings above, change them according to your TeX % distribution, and say: % % texexec --verbose % % When set up properly, you should see your local settings fly by. % When these settings are ok, the next call should work: % % texexec --make % % and you should be able to process a file by saying % % texexec filename % % See 'mtexexec.pdf' for more information on the flags you can use with % 'texexec'. Also make sure you have the 'texutil' script installed in % the same path as 'texexec'. % Experimental % % set TcXPath to d:/tex/texmf/web2c % set FmtLanguage to pl % set FmtBodyFont to plr