[XeTeX] hyperref broken??

Ross Moore ross.moore at mq.edu.au
Wed Oct 6 23:11:49 CEST 2010


Hi David,

On 06/10/2010, at 11:10 AM, David J. Perry wrote:

> Hi Will,
> 
> See the attached.  This is a version of a file that I had on my machine upstate (I kept the preamble, just removed the actual text).  This file would not compile last weekend, giving me the same errors that I encountered while working on my big book project.
> 
> It compiles on my machine in the city.  As best I can recall, I updated MiKTeX on this machine some last summer (July??).  When I compiled this file, MiKTeX identified a couple of missing packages and I let it download them, which may have muddied the waters a little.  I think those may have had to do with updates to bidi and/or fontspec since July.

Your example works for me with 

   This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)

and the following package versions:

 *File List*
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
 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/09/29 v2.1b Advanced font selection for XeLaTeX/LuaLaTeX
   expl3.sty    2010/09/16 v2022 L3 Experimental code bundle wrapper
 l3names.sty    2010/09/26 v2048 L3 Experimental Naming Scheme for TeX Primitives
    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty    2010/09/20 v2037 L3 Experimental basic definitions
 l3expan.sty    2010/09/20 v2037 L3 Experimental Argument Expansion module
    l3tl.sty    2010/09/21 v2040 L3 Experimental Token Lists
l3intexpr.sty    2010/09/22 v2045 L3 Integer Expressions
 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
   l3int.sty    2010/09/19 v2029 L3 Experimental Integer module
   l3prg.sty    2010/09/22 v2043 L3 Experimental control structures
 l3clist.sty    2010/09/20 v2037 L3 Experimental comma separated lists
 l3token.sty    2010/09/19 v2029 L3 Experimental token investigation and manipulation
  l3prop.sty    2010/03/21 v1857 L3 Experimental Property Lists
   l3msg.sty    2010/03/23 v1866 L3 Experimental LaTeX Messages module
    l3io.sty    2010/05/22 v1923 L3 Experimental i/o module
  l3skip.sty    2010/09/23 v2047 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/05/24 v1931 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/09/29 v2.1b Advanced font selection for XeLaTeX/LuaLaTeX
fixltx2e.sty    2006/09/13 v1.1m fixes to LaTeX  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
xunicode.sty    2010/05/18 v0.95 provides access to latin accents and many other 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)

   color.sty    2005/11/14 v1.0j Standard LaTeX Color (DPC)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
longtable.sty    2004/02/01 v4.11 Multi-page Table package (DPC)
   array.sty    2008/09/09 v2.4c Tabular extension package (FMi)
colortbl.sty    2001/02/13 v0.1j Color table columns (DPC)
   float.sty    2001/11/08 v1.3d Float enhancements (AL)
    tipa.sty    2002/08/08 TIPA version 1.1
 fontenc.sty
   t3enc.def    2001/12/31 T3 encoding
  eu1enc.def    2010/01/28 v0.1f Experimental Unicode font encodings
  layout.sty    2000/09/25 v1.2c Show layout parameters
     url.sty    2006/04/12  ver 3.3  Verb mode for urls, etc.
hyperref.sty    2010/06/04 v6.81f Hypertext links for LaTeX
 ltxcmds.sty    2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
kvsetkeys.sty    2010/03/01 v1.9 Key value parser (HO)
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/message (HO)
etexcmds.sty    2010/01/28 v1.3 Prefix for e-TeX command names (HO)
pdfescape.sty    2010/03/01 v1.9 Provides hex, PDF name and string conversions (HO)
pdftexcmds.sty    2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
   ifpdf.sty    2010/01/28 v2.1 Provides the ifpdf switch (HO)
  ifvtex.sty    2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
 hycolor.sty    2009/12/12 v1.6 Color options of hyperref/bookmark (HO)
