From 46cb7e246062957a7d7e9da33856e1aea37195b7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 14 Apr 2004 17:48:37 +0000 Subject: And now the page numbers in the index are PDF cross-references too. Funny, I thought that would be as hard again as the main index processing, and it turned out to be nearly trivial. [originally from svn r4073] --- halibut.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'halibut.h') diff --git a/halibut.h b/halibut.h index f9d22a2..9abc13f 100644 --- a/halibut.h +++ b/halibut.h @@ -114,6 +114,10 @@ enum { para_LcontPop, /* end continuation of list item */ para_QuotePush, /* begin block quote */ para_QuotePop, /* end block quote */ + /* + * Back ends may define their own paragraph types beyond here, + * in case they need to use them internally. + */ para_NotParaType /* placeholder value */ }; @@ -153,7 +157,12 @@ enum { word_XrefEnd, /* (invisible; no text) */ word_IndexRef, /* (always an invisible one) */ word_HyperLink, /* (invisible) */ - word_HyperEnd /* (also invisible; no text) */ + word_HyperEnd, /* (also invisible; no text) */ + /* + * Back ends may define their own word types beyond here, in + * case they need to use them internally. + */ + word_NotWordType /* placeholder value */ }; /* aux values for attributed words */ enum { -- cgit v1.1