[XeTeX] xelatex and table of contents

Alan Munn amunn at gmx.com
Wed May 11 16:42:01 CEST 2011


On May 11, 2011, at 5:02 AM, François Patte wrote:

> \listfiles
> \documentclass[a4paper,11pt]{report}
> 
> \usepackage[frenchb]{babel}
> \frenchbsetup{AutoSpaceFootnotes=false}

You shouldn't be using babel with xelatex; you should use polyglossia instead.
> 
> \usepackage{xltxtra}
> \setmainfont[Mapping=tex-text]{Linux Libertine O}
> \newfontfamily\sanskritfont{Linux Libertine O}
> 
> % \usepackage{dev}

In the source for dev.sty:

%    This is an old package kept just for compatibility reasons. Use
%    devanagari.sty in new documents.

(And even that advice might not be accurate for xelatex.  Polyglossia would be the way forward here, too.)

Alan

-- 
Alan Munn
amunn at gmx.com







More information about the XeTeX mailing list