summaryrefslogtreecommitdiff
path: root/halibut.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-14 17:48:37 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-14 17:48:37 +0000
commit46cb7e246062957a7d7e9da33856e1aea37195b7 (patch)
treef7c7bcf54744617a56255ef34720678c235f11c9 /halibut.h
parent45561806db03656190969ea7d76766e1ec2dec62 (diff)
downloadhalibut-46cb7e246062957a7d7e9da33856e1aea37195b7.zip
halibut-46cb7e246062957a7d7e9da33856e1aea37195b7.tar.gz
halibut-46cb7e246062957a7d7e9da33856e1aea37195b7.tar.bz2
halibut-46cb7e246062957a7d7e9da33856e1aea37195b7.tar.xz
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]
Diffstat (limited to 'halibut.h')
-rw-r--r--halibut.h11
1 files changed, 10 insertions, 1 deletions
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 {