texinfo-commits
[Top][All Lists]
Advanced

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

[7298] Fix LuaTeX PDF destination names


From: trueroad
Subject: [7298] Fix LuaTeX PDF destination names
Date: Wed, 3 Aug 2016 14:50:02 +0000 (UTC)

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

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-08-03 13:35:39 UTC (rev 7297)
+++ trunk/ChangeLog     2016-08-03 14:50:01 UTC (rev 7298)
@@ -1,5 +1,12 @@
 2016-08-03  Masamichi Hosoda  <address@hidden>
 
+       * doc/texinfo.tex (\pdfmkdest):
+       Fix LuaTeX PDF destination names.
+       LuaTeX can handle Unicode characters for destination names.
+       So pass through Unicode characters for LuaTeX.
+
+2016-08-03  Masamichi Hosoda  <address@hidden>
+
        * doc/texinfo.tex (\xref):
        Fix pdfTeX PDF destination names.
        In order to replace Unicode characters with ASCII,

Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex       2016-08-03 13:35:39 UTC (rev 7297)
+++ trunk/doc/texinfo.tex       2016-08-03 14:50:01 UTC (rev 7298)
@@ -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-03.13}
+\def\texinfoversion{2016-08-03.14}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -1314,8 +1314,12 @@
     \indexnofonts
     \makevalueexpandable
     \turnoffactive
-    % Use ASCII approximations in destination names.
-    \passthroughcharsfalse
+    \ifx\luatexversion\thisisundefined
+      % pdfTeX: Use ASCII approximations in destination names.
+      \passthroughcharsfalse
+    \else
+      % LuaTeX: Pass through Unicode characters.
+    \fi
     \def\pdfdestname{#1}%
     \txiescapepdf\pdfdestname
     \safewhatsit{\pdfdest name{\pdfdestname} xyz}%




reply via email to

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