strayman.dtx (\part): Don't establish the label reference in a block.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 21 Jun 2018 18:36:02 +0000 (19:36 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 21 Jun 2018 23:17:10 +0000 (00:17 +0100)
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

index a2890ab..dea1f5f 100644 (file)
@@ -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
     \@tempswafalse%
   \fi%
   \hbox{}\vfil%
-  \begin{centrepage}%
   \secdef\@part\@spart%
 }
 %    \end{macrocode}
     \addcontentsline{toc}{part}{#1}%
   \fi%
   \markboth{}{}%
+  \begin{centrepage}%
   \centering%
   \interlinepenalty\@M%
   \reset@font%
 %
 %    \begin{macrocode}
 \def\@spart#1{%
+  \begin{centrepage}%
   \centering%
   \interlinepenalty\@M%
   \reset@font%