texinfo-commits
[Top][All Lists]
Advanced

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

[7187] fix @value in cross-reference targets


From: gavinsmith0123
Subject: [7187] fix @value in cross-reference targets
Date: Thu, 26 May 2016 18:38:23 +0000 (UTC)

Revision: 7187
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7187
Author:   gavin
Date:     2016-05-26 18:38:23 +0000 (Thu, 26 May 2016)
Log Message:
-----------
fix @value in cross-reference targets

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-05-26 18:07:31 UTC (rev 7186)
+++ trunk/ChangeLog     2016-05-26 18:38:23 UTC (rev 7187)
@@ -1,8 +1,14 @@
 2016-05-26  Gavin Smith  <address@hidden>
 
+       * doc/texinfo.tex (\setref): Give \value a definition to match 
+       those in \xrdef, \refx and \xrefX, to fix @value in 
+       cross-reference targets.
+
+2016-05-26  Gavin Smith  <address@hidden>
+
        * doc/texinfo.tex (\dummyvalue): New definition of @value for 
        writing to auxiliary files.  Expand the @value at the time of 
-       writing, reversing change on 2016-05-26.
+       writing, reversing change on 2016-05-07.
        (\commondummies): Use \dummyvalue definition for @value.
        (Files using @value's in section titles broken when value was 
        @set after the table of contents, reported by Paul Eggert.

Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex       2016-05-26 18:07:31 UTC (rev 7186)
+++ trunk/doc/texinfo.tex       2016-05-26 18:38:23 UTC (rev 7187)
@@ -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-05-26.19}
+\def\texinfoversion{2016-05-26.20}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -8720,6 +8720,8 @@
     {%
       \requireauxfile
       \atdummies  % preserve commands, but don't expand them
+      % match definition in \xrdef, \refx, \xrefX.
+      \def\value##1{##1}%
       \edef\writexrdef##1##2{%
        address@hidden #1 of \setref, expanded by the \edef
          ##1}{##2}}% these are parameters of \writexrdef




reply via email to

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