From 7420cef29b9ac95f40125334102c5e230bb93e4a Mon Sep 17 00:00:00 2001
From: Mark Wooding <mdw@distorted.org.uk>
Date: Thu, 21 Jun 2018 19:42:49 +0100
Subject: [PATCH] doc/sod.tex: Capture `\label' from inside `\part{...}' title.

Otherwise we capture the wrong page number because `\part' implicitly
flushes two pages.
---
 doc/sod.tex | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/sod.tex b/doc/sod.tex
index b3147bc..004b8d9 100644
--- a/doc/sod.tex
+++ b/doc/sod.tex
@@ -68,12 +68,12 @@
 \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
-- 
2.11.0

