Forgot to mention the info backend in the man page.
[sgt/halibut] / doc / manpage.but
CommitLineData
c38da2b7 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} - 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
5ff1157f 15\H{manpage-description} DESCRIPTION
c38da2b7 16
17\c{halibut} reads the given set of input files, assembles them into
18a document, and outputs that document in one or more formats.
19
20The available command-line options can configure what formats
21Halibut should output in, and can also configure other things about
22the way Halibut works.
23
5ff1157f 24\H{manpage-options} OPTIONS
c38da2b7 25
26The 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
31the optional \e{filename} parameter is supplied, the output text
32file will be given that name. Otherwise, the name of the output text
33file will be as specified in the input files, or \c{output.txt} if
34none 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.
39If the optional \e{filename} parameter is supplied, there will be
40precisely one HTML output file with that name, containing the whole
41document. Otherwise, there may be one or more than one HTML file
42produced as output; this, and the file names, will be as specified
43in 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{--winhelp}[\cw{=}\e{filename}]
47
48\dd Makes Halibut generate an output file in Windows Help format. If
49the optional \e{filename} parameter is supplied, the output help
50file will be given that name. Otherwise, the name of the output help
51file will be as specified in the input files, or \c{output.hlp} if
52none is specified at all.
53
54\lcont{
55The output help file must have a name ending in \c{.hlp}; if it does
56not, \c{.hlp} will be added. A secondary contents file will be created
57alongside the main help file, with the same name except that it will
58end in \c{.cnt} (for example \c{output.cnt}, if the main file is
59\c{output.hlp}).
60}
61
62\dt \cw{--man}[\cw{=}\e{filename}]
63
64\dd Makes Halibut generate an output file in Unix \cw{man} page
65format. If the optional \e{filename} parameter is supplied, the
66output \cw{man} page will be given that name. Otherwise, the name of
67the output \cw{man} page will be as specified in the input files, or
68\c{output.1} if none is specified at all.
69
a5df5e27 70\dt \cw{--info}[\cw{=}\e{filename}]
71
72\dd Makes Halibut generate an \c{info} file. If the optional
73\e{filename} parameter is supplied, the output \c{info} file will be
74given that name. Otherwise, the name of the output \c{info} file
75will be as specified in the input files, or \c{output.info} if none
76is specified at all.
77
78\lcont{
79By default, unless configured otherwise using the
80\cw{\\cfg\{info-max-file-size\}\{0\}} directive, the \c{info} output
81will be split into multiple files. The main file will have the name
82you specify; the subsidiary files will have suffixes \c{-1}, \c{-2}
83etc.
84}
85
c38da2b7 86\dt \cw{-C}\e{word}\cw{:}\e{word}[\cw{:}\e{word}...]
87
88\dd Adds a configuration directive to the input processed by
89Halibut. Using this directive is exactly equivalent to appending an
90extra input file to the command line which contains the directive
91\cw{\\cfg\{}\e{word}\cw{\}\{}\e{word}\cw{\}\{}\e{word}...\cw{\}}.
92
93\dt \cw{--precise}
94
95\dd Makes Halibut report the column number as well as the line
96number when it encounters an error in an input file.
97
98\dt \cw{--help}
99
100\dd Makes Halibut display a brief summary of its command-line
101options.
102
103\dt \cw{--version}
104
105\dd Makes Halibut report its version number.
106
107\dt \cw{--licence}
108
109\dd Makes Halibut display its licence (MIT).
110
5ff1157f 111\H{putty-manpage-more-information} MORE INFORMATION
c38da2b7 112
113For more information on Halibut, including full details of the input
114file format, look in the full manual. If this is not installed
115locally on your system, you can also find it at the Halibut web site:
116
117\W{http://www.chiark.greenend.org.uk/~sgtatham/halibut/}\cw{http://www.chiark.greenend.org.uk/~sgtatham/halibut/}
118
5ff1157f 119\H{putty-manpage-bugs} BUGS
c38da2b7 120
121This man page isn't terribly complete.
122
123The HTML output isn't very good.
124
125Unicode handling is atrocious.
126
127Several more output formats (PostScript, PDF, \cw{info}) are missing.