diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-01-24 12:37:04 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-01-24 12:37:04 +0000 |
| commit | ffcdd42f7f9d5238f2bd6c36aaf2f26728858e4d (patch) | |
| tree | ef536ae2001c0e9964aee7388166c7cc1e04cbce /doc/output.but | |
| parent | 42f031beed5f6a455e6a7725a3a14710d3702f60 (diff) | |
| download | halibut-ffcdd42f7f9d5238f2bd6c36aaf2f26728858e4d.zip halibut-ffcdd42f7f9d5238f2bd6c36aaf2f26728858e4d.tar.gz halibut-ffcdd42f7f9d5238f2bd6c36aaf2f26728858e4d.tar.bz2 halibut-ffcdd42f7f9d5238f2bd6c36aaf2f26728858e4d.tar.xz | |
Added a new config directive `html-local-head', which permits me to
put an AppleTitle tag in only one of a set of output HTML files.
[originally from svn r5192]
Diffstat (limited to 'doc/output.but')
| -rw-r--r-- | doc/output.but | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/output.but b/doc/output.but index 88d4a85..d862e40 100644 --- a/doc/output.but +++ b/doc/output.but @@ -498,6 +498,29 @@ parts of the output files. the \i\cw{<HEAD>} section of each output HTML file. So this is a good place to put, for example, a link to a \i{CSS} \i{stylesheet}. +\dt \I{\cw{\\cfg\{xhtml-local-head\}}}\cw{\\cfg\{xhtml-local-head\}\{}\e{HTML text}\cw{\}} + +\dd This configuration directive is local: you specify it within a +document section, and it acts on that section only. + +\lcont{ + +The text you provide in this directive is placed at the end of the +\i\cw{<HEAD>} section of whichever output HTML file contains the +section in which the directive was placed. You can specify this +directive multiple times in multiple sections if you like. + +This directive is particularly useful for constructing \i{MacOS +on-line help}, which is mostly normal HTML but which requires a +special \i\cw{<META NAME="AppleTitle">} tag in the topmost source +file. You can arrange this by placing this configuration directive +in the preamble or the introduction section, something like this: + +\c \cfg{html-local-head}{<meta name="AppleTitle" +\c content="MyApp Help">} + +} + \dt \I{\cw{\\cfg\{xhtml-body-tag\}}}\cw{\\cfg\{xhtml-body-tag\}\{}\e{HTML text}\cw{\}} \dd The text you provide in this directive is used in place of the |