[latex3-commits] [git/LaTeX3-latex3-latex2e] gh943: test for #943 showing the problem (7b7ed931)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Nov 2 17:58:26 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : gh943
Link       : https://github.com/latex3/latex2e/commit/7b7ed9316c0b35024f2c5ed835c01dcb8551bf4f

>---------------------------------------------------------------

commit 7b7ed9316c0b35024f2c5ed835c01dcb8551bf4f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Nov 2 17:58:26 2022 +0100

    test for #943 showing the problem


>---------------------------------------------------------------

7b7ed9316c0b35024f2c5ed835c01dcb8551bf4f
 base/testfiles-doc/github-0943.lvt | 33 +++++++++++++++++++++++++++++++++
 base/testfiles-doc/github-0943.tlg | 21 +++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/base/testfiles-doc/github-0943.lvt b/base/testfiles-doc/github-0943.lvt
new file mode 100644
index 00000000..4131c047
--- /dev/null
+++ b/base/testfiles-doc/github-0943.lvt
@@ -0,0 +1,33 @@
+% \iffalse
+
+%
+\documentclass{article}
+\usepackage[debugshow]{doc}
+
+\CodelineIndex
+\immediate\closeout\csname @indexfile\endcsname % show the index entry in the log
+
+% Input the test macros for latex 2e
+\input{regression-test}
+
+
+\begin{document}
+
+%\immediate\closeout\csname @glossaryfile\endcsname
+
+% Everything before this is ignored by the test system.
+
+\START
+
+\MakePercentIgnore
+
+
+% \DoNotIndex{\def}
+% \DoNotIndex{\ }
+%
+%    How many index entries?
+%    \begin{macrocode}
+\def\foo{\ \bar}
+%    \end{macrocode}
+
+\end{document}
diff --git a/base/testfiles-doc/github-0943.tlg b/base/testfiles-doc/github-0943.tlg
new file mode 100644
index 00000000..d6d801ff
--- /dev/null
+++ b/base/testfiles-doc/github-0943.tlg
@@ -0,0 +1,21 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+Disable indexing for '\def '
+Disable indexing for '\ '
+Searching for '\def'
+Not indexing '\def'
+Searching for '\foo'
+Indexing '\foo' (\SpecialIndex)
+\indexentry{foo=\verb!*+\foo+|hdclindex{1}{code}}{1}
+Searching for '\'
+Indexing '\' (\SpecialShortIndex)
+\indexentry{\space=\verb!*+!\ +|hdclindex{1}{code}}{1}
+Searching for '\bar'
+Indexing '\bar' (\SpecialIndex)
+\indexentry{bar=\verb!*+\bar+|hdclindex{1}{code}}{1}
+[1
+] (github-0943.aux)
+Package rerunfilecheck Info: File `github-0943.out' has not changed.
+(rerunfilecheck)             Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
+Package rerunfilecheck Info: File `github-0943.hd' has not changed.
+(rerunfilecheck)             Checksum: D41D8CD98F00B204E9800998ECF8427E;0.





More information about the latex3-commits mailing list.