[XeTeX] xelatex and table of contents

François Patte francois.patte at mi.parisdescartes.fr
Wed May 11 11:02:05 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 11/05/2011 01:37, Wilfred van Rooijen a écrit :
> Hi,
> 
> Please send a minimal example file which illustrates the problem. Then we can try to reproduce and fix the error.

Here is an example; I have found the culprit: the package dev.sty

Uncomment  % \usepackage{dev}

And diacritical marks do not appear in the table of contents. Strangely,
this behaviour is only there not in the main document.

%%%%%%%%%%%%%ECM
\listfiles
\documentclass[a4paper,11pt]{report}

\usepackage[frenchb]{babel}
\frenchbsetup{AutoSpaceFootnotes=false}

\usepackage{xltxtra}
\setmainfont[Mapping=tex-text]{Linux Libertine O}
\newfontfamily\sanskritfont{Linux Libertine O}

% \usepackage{dev}

\begin{document}

\chapter{La règle d'inversion}

Deux \textit{śloka}, formules qui sont le moyen du calcul concernant
la règle d'inversion:

\begin{verse}
  {\bfseries%
    chedaṃ guṇaṃ guṇaṃ chedaṃ\\
    \hspace*{10mm} vargaṃ mūlaṃ padaṃ kṛtim\par}
\end{verse}

Ceci est la règle du calcul inverse qui, {\bfseries dṛśye} un nombre

\section{{\itshape viśleṣajātiḥ}}

L'auteur éclaire à l'aide d'un exemple la \textit{viśleṣajātiḥ}
qui vient à son tour:

\begin{verse}
  {\bfseries%
    pañcāṃśo 'likulāt kadambam agamat tryaṃśaḥ śilīndhraṃ
    tayor\\
    \hspace*{10mm} viśleṣas triguṇo mṛgākṣi kuṭajaṃ
    dolāyamāno 'paraḥ\par}
\end{verse}

\tableofcontents

\end{document}
%%%%%%%%%%%end ECM

 *File List*
  report.cls    2007/10/19 v1.4h Standard LaTeX document class
  size11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
   babel.sty    2008/07/06 v3.8l The Babel package
 frenchb.ldf    2009/03/16 v2.3d French support from the babel system
 frenchb.cfg
scalefnt.sty
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
 xltxtra.sty    2009/12/26 v0.5b Improvements for the "XeLaTeX" format
 ifxetex.sty    2009/01/23 v0.5 Provides ifxetex conditional
fontspec.sty    2008/08/09 v1.18 Advanced font selection for XeLaTeX
    calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
 fontenc.sty
  eu1enc.def    2010/01/28 v0.1f Experimental Unicode font encodings
  eu1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
fontspec.cfg
xunicode.sty    2008/02/08 v0.91 provides access to latin accents and
many othe
r characters in Unicode lower plane
metalogo.sty    2009/09/04 v0.11 Extended TeX logo macros
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2009/08/28 v1.8 graphics configuration of TeX Live
   xetex.def    2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX
(RRM/JK)

    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
fixltx2e.sty    2006/09/13 v1.1m fixes to LaTeX
 ***********

- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk3KUI0ACgkQdE6C2dhV2JVN9QCgy/xLY5HdME982JxDJYqIctra
VWMAn0XYnJMkvqiSRf/PkzxZ2+aoaTdL
=V6do
-----END PGP SIGNATURE-----


More information about the XeTeX mailing list