[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6976] add , after xref only if followed by a space
From: |
Gavin D. Smith |
Subject: |
[6976] add , after xref only if followed by a space |
Date: |
Mon, 01 Feb 2016 07:27:27 +0000 |
Revision: 6976
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6976
Author: gavin
Date: 2016-02-01 07:27:20 +0000 (Mon, 01 Feb 2016)
Log Message:
-----------
add , after xref only if followed by a space
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo.tex
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2016-02-01 07:22:27 UTC (rev 6975)
+++ trunk/ChangeLog 2016-02-01 07:27:20 UTC (rev 6976)
@@ -1,5 +1,12 @@
2016-02-01 Gavin Smith <address@hidden>
+ * doc/texinfo.tex (\xrefX): Add a comma after the page number
+ only if the cross-reference command is followed by a space,
+ instead of listing possible punctuation characters. Suggestion
+ from Karl Berry.
+
+2016-02-01 Gavin Smith <address@hidden>
+
* doc/texinfo.tex (\indexnofonts): Add % after \} and \{ because
spaces are not skipped there.
Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex 2016-02-01 07:22:27 UTC (rev 6975)
+++ trunk/doc/texinfo.tex 2016-02-01 07:27:20 UTC (rev 6976)
@@ -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-02-01.07}
+\def\texinfoversion{2016-02-01.08}
%
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -8601,12 +8601,9 @@
%
% output the `page 3'.
\turnoffactive \putwordpage\tie\refx{#1-pg}{}%
- \ifx,\tokenafterxref
- \else\ifx.\tokenafterxref
- \else\ifx;\tokenafterxref
- \else\ifx)\tokenafterxref
- \else,% add a , if xref not followed by punctuation
- \fi\fi\fi\fi
+ \if\space\tokenafterxref
+ ,% add a , if xref not followed by punctuation
+ \fi
\fi\fi
\fi
\endlink
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6976] add , after xref only if followed by a space,
Gavin D. Smith <=