summaryrefslogtreecommitdiff
path: root/buttress.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2001-11-24 17:50:55 +0000
committerSimon Tatham <anakin@pobox.com>2001-11-24 17:50:55 +0000
commit37727cf9cf399f80d8be6994f154256ac09dcfea (patch)
tree8a5be197e7033ef6f9aaa6d3ea1c1cc3c718bb68 /buttress.h
parentf18002e76ef0d9cda618ed0124d9460b7411a487 (diff)
downloadhalibut-37727cf9cf399f80d8be6994f154256ac09dcfea.zip
halibut-37727cf9cf399f80d8be6994f154256ac09dcfea.tar.gz
halibut-37727cf9cf399f80d8be6994f154256ac09dcfea.tar.bz2
halibut-37727cf9cf399f80d8be6994f154256ac09dcfea.tar.xz
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]
Diffstat (limited to 'buttress.h')
-rw-r--r--buttress.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/buttress.h b/buttress.h
index 04c0dbb..4d8de8e 100644
--- a/buttress.h
+++ b/buttress.h
@@ -375,7 +375,8 @@ void index_debug(index *);
*/
numberstate *number_init(void);
void number_cfg(numberstate *, paragraph *);
-word *number_mktext(numberstate *, int, int, int, word **, filepos, int *);
+word *number_mktext(numberstate *, int, int, wchar_t *,
+ int, word **, filepos, int *);
void number_free(numberstate *);
/*