summaryrefslogtreecommitdiff
path: root/doc/output.but
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2007-04-08 11:16:23 +0000
committerBen Harris <bjh21@bjh21.me.uk>2007-04-08 11:16:23 +0000
commit9c83f06784539ca3a4dc6661542a11592e137f60 (patch)
tree429a740bdd578872801cd17c0d52e14a30d13ee6 /doc/output.but
parent71316e1f505d9ebe3b59ae9dc7b4e9cca007afba (diff)
downloadhalibut-9c83f06784539ca3a4dc6661542a11592e137f60.zip
halibut-9c83f06784539ca3a4dc6661542a11592e137f60.tar.gz
halibut-9c83f06784539ca3a4dc6661542a11592e137f60.tar.bz2
halibut-9c83f06784539ca3a4dc6661542a11592e137f60.tar.xz
Add support for doing different underlining of different heading levels
in the Info backend, with the defaults chosen to match what Emacs recognises and renders prettily. [originally from svn r7452]
Diffstat (limited to 'doc/output.but')
-rw-r--r--doc/output.but27
1 files changed, 23 insertions, 4 deletions
diff --git a/doc/output.but b/doc/output.but
index f109d94..de4285b 100644
--- a/doc/output.but
+++ b/doc/output.but
@@ -1357,14 +1357,27 @@ before displaying the section title. For example, if you set this to
\cq{:\_}, then a typical section title might look something like
\q{Section 3.1: Something Like This}.
-\dt \I{\cw{\\cfg\{info-underline\}}}\cw{\\cfg\{info-underline\}\{}\e{text}\cw{\}}[\cw{\{}\e{text}\cw{\}}...]
+\dt \I{\cw{\\cfg\{info-title-underline\}}}\cw{\\cfg\{info-title-underline\}\{}\e{text}\cw{\}}[\cw{\{}\e{text}\cw{\}}...]
-\dd Specifies the text to be used to underline section titles. Works
-very much like the \cw{\\cfg\{text-chapter-underline\}} directive
+\dd Specifies the text to be used to \I{underlining}underline
+the overall document title. Works
+very much like the \cw{\\cfg\{text-title-underline\}} directive
(see \k{output-text-headings}). You can specify more than one
option, and Halibut will choose the first one supported by the
character set.
+\dt \I{\cw{\\cfg\{info-chapter-underline\}}}\cw{\\cfg\{info-chapter-underline\}\{}\e{text}\cw{\}}[\cw{\{}\e{text}\cw{\}}...]
+
+\dd Specifies how chapter and appendix headings should be underlined.
+
+\dt \I{\cw{\\cfg\{info-section-underline\}}}\cw{\\cfg\{info-section-underline\}\{}\e{level}\cw{\}\{}\e{text}\cw{\}}[\cw{\{}\e{text}\cw{\}}...]
+
+\dd Specifies how to underline section headings at a particular level.
+The \e{level} parameter specifies which level of section
+headings you want to affect: 0 means first-level headings (\c{\\H}),
+1 means second-level headings (\c{\\S}), 2 means the level below
+that (\c{\\S2}), and so on.
+
\S{output-info-characters} Controlling the characters used
\dt \I{\cw{\\cfg\{info-charset\}}}\cw{\\cfg\{info-charset\}\{}\e{character set}\cw{\}}
@@ -1479,7 +1492,13 @@ The \i{default settings} for the Info output format are:
\c \cfg{info-listitem-indent}{3}
\c
\c \cfg{info-section-suffix}{: }
-\c \cfg{info-underline}{\u203e}{-}
+\c \cfg{info-title-underline}{*}
+\c \cfg{info-chapter-underline}{=}
+\c \cfg{info-section-underline}{0}{-}
+\c \cfg{info-section-underline}{1}{.}
+\c \cfg{info-section-underline}{2}{.}
+\c ... and so on for all section levels below this ...
+\e iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
\c
\c \cfg{info-charset}{ASCII}
\c \cfg{info-bullet}{\u2022}{-}