Skip to content

Commit

Permalink
commit test file for #1632
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jan 25, 2025
1 parent efa94d2 commit c6902bc
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
36 changes: 36 additions & 0 deletions base/testfiles/github-1632.lvt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
\documentclass{article}
\input{test2e}

\begin{document}

\START
\section{aaa}
% this should not error
\arabic*

\refstepcounter{*}

\typeout{section counter: 2=\arabic*}

\alph*

\section{aaa}

\subsection{bb}
\subsection{bbb}

\addtocounter{*}{5}

\typeout{subsection counter: roman 7 = \roman*}

% this should not error
\begin{enumerate}
\item \Roman*
\end{enumerate}

% these should both error
\counterwithin{equation}{*}

\counterwithout{*}{equation}

\end{document}
22 changes: 22 additions & 0 deletions base/testfiles/github-1632.tlg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
This is a generated file for the LaTeX2e validation system.
Don't change this file in any respect.
section counter: 2=2
subsection counter: roman 7 = vii
! LaTeX Error: No counter '*' defined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l. ...\counterwithin{equation}{*}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
! LaTeX Error: No counter '*' defined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l. ...\counterwithout{*}{equation}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
[1
] (github-1632.aux)

0 comments on commit c6902bc

Please sign in to comment.