[XeTeX] XeTex: can't use font

Zavier Zavier zavierz at gmail.com
Sun Dec 13 23:59:26 CET 2009


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
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"

% 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

\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






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


LaTeX2e <2005/12/01>

Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang,

yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech,

ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek,

ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk,
icelandic, i

nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian,

eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan,

n, swedish, ukenglish, pinyin, loaded.


Document Class: article 2005/09/16 v1.4f Standard LaTeX document class












fontspec.cfg loaded.












(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/geometry.cfg)) (./LML.aux)



(/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/1db4e499/attachment.html>

More information about the XeTeX mailing list