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 b3147bc..004b8d9 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