chiark / gitweb /
doc/sod.tex: Capture `\label' from inside `\part{...}' title.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 21 Jun 2018 18:42:49 +0000 (19:42 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 21 Jun 2018 18:42:49 +0000 (19:42 +0100)
Otherwise we capture the wrong page number because `\part' implicitly
flushes two pages.

doc/sod.tex

index b3147bc0cd4d94d405c84db6cd61bd87b907caa3..004b8d9934c85f08b6a07ed03ac9844ee107c8a6 100644 (file)
 \include{intro}
 
 %%%--------------------------------------------------------------------------
-\part{Tutorial} \label{p:tut}
+\part{Tutorial\label{p:tut}}
 
 \include{tutorial}
 
 %%%--------------------------------------------------------------------------
-\part{Reference} \label{p:ref}
+\part{Reference\label{p:ref}}
 
 \include{refintro}
 \include{concepts}
@@ -83,7 +83,7 @@
 \include{structures}
 
 %%%--------------------------------------------------------------------------
-\part{Lisp interface} \label{p:lisp}
+\part{Lisp interface\label{p:lisp}}
 
 \include{lispintro}
 %% package.lisp