summaryrefslogtreecommitdiff
path: root/doc/input.but
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 /doc/input.but
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 'doc/input.but')
-rw-r--r--doc/input.but12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/input.but b/doc/input.but
index 2d6d489..38a7a65 100644
--- a/doc/input.but
+++ b/doc/input.but
@@ -1327,6 +1327,16 @@ subsections of a chapter.
\dd Exactly like \c{chapter}, but changes the name given to
appendices.
+\dt \I\cw{\\cfg\{contents\}}\cw{\\cfg\{contents\}\{}\e{new contents name}\cw{\}}
+
+\dd This changes the name given to the contents section (by default
+\q{Contents}) in back ends which generate one.
+
+\dt \I\cw{\\cfg\{index\}}\cw{\\cfg\{index\}\{}\e{new index name}\cw{\}}
+
+\dd This changes the name given to the index section (by default
+\q{Index}) in back ends which generate one.
+
\dt \I\cw{\\cfg\{input-charset\}}\cw{\\cfg\{input-charset\}\{}\e{character set name}\cw{\}}
\dd This tells Halibut what \i{character set} you are writing your
@@ -1405,6 +1415,8 @@ The \i{default settings} for the above options are:
\c \cfg{chapter}{Chapter}
\c \cfg{section}{Section}
\c \cfg{appendix}{Appendix}
+\c \cfg{contents}{Contents}
+\c \cfg{index}{Index}
\c \cfg{input-charset}{ASCII}
The default for \cw{\\cfg\{input-charset\}} can be changed with the