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