doc/sod.sty: Forbid page breaks between description header entries.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 3 Aug 2019 15:11:24 +0000 (16:11 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 3 Aug 2019 15:46:24 +0000 (16:46 +0100)
doc/sod.sty

index b26183f..03d62f6 100644 (file)
 \newif\if@dheadfirst
 \def\dhead{\parse@dhd\dhead@}
 \def\dhead@#1#2#3#4#5{%  {MOD}{CAT}{{...}...}{NAME}{SYNOPSIS}
-  \if@dheadfirst\global\@dheadfirstfalse\else\relax\\[\smallskipamount]\fi%
+  \if@dheadfirst\global\@dheadfirstfalse\else\relax\\*[\smallskipamount]\fi%
   \phantomsection%
   {\let\protect\@empty\let\@uscore\relax%
    \edef\temp@{\@desc@dispatch{desclabel}{#2}{#2}{#1}{#4}#3}%