File: makeinfo.1

package info (click to toggle)
texinfo 7.2.91-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 99,372 kB
  • sloc: perl: 639,678; ansic: 153,056; sh: 17,327; xml: 9,180; makefile: 2,531; javascript: 1,935; awk: 1,902; python: 74; pascal: 68; sed: 39
file content (255 lines) | stat: -rw-r--r-- 6,670 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.3.
.TH TEXI2ANY "1" "February 2026" "GNU texinfo 7.2.91" "User Commands"
.SH NAME
texi2any \- translate Texinfo documents
.SH SYNOPSIS
.B makeinfo
[\fI\,OPTION\/\fR]... \fI\,TEXINFO-FILE\/\fR...
.SH DESCRIPTION
Translate Texinfo source documentation to various other formats, by default
Info files suitable for reading online with Emacs or standalone GNU Info.
.PP
This program is commonly installed as both `makeinfo' and `texi2any';
the behavior is identical, and does not depend on the installed name.
.SS "General options:"
.TP
\fB\-\-document\-language\fR=\fI\,STR\/\fR locale to use in translating Texinfo keywords
for the output document (default C)
.TP
\fB\-\-error\-limit\fR=\fI\,NUM\/\fR
quit after NUM errors (default 100)
.TP
\fB\-\-force\fR
preserve output even if errors
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-no\-validate\fR
suppress node cross\-reference validation
.TP
\fB\-\-no\-warn\fR
suppress warnings (but not errors)
.TP
\fB\-\-conf\-dir\fR=\fI\,DIR\/\fR
search also for initialization files in DIR
.TP
\fB\-\-init\-file\fR=\fI\,FILE\/\fR
load FILE to modify the default behavior
.TP
\fB\-c\fR, \fB\-\-set\-customization\-variable\fR VAR=VAL
set customization variable VAR
to value VAL
.TP
\fB\-\-trace\-includes\fR
print names of included files
.TP
\fB\-v\fR, \fB\-\-verbose\fR
explain what is being done
.TP
\fB\-\-version\fR
display version information and exit
.SS "Output format selection (default is to produce Info):"
.TP
\fB\-\-docbook\fR
output Docbook XML
.TP
\fB\-\-html\fR
output HTML
.TP
\fB\-\-epub3\fR
output EPUB 3
.TP
\fB\-\-latex\fR
output LaTeX
.TP
\fB\-\-plaintext\fR
output plain text rather than Info
.TP
\fB\-\-xml\fR
output Texinfo XML
.TP
\fB\-\-dvi\fR, \fB\-\-dvipdf\fR, \fB\-\-ps\fR, \fB\-\-pdf\fR
call texi2dvi to generate given output,
after checking validity of TEXINFO\-FILE
.SS "General output options:"
.TP
\fB\-E\fR, \fB\-\-macro\-expand\fR=\fI\,FILE\/\fR
output macro\-expanded source to FILE,
ignoring any @setfilename
.TP
\fB\-\-no\-headers\fR
suppress node separators, Node: lines, and menus
from Info output (thus producing plain text)
or from HTML (thus producing shorter output).
Also, if producing Info, write to
standard output by default.
.TP
\fB\-\-no\-split\fR
suppress any splitting of the output;
generate only one output file
.TP
\fB\-\-[no\-]number\-sections\fR
output chapter and sectioning numbers;
default is on
.TP
\fB\-\-[no\-]number\-footnotes\fR
number footnotes sequentially; default is on
.TP
\fB\-o\fR, \fB\-\-output\fR=\fI\,DEST\/\fR
output to DEST.
With split output, create DEST as a directory
and put the output files there.
With non\-split output, if DEST is already
a directory or ends with a /,
put the output file there.
Otherwise, DEST names the output file.
.TP
\fB\-\-disable\-encoding\fR
do not output accented and special characters
in Info and plain text output based on document
encoding
.TP
\fB\-\-enable\-encoding\fR
override \fB\-\-disable\-encoding\fR (default)
.SS "Options for Info and plain text:"
.TP
\fB\-\-fill\-column\fR=\fI\,NUM\/\fR
break Info lines at NUM columns (default 72)
.TP
\fB\-\-footnote\-style\fR=\fI\,STYLE\/\fR
output footnotes in Info according to STYLE:
`separate' to put them in their own node;
`end' to put them at the end of the node, in
which they are defined (this is the default)
.TP
\fB\-\-paragraph\-indent\fR=\fI\,VAL\/\fR
indent Info paragraphs by VAL spaces (default 3).
If VAL is `none', do not indent; if VAL is
`asis', preserve existing indentation.
.TP
\fB\-\-split\-size\fR=\fI\,NUM\/\fR
split Info files at size NUM (default 300000)
.SS "Options for HTML:"
.TP
\fB\-\-css\-include\fR=\fI\,FILE\/\fR
include FILE in HTML <style> output;
read stdin if FILE is \-
.TP
\fB\-\-css\-ref\fR=\fI\,URL\/\fR
generate CSS reference to URL
.TP
\fB\-\-internal\-links\fR=\fI\,FILE\/\fR
produce list of internal links in FILE
.TP
\fB\-\-split\fR=\fI\,SPLIT\/\fR
split at SPLIT, where SPLIT may be `chapter',
`section' or `node'
.TP
\fB\-\-transliterate\-file\-names\fR
use file names in ASCII transliteration
.TP
\fB\-\-node\-files\fR
produce redirection files for nodes and
anchors; default is set only if split
.SS "Options for DVI/PS/PDF:"
.TP
\fB\-\-Xopt\fR=\fI\,OPT\/\fR
pass OPT to texi2dvi; can be repeated
.SS "Input file options:"
.TP
\fB\-D\fR VAR
define the variable VAR, as with @set
.TP
\fB\-D\fR 'VAR VAL'
define VAR to VAL (one shell argument)
.TP
\fB\-I\fR DIR
append DIR to the @include search path
.TP
\fB\-P\fR DIR
prepend DIR to the @include search path
.TP
\fB\-U\fR VAR
undefine the variable VAR, as with @clear
.SS "Conditional processing in input:"
.TP
\fB\-\-ifdocbook\fR
process @ifdocbook and @docbook
.TP
\fB\-\-ifhtml\fR
process @ifhtml and @html
.TP
\fB\-\-ifinfo\fR
process @ifinfo
.TP
\fB\-\-iflatex\fR
process @iflatex and @latex
.TP
\fB\-\-ifplaintext\fR
process @ifplaintext
.TP
\fB\-\-iftex\fR
process @iftex and @tex
.TP
\fB\-\-ifxml\fR
process @ifxml and @xml
.IP
By default, an \fB\-\-ifFORMAT\fR setting is on only when the output format
is FORMAT; for example, \fB\-\-ifhtml\fR is on when outputting HTML.
Also, when \fB\-\-ifFORMAT\fR is on, @ifnotFORMAT text is not processed.
.IP
Each \fB\-\-ifFORMAT\fR option may be prefixed with `\-\-no\-' to negate it;
for example, \fB\-\-no\-ifhtml\fR means not to process @ifhtml or @html text,
and to process @ifnothtml text.
.SH EXAMPLES
.TP
makeinfo foo.texi
write Info
.TP
makeinfo \-\-html foo.texi
write HTML
.TP
makeinfo \-\-xml foo.texi
write Texinfo XML
.TP
makeinfo \-\-docbook foo.texi
write Docbook XML
.TP
makeinfo \-\-plaintext foo.texi
write plain text to standard output
.TP
makeinfo \-\-pdf foo.texi
write PDF using texi2dvi
.TP
makeinfo \-\-html \-\-no\-headers foo.texi
write html without node lines, menus
.TP
makeinfo \-\-number\-sections foo.texi
write Info with numbered sections
.TP
makeinfo \-\-no\-split foo.texi
write one Info file however big
.SH "REPORTING BUGS"
Email bug reports to bug\-texinfo@gnu.org,
general questions and discussion to help\-texinfo@gnu.org.
.br
Texinfo home page: https://www.gnu.org/software/texinfo/
.SH COPYRIGHT
Copyright \(co 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
The full documentation for
.B texi2any
is maintained as a Texinfo manual.  If the
.B info
and
.B texi2any
programs are properly installed at your site, the command
.IP
.B info texi2any
.PP
should give you access to the complete manual.