From: Mark Wooding Date: Thu, 21 Jun 2018 18:36:02 +0000 (+0100) Subject: strayman.dtx (\part): Don't establish the label reference in a block. X-Git-Tag: 1.1.3.2~2 X-Git-Url: https://git.distorted.org.uk/~mdw/strayman/commitdiff_plain/9c3e8626aeeac67fcbdb629e930d5047b2d5946c?hp=fddb126af21406e22353db8a377b81a90244abe3 strayman.dtx (\part): Don't establish the label reference in a block. Otherwise it's forgotten by the time a following `\label' tries to capture it. Then again, we've also moved on by two pages, so maybe this shouldn't be expected to work well. --- diff --git a/strayman.dtx b/strayman.dtx index a2890ab..dea1f5f 100644 --- a/strayman.dtx +++ b/strayman.dtx @@ -35,7 +35,7 @@ %<+strayman> [2003/09/04 1.10 Straylight document class] % \end{meta-comment} % -% \CheckSum{3057} +% \CheckSum{3058} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -1179,7 +1179,6 @@ \@tempswafalse% \fi% \hbox{}\vfil% - \begin{centrepage}% \secdef\@part\@spart% } % \end{macrocode} @@ -1200,6 +1199,7 @@ \addcontentsline{toc}{part}{#1}% \fi% \markboth{}{}% + \begin{centrepage}% \centering% \interlinepenalty\@M% \reset@font% @@ -1222,6 +1222,7 @@ % % \begin{macrocode} \def\@spart#1{% + \begin{centrepage}% \centering% \interlinepenalty\@M% \reset@font%