[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Mon, 7 Nov 2022 13:04:24 -0500 (EST) |
branch: master
commit 5198989a34c6f8f3cd1c7ff2b6aff8e95f0740c8
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Nov 7 18:03:58 2022 +0000
* doc/texinfo.tex (\mtadjustprotcode): Use new count \countC
instead of reusing \countB which appears to clash with \pdfgettoks,
leading to an error "pdfTeX warning (dest): name{} has
---
ChangeLog | 8 ++++++++
doc/texinfo.tex | 17 +++++++++--------
2 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4e9d9d6531..858e2b6fbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-11-07 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/texinfo.tex (\mtadjustprotcode): Use new count \countC
+ instead of reusing \countB which appears to clash with \pdfgettoks,
+ leading to an error "pdfTeX warning (dest): name{} has
+ been referenced but does not exist, replaced by a fixed one" always
+ being output.
+
2022-11-07 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.texi
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 94f92dfd82..b1bf41ff56 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -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{2022-11-07.16}
+\def\texinfoversion{2022-11-07.17}
%
% Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
%
@@ -11451,17 +11451,18 @@ directory should work if nowhere else does.}
\mtadjustprotcode#1\relax
}
+\newcount\countC
\def\mtadjustprotcode#1{%
- \countA=0
+ \countC=0
\loop
- \ifcase\lpcode#1\countA\else
- \mtadjustcp\lpcode#1\countA
+ \ifcase\lpcode#1\countC\else
+ \mtadjustcp\lpcode#1\countC
\fi
- \ifcase\rpcode#1\countA\else
- \mtadjustcp\rpcode#1\countA
+ \ifcase\rpcode#1\countC\else
+ \mtadjustcp\rpcode#1\countC
\fi
- \advance\countA 1
- \ifnum\countA < 256 \repeat
+ \advance\countC 1
+ \ifnum\countC < 256 \repeat
}
\newcount\countB