From 9e8ca006788e2148154711e1e67b88f495d94e26 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 2 Jun 2006 19:19:12 +0000 Subject: 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] --- bk_html.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bk_html.c') 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); } } } -- cgit v1.1