summaryrefslogtreecommitdiff
path: root/bk_html.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2006-06-02 19:19:12 +0000
committerSimon Tatham <anakin@pobox.com>2006-06-02 19:19:12 +0000
commit9e8ca006788e2148154711e1e67b88f495d94e26 (patch)
treeb3886338af0052ddf9dfbd6eb7212e317eb2bea5 /bk_html.c
parent9c7ee9bd5c91b41792c40e12669b43aceea2a544 (diff)
downloadhalibut-9e8ca006788e2148154711e1e67b88f495d94e26.zip
halibut-9e8ca006788e2148154711e1e67b88f495d94e26.tar.gz
halibut-9e8ca006788e2148154711e1e67b88f495d94e26.tar.bz2
halibut-9e8ca006788e2148154711e1e67b88f495d94e26.tar.xz
Introduce global (cross-backend) \cfg{contents} and \cfg{index}
commands, allowing the fixed words "Contents" and "Index" generated in various output formats to be reconfigured into other languages. [originally from svn r6724]
Diffstat (limited to 'bk_html.c')
-rw-r--r--bk_html.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bk_html.c b/bk_html.c
index 4311d26..a1b46f6 100644
--- a/bk_html.c
+++ b/bk_html.c
@@ -259,6 +259,10 @@ static htmlconfig html_configure(paragraph *source) {
ret.lquote = uadv(p->keyword);
ret.rquote = uadv(ret.lquote);
}
+ } else if (!ustricmp(p->keyword, L"index")) {
+ ret.index_text = uadv(p->keyword);
+ } else if (!ustricmp(p->keyword, L"contents")) {
+ ret.contents_text = uadv(p->keyword);
}
}
}