[XeTeX] ArabXeTeX pre-release

Peter Dyballa Peter_Dyballa at Web.DE
Thu Nov 30 13:55:39 CET 2006


Am 30.11.2006 um 13:03 schrieb Anas Ghrab:

> 2- Put Arabxetex in /usr/local/teTeX/share/texmf.tetex/tex/

That's a very bad place to install! This place is not under your  
control, but under that of MacTeX. If you update MacTeX your  
installation might get lost. The proper system-wide place is /usr/ 
local/teTeX/share/texmf.local/tex. You can correct this issue on the  
command line with

	sudo mv /usr/local/teTeX/share/texmf.tetex/tex/<arabtex> /usr/local/ 
teTeX/share/texmf.local/tex
	sudo mktexlsr or sudo texhash


> fontspec.cfg loaded.
> (/usr/local/teTeX/share/texmf.local/tex/xelatex/fontspec/ 
> fontspec.cfg)))
> (./test.aux)
> ! Font \zf at basefont=Scheherazade at 10.0pt not loadable: Metric (TFM)
> file or i
> nstalled font not found.

XeTeX's fontspec is loaded here and cannot find the Scheherazade font  
in the system (you see that it comes from the texmf.local branch?).  
Obviously this font was not installed as a Mac OS X font, i.e.  
neither in /Library/Fonts nor in ~/Library/Fonts.

XeTeX has no good support for traditional TeX fonts. On Linux and on  
Mac OS X it uses "system fonts" which are available to all  
applications and are not accompanied by a paraphernalia of supporting  
files and file formats.

If Scheherazade is a PostScript or Unicode encoded TrueType or  
OpenType font, then just put a copy of it into /Library/Fonts. The  
easiest way to do so is, to double-click the real font file. Then  
FontBook is launched. It will offer to install the font, or show some  
warning(s). By default FontBook installs into ~/Library/Fonts, which  
only gives /you/ access to the font. By changing FontBook's  
preferences it will install system-wide into /Library/Fonts.

An arbitrarily or "custom" encoded TrueType font cannot be used in  
XeTeX because of missing mappings from TeX customs to font customs.

Fonts on Mac OS X in /Library/Fonts or ~/Library/Fonts (or /System/ 
Library/Fonts) can be used in any application. (So in the end you  
could use Scheherazade in TeXShop to set your text directly and UTF-8  
encoded in Arab and use pure XeTeX or XeLaTeX ...)

--
Greetings

   Pete

There is no worse tyranny than to force a man to pay for what he does  
not want merely because you think it would be good for him.
                                            -- Robert Heinlein




More information about the XeTeX mailing list