Log changes
[latex2e.git] / latex2e-20151001 / base / testfiles / tlb4393.lvt
blobc70b7ea506979ef012059209e2d5e8b2f5eeeba1
1 \iffalse\r
2 \r
3 Subject:\r
4 amslatex/4393: counter only resetting next level within\r
5 \r
6 not really a bug but a design decision that was driven by code economy and\r
7 speed conciderations that are no longer relevant. Prohibits one type of use case.\r
8 \r
9 \fi\r
11 \input{test2e}\r
12 \documentclass{article}\r
13 \START\r
14 \AUTHOR{Frank Mittelbach}\r
15 %\PACKAGE{fixltx2e}\r
17 \OMIT\r
18 %\usepackage{fixltx2e}\r
20 \newcounter{foo}[subsection]\r
21 \newcounter{bar}[foo] \renewcommand\thebar{\thefoo-\arabic{bar}}\r
22 \newcounter{baz}[bar] \renewcommand\thebaz{\thebar-\arabic{baz}}\r
23 \newcounter{foobar}[section]\r
24 \TIMO\r
26 \typeout{\thesection\space | \thesubsection\space | \thefoo\space | \thebar\space | \thebaz\space | \thefoobar}\r
28 \stepcounter{section}\r
29 \stepcounter{subsection}\stepcounter{subsection}\r
30 \setcounter{foo}{5}\stepcounter{foo}\r
31 \setcounter{foobar}{2}\stepcounter{foobar}\r
32 \setcounter{bar}{6}\stepcounter{bar}\r
33 \setcounter{baz}{3}\r
35 \typeout{\thesection\space | \thesubsection\space | \thefoo\space | \thebar\space | \thebaz\space | \thefoobar}\r
38 \stepcounter{subsection}\r
40 \typeout{\thesection\space | \thesubsection\space | \thefoo\space | \thebar\space | \thebaz\space | \thefoobar}\r
42 \END