[XeTeX] Extra text with itemize? "(0).fd (0).fd ..."
Jonathan Kew
jonathan_kew at sil.org
Wed Jul 26 09:04:56 CEST 2006
On 26 Jul 2006, at 1:46 am, Bryan Catanzaro wrote:
> Hi -
> I'm using XeTeX 3.141592-0.994a (Web2C 7.5.3), kpathsea version 3.5.3
> (from fink) on OS X 10.4.7
> I get some weird behavior with my first item in the first itemize
> block in a document.
> Xelatex seems to be inserting some extra text, which repeats like
> this in the margin next to the first bullet
> "(0).fd (0).fd (0).fd" for Cochin font,
> "text (0).fd Text (0).fd" for Hoefler Text font,
> "sans (0).fd Sans (0).fd" for Gill Sans font,
> "new (0).fd New (0).fd" for Courier New font, etc.
> A tex file which does this can be found at http://
> www.eecs.berkeley.edu/~catanzar/test.tex
> and the rendered output can be found at http://www.eecs.berkeley.edu/
> ~catanzar/test.pdf
A couple of points: first, when working with xe(la)tex and standard
Unicode fonts, you probably shouldn't be loading packages such as
\usepackage[T1]{fontenc}
as this is specific to legacy tex font encodings. (It may be that
subsequently loading fontspec overrides this, so it might be
harmless; I'm not sure how these things interact.)
You also probably don't want
\usepackage[latin1]{inputenc}
as it is *much* preferable to maintain the source text in Unicode
(utf-8), and xetex will handle this transparently (*without* an
inputenc option).
But I think the immediate problem is caused by something about the
bullets, and how they are defined by latex (because standard latex
doesn't expect to print them directly as unicode characters in the
main text font; it might have to get them from a different symbol
font with a different encoding). Try loading the xunicode package,
which should redefine such things to access the appropriate unicode
characters, and I think the problem will disappear.
JK
More information about the XeTeX
mailing list