[XeTeX] footnotes and Didot

Cyril Niklaus cyril.niklaus at gmail.com
Fri Nov 30 04:49:14 CET 2007


On 30 nov. 07, at 12:07, Will Robertson wrote:

> On 30/11/2007, at 1:26 PM, Cyril Niklaus wrote:
>
>> I'm trying to typeset a text with Didot and it has footnotes.
>> Unfortunately Didot (the one from Mac OS X leopard) does not have
>> superior numbers
>
> This shouldn't be a problem.
> Are you using xltxtra?
I am.
> It might have a bug under Leopard.
> Why is fontspec complaining about lining numbers?
that's because I'm using this:

%this makes Chicago style footnotes:
\makeatletter
\renewcommand\@makefntext[1]{%
    \vspace{2pt}%
    \setlength\parindent{-1.8em}%
    \setlength\leftskip{1.8em}%
    \makebox[1.8em][l]{\normalfont\small\@thefnmark.}#1}
\makeatother

\makeatletter
\def\@makefnmark{{\addfontfeatures
{Numbers=Lining,VerticalPosition=Superior}{\@thefnmark}}}
\makeatother
%%%
Seeing this error made me look at this definition again.

If I comment out the second makeatletter, the complaints dissapear and  
it works. If I leave the second makeatletter, I get the complaints and  
the footnote is just a normal 1 stuck to the word.
I had no occasions to use footnote with Didot prior to that, so I  
never noticed that this definition could be the cause of problems.

On a (not so) related note, I also got the no output file output  
written … with that same file. It seems that Estilo (which does not  
have accented letters) does not like my using it to typeset décembre.  
But instead of warning me, it just does not produce any output.I  
noticed that while trimming the problematic document to post here.
I call the font like this:
\rhead{\fontspec{Estilo}1er décembre 2007}
\chead{\fontspec{Estilo}\scshape Molière}
\lhead{\fontspec{Estilo}Auteurs}



and in  the log there are lines and lines of

Package fontspec Info: Defining font family for "Estilo" with options  
[Mapping=
tex-text,] on input line 128.
Package fontspec Info: Could not resolve font Estilo/B (it might not  
exist) on
input line 128.
Package fontspec Info: Could not resolve font Estilo/I (it might not  
exist) on
input line 128.
Package fontspec Info: Could not resolve font Estilo/BI (it might not  
exist) on
  input line 128.

which did not struck me as an obvious problem since I'm not using  
Estilo in bold or italic anyway.

If I only get rid of the é in décembre, the file outputs fine; I don't  
need to change Molière…



here's the console:

This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
  %&-line parsing enabled.
entering extended mode
(./2007-12-01-Moliere.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,  
dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak,  
german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,  
finnish,
  french, greek, monogreek, ancientgreek, croatian, hungarian,  
interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk,  
polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,  
swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/frenchb.ldf
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/babel.def)
*************************************
* Local config file frenchb.cfg used
*
(/usr/local/texlive/2007/texmf-dist/tex/generic/babel/frenchb.cfg)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xetexconfig/ 
geometry.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/local/texlive/2007/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.tex))
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/euenc/lm/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2007/texmf/tex/latex/config/graphics.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/graphics/xetex.def)))
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/etex/etex.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fixltx2e.sty))
(/usr/local/texlive/2007/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/setspace/setspace.sty
Package: `setspace' 6.7 <2000/12/01>
) (/usr/local/texlive/2007/texmf-dist/tex/latex/lineno/lineno.sty)
(./2007-12-01-Moliere.aux)
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/t1lmr.fd)
Underfull \hbox (badness 10000) in paragraph at lines 75--131

[1] (./2007-12-01-Moliere.aux)
Output file removed.
  )
(\end occurred inside a group at level 1)

### semi simple group (level 1) entered at line 66 (\begingroup)
### bottom level
(see the transcript file for additional information)
Output written on 2007-12-01-Moliere.pdf (1 page).
Transcript written on 2007-12-01-Moliere.log.


More information about the XeTeX mailing list