diff options
| author | Simon Tatham <anakin@pobox.com> | 2006-06-02 19:19:12 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2006-06-02 19:19:12 +0000 |
| commit | 9e8ca006788e2148154711e1e67b88f495d94e26 (patch) | |
| tree | b3886338af0052ddf9dfbd6eb7212e317eb2bea5 /bk_html.c | |
| parent | 9c7ee9bd5c91b41792c40e12669b43aceea2a544 (diff) | |
| download | halibut-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); } } } |