texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[7295] Fix XeTeX PDF destination names


From: trueroad
Subject: [7295] Fix XeTeX PDF destination names
Date: Wed, 3 Aug 2016 12:14:56 +0000 (UTC)

Revision: 7295
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7295
Author:   trueroad
Date:     2016-08-03 12:14:56 +0000 (Wed, 03 Aug 2016)
Log Message:
-----------
Fix XeTeX PDF destination names

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/texinfo.tex

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-08-02 13:44:26 UTC (rev 7294)
+++ trunk/ChangeLog     2016-08-03 12:14:56 UTC (rev 7295)
@@ -1,3 +1,11 @@
+2016-08-03  Masamichi Hosoda  <address@hidden>
+
+       * doc/texinfo.tex (\xref):
+       Fix XeTeX PDF destination names when \txiuseunicodedestnamefalse.
+       In order to replace Unicode characters with ASCII,
+       it is necessary that \edef\pdfxrefdest{#1} is
+       before \turnoffactive.
+
 2016-08-02  Masamichi Hosoda  <address@hidden>
 
        * doc/texinfo.tex (\urlcolor, \linkcolor, \endlink):

Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex       2016-08-02 13:44:26 UTC (rev 7294)
+++ trunk/doc/texinfo.tex       2016-08-03 12:14:56 UTC (rev 7295)
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2016-08-02.13}
+\def\texinfoversion{2016-08-03.11}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -8875,12 +8875,7 @@
     \else
       % For XeTeX
       {\indexnofonts
-       \turnoffactive
        \makevalueexpandable
-       % This expands tokens, so do it after making catcode changes, so _
-       % etc. don't get their TeX definitions.  This ignores all spaces in
-       % #4, including (wrongly) those in the middle of the filename.
-       \getfilename{#4}%
        %
        % This (wrongly) does not take account of leading or trailing
        % spaces in #1, which should be ignored.
@@ -8889,6 +8884,12 @@
        \else
          \edef\pdfxrefdest{#1}% Replace Unicode characters with ASCII.
        \fi
+       \turnoffactive
+       % This expands tokens, so do it after making catcode changes, so _
+       % etc. don't get their TeX definitions.  This ignores all spaces in
+       % #4, including (wrongly) those in the middle of the filename.
+       \getfilename{#4}%
+       %
        \ifx\pdfxrefdest\empty
          \def\pdfxrefdest{Top}% no empty targets
        \else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]