From 9c3e8626aeeac67fcbdb629e930d5047b2d5946c Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 21 Jun 2018 19:36:02 +0100 Subject: [PATCH] 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. --- strayman.dtx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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% -- 2.11.0