[XeTeX] xelatex and table of contents
Ross Moore
ross.moore at mq.edu.au
Wed May 11 22:45:06 CEST 2011
Hi François, Alan and others.
On 12/05/2011, at 3:05 AM, Alan Munn wrote:
> On May 11, 2011, at 11:41 AM, François Patte wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Le 11/05/2011 16:42, Alan Munn a écrit :
>>
>> Thanks for answering.
>>
>>>> \usepackage[frenchb]{babel}
>>>> \frenchbsetup{AutoSpaceFootnotes=false}
>>>
>>> You shouldn't be using babel with xelatex; you should use polyglossia instead.
>>
>> I wish I could! But the "French style" with polyglossia is far from
>> being as advanced as the babel one....
>
> Are babel and xelatex really compatible? I'm not sure that they are. But this isn't the source of the problem.
I don't see any problem at all, with the provided example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 43820 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20110512/59feaa6b/attachment-0001.jpeg>
-------------- next part --------------
Here is the XeTeX version, font warnings and the packages,
as listed by \listfiles :
This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
LaTeX Font Warning: Font shape `EU1/LinuxLibertineO(0)/bx/n' undefined
(Font) using `EU1/LinuxLibertineO(0)/m/n' instead on input line 15
.
*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 2010/11/07 v2.1d Advanced font selection for XeLaTeX/LuaLaTeX
expl3.sty 2010/10/02 v2056 L3 Experimental code bundle wrapper
l3names.sty 2010/10/03 v2064 L3 Experimental Naming Scheme for TeX Primitiv
es
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty 2010/10/03 v2063 L3 Experimental basic definitions
l3expan.sty 2010/09/20 v2037 L3 Experimental Argument Expansion module
l3tl.sty 2010/10/03 v2063 L3 Experimental Token Lists
l3int.sty 2010/10/09 v2070 L3 Experimental Integer module
l3quark.sty 2010/09/20 v2036 L3 Experimental Quark Commands
l3seq.sty 2010/03/29 v1879 L3 Experimental sequences and stacks
l3toks.sty 2010/09/20 v2037 L3 Experimental Token Registers
l3prg.sty 2010/10/03 v2063 L3 Experimental control structures
l3clist.sty 2010/10/09 v2071 L3 Experimental comma separated lists
l3token.sty 2010/10/03 v2063 L3 Experimental token investigation and manipu
lation
l3prop.sty 2010/03/21 v1857 L3 Experimental Property Lists
l3msg.sty 2010/10/02 v2052 L3 Experimental LaTeX Messages module
l3io.sty 2010/10/03 v2063 L3 Experimental i/o module
l3skip.sty 2010/10/03 v2063 L3 Experimental skip registers
l3box.sty 2010/09/26 v2048 L3 Experimental Box module
l3keyval.sty 2010/04/11 v1890 L3 Experimental keyval processing
l3keys.sty 2010/10/13 v2075 L3 Experimental key-value support
l3precom.sty 2010/02/09 v1793 L3 Experimental precompilation module
l3xref.sty 2010/02/09 v1786 L3 Experimental cross referencing
l3file.sty 2010/03/21 v1853 L3 Experimental file loading
l3fp.sty 2010/09/19 v2029 L3 Experimental floating-point operations
l3luatex.sty 2010/07/18 v1985 L3 Experimental LuaTeX functions
calc.sty 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
xparse.sty 2010/05/23 v1927 Generic document command parser
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
fontspec-patches.sty 2010/11/07 v2.1d Advanced font selection for XeLaTeX/Lu
aLaTeX
fixltx2e.sty 2006/09/13 v1.1m fixes to LaTeX
fontenc.sty
eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty 2010/11/06 v0.96 provides access to latin accents and many othe
r characters in Unicode lower plane
fontspec.cfg
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 2010/04/23 v1.9 graphics configuration of TeX Live
xetex.def 2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX (RRM/JK)
dev.sty 2003/06/09 $Revision: 1.14$ LaTeX macros for Velthuis Devanagar
i
cite.sty 2009/08/29 v 5.2
udn.fd
***********
>
>>
>>>>
>>>> \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.
>>
>> dev.sty just calls devanagari.sty. So the problem will be the same!
>
> Ok. Is devanagari.sty compatible with xelatex? I wouldn't think so.
>
> devanagari.sty redefines @starttoc and sets the default encoding to OT1 (an odd choice.)
>
> After loading devanagari.sty add the following:
>
> \def\DNencdefault{EU1}
> \def\DNrmdefault{lmr}
>
> This superficially seems to solve the problem.
This wasn't necessary for me.
So if someone sees a difference in package versions from what I used,
then that may provide a clue as to the source of the incompatibility.
>
>
> Alan
>
> --
> Alan Munn
> amunn at gmx.com
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross.moore at mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the XeTeX
mailing list