xcolor-patch.sty    2009/12/12 xcolor patch
letltxmacro.sty    2008/06/24 v1.3 Let assignment for LaTeX macros (HO)
  pd1enc.def    2010/06/04 v6.81f Hyperref: PDFDocEncoding definition (HO)
 intcalc.sty    2007/09/27 v1.1 Expandable integer calculations (HO)
hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty    2010/02/22 v3.7 Keyval support for LaTeX options (HO)
   puenc.def    2010/06/04 v6.81f Hyperref: PDF Unicode definition (HO)
  bitset.sty    2007/09/28 v1.0 Data type bit set (HO)
bigintcalc.sty    2007/11/11 v1.1 Expandable big integer calculations (HO)
atbegshi.sty    2010/03/25 v1.12 At begin shipout hook (HO)
  hxetex.def    2010/06/04 v6.81f Hyperref driver for XeTeX
stringenc.sty    2010/03/01 v1.8 Converts strings between encodings (HO)
rerunfilecheck.sty    2010/03/16 v1.6 Rerun checks for auxiliary files (HO)
polyglossia.sty    2010/07/15 v1.2.0 Babel replacement for XeLaTeX
etoolbox.sty    2010/04/10 v1.9 e-TeX tools for LaTeX
makecmds.sty    2009/09/03 v1.0a extra command making commands
gloss-english.ldf    polyglossia: module for english
gloss-greek.ldf    polyglossia: module for greek
xgreek-fixes.def
gloss-latin.ldf    polyglossia: module for latin
gloss-hebrew.ldf    polyglossia: module for hebrew
    bidi.sty    2010/03/01 v1.0.4 <revision 202> Bidirectional typesetting in XeLaTeX
footnote-bidi.def    2010/03/01 v0.4 footnote macros for bidi package
loadingorder-bidi.def    2010/03/01 v0.1 making sure that bidi is the last package loaded
color-bidi.def    2010/03/01 v0.1 adaptations for color package
colortbl-bidi.def    2010/03/01 v0.1 adaptations for colortbl package
xltxtra-bidi.def    2010/03/01 v0.1 adaptations for xltxtra package
graphicx-bidi.def    2010/03/01 v0.3 adaptations for graphicx package
hyperref-bidi.def    2010/03/01 v0.2 adaptations for hyperref package
array-bidi.def    2010/03/01 v0.1 adaptations for array package
longtable-bidi.def    2010/03/01 v0.2 adaptations for longtable package
article-bidi.def    2010/03/01 v0.2 adaptations for standard article class
hebrewcal.sty    2008/07/01 v2.4 Hebrew calendar for polyglossia (adapted from hebcal.sty in Babel)
cal-util.def
babel-hebrewalph.def    2010/03/02 Babel definitions for Hebrew numerals, Adapted from hebrew.ldf (2005/03/30 v2.3h)
   t3cmr.fd    2001/12/31 TIPA font definitions
 nameref.sty    2010/04/30 v2.40 Cross-referencing by name of section
refcount.sty    2008/08/11 v3.1 Data extraction from references (HO)
gettitlestring.sty    2009/12/18 v1.3 Cleanup title references (HO)
minimalDJP-test.out
minimalDJP-test.out
 ***********


To achieve this though, I had to ensure:

  XeTeX binary was more recent than 2008
  fontspec.sty   and  expl3.sty  (+ friends) are very recent
  polyglossia.sty  was similarly recent
  etoolbox.sty   definitely needed to be updated.


> 
> In this file, if I include 'hypertex' driver in the hyperref setup options, I get an error (not surprising).  On my city computer, I can hit ENTER and move through the error and get a PDF, while upstate I could not do that.  I can also use 'xetex' or omit the driver option; if I did those things upstate, I got the error messages I sent to the list earlier.

You certainly do not want 'hypertex' with XeTeX as the engine.

> 
> Hope this helps -- David


Compare your package versions with those above.
Hopefully you then be able to get it working on both of your setups.


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