[XeTeX] Errors upon first Install

Alan Jones ajones394 at gmail.com
Fri Jan 2 16:43:10 CET 2009


Hi:

I am a newbie to XeTeX. I just installed XeTeX on a Debian Linux
machine. It tried a simple tex file

\documentclass[a4paper,10pt]{scrbook}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
\setmainfont{Antykwa Torunska}

\begin{document}
XeLaTeX Test!

Greek: τεχ.
\end{document}

I get this error

kpathsea: Illegal fontname `Antykwa Torunska': contains ' '

! Font \zf at basefont="Antykwa Torunska" at 10.0pt not loadable: Metric (TFM) fil
e or installed font not found.
\zf at fontspec ...ntname \zf at suffix " at \f at size pt
                                                  \unless \ifzf at icu \zf at set@...
l.7 \setmainfont{Antykwa Torunska}


It is unable to find the font. This font is in
/usr/share/texmf-texlive/fonts/opentype/public/antt
file.

How do I make it recognise these fonts.

How do I install different fonts. I have Officina Sans fonts in Type 1
format. I want to use this font. How do I install this.

Thanks,
AJ


More information about the XeTeX mailing list