<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 10px; border-collapse: collapse; ">Hi,<div><br></div><div>I am trying to use a new font under XeTex/XeLatex. I keep getting error messages and no success. Thanks for any help which may be given. </div>
<div>The environment is: Ubuntu, Texworks, TexLive 2009 distribution.</div><div><br></div><div>I installed the font. It is available on the system (for example, to Abiword).</div><div>I ran texhash as root after installing.</div>
<div>I also ran sudo fc-cache -v-f</div><div><br></div><div>Here is the sample Xelatex file:</div><div><br></div><div><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
% !TEX TS-program = xelatex</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">% !TEX encoding = UTF-8</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">% This is a simple template for a XeLaTeX document using the "article" class,</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
% with the fontspec package to easily select fonts.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
\documentclass[11pt]{article} % use larger type; default would be 10pt</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
\usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">\defaultfontfeatures{Mapping=tex-text} % to support TeX conventions like ``---''</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">\usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
\usepackage{xltxtra} % Extra customizations for XeLaTeX</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
\setmainfont{LeMonde Livre Classic Normal} % set the main body font (\textrm), assumes Charis SIL is installed</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">%\setsansfont{Deja Vu Sans}</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">%\setmonofont{Deja Vu Mono}</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">% other LaTeX packages.....</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">\geometry{a4paper} % or letterpaper (US) or a5paper or....</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">\usepackage{graphicx} % support the \includegraphics command and options</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">\title{Brief Article}</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
\author{The Author}</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">%\date{} % Activate to display a given date or no date (if empty),</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
% otherwise the current date is printed</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
\begin{document}</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">\maketitle</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">%\section{}</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">%\subsection{}</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
\end{document}</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
Here is the error message:</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></p><p></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">/usr/bin/xelatex: unrecognized option '-synctex=1'</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
This is XeTeXk, Version 3.141592-2.2-0.996-patch2 (Web2C 7.5.6)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">%&-line parsing enabled.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
entering extended mode</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(./LML.tex</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
LaTeX2e <2005/12/01></p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">n, swedish, ukenglish, pinyin, loaded.</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/latex/base/article.cls</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/latex/base/size11.clo))</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/latex/tools/calc.sty)</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.tex</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/latex/xkeyval/keyval.tex)))</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf/tex/latex/lm/lmodern.sty)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1enc.def)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf-texlive/tex/xelatex/euenc/lm/eu1lmr.fd))</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">fontspec.cfg loaded.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.cfg))</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty)</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/xelatex/xltxtra/xltxtra.sty</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/etc/texmf/tex/latex/config/graphics.cfg)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/xelatex/graphics/xetex.def)))</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf-texlive/tex/latex/etex/etex.sty)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty))</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/geometry.cfg)) (./LML.aux)</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf/tex/latex/lm/omllmm.fd)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
(/usr/share/texmf/tex/latex/lm/omslmsy.fd)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">(/usr/share/texmf/tex/latex/lm/omxlmex.fd) [1] (./LML.aux)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
** WARNING ** This .map file looks like a dvips format fontmap file.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">** WARNING ** -- Current input buffer is: aealbattar ae_AlBattar "ArabeyesArabicEncoding ReEncodeFont" <ararabeyes.enc <ae_albattar.pfb</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">** WARNING ** -- Reading fontmap file stopped at: file="pdftex.map", line=6.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">Output file removed.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
)</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">Output written on LML.pdf (1 page).</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
Transcript written on LML.log.</p><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "></p><p></p></div></span>