[XeTeX] newbie umlaut problems

Carsten Ziegert carsten_ziegert at sil.org
Mon Nov 16 07:39:07 CET 2009


I (being German) included \usepackage[ngerman}{babel} in the preamble to
get umlauts.
(You should probably have [ngerman,english]{babel} in order to have
english as default language.)

Carsten

Am Sonntag, den 15.11.2009, 22:29 +0100 schrieb Michael:
> Hi all,
> 
> I'm just starting out with xetex, and I'm struggling to get out of the 
> blocks.  I'm having a problem getting German characters to appear 
> correctly in my pdf.
> 
> I'm using Ubuntu 8.10, I started out installing only the TexLive 
> packages which sounded relevant, but since then I've installed the 
> package "texlive-full", v 2007.dfsg.1-2.
> 
> Below, you can see my input file, the output from my command line when 
> processing this, and an excerpt from the log file.  I chose Verdana for 
> now just because "fc-list" lists it as one of the available fonts:  The 
> output looks like the German characters got swallowed along with the 3 
> characters after them:
> 
> "Here are some German words: sch    f   t, M    sterreich, Spa  "
> 
> I'd appreciate any advice.
> 
> -Michael
> 
> 
> %% START FILE
> \title{My book}
> 
> \author{Me}
> 
> \documentclass{article}
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
> 
> \setmainfont{Verdana}
> 
> \begin{document}
> \section{Section One}
> 
> \subsection{ Sunday }
> \fontspec{Verdana}
> \par Here are some German words: schön, fährt, Müll, Österreich, Spaß.
> \end{document}
> %% END FILE
> 
> 
> ====== command line output ==========
> tom# xelatex test.tex
> This is XeTeXk, Version 3.141592-2.2-0.996-patch2 (Web2C 7.5.6)
>  %&-line parsing enabled.
> entering extended mode
> (./test.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/size10.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)) (./test.aux) [1]
> (./test.aux) )
> (see the transcript file for additional information)
> Output written on test.pdf (1 page).
> Transcript written on test.log.
> tom#
> 
> ===== test.log (as it appears in vim) =========
> Package fontspec Info: Defining font family for "Verdana" with options 
> [] on in
> put line 17.
> Missing character: There is no <dd72> in font Verdana/ICU!
> Missing character: There is no <dea0> in font Verdana/ICU!
> Missing character: There is no [39F2] in font Verdana/ICU!
> Missing character: There is no [A856] in font Verdana/ICU!
> Missing character: There is no [] in font Verdana/ICU!
> 
-- 
Carsten Ziegert
SIL Chad
skype : carstenzi
mobile: (+235) 378.58.00



More information about the XeTeX mailing list