From 37727cf9cf399f80d8be6994f154256ac09dcfea Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 24 Nov 2001 17:50:55 +0000 Subject: Introduce the ability to relabel a section as an `example' or `question' or so on, using the syntax \S{mysection}{example} An example of foobar so that in cross-references it will be referred to as `example 5.1.2' instead of `section 5.1.2'. NOTE WELL: until now Buttress has supported multiple section keywords using the same syntax, so that you could xref the above section as \k{mysection} _or_ \k{example} with the same effect. This behaviour is now revoked because I don't think anyone was using it; if you suddenly find you're getting undefined-keyword errors this may be why. [originally from svn r1408] --- inputs/test.but | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'inputs') diff --git a/inputs/test.but b/inputs/test.but index ba2a9d4..acc19c7 100644 --- a/inputs/test.but +++ b/inputs/test.but @@ -19,7 +19,7 @@ a bit] \define{coopt} co\u00F6{-o}pt -\versionid $Id: test.but,v 1.13 2001/10/25 12:48:31 simon Exp $ +\versionid $Id: test.but,v 1.14 2001/11/24 17:50:55 simon Exp $ \C{ch\\ap} First chapter title; for similar wrapping reasons this chapter title will be ludicrously long. I wonder how much more @@ -93,9 +93,10 @@ An index tag containing non-alternatived Unicode: \i{\u00BFChe?} An invisible index tag: \I{she seems to have an invisible tag}yeah. -\S2{sub-sub} Smaller heading still +\S2{sub-sub}{florble} Smaller heading still -A tiny section. Awww. How cute. +A tiny section. Awww. How cute. Actually, this one's a \e{florble}, +and here's a reference to it: \k{sub-sub}. \A{app} Needless appendix -- cgit v1.1