From 3e043306f1594f7528788a1c593995b391fc7a5a Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 25 Oct 2001 19:28:43 +0000 Subject: Enforce proper ordering of heading levels: specifically, ensure the user doesn't skip a heading level (\H before any \C or \A, or \S straight after \C with no intervening \H). The precise criterion is that when creating section a.b.c.d, sections a.b.c, a.b and a should already exist. This ensures the section tree really is a properly formed tree with no missing nodes. [originally from svn r1329] --- inputs/errors2.but | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 inputs/errors2.but (limited to 'inputs/errors2.but') diff --git a/inputs/errors2.but b/inputs/errors2.but new file mode 100644 index 0000000..b1a3303 --- /dev/null +++ b/inputs/errors2.but @@ -0,0 +1,5 @@ +\H{outofplace} Heading out of place. + +\C{chap} Chapter is fine + +\S{subsect} Subsection should have heading before it. -- cgit v1.1