beta-0.89.2
[luatex.git] / source / texk / web2c / texmfmp-help.h
blob6a0dba4b6763dcbafcd53dc5e2a4a6d9b53118d7
1 /* The help messages for TeX & MF family of programs.
3 Copyright 1995, 1996, 2008-2015 Karl Berry.
4 Copyright 2001-05 Olaf Weber.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
20 #ifndef TEXMFMP_HELP
21 #define TEXMFMP_HELP
23 #ifdef Aleph
24 const_string ALEPHHELP[] = {
25 "Usage: aleph [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
26 " or: aleph [OPTION]... \\FIRST-LINE",
27 " or: aleph [OPTION]... &FMT ARGS",
28 " Run Aleph on TEXNAME, usually creating TEXNAME.dvi.",
29 " Any remaining COMMANDS are processed as Aleph input, after TEXNAME is read.",
30 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
31 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
32 " most commonly `aleph'.",
33 "",
34 " Alternatively, if the first non-option argument begins with a backslash,",
35 " interpret all non-option arguments as a line of Aleph input.",
36 "",
37 " Alternatively, if the first non-option argument begins with a &, the",
38 " next word is taken as the FMT to read, overriding all else. Any",
39 " remaining arguments are processed as above.",
40 "",
41 " If no arguments or options are specified, prompt for input.",
42 "",
43 "-etex enable e-TeX extensions",
44 "[-no]-file-line-error disable/enable file:line:error style messages",
45 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
46 "-halt-on-error stop processing at the first error",
47 "-ini be inialeph, for dumping formats; this is implicitly",
48 " true if the program name is `inialeph'",
49 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
50 " scrollmode/errorstopmode)",
51 #ifdef IPC
52 "-ipc send DVI output to a socket as well as the usual",
53 " output file",
54 "-ipc-start as -ipc, and also start the server at the other end",
55 #endif /* IPC */
56 "-jobname=STRING set the job name to STRING",
57 "-kpathsea-debug=NUMBER set path searching debugging flags according to the",
58 " bits of NUMBER",
59 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
60 "-output-comment=STRING use STRING for DVI file comment instead of date",
61 "-output-directory=DIR use existing DIR as the directory to write files in",
62 "[-no]-parse-first-line disable/enable parsing of first line of input file",
63 "-progname=STRING set program (and fmt) name to STRING",
64 "-recorder enable filename recorder (always on)",
65 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
66 "-shell-restricted enable restricted \\write18",
67 "-src-specials insert source specials into the DVI file",
68 "-src-specials=WHERE insert source specials in certain places of",
69 " the DVI file. WHERE is a comma-separated value",
70 " list: cr display hbox math par parend vbox",
71 "-help display this help and exit",
72 "-version output version information and exit",
73 NULL
75 #endif /* Aleph */
77 #ifdef epTeX
78 const_string based_prog_name = "e-TeX";
79 const_string EPTEXHELP[] = {
80 "Usage: eptex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
81 " or: eptex [OPTION]... \\FIRST-LINE",
82 " or: eptex [OPTION]... &FMT ARGS",
83 " Run e-pTeX on TEXNAME, usually creating TEXNAME.dvi.",
84 " Any remaining COMMANDS are processed as e-pTeX input, after TEXNAME is read.",
85 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
86 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
87 " most commonly `eptex'.",
88 "",
89 " Alternatively, if the first non-option argument begins with a backslash,",
90 " interpret all non-option arguments as a line of e-pTeX input.",
91 "",
92 " Alternatively, if the first non-option argument begins with a &, the",
93 " next word is taken as the FMT to read, overriding all else. Any",
94 " remaining arguments are processed as above.",
95 "",
96 " If no arguments or options are specified, prompt for input.",
97 "",
98 "-etex enable e-TeX extensions",
99 "-fmt=NAME use NAME instead of program name or %&format.",
100 #if defined(WIN32)
101 "[-no]-guess-input-enc disable/enable to guess input file encoding",
102 #endif
103 "-halt-on-error stop processing at the first error",
104 "[-no]-file-line-error disable/enable file:line:error style messages",
105 "-ini be iniptex.",
106 "-interaction=STRING set interaction mode (STRING=batchmode|nonstopmode|",
107 " scrollmode|errorstopmode)",
108 #ifdef IPC
109 "-ipc send DVI output to a socket as well as the usual",
110 " output file",
111 "-ipc-start as -ipc, and also start the server at the other end",
112 #endif /* IPC */
113 "-jobname=STRING set the job name to STRING",
114 "-kanji=STRING set Japanese encoding (STRING=euc|jis|sjis|utf8)",
115 "-kanji-internal=STRING set Japanese internal encoding (STRING=euc|sjis)",
116 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
117 " the bits of NUMBER",
118 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
119 "-mltex enable MLTeX extensions such as \\charsubdef",
120 "-output-comment=STRING use STRING for DVI file comment instead of date",
121 "-output-directory=DIR use existing DIR as the directory to write files in",
122 "[-no]-parse-first-line disable/enable parsing of first line of input file",
123 "-progname=STRING set program (and fmt) name to STRING",
124 "-recorder enable filename recorder",
125 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
126 "-shell-restricted enable restricted \\write18",
127 #if defined(WIN32)
128 "-sjis-terminal always output to stdout and stderr by CP932",
129 #endif
130 "-src-specials insert source specials into the DVI file",
131 "-src-specials=WHERE insert source specials in certain places of",
132 " the DVI file. WHERE is a comma-separated value",
133 " list: cr display hbox math par parend vbox",
134 #if defined(__SyncTeX__)
135 "-synctex=NUMBER generate SyncTeX data for previewers if nonzero",
136 #endif
137 "-translate-file=TCXNAME use the TCX file TCXNAME",
138 "-help print this message and exit.",
139 "-version print version information and exit.",
140 NULL
142 #endif /* epTeX */
144 #ifdef eTeX
145 const_string ETEXHELP[] = {
146 "Usage: etex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
147 " or: etex [OPTION]... \\FIRST-LINE",
148 " or: etex [OPTION]... &FMT ARGS",
149 " Run e-TeX on TEXNAME, usually creating TEXNAME.dvi.",
150 " Any remaining COMMANDS are processed as e-TeX input, after TEXNAME is read.",
151 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
152 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
153 " most commonly `etex'.",
155 " Alternatively, if the first non-option argument begins with a backslash,",
156 " interpret all non-option arguments as a line of e-TeX input.",
158 " Alternatively, if the first non-option argument begins with a &, the",
159 " next word is taken as the FMT to read, overriding all else. Any",
160 " remaining arguments are processed as above.",
162 " If no arguments or options are specified, prompt for input.",
164 "-enc enable encTeX extensions such as \\mubyte",
165 "-etex enable e-TeX extensions",
166 "[-no]-file-line-error disable/enable file:line:error style messages",
167 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
168 "-halt-on-error stop processing at the first error",
169 "-ini be einitex, for dumping formats; this is implicitly",
170 " true if the program name is `einitex'",
171 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
172 " scrollmode/errorstopmode)",
173 #ifdef IPC
174 "-ipc send DVI output to a socket as well as the usual",
175 " output file",
176 "-ipc-start as -ipc, and also start the server at the other end",
177 #endif /* IPC */
178 "-jobname=STRING set the job name to STRING",
179 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
180 " the bits of NUMBER",
181 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
182 "-mltex enable MLTeX extensions such as \\charsubdef",
183 "-output-comment=STRING use STRING for DVI file comment instead of date",
184 "-output-directory=DIR use existing DIR as the directory to write files in",
185 "[-no]-parse-first-line disable/enable parsing of first line of input file",
186 "-progname=STRING set program (and fmt) name to STRING",
187 "-recorder enable filename recorder",
188 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
189 "-shell-restricted enable restricted \\write18",
190 "-src-specials insert source specials into the DVI file",
191 "-src-specials=WHERE insert source specials in certain places of",
192 " the DVI file. WHERE is a comma-separated value",
193 " list: cr display hbox math par parend vbox",
194 #if defined(__SyncTeX__)
195 "-synctex=NUMBER generate SyncTeX data for previewers if nonzero",
196 #endif
197 "-translate-file=TCXNAME use the TCX file TCXNAME",
198 "-8bit make all characters printable by default",
199 "-help display this help and exit",
200 "-version output version information and exit",
201 NULL
203 #endif /* eTeX */
205 #ifdef eupTeX
206 const_string based_prog_name = "e-TeX";
207 const_string EUPTEXHELP[] = {
208 "Usage: euptex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
209 " or: euptex [OPTION]... \\FIRST-LINE",
210 " or: euptex [OPTION]... &FMT ARGS",
211 " Run e-upTeX on TEXNAME, usually creating TEXNAME.dvi.",
212 " Any remaining COMMANDS are processed as e-upTeX input, after TEXNAME is read.",
213 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
214 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
215 " most commonly `euptex'.",
217 " Alternatively, if the first non-option argument begins with a backslash,",
218 " interpret all non-option arguments as a line of e-upTeX input.",
220 " Alternatively, if the first non-option argument begins with a &, the",
221 " next word is taken as the FMT to read, overriding all else. Any",
222 " remaining arguments are processed as above.",
224 " If no arguments or options are specified, prompt for input.",
226 "-etex enable e-TeX extensions",
227 "-fmt=NAME use NAME instead of program name or %&format.",
228 #if defined(WIN32)
229 "[-no]-guess-input-enc disable/enable to guess input file encoding",
230 #endif
231 "-halt-on-error stop processing at the first error",
232 "[-no]-file-line-error disable/enable file:line:error style messages",
233 "-ini be iniptex.",
234 "-interaction=STRING set interaction mode (STRING=batchmode|nonstopmode|",
235 " scrollmode|errorstopmode)",
236 #ifdef IPC
237 "-ipc send DVI output to a socket as well as the usual",
238 " output file",
239 "-ipc-start as -ipc, and also start the server at the other end",
240 #endif /* IPC */
241 "-jobname=STRING set the job name to STRING",
242 "-kanji=STRING set Japanese encoding (STRING=euc|jis|sjis|utf8|uptex)",
243 "-kanji-internal=STRING set Japanese internal encoding (STRING=euc|sjis|uptex)",
244 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
245 " the bits of NUMBER",
246 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
247 "-mltex enable MLTeX extensions such as \\charsubdef",
248 "-output-comment=STRING use STRING for DVI file comment instead of date",
249 "-output-directory=DIR use existing DIR as the directory to write files in",
250 "[-no]-parse-first-line disable/enable parsing of first line of input file",
251 "-progname=STRING set program (and fmt) name to STRING",
252 "-recorder enable filename recorder",
253 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
254 "-shell-restricted enable restricted \\write18",
255 #if defined(WIN32)
256 "-sjis-terminal always output to stdout and stderr by CP932",
257 #endif
258 "-src-specials insert source specials into the DVI file",
259 "-src-specials=WHERE insert source specials in certain places of",
260 " the DVI file. WHERE is a comma-separated value",
261 " list: cr display hbox math par parend vbox",
262 #if defined(__SyncTeX__)
263 "-synctex=NUMBER generate SyncTeX data for previewers if nonzero",
264 #endif
265 "-translate-file=TCXNAME use the TCX file TCXNAME",
266 "-help print this message and exit.",
267 "-version print version information and exit.",
268 NULL
270 #endif /* eupTeX */
272 #ifdef onlyMF
273 const_string MFHELP[] = {
274 "Usage: mf [OPTION]... [MFNAME[.mf]] [COMMANDS]",
275 " or: mf [OPTION]... \\FIRST-LINE",
276 " or: mf [OPTION]... &BASE ARGS",
277 " Run Metafont on MFNAME, usually creating MFNAME.tfm and MFNAME.NNNNgf,",
278 " where NNNN is the resolution of the specified mode (2602 by default).",
279 " Any following COMMANDS are processed as Metafont input,",
280 " after MFNAME is read.",
281 " If the first line of MFNAME is %&BASE, and BASE is an existing .base file,",
282 " use it. Else use `NAME.base', where NAME is the program invocation name,",
283 " most commonly `mf'.",
285 " Alternatively, if the first non-option argument begins with a backslash,",
286 " interpret all non-option arguments as a line of Metafont input.",
288 " Alternatively, if the first non-option argument begins with a &, the",
289 " next word is taken as the BASE to read, overriding all else. Any",
290 " remaining arguments are processed as above.",
292 " If no arguments or options are specified, prompt for input.",
294 "-base=BASENAME use BASENAME instead of program name or a %& line",
295 "[-no]-file-line-error disable/enable file:line:error style messages",
296 "-halt-on-error stop processing at the first error",
297 "-ini be inimf, for dumping bases; this is implicitly",
298 " true if the program name is `inimf'",
299 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
300 " scrollmode/errorstopmode)",
301 "-jobname=STRING set the job name to STRING",
302 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
303 " the bits of NUMBER",
304 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=mf)",
305 "-output-directory=DIR use existing DIR as the directory to write files in",
306 "[-no]-parse-first-line disable/enable parsing of first line of input file",
307 "-progname=STRING set program (and base) name to STRING",
308 "-recorder enable filename recorder",
309 "-translate-file=TCXNAME use the TCX file TCXNAME",
310 "-8bit make all characters printable by default",
311 "-help display this help and exit",
312 "-version output version information and exit",
313 NULL
315 #endif /* onlyMF */
317 #ifdef MFLua
318 const_string MFLUAHELP[] = {
319 "Usage: mflua [OPTION]... [MFNAME[.mf]] [COMMANDS]",
320 " or: mflua [OPTION]... \\FIRST-LINE",
321 " or: mflua [OPTION]... &BASE ARGS",
322 " Run MFLua on MFNAME, usually creating MFNAME.tfm and MFNAME.NNNNgf,",
323 " where NNNN is the resolution of the specified mode (2602 by default).",
324 " Any following COMMANDS are processed as Metafont input,",
325 " after MFNAME is read.",
326 " If the first line of MFNAME is %&BASE, and BASE is an existing .base file,",
327 " use it. Else use `NAME.base', where NAME is the program invocation name,",
328 " most commonly `mf'.",
330 " Alternatively, if the first non-option argument begins with a backslash,",
331 " interpret all non-option arguments as a line of Metafont input.",
333 " Alternatively, if the first non-option argument begins with a &, the",
334 " next word is taken as the BASE to read, overriding all else. Any",
335 " remaining arguments are processed as above.",
337 " If no arguments or options are specified, prompt for input.",
339 "-base=BASENAME use BASENAME instead of program name or a %& line",
340 "[-no]-file-line-error disable/enable file:line:error style messages",
341 "-halt-on-error stop processing at the first error",
342 "-ini be inimf, for dumping bases; this is implicitly",
343 " true if the program name is `inimf'",
344 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
345 " scrollmode/errorstopmode)",
346 "-jobname=STRING set the job name to STRING",
347 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
348 " the bits of NUMBER",
349 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=mflua)",
350 "-output-directory=DIR use existing DIR as the directory to write files in",
351 "[-no]-parse-first-line disable/enable parsing of first line of input file",
352 "-progname=STRING set program (and base) name to STRING",
353 "-recorder enable filename recorder",
354 "-translate-file=TCXNAME use the TCX file TCXNAME",
355 "-8bit make all characters printable by default",
356 "-help display this help and exit",
357 "-version output version information and exit",
358 NULL
360 #endif /* MFLua */
362 #ifdef MFLuaJIT
363 const_string MFLUAJITHELP[] = {
364 "Usage: mfluajit [OPTION]... [MFNAME[.mf]] [COMMANDS]",
365 " or: mfluajit [OPTION]... \\FIRST-LINE",
366 " or: mfluajit [OPTION]... &BASE ARGS",
367 " Run MFLuaJIT on MFNAME, usually creating MFNAME.tfm and MFNAME.NNNNgf,",
368 " where NNNN is the resolution of the specified mode (2602 by default).",
369 " Any following COMMANDS are processed as Metafont input,",
370 " after MFNAME is read.",
371 " If the first line of MFNAME is %&BASE, and BASE is an existing .base file,",
372 " use it. Else use `NAME.base', where NAME is the program invocation name,",
373 " most commonly `mf'.",
375 " Alternatively, if the first non-option argument begins with a backslash,",
376 " interpret all non-option arguments as a line of Metafont input.",
378 " Alternatively, if the first non-option argument begins with a &, the",
379 " next word is taken as the BASE to read, overriding all else. Any",
380 " remaining arguments are processed as above.",
382 " If no arguments or options are specified, prompt for input.",
384 "-base=BASENAME use BASENAME instead of program name or a %& line",
385 "[-no]-file-line-error disable/enable file:line:error style messages",
386 "-halt-on-error stop processing at the first error",
387 "-ini be inimf, for dumping bases; this is implicitly",
388 " true if the program name is `inimf'",
389 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
390 " scrollmode/errorstopmode)",
391 "-jobname=STRING set the job name to STRING",
392 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
393 " the bits of NUMBER",
394 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=mflua)",
395 "-output-directory=DIR use existing DIR as the directory to write files in",
396 "[-no]-parse-first-line disable/enable parsing of first line of input file",
397 "-progname=STRING set program (and base) name to STRING",
398 "-recorder enable filename recorder",
399 "-translate-file=TCXNAME use the TCX file TCXNAME",
400 "-8bit make all characters printable by default",
401 "-help display this help and exit",
402 "-version output version information and exit",
403 NULL
405 #endif /* MFLuaJIT */
407 #ifdef pdfTeX
408 const_string PDFTEXHELP[] = {
409 "Usage: pdftex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
410 " or: pdftex [OPTION]... \\FIRST-LINE",
411 " or: pdftex [OPTION]... &FMT ARGS",
412 " Run pdfTeX on TEXNAME, usually creating TEXNAME.pdf.",
413 " Any remaining COMMANDS are processed as pdfTeX input, after TEXNAME is read.",
414 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
415 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
416 " most commonly `pdftex'.",
418 " Alternatively, if the first non-option argument begins with a backslash,",
419 " interpret all non-option arguments as a line of pdfTeX input.",
421 " Alternatively, if the first non-option argument begins with a &, the",
422 " next word is taken as the FMT to read, overriding all else. Any",
423 " remaining arguments are processed as above.",
425 " If no arguments or options are specified, prompt for input.",
427 "-draftmode switch on draft mode (generates no output PDF)",
428 "-enc enable encTeX extensions such as \\mubyte",
429 "-etex enable e-TeX extensions",
430 "[-no]-file-line-error disable/enable file:line:error style messages",
431 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
432 "-halt-on-error stop processing at the first error",
433 "-ini be pdfinitex, for dumping formats; this is implicitly",
434 " true if the program name is `pdfinitex'",
435 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
436 " scrollmode/errorstopmode)",
437 #ifdef IPC
438 "-ipc send DVI output to a socket as well as the usual",
439 " output file",
440 "-ipc-start as -ipc, and also start the server at the other end",
441 #endif /* IPC */
442 "-jobname=STRING set the job name to STRING",
443 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
444 " the bits of NUMBER",
445 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm/pk)",
446 "-mltex enable MLTeX extensions such as \\charsubdef",
447 "-output-comment=STRING use STRING for DVI file comment instead of date",
448 " (no effect for PDF)",
449 "-output-directory=DIR use existing DIR as the directory to write files in",
450 "-output-format=FORMAT use FORMAT for job output; FORMAT is `dvi' or `pdf'",
451 "[-no]-parse-first-line disable/enable parsing of first line of input file",
452 "-progname=STRING set program (and fmt) name to STRING",
453 "-recorder enable filename recorder",
454 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
455 "-shell-restricted enable restricted \\write18",
456 "-src-specials insert source specials into the DVI file",
457 "-src-specials=WHERE insert source specials in certain places of",
458 " the DVI file. WHERE is a comma-separated value",
459 " list: cr display hbox math par parend vbox",
460 #if defined(__SyncTeX__)
461 "-synctex=NUMBER generate SyncTeX data for previewers if nonzero",
462 #endif
463 "-translate-file=TCXNAME use the TCX file TCXNAME",
464 "-8bit make all characters printable by default",
465 "-help display this help and exit",
466 "-version output version information and exit",
467 NULL
469 #endif /* pdfTeX */
471 #ifdef pTeX
472 const_string based_prog_name = "TeX";
473 const_string PTEXHELP[] = {
474 "Usage: ptex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
475 " or: ptex [OPTION]... \\FIRST-LINE",
476 " or: ptex [OPTION]... &FMT ARGS",
477 " Run pTeX on TEXNAME, usually creating TEXNAME.dvi.",
478 " Any remaining COMMANDS are processed as pTeX input, after TEXNAME is read.",
479 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
480 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
481 " most commonly `ptex'.",
483 " Alternatively, if the first non-option argument begins with a backslash,",
484 " interpret all non-option arguments as a line of pTeX input.",
486 " Alternatively, if the first non-option argument begins with a &, the",
487 " next word is taken as the FMT to read, overriding all else. Any",
488 " remaining arguments are processed as above.",
490 " If no arguments or options are specified, prompt for input.",
492 "-fmt=NAME use NAME instead of program name or %&format.",
493 #if defined(WIN32)
494 "[-no]-guess-input-enc disable/enable to guess input file encoding",
495 #endif
496 "-halt-on-error stop processing at the first error",
497 "[-no]-file-line-error disable/enable file:line:error style messages",
498 "-ini be iniptex.",
499 "-interaction=STRING set interaction mode (STRING=batchmode|nonstopmode|",
500 " scrollmode|errorstopmode)",
501 #ifdef IPC
502 "-ipc send DVI output to a socket as well as the usual",
503 " output file",
504 "-ipc-start as -ipc, and also start the server at the other end",
505 #endif /* IPC */
506 "-jobname=STRING set the job name to STRING",
507 "-kanji=STRING set Japanese encoding (STRING=euc|jis|sjis|utf8)",
508 "-kanji-internal=STRING set Japanese internal encoding (STRING=euc|sjis)",
509 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
510 " the bits of NUMBER",
511 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
512 "-mltex enable MLTeX extensions such as \\charsubdef",
513 "-output-comment=STRING use STRING for DVI file comment instead of date",
514 "-output-directory=DIR use existing DIR as the directory to write files in",
515 "[-no]-parse-first-line disable/enable parsing of first line of input file",
516 "-progname=STRING set program (and fmt) name to STRING",
517 "-recorder enable filename recorder",
518 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
519 "-shell-restricted enable restricted \\write18",
520 #if defined(WIN32)
521 "-sjis-terminal always output to stdout and stderr by CP932",
522 #endif
523 "-src-specials insert source specials into the DVI file",
524 "-src-specials=WHERE insert source specials in certain places of",
525 " the DVI file. WHERE is a comma-separated value",
526 " list: cr display hbox math par parend vbox",
527 #if defined(__SyncTeX__)
528 "-synctex=NUMBER generate SyncTeX data for previewers if nonzero",
529 #endif
530 "-translate-file=TCXNAME use the TCX file TCXNAME",
531 "-help print this message and exit.",
532 "-version print version information and exit.",
533 NULL
535 #endif /* pTeX */
537 #ifdef onlyTeX
538 const_string TEXHELP[] = {
539 "Usage: tex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
540 " or: tex [OPTION]... \\FIRST-LINE",
541 " or: tex [OPTION]... &FMT ARGS",
542 " Run TeX on TEXNAME, usually creating TEXNAME.dvi.",
543 " Any remaining COMMANDS are processed as TeX input, after TEXNAME is read.",
544 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
545 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
546 " most commonly `tex'.",
548 " Alternatively, if the first non-option argument begins with a backslash,",
549 " interpret all non-option arguments as a line of TeX input.",
551 " Alternatively, if the first non-option argument begins with a &, the",
552 " next word is taken as the FMT to read, overriding all else. Any",
553 " remaining arguments are processed as above.",
555 " If no arguments or options are specified, prompt for input.",
557 "-enc enable encTeX extensions such as \\mubyte",
558 "[-no]-file-line-error disable/enable file:line:error style messages",
559 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
560 "-halt-on-error stop processing at the first error",
561 "-ini be initex, for dumping formats; this is implicitly",
562 " true if the program name is `initex'",
563 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
564 " scrollmode/errorstopmode)",
565 #ifdef IPC
566 "-ipc send DVI output to a socket as well as the usual",
567 " output file",
568 "-ipc-start as -ipc, and also start the server at the other end",
569 #endif /* IPC */
570 "-jobname=STRING set the job name to STRING",
571 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
572 " the bits of NUMBER",
573 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
574 "-mltex enable MLTeX extensions such as \\charsubdef",
575 "-output-comment=STRING use STRING for DVI file comment instead of date",
576 "-output-directory=DIR use existing DIR as the directory to write files in",
577 "[-no]-parse-first-line disable/enable parsing of first line of input file",
578 "-progname=STRING set program (and fmt) name to STRING",
579 "-recorder enable filename recorder",
580 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
581 "-shell-restricted enable restricted \\write18",
582 "-src-specials insert source specials into the DVI file",
583 "-src-specials=WHERE insert source specials in certain places of",
584 " the DVI file. WHERE is a comma-separated value",
585 " list: cr display hbox math par parend vbox",
586 #if defined(__SyncTeX__)
587 "-synctex=NUMBER generate SyncTeX data for previewers if nonzero",
588 #endif
589 "-translate-file=TCXNAME use the TCX file TCXNAME",
590 "-8bit make all characters printable by default",
591 "-help display this help and exit",
592 "-version output version information and exit",
593 NULL
595 #endif /* onlyTeX */
597 #ifdef upTeX
598 const_string based_prog_name = "TeX";
599 const_string UPTEXHELP[] = {
600 "Usage: uptex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
601 " or: uptex [OPTION]... \\FIRST-LINE",
602 " or: uptex [OPTION]... &FMT ARGS",
603 " Run upTeX on TEXNAME, usually creating TEXNAME.dvi.",
604 " Any remaining COMMANDS are processed as upTeX input, after TEXNAME is read.",
605 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
606 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
607 " most commonly `uptex'.",
609 " Alternatively, if the first non-option argument begins with a backslash,",
610 " interpret all non-option arguments as a line of upTeX input.",
612 " Alternatively, if the first non-option argument begins with a &, the",
613 " next word is taken as the FMT to read, overriding all else. Any",
614 " remaining arguments are processed as above.",
616 " If no arguments or options are specified, prompt for input.",
618 "-fmt=NAME use NAME instead of program name or %&format.",
619 #if defined(WIN32)
620 "[-no]-guess-input-enc disable/enable to guess input file encoding",
621 #endif
622 "-halt-on-error stop processing at the first error",
623 "[-no]-file-line-error disable/enable file:line:error style messages",
624 "-ini be iniptex.",
625 "-interaction=STRING set interaction mode (STRING=batchmode|nonstopmode|",
626 " scrollmode|errorstopmode)",
627 #ifdef IPC
628 "-ipc send DVI output to a socket as well as the usual",
629 " output file",
630 "-ipc-start as -ipc, and also start the server at the other end",
631 #endif /* IPC */
632 "-jobname=STRING set the job name to STRING",
633 "-kanji=STRING set Japanese encoding (STRING=euc|jis|sjis|utf8|uptex)",
634 "-kanji-internal=STRING set Japanese internal encoding (STRING=euc|sjis|uptex)",
635 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
636 " the bits of NUMBER",
637 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
638 "-mltex enable MLTeX extensions such as \\charsubdef",
639 "-output-comment=STRING use STRING for DVI file comment instead of date",
640 "-output-directory=DIR use existing DIR as the directory to write files in",
641 "[-no]-parse-first-line disable/enable parsing of first line of input file",
642 "-progname=STRING set program (and fmt) name to STRING",
643 "-recorder enable filename recorder",
644 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
645 "-shell-restricted enable restricted \\write18",
646 #if defined(WIN32)
647 "-sjis-terminal always output to stdout and stderr by CP932",
648 #endif
649 "-src-specials insert source specials into the DVI file",
650 "-src-specials=WHERE insert source specials in certain places of",
651 " the DVI file. WHERE is a comma-separated value",
652 " list: cr display hbox math par parend vbox",
653 #if defined(__SyncTeX__)
654 "-synctex=NUMBER generate SyncTeX data for previewers if nonzero",
655 #endif
656 "-translate-file=TCXNAME use the TCX file TCXNAME",
657 "-help print this message and exit.",
658 "-version print version information and exit.",
659 NULL
661 #endif /* upTeX */
663 #ifdef XeTeX
664 const_string XETEXHELP[] = {
665 "Usage: xetex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
666 " or: xetex [OPTION]... \\FIRST-LINE",
667 " or: xetex [OPTION]... &FMT ARGS",
668 " Run XeTeX on TEXNAME, usually creating TEXNAME.pdf.",
669 " Any remaining COMMANDS are processed as XeTeX input, after TEXNAME is read.",
670 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
671 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
672 " most commonly `xetex'.",
674 " Alternatively, if the first non-option argument begins with a backslash,",
675 " interpret all non-option arguments as a line of XeTeX input.",
677 " Alternatively, if the first non-option argument begins with a &, the",
678 " next word is taken as the FMT to read, overriding all else. Any",
679 " remaining arguments are processed as above.",
681 " If no arguments or options are specified, prompt for input.",
683 "-etex enable e-TeX extensions",
684 "[-no]-file-line-error disable/enable file:line:error style messages",
685 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
686 "-halt-on-error stop processing at the first error",
687 "-ini be xeinitex, for dumping formats; this is implicitly",
688 " true if the program name is `xeinitex'",
689 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
690 " scrollmode/errorstopmode)",
691 "-jobname=STRING set the job name to STRING",
692 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
693 " the bits of NUMBER",
694 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
695 "-mltex enable MLTeX extensions such as \\charsubdef",
696 "-output-comment=STRING use STRING for XDV file comment instead of date",
697 "-output-directory=DIR use existing DIR as the directory to write files in",
698 "-output-driver=CMD use CMD as the XDV-to-PDF driver instead of xdvipdfmx",
699 "-no-pdf generate XDV (extended DVI) output rather than PDF",
700 "[-no]-parse-first-line disable/enable parsing of first line of input file",
701 "-papersize=STRING set PDF media size to STRING",
702 "-progname=STRING set program (and fmt) name to STRING",
703 "-recorder enable filename recorder",
704 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
705 "-shell-restricted enable restricted \\write18",
706 "-src-specials insert source specials into the XDV file",
707 "-src-specials=WHERE insert source specials in certain places of",
708 " the XDV file. WHERE is a comma-separated value",
709 " list: cr display hbox math par parend vbox",
710 #if defined(__SyncTeX__)
711 "-synctex=NUMBER generate SyncTeX data for previewers if nonzero",
712 #endif
713 "-translate-file=TCXNAME (ignored)",
714 "-8bit make all characters printable, don't use ^^X sequences",
715 "-help display this help and exit",
716 "-version output version information and exit",
717 NULL
719 #endif /* XeTeX */
720 #endif /* TEXMFMP_HELP */