1 .\" $NetBSD: makeinfo.1,v 1.1.1.6 2008/09/02 07:51:56 christos Exp $
3 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.34.
4 .TH MAKEINFO "1" "December 2004" "makeinfo 4.8" "User Commands"
6 makeinfo \- translate Texinfo documents
9 [\fIOPTION\fR]... \fITEXINFO-FILE\fR...
11 Translate Texinfo source documentation to various other formats, by default
12 Info files suitable for reading online with Emacs or standalone GNU Info.
13 .SS "General options:"
15 \fB\-\-error\-limit\fR=\fINUM\fR
16 quit after NUM errors (default 100).
19 preserve output even if errors.
22 display this help and exit.
24 \fB\-\-no\-validate\fR
25 suppress node cross\-reference validation.
28 suppress warnings (but not errors).
30 \fB\-\-reference\-limit\fR=\fINUM\fR
31 warn about at most NUM references (default 1000).
33 \fB\-v\fR, \fB\-\-verbose\fR
34 explain what is being done.
37 display version information and exit.
38 .SS "Output format selection (default is to produce Info):"
41 output Docbook XML rather than Info.
44 output HTML rather than Info.
47 output Texinfo XML rather than Info.
50 output plain text rather than Info.
51 .SS "General output options:"
53 \fB\-E\fR, \fB\-\-macro\-expand\fR FILE
54 output macro\-expanded source to FILE.
55 ignoring any @setfilename.
58 suppress node separators, Node: lines, and menus
59 from Info output (thus producing plain text)
60 or from HTML (thus producing shorter output);
61 also, write to standard output by default.
64 suppress splitting of Info or HTML output,
65 generate only one output file.
67 \fB\-\-no\-version\-header\fR
68 suppress header with makeinfo version and source path.
70 \fB\-\-number\-sections\fR
71 output chapter and sectioning numbers.
73 \fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
74 output to FILE (directory if split HTML),
75 .SS "Options for Info and plain text:"
77 \fB\-\-enable\-encoding\fR
78 output accented and special characters in
79 Info output based on @documentencoding.
81 \fB\-\-fill\-column\fR=\fINUM\fR
82 break Info lines at NUM characters (default 72).
84 \fB\-\-footnote\-style\fR=\fISTYLE\fR
85 output footnotes in Info according to STYLE:
86 `separate' to put them in their own node;
87 `end' to put them at the end of the node
89 in which they are defined (default).
91 \fB\-\-paragraph\-indent\fR=\fIVAL\fR
92 indent Info paragraphs by VAL spaces (default 3).
93 If VAL is `none', do not indent; if VAL is
94 `asis', preserve existing indentation.
96 \fB\-\-split\-size\fR=\fINUM\fR
97 split Info files at size NUM (default 300000).
98 .SS "Options for HTML:"
100 \fB\-\-css\-include\fR=\fIFILE\fR
101 include FILE in HTML <style> output;
102 read stdin if FILE is \-.
103 .SS "Options for XML and Docbook:"
105 \fB\-\-output\-indent\fR=\fIVAL\fR
106 indent XML elements by VAL spaces (default 2).
107 If VAL is 0, ignorable whitespace is dropped.
108 .SS "Input file options:"
110 \fB\-\-commands\-in\-node\-names\fR
111 allow @ commands in node names.
114 define the variable VAR, as with @set.
117 append DIR to the @include search path.
120 prepend DIR to the @include search path.
123 undefine the variable VAR, as with @clear.
124 .SS "Conditional processing in input:"
127 process @ifdocbook and @docbook even if
128 not generating Docbook.
131 process @ifhtml and @html even if not generating HTML.
134 process @ifinfo even if not generating Info.
136 \fB\-\-ifplaintext\fR
137 process @ifplaintext even if not generating plain text.
140 process @iftex and @tex; implies \fB\-\-no\-split\fR.
143 process @ifxml and @xml.
145 \fB\-\-no\-ifdocbook\fR
146 do not process @ifdocbook and @docbook text.
149 do not process @ifhtml and @html text.
152 do not process @ifinfo text.
154 \fB\-\-no\-ifplaintext\fR
155 do not process @ifplaintext text.
158 do not process @iftex and @tex text.
161 do not process @ifxml and @xml text.
163 Also, for the \fB\-\-no\-ifFORMAT\fR options, do process @ifnotFORMAT text.
165 The defaults for the @if... conditionals depend on the output format:
166 if generating HTML, \fB\-\-ifhtml\fR is on and the others are off;
167 if generating Info, \fB\-\-ifinfo\fR is on and the others are off;
168 if generating plain text, \fB\-\-ifplaintext\fR is on and the others are off;
169 if generating XML, \fB\-\-ifxml\fR is on and the others are off.
173 write Info to foo's @setfilename
175 makeinfo \fB\-\-html\fR foo.texi
176 write HTML to @setfilename
178 makeinfo \fB\-\-xml\fR foo.texi
179 write Texinfo XML to @setfilename
181 makeinfo \fB\-\-docbook\fR foo.texi
182 write DocBook XML to @setfilename
184 makeinfo \fB\-\-no\-headers\fR foo.texi
185 write plain text to standard output
187 makeinfo \fB\-\-html\fR \fB\-\-no\-headers\fR foo.texi write html without node lines, menus
188 makeinfo \fB\-\-number\-sections\fR foo.texi write Info with numbered sections
189 makeinfo \fB\-\-no\-split\fR foo.texi write one Info file however big
191 Email bug reports to bug\-texinfo@gnu.org,
192 general questions and discussion to help\-texinfo@gnu.org.
193 Texinfo home page: http://www.gnu.org/software/texinfo/
195 Copyright \(co 2004 Free Software Foundation, Inc.
196 There is NO warranty. You may redistribute this software
197 under the terms of the GNU General Public License.
198 For more information about these matters, see the files named COPYING.
200 The full documentation for
202 is maintained as a Texinfo manual. If the
206 programs are properly installed at your site, the command
210 should give you access to the complete manual.