1halibut(1) Simon Tatham halibut(1)
2
3
4
6 halibut - multi-format documentation formatting tool
7
9 halibut [options] file1.but [file2.but ...]
10
12 halibut reads the given set of input files, assembles them into a docu‐
13 ment, and outputs that document in one or more formats.
14
15 The available command-line options can configure what formats Halibut
16 should output in, and can also configure other things about the way
17 Halibut works.
18
20 The command-line options supported by halibut are:
21
22 --text[=filename]
23 Makes Halibut generate an output file in plain text format. If
24 the optional filename parameter is supplied, the output text
25 file will be given that name. Otherwise, the name of the output
26 text file will be as specified in the input files, or output.txt
27 if none is specified at all.
28
29 --html[=filename]
30 Makes Halibut generate one or more output files in HTML format.
31 If the optional filename parameter is supplied, there will be
32 precisely one HTML output file with that name, containing the
33 whole document. Otherwise, there may be one or more than one
34 HTML file produced as output; this, and the file names, will be
35 as specified in the input files, or given a set of default names
36 starting with Contents.html if none is specified at all.
37
38 --winhelp[=filename]
39 Makes Halibut generate an output file in Windows Help format. If
40 the optional filename parameter is supplied, the output help
41 file will be given that name. Otherwise, the name of the output
42 help file will be as specified in the input files, or output.hlp
43 if none is specified at all.
44
45 The output help file must have a name ending in .hlp; if it does
46 not, .hlp will be added. A secondary contents file will be cre‐
47 ated alongside the main help file, with the same name except
48 that it will end in .cnt (for example output.cnt, if the main
49 file is output.hlp).
50
51 --man[=filename]
52 Makes Halibut generate an output file in Unix man page format.
53 If the optional filename parameter is supplied, the output man
54 page will be given that name. Otherwise, the name of the output
55 man page will be as specified in the input files, or output.1 if
56 none is specified at all.
57
58 --info[=filename]
59 Makes Halibut generate an info file. If the optional filename
60 parameter is supplied, the output info file will be given that
61 name. Otherwise, the name of the output info file will be as
62 specified in the input files, or output.info if none is speci‐
63 fied at all.
64
65 By default, unless configured otherwise using the \cfg{info-max-
66 file-size}{0} directive, the info output will be split into mul‐
67 tiple files. The main file will have the name you specify; the
68 subsidiary files will have suffixes -1, -2 etc.
69
70 --pdf[=filename]
71 Makes Halibut generate an output file in PDF format. If the
72 optional filename parameter is supplied, the PDF output file
73 will be given that name. Otherwise, the name of the output PDF
74 file will be as specified in the input files, or output.pdf if
75 none is specified at all.
76
77 --ps[=filename]
78 Makes Halibut generate an output file in PostScript format. If
79 the optional filename parameter is supplied, the PostScript out‐
80 put file will be given that name. Otherwise, the name of the
81 output PostScript file will be as specified in the input files,
82 or output.ps if none is specified at all.
83
84 -Cword:word[:word...]
85 Adds a configuration directive to the input processed by Hal‐
86 ibut. Using this directive is exactly equivalent to appending an
87 extra input file to the command line which contains the direc‐
88 tive \cfg{word}{word}{word...}.
89
90 --input-charset=charset
91 Changes the assumed character set for input files from the
92 default of ASCII.
93
94 --list-charsets
95 Makes Halibut list character sets known to it.
96
97 --list-fonts
98 Makes Halibut list fonts known to it, either intrinsically or by
99 being passed as input files.
100
101 --precise
102 Makes Halibut report the column number as well as the line num‐
103 ber when it encounters an error in an input file.
104
105 --help Makes Halibut display a brief summary of its command-line
106 options.
107
108 --version
109 Makes Halibut report its version number.
110
111 --licence
112 Makes Halibut display its licence (MIT).
113
115 For more information on Halibut, including full details of the input
116 file format, look in the full manual. If this is not installed locally
117 on your system, you can also find it at the Halibut web site:
118
119 http://www.chiark.greenend.org.uk/~sgtatham/halibut/
120
122 This man page isn't terribly complete.
123
124
125
126Halibut 2004‐04‐08 halibut(1)