Changes

Jump to navigation Jump to search
1,398 bytes removed ,  15:10, 6 June 2006
→‎Installing XeTeX: deleted notes about ctx files and other hopefully obsolete information (I hope that nobody needs them any more) and added some links for Windows and Linux users
(N.B.: The instructions described on this and other pages apply only to texexec versions 5.2.3 and up, and ConTeXt 2004.11.23 or later, which seems to correspond with TeXLive 2004.)
===Installing Where to get XeTeX?===* <b>Mac OS X</b>: The best and easiest way of installing XeTeX on MacOSX is by using Gerben Wierda's [http://www.rna.nl/tex.html i-Installer]. After that, there is currently ([[1 December]] [[2004]]) one configuration file change that you are ''likely'' to need. (If you don't find the configuration line that follows, just jump to [[#Basic Installation|Basic Installation]] on this page!) XeTeX currently doesn't accept or ignore the * <ttb>-translate-fileLinux</ttb> option that Hans has chosen as a default for normal ConTeXt operation: you can download the source or binaries from [http://scripts. I haven't figured out how to run different "profiles" sil.org/xetex_linux SIL] or configurations within my current installation, so I just edited use the following lines in <tt>[http:/usr/localwww.pragma-ade.com/teTeXdownload-1.htm Stand-alone distribution from Pragma] ([http:/share/texmfwww.pragma-ade.localcom/context/configinstall/[[texexeclinuxtex.zip linuxtex.inizip]]</tt> (or wherever )* <ttb>texexecWindows</ttb> finds its configuration file) from for tetex set TeXPassString to -progname=context --default-translate-file=cp8bit for tetex set TeXVirginFlag to -ini -translate-file=natural.tcx Not officially released yet, but available on [http://www.fsci.fuk.tokindai.ac..  for tetex set TeXPassString to jp/kakuto/win32-progname=context % and perhaps -shell-escape for tetex set TeXVirginFlag to ptex/web2c75-ini  ''(In other words, cut out the ''-translate-file''-like options from the tetex set of parameterse. Your actual settings may vary!)'' I believe that's all that's necessary to change from the default or commonly recommended settings. I run ConTeXt with both pdfetex and XeTeX under this configuration, and it seems to work well enough (except for a minor warning in pdfTeX)html W32TeX] distribution.
====Basic Installation====
After XeTeX being installed and ConTeXt being updated, you should make a format with <tt>texexec</tt>:
 
For XeTeX 0.9(and after), you need to check that syst-xtx.tex(/texmf.local/tex/context/base/) contained the following lines:
 
\ifx\scratchread\undefined \newread\scratchread \fi
\immediate\openin\scratchread=unicode-letters.tex \ifeof\scratchread
\immediate\openin\scratchread=xplain.tex \ifeof\scratchread
% no initialization file
\else
\input xplain.tex
\fi
\else
\input unicode-letters.tex
\fi
 
Now, make a format.
texexec --make --xtx en
This will generate <ttcode>cont-en.xfmtfmt</ttcode>, which will be used when running XeTeX and ConTeXt. For XeTeX 0.9(and after), it will gernerate <tt>cont-en.fmt</tt>.
(If you receive permissions errors, then you may need to precede the above command with <tt>sudo</tt>:)
sudo texexec --make --xtx en
If you have later problems, make sure that the <tt>cont-en.xfmtfmt</tt> file was placed in the correct directory for formats, typically <tt>/usr/local/teTeX/share/texmf.local/web2c/xetex/</tt>.
For For XeTeX 0.9(and after), create a folder <tt>xetex</tt> in the folder <tt>/usr/local/teTeX/share/texmf.local/web2c/</tt>, and put the created format <tt>cont-en.fmt</tt> in it.

Navigation menu