[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Fix display of _ in section name.
From: |
Gavin D. Smith |
Subject: |
branch master updated: Fix display of _ in section name. |
Date: |
Sat, 20 Feb 2021 07:10:03 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new dbf3d9c Fix display of _ in section name.
dbf3d9c is described below
commit dbf3d9ca0ee61da4443d305479dfec35f4456d45
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Feb 20 12:09:49 2021 +0000
Fix display of _ in section name.
* doc/texinfo.tex (\setupdatafile): Read aux file giving
_ | < and > catcode "active".
* doc/texinfo-tex-test.texi (~[]"_|<>$#&%+\) Add a test
of a cross-reference.
Werner Lemberg reported that an underscore in a section title
would be printed as a dot accent when using
"@xrefautomaticsectiontitle on".
---
ChangeLog | 15 +++++++++++++++
doc/texinfo-tex-test.texi | 6 ++++++
doc/texinfo.tex | 10 +++++-----
3 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6a566f3..18d0179 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
2021-02-20 Gavin Smith <gavinsmith0123@gmail.com>
+ Fix display of _ in section name.
+
+ * doc/texinfo.tex (\setupdatafile): Read aux file giving
+ _ | < and > catcode "active".
+
+ * doc/texinfo-tex-test.texi (~[]"_|<>$#&%+\) Add a test
+ of a cross-reference.
+
+ Werner Lemberg reported that an underscore in a section title
+ would be printed as a dot accent when using
+ "@xrefautomaticsectiontitle on".
+
+
+2021-02-20 Gavin Smith <gavinsmith0123@gmail.com>
+
* doc/texinfo-tex-test.texi (~[]"_|<>$#&%+\) Add example.
2021-02-20 Gavin Smith <gavinsmith0123@gmail.com>
diff --git a/doc/texinfo-tex-test.texi b/doc/texinfo-tex-test.texi
index 4c083f1..318a1d2 100644
--- a/doc/texinfo-tex-test.texi
+++ b/doc/texinfo-tex-test.texi
@@ -1634,10 +1634,16 @@ For PDF output, check the bookmarks pane in the reader.
This section should be called ``@{ @} @@ @{ @} @arrow{} @@ @{''.
+@node Special characters
@section ~[]"_|<>$#&%+\
This section should be called @code{~[]"_|<>$#&%+\} (in Roman type).
+@xrefautomaticsectiontitle on
+@xref{Special characters} is a cross-reference using
+@code{@@xrefautomaticsectiontitle on}.
+@xrefautomaticsectiontitle off
+
@chapter PDF link colours
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 7267c85..3914141 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{2021-02-20.10}
+\def\texinfoversion{2021-02-20.11}
%
% Copyright 1985, 1986, 1988, 1990-2021 Free Software Foundation, Inc.
%
@@ -9287,10 +9287,10 @@ might help (with 'rm \jobname.?? \jobname.??s')%
\catcode`\[=\other
\catcode`\]=\other
\catcode`\"=\other
- \catcode`\_=\other
- \catcode`\|=\other
- \catcode`\<=\other
- \catcode`\>=\other
+ \catcode`\_=\active
+ \catcode`\|=\active
+ \catcode`\<=\active
+ \catcode`\>=\active
\catcode`\$=\other
\catcode`\#=\other
\catcode`\&=\other
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Fix display of _ in section name.,
Gavin D. Smith <=