[XeTeX] Em-dash

David Purton dcpurton at marshwiggle.net
Mon May 3 06:12:49 CEST 2010


On Mon, May 03, 2010 at 11:43:30AM +0900, Cyril Niklaus wrote:
>
> On 3 mai 10, at 10:26, David Purton wrote:
>
>> Hi all,
>>
>> Can someone test if the the below example works with the 12pt article
>> option?
>>
>> i.e., \documentclass[12pt]{article}
>>
>> I'm just left with blankspaces for em and en dashes with 12pt and the
>> default fonts.
> ________________
> \documentclass[12pt]{article}
> \pagestyle{empty}
> \usepackage{xltxtra} %loads xunicode and fontspec
> \begin{document}
> ---
> \end{document}
> ____________
>
> Both with and without the [12pt] work fine here, I get the expected em  
> dash.

Thanks.

Hum. Seems to be a problem with xpdf... evince and acroread render it,
but not xpdf. xpdf is fine with 10 and 11 pt, but not 12pt.

Anyone's guess as to whether the problem might be with xpdf or with the
font?

I might report a bug against xpdf anyway.

dcpurton at swires:~/temp$ xelatex emdash.tex 
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 restricted \write18 enabled.
entering extended mode
(./emdash.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, ibycus, monogreek, greek, ancientgreek, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size12.clo))
(/usr/share/texmf-texlive/tex/xelatex/xltxtra/xltxtra.sty
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty)
(/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-texlive/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texmf-texlive/tex/generic/xkeyval/keyval.tex)))
(/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/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/latex/metalogo/metalogo.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/xetex-def/xetex.def))))
(/usr/share/texmf-texlive/tex/latex/etex-pkg/etex.sty)
(/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty)) (./emdash.aux)
[1]
(./emdash.aux) )
Output written on emdash.pdf (1 page).
Transcript written on emdash.log.
 

cheers

dc

-- 
David Purton
dcpurton at marshwiggle.net
 
For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
                                 2 Chronicles 16:9a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/xetex/attachments/20100503/f67106b1/attachment-0001.bin>


More information about the XeTeX mailing list