[XeTeX] Em-dash

Cyril Niklaus cyril.niklaus at gmail.com
Mon May 3 04:43:30 CEST 2010


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.

This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)
  %&-line parsing enabled.
entering extended mode
(./emdash.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,  
dumylang, noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek,  
ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech,  
danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german,  
ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish,  
italian, la
tin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese,  
romanian, rus
sian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish,  
ukenglis
h, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty
(/usr/local/texlive/2008/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2008/texmf/tex/latex/config/graphics.cfg)
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/local/texlive/2008/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2008/texmf-dist/tex/generic/xkeyval/xkeyval.tex))
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/euenc/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/texlive/2008/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/fixltx2e.sty)) (./ 
emdash.aux
) [1] (./emdash.aux) )
Output written on emdash.pdf (1 page).
Transcript written on emdash.log.



More information about the XeTeX mailing list