summaryrefslogtreecommitdiff
path: root/halibut.h
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2007-01-01 21:27:39 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2007-01-01 21:27:39 +0000
commit0a93e0f4e52191819069b0a32b5fb051fae7d0da (patch)
treeca8c7c9c872b1e3ebed47ecc168a438ec6d08e29 /halibut.h
parent86c2b2e8b4ebbbe18f1668eec6fea03b454cce9d (diff)
downloadhalibut-0a93e0f4e52191819069b0a32b5fb051fae7d0da.zip
halibut-0a93e0f4e52191819069b0a32b5fb051fae7d0da.tar.gz
halibut-0a93e0f4e52191819069b0a32b5fb051fae7d0da.tar.bz2
halibut-0a93e0f4e52191819069b0a32b5fb051fae7d0da.tar.xz
Fix the behaviour of constructions like \e{index \i{term}} -- the index tag
was causing emphasis to be broken (particularly noticeable in text-like backends). There are some instances of this in the PuTTY manual, for instance. Unfortunately, \k references in similar situations still aren't quite right, but fixing that will be more involved, and I haven't found any instances yet. [originally from svn r7049]
Diffstat (limited to 'halibut.h')
-rw-r--r--halibut.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/halibut.h b/halibut.h
index 1ff014e..11e478f 100644
--- a/halibut.h
+++ b/halibut.h
@@ -185,6 +185,7 @@ enum {
quote_Close = 0x0020,
quote_mask = 0x0030
};
+#define isvis(x) ( ( (x) >= word_Normal && (x) <= word_LowerXref ) )
#define isattr(x) ( ( (x) > word_Normal && (x) < word_WhiteSpace ) || \
( (x) > word_WhiteSpace && (x) < word_internal_endattrs ) )
#define sameattr(x,y) ( (((x)-(y)) & 3) == 0 )