[tex-live] Xetex examples

George N. White III gnwiii at gmail.com
Tue May 12 22:52:02 CEST 2009

On Tue, May 12, 2009 at 4:58 PM, Ken Brown <kbrow1i at gmail.com> wrote:
> Does TL2008 come with any examples of xetex or xelatex files that can be
> typeset using only the fonts supplied by texlive?  I'm curious to try out
> xetex, which I've never used before, but almost every example I try gives me
> errors about fonts that are not installed.
> For example, if I run xelatex on
> texmf-dist/doc/xelatex/polyglossia/example-arabic.tex, I get an error about
> Junicode.  If I edit the file and replace "Junicode" by "Latin Modern
> Roman", the compilation gets a little further but then complains about
> Inconsolata.  I can replace "Inconsolata" by "Bitstream Vera Sans Mono" and
> get a complaint about Lucida Sans Unicode.  And so on.
> I think my fontconfig setup is probably OK, because xelatex does find
> "Bitstream Vera Sans Mono" and "Latin Modern Roman".

The whole point of xetex is to use "system" fonts, but you should be able
to do "xelatex sample2e" and get Computer Modern fonts.

$ xelatex sample2e
This is XeTeXk, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.7)
 %&-line parsing enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, basque, pinyin, french, ukenglish, loaded.
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
No file sample2e.aux.
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/omscmr.fd) [1] [2] [3]
(./sample2e.aux) )
Output written on sample2e.pdf (3 pages).
Transcript written on sample2e.log.
gwhite at dormarth:xetex$ pdffonts sample2e
Error: Couldn't open file 'sample2e'
gwhite at dormarth:xetex$ pdffonts sample2e.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
CNLKDH+CMR17                         Type 1C           yes yes no       4  0
YIVDVZ+CMR12                         Type 1C           yes yes no       5  0
YPAJBZ+CMR10                         Type 1C           yes yes no       6  0
BBEGRF+CMBX12                        Type 1C           yes yes no       7  0
KVIXCY+CMR7                          Type 1C           yes yes no       8  0
LHLXRQ+CMSY10                        Type 1C           yes yes no       9  0
GRYCUV+CMTI10                        Type 1C           yes yes no      10  0
BVKDGN+CMMI10                        Type 1C           yes yes no      14  0
EHOINF+CMMI7                         Type 1C           yes yes no      15  0
QYCYXF+CMSY7                         Type 1C           yes yes yes     16  0
YJMJID+CMEX10                        Type 1C           yes yes yes     17  0
AOVASR+CMR6                          Type 1C           yes yes no      18  0
WVOIYU+CMR8                          Type 1C           yes yes no      19  0

George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia

More information about the tex-live mailing list