summaryrefslogtreecommitdiff
path: root/inputs/test.but
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 /inputs/test.but
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 'inputs/test.but')
-rw-r--r--inputs/test.but14
1 files changed, 14 insertions, 0 deletions
diff --git a/inputs/test.but b/inputs/test.but
index 3cfc69e..72f8719 100644
--- a/inputs/test.but
+++ b/inputs/test.but
@@ -256,6 +256,20 @@ An index tag containing non-alternatived Unicode: \i{\u00BFChe?}
An invisible index tag: \I{she seems to have an invisible tag}yeah.
+An index tag inside another tag: jackdaws love my \e{big \i{sphinx}}
+of quartz.
+
+Similarly, we should support things like hyperlinks
+\e{\W{http://www.tartarus.org/}{at the beginning} of emphasised sections},
+and \e{in the \W{http://www.tartarus.org/}{middle} of them}, and also
+\e{at the \W{http://home.att.net/~cecw/lastpage.htm}{end}}.
+
+\#{FIXME: Unfortunately, we still don't quite do the right thing with
+references:
+How about a \e{reference to \k{subhead} here}? And at
+\e{the end: \k{subhead}} and \e{\k{subhead}: the start}?
+}
+
\S2{sub-sub}{Florble} Smaller heading still
A tiny section. Awww. How cute. Actually, this one's a \e{florble},