Debian Codegraph @

doc/manpage.but

raw
1 \cfg{man-identity}{halibut}{1}{2004-04-08}{Halibut}{Simon Tatham}
2 \cfg{man-mindepth}{1}
3
4 \A{manpage} Halibut \cw{man} page
5
6 \H{manpage-name} NAME
7
8 \cw{halibut} \u2013{\u2212{-}} multi-format documentation formatting tool
9
10 \H{manpage-synopsis} SYNOPSIS
11
12 \c halibut [options] file1.but [file2.but ...]
13 \e bbbbbbb iiiiiii iiiiiiiii iiiiiiiii
14
15 \H{manpage-description} DESCRIPTION
16
17 \c{halibut} reads the given set of input files, assembles them into
18 a document, and outputs that document in one or more formats.
19
20 The available command-line options can configure what formats
21 Halibut should output in, and can also configure other things about
22 the way Halibut works.
23
24 \H{manpage-options} OPTIONS
25
26 The command-line options supported by \c{halibut} are:
27
28 \dt \cw{--text}[\cw{=}\e{filename}]
29
30 \dd Makes Halibut generate an output file in plain text format. If
31 the optional \e{filename} parameter is supplied, the output text
32 file will be given that name. Otherwise, the name of the output text
33 file will be as specified in the input files, or \c{output.txt} if
34 none is specified at all.
35
36 \dt \cw{--html}[\cw{=}\e{filename}]
37
38 \dd Makes Halibut generate one or more output files in HTML format.
39 If the optional \e{filename} parameter is supplied, there will be
40 precisely one HTML output file with that name, containing the whole
41 document. Otherwise, there may be one or more than one HTML file
42 produced as output; this, and the file names, will be as specified
43 in the input files, or given a set of default names starting with
44 \c{Contents.html} if none is specified at all.
45
46 \dt \cw{--chm}[\cw{=}\e{filename}]
47
48 \dd Makes Halibut generate an output file in Windows HTML Help
49 format. If the optional \e{filename} parameter is supplied, the output
50 help file will be given that name. Otherwise, the name of the output
51 help file will be as specified in the input files, or \c{output.chm}
52 if none is specified at all.
53
54 \dt \cw{--winhelp}[\cw{=}\e{filename}]
55
56 \dd Makes Halibut generate an output file in old-style Windows Help
57 format. If the optional \e{filename} parameter is supplied, the output
58 help file will be given that name. Otherwise, the name of the output
59 help file will be as specified in the input files, or \c{output.hlp}
60 if none is specified at all.
61
62 \lcont{
63 The output help file must have a name ending in \c{.hlp}; if it does
64 not, \c{.hlp} will be added. A secondary contents file will be created
65 alongside the main help file, with the same name except that it will
66 end in \c{.cnt} (for example \c{output.cnt}, if the main file is
67 \c{output.hlp}).
68 }
69
70 \dt \cw{--man}[\cw{=}\e{filename}]
71
72 \dd Makes Halibut generate an output file in Unix \cw{man} page
73 format. If the optional \e{filename} parameter is supplied, the
74 output \cw{man} page will be given that name. Otherwise, the name of
75 the output \cw{man} page will be as specified in the input files, or
76 \c{output.1} if none is specified at all.
77
78 \dt \cw{--info}[\cw{=}\e{filename}]
79
80 \dd Makes Halibut generate an \c{info} file. If the optional
81 \e{filename} parameter is supplied, the output \c{info} file will be
82 given that name. Otherwise, the name of the output \c{info} file
83 will be as specified in the input files, or \c{output.info} if none
84 is specified at all.
85
86 \lcont{
87 By default, unless configured otherwise using the
88 \cw{\\cfg\{info-max-file-size\}\{0\}} directive, the \c{info} output
89 will be split into multiple files. The main file will have the name
90 you specify; the subsidiary files will have suffixes \c{-1}, \c{-2}
91 etc.
92 }
93
94 \dt \cw{--pdf}[\cw{=}\e{filename}]
95
96 \dd Makes Halibut generate an output file in PDF format. If
97 the optional \e{filename} parameter is supplied, the PDF
98 output file will be given that name. Otherwise, the name of
99 the output PDF file will be as specified in the input files,
100 or \c{output.pdf} if none is specified at all.
101
102 \dt \cw{--ps}[\cw{=}\e{filename}]
103
104 \dd Makes Halibut generate an output file in PostScript format. If
105 the optional \e{filename} parameter is supplied, the PostScript
106 output file will be given that name. Otherwise, the name of
107 the output PostScript file will be as specified in the input files,
108 or \c{output.ps} if none is specified at all.
109
110 \dt \cw{-C}\e{word}\cw{:}\e{word}[\cw{:}\e{word}...]
111
112 \dd Adds a configuration directive to the input processed by
113 Halibut. Using this directive is exactly equivalent to appending an
114 extra input file to the command line which contains the directive
115 \cw{\\cfg\{}\e{word}\cw{\}\{}\e{word}\cw{\}\{}\e{word}...\cw{\}}.
116
117 \dt \cw{--input-charset}\cw{=}\e{charset}
118
119 \dd Changes the assumed character set for input files from the
120 default of ASCII.
121
122 \dt \cw{--list-charsets}
123
124 \dd Makes Halibut list character sets known to it.
125
126 \dt \cw{--list-fonts}
127
128 \dd Makes Halibut list fonts known to it, either intrinsically or
129 by being passed as input files.
130
131 \dt \cw{--precise}
132
133 \dd Makes Halibut report the column number as well as the line
134 number when it encounters an error in an input file.
135
136 \dt \cw{--help}
137
138 \dd Makes Halibut display a brief summary of its command-line
139 options.
140
141 \dt \cw{--version}
142
143 \dd Makes Halibut report its version number.
144
145 \dt \cw{--licence}
146
147 \dd Makes Halibut display its licence (MIT).
148
149 \H{manpage-more-information} MORE INFORMATION
150
151 For more information on Halibut, including full details of the input
152 file format, look in the full manual. If this is not installed
153 locally on your system, you can also find it at the Halibut web site:
154
155 \W{https://www.chiark.greenend.org.uk/~sgtatham/halibut/}\cw{https://www.chiark.greenend.org.uk/~sgtatham/halibut/}
156
157 \H{manpage-bugs} BUGS
158
159 This man page isn't terribly complete.
160
161 \versionid Halibut version 1.3