Debian Codegraph @

texk/web2c/texmfmp-help.h

raw
1 /* The help messages for TeX & MF family of programs.
2
3 Copyright 1995, 1996, 2008-2019 Karl Berry.
4 Copyright 2001-05 Olaf Weber.
5
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.
10
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.
15
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. */
19
20 #ifndef TEXMFMP_HELP
21 #define TEXMFMP_HELP
22
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 "-cnf-line=STRING parse STRING as a configuration file line",
44 "-etex enable e-TeX extensions",
45 "[-no]-file-line-error disable/enable file:line:error style messages",
46 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
47 "-halt-on-error stop processing at the first error",
48 "-ini be inialeph, for dumping formats; this is implicitly",
49 " true if the program name is `inialeph'",
50 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
51 " scrollmode/errorstopmode)",
52 #ifdef IPC
53 "-ipc send DVI output to a socket as well as the usual",
54 " output file",
55 "-ipc-start as -ipc, and also start the server at the other end",
56 #endif /* IPC */
57 "-jobname=STRING set the job name to STRING",
58 "-kpathsea-debug=NUMBER set path searching debugging flags according to the",
59 " bits of NUMBER",
60 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
61 "-output-comment=STRING use STRING for DVI file comment instead of date",
62 "-output-directory=DIR use existing DIR as the directory to write files in",
63 "[-no]-parse-first-line disable/enable parsing of first line of input file",
64 "-progname=STRING set program (and fmt) name to STRING",
65 "-recorder enable filename recorder (always on)",
66 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
67 "-shell-restricted enable restricted \\write18",
68 "-src-specials insert source specials into the DVI file",
69 "-src-specials=WHERE insert source specials in certain places of",
70 " the DVI file. WHERE is a comma-separated value",
71 " list: cr display hbox math par parend vbox",
72 "-help display this help and exit",
73 "-version output version information and exit",
74 NULL
75 };
76 #endif /* Aleph */
77
78 #ifdef eTeX
79 const_string ETEXHELP[] = {
80 "Usage: etex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
81 " or: etex [OPTION]... \\FIRST-LINE",
82 " or: etex [OPTION]... &FMT ARGS",
83 " Run e-TeX on TEXNAME, usually creating TEXNAME.dvi.",
84 " Any remaining COMMANDS are processed as e-TeX 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 `etex'.",
88 "",
89 " Alternatively, if the first non-option argument begins with a backslash,",
90 " interpret all non-option arguments as a line of e-TeX 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 "-cnf-line=STRING parse STRING as a configuration file line",
99 "-enc enable encTeX extensions such as \\mubyte",
100 "-etex enable e-TeX extensions",
101 "[-no]-file-line-error disable/enable file:line:error style messages",
102 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
103 "-halt-on-error stop processing at the first error",
104 "-ini be einitex, for dumping formats; this is implicitly",
105 " true if the program name is `einitex'",
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 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
115 " the bits of NUMBER",
116 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
117 "-mltex enable MLTeX extensions such as \\charsubdef",
118 "-output-comment=STRING use STRING for DVI file comment instead of date",
119 "-output-directory=DIR use existing DIR as the directory to write files in",
120 "[-no]-parse-first-line disable/enable parsing of first line of input file",
121 "-progname=STRING set program (and fmt) name to STRING",
122 "-recorder enable filename recorder",
123 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
124 "-shell-restricted enable restricted \\write18",
125 "-src-specials insert source specials into the DVI file",
126 "-src-specials=WHERE insert source specials in certain places of",
127 " the DVI file. WHERE is a comma-separated value",
128 " list: cr display hbox math par parend vbox",
129 #if defined(__SyncTeX__)
130 "-synctex=NUMBER generate SyncTeX data for previewers according to",
131 " bits of NUMBER (`man synctex' for details)",
132 #endif
133 "-translate-file=TCXNAME use the TCX file TCXNAME",
134 "-8bit make all characters printable by default",
135 "-help display this help and exit",
136 "-version output version information and exit",
137 NULL
138 };
139 #endif /* eTeX */
140
141 #ifdef eupTeX
142 const_string based_prog_name = "e-TeX";
143 const_string EUPTEXHELP[] = {
144 "Usage: euptex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
145 " or: euptex [OPTION]... \\FIRST-LINE",
146 " or: euptex [OPTION]... &FMT ARGS",
147 " Run e-upTeX on TEXNAME, usually creating TEXNAME.dvi.",
148 " Any remaining COMMANDS are processed as e-upTeX input, after TEXNAME is read.",
149 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
150 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
151 " most commonly `euptex'.",
152 "",
153 " Alternatively, if the first non-option argument begins with a backslash,",
154 " interpret all non-option arguments as a line of e-upTeX input.",
155 "",
156 " Alternatively, if the first non-option argument begins with a &, the",
157 " next word is taken as the FMT to read, overriding all else. Any",
158 " remaining arguments are processed as above.",
159 "",
160 " If no arguments or options are specified, prompt for input.",
161 "",
162 "-cnf-line=STRING parse STRING as a configuration file line",
163 "-etex enable e-TeX extensions",
164 "-fmt=NAME use NAME instead of program name or %&format.",
165 "[-no]-guess-input-enc disable/enable to guess input file encoding",
166 "-halt-on-error stop processing at the first error",
167 "[-no]-file-line-error disable/enable file:line:error style messages",
168 "-ini be iniptex.",
169 "-interaction=STRING set interaction mode (STRING=batchmode|nonstopmode|",
170 " scrollmode|errorstopmode)",
171 #ifdef IPC
172 "-ipc send DVI output to a socket as well as the usual",
173 " output file",
174 "-ipc-start as -ipc, and also start the server at the other end",
175 #endif /* IPC */
176 "-jobname=STRING set the job name to STRING",
177 "-kanji=STRING set Japanese encoding (STRING=euc|jis|sjis|utf8|uptex)",
178 "-kanji-internal=STRING set Japanese internal encoding (STRING=euc|sjis|uptex)",
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 according to",
196 " bits of NUMBER (`man synctex' for details)",
197 #endif
198 "-translate-file=TCXNAME use the TCX file TCXNAME",
199 "-help print this message and exit.",
200 "-version print version information and exit.",
201 NULL
202 };
203 #endif /* eupTeX */
204
205 #ifdef onlyMF
206 const_string MFHELP[] = {
207 "Usage: mf [OPTION]... [MFNAME[.mf]] [COMMANDS]",
208 " or: mf [OPTION]... \\FIRST-LINE",
209 " or: mf [OPTION]... &BASE ARGS",
210 " Run Metafont on MFNAME, usually creating MFNAME.tfm and MFNAME.NNNNgf,",
211 " where NNNN is the resolution of the specified mode (2602 by default).",
212 " Any following COMMANDS are processed as Metafont input,",
213 " after MFNAME is read.",
214 " If the first line of MFNAME is %&BASE, and BASE is an existing .base file,",
215 " use it. Else use `NAME.base', where NAME is the program invocation name,",
216 " most commonly `mf'.",
217 "",
218 " Alternatively, if the first non-option argument begins with a backslash,",
219 " interpret all non-option arguments as a line of Metafont input.",
220 "",
221 " Alternatively, if the first non-option argument begins with a &, the",
222 " next word is taken as the BASE to read, overriding all else. Any",
223 " remaining arguments are processed as above.",
224 "",
225 " If no arguments or options are specified, prompt for input.",
226 "",
227 "-base=BASENAME use BASENAME instead of program name or a %& line",
228 "-cnf-line=STRING parse STRING as a configuration file line",
229 "[-no]-file-line-error disable/enable file:line:error style messages",
230 "-halt-on-error stop processing at the first error",
231 "-ini be inimf, for dumping bases; this is implicitly",
232 " true if the program name is `inimf'",
233 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
234 " scrollmode/errorstopmode)",
235 "-jobname=STRING set the job name to STRING",
236 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
237 " the bits of NUMBER",
238 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=mf)",
239 "-output-directory=DIR use existing DIR as the directory to write files in",
240 "[-no]-parse-first-line disable/enable parsing of first line of input file",
241 "-progname=STRING set program (and base) name to STRING",
242 "-recorder enable filename recorder",
243 "-translate-file=TCXNAME use the TCX file TCXNAME",
244 "-8bit make all characters printable by default",
245 "-help display this help and exit",
246 "-version output version information and exit",
247 NULL
248 };
249 #endif /* onlyMF */
250
251 #ifdef MFLua
252 const_string MFLUAHELP[] = {
253 "Usage: mflua [OPTION]... [MFNAME[.mf]] [COMMANDS]",
254 " or: mflua [OPTION]... \\FIRST-LINE",
255 " or: mflua [OPTION]... &BASE ARGS",
256 " Run MFLua on MFNAME, usually creating MFNAME.tfm and MFNAME.NNNNgf,",
257 " where NNNN is the resolution of the specified mode (2602 by default).",
258 " Any following COMMANDS are processed as Metafont input,",
259 " after MFNAME is read.",
260 " If the first line of MFNAME is %&BASE, and BASE is an existing .base file,",
261 " use it. Else use `NAME.base', where NAME is the program invocation name,",
262 " most commonly `mf'.",
263 "",
264 " Alternatively, if the first non-option argument begins with a backslash,",
265 " interpret all non-option arguments as a line of Metafont input.",
266 "",
267 " Alternatively, if the first non-option argument begins with a &, the",
268 " next word is taken as the BASE to read, overriding all else. Any",
269 " remaining arguments are processed as above.",
270 "",
271 " If no arguments or options are specified, prompt for input.",
272 "",
273 "-base=BASENAME use BASENAME instead of program name or a %& line",
274 "[-no]-file-line-error disable/enable file:line:error style messages",
275 "-halt-on-error stop processing at the first error",
276 "-ini be inimf, for dumping bases; this is implicitly",
277 " true if the program name is `inimf'",
278 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
279 " scrollmode/errorstopmode)",
280 "-jobname=STRING set the job name to STRING",
281 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
282 " the bits of NUMBER",
283 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=mflua)",
284 "-output-directory=DIR use existing DIR as the directory to write files in",
285 "[-no]-parse-first-line disable/enable parsing of first line of input file",
286 "-progname=STRING set program (and base) name to STRING",
287 "-recorder enable filename recorder",
288 "-translate-file=TCXNAME use the TCX file TCXNAME",
289 "-8bit make all characters printable by default",
290 "-help display this help and exit",
291 "-version output version information and exit",
292 NULL
293 };
294 #endif /* MFLua */
295
296 #ifdef MFLuaJIT
297 const_string MFLUAJITHELP[] = {
298 "Usage: mfluajit [OPTION]... [MFNAME[.mf]] [COMMANDS]",
299 " or: mfluajit [OPTION]... \\FIRST-LINE",
300 " or: mfluajit [OPTION]... &BASE ARGS",
301 " Run MFLuaJIT on MFNAME, usually creating MFNAME.tfm and MFNAME.NNNNgf,",
302 " where NNNN is the resolution of the specified mode (2602 by default).",
303 " Any following COMMANDS are processed as Metafont input,",
304 " after MFNAME is read.",
305 " If the first line of MFNAME is %&BASE, and BASE is an existing .base file,",
306 " use it. Else use `NAME.base', where NAME is the program invocation name,",
307 " most commonly `mf'.",
308 "",
309 " Alternatively, if the first non-option argument begins with a backslash,",
310 " interpret all non-option arguments as a line of Metafont input.",
311 "",
312 " Alternatively, if the first non-option argument begins with a &, the",
313 " next word is taken as the BASE to read, overriding all else. Any",
314 " remaining arguments are processed as above.",
315 "",
316 " If no arguments or options are specified, prompt for input.",
317 "",
318 "-base=BASENAME use BASENAME instead of program name or a %& line",
319 "[-no]-file-line-error disable/enable file:line:error style messages",
320 "-halt-on-error stop processing at the first error",
321 "-ini be inimf, for dumping bases; this is implicitly",
322 " true if the program name is `inimf'",
323 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
324 " scrollmode/errorstopmode)",
325 "-jobname=STRING set the job name to STRING",
326 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
327 " the bits of NUMBER",
328 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=mflua)",
329 "-output-directory=DIR use existing DIR as the directory to write files in",
330 "[-no]-parse-first-line disable/enable parsing of first line of input file",
331 "-progname=STRING set program (and base) name to STRING",
332 "-recorder enable filename recorder",
333 "-translate-file=TCXNAME use the TCX file TCXNAME",
334 "-8bit make all characters printable by default",
335 "-help display this help and exit",
336 "-version output version information and exit",
337 NULL
338 };
339 #endif /* MFLuaJIT */
340
341 #ifdef pdfTeX
342 const_string PDFTEXHELP[] = {
343 "Usage: pdftex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
344 " or: pdftex [OPTION]... \\FIRST-LINE",
345 " or: pdftex [OPTION]... &FMT ARGS",
346 " Run pdfTeX on TEXNAME, usually creating TEXNAME.pdf.",
347 " Any remaining COMMANDS are processed as pdfTeX input, after TEXNAME is read.",
348 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
349 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
350 " most commonly `pdftex'.",
351 "",
352 " Alternatively, if the first non-option argument begins with a backslash,",
353 " interpret all non-option arguments as a line of pdfTeX input.",
354 "",
355 " Alternatively, if the first non-option argument begins with a &, the",
356 " next word is taken as the FMT to read, overriding all else. Any",
357 " remaining arguments are processed as above.",
358 "",
359 " If no arguments or options are specified, prompt for input.",
360 "",
361 "-cnf-line=STRING parse STRING as a configuration file line",
362 "-draftmode switch on draft mode (generates no output PDF)",
363 "-enc enable encTeX extensions such as \\mubyte",
364 "-etex enable e-TeX extensions",
365 "[-no]-file-line-error disable/enable file:line:error style messages",
366 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
367 "-halt-on-error stop processing at the first error",
368 "-ini be pdfinitex, for dumping formats; this is implicitly",
369 " true if the program name is `pdfinitex'",
370 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
371 " scrollmode/errorstopmode)",
372 #ifdef IPC
373 "-ipc send DVI output to a socket as well as the usual",
374 " output file",
375 "-ipc-start as -ipc, and also start the server at the other end",
376 #endif /* IPC */
377 "-jobname=STRING set the job name to STRING",
378 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
379 " the bits of NUMBER",
380 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm/pk)",
381 "-mltex enable MLTeX extensions such as \\charsubdef",
382 "-output-comment=STRING use STRING for DVI file comment instead of date",
383 " (no effect for PDF)",
384 "-output-directory=DIR use existing DIR as the directory to write files in",
385 "-output-format=FORMAT use FORMAT for job output; FORMAT is `dvi' or `pdf'",
386 "[-no]-parse-first-line disable/enable parsing of first line of input file",
387 "-progname=STRING set program (and fmt) name to STRING",
388 "-recorder enable filename recorder",
389 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
390 "-shell-restricted enable restricted \\write18",
391 "-src-specials insert source specials into the DVI file",
392 "-src-specials=WHERE insert source specials in certain places of",
393 " the DVI file. WHERE is a comma-separated value",
394 " list: cr display hbox math par parend vbox",
395 #if defined(__SyncTeX__)
396 "-synctex=NUMBER generate SyncTeX data for previewers according to",
397 " bits of NUMBER (`man synctex' for details)",
398 #endif
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 "",
404 "pdfTeX home page: <https://pdftex.org>",
405 NULL
406 };
407 #endif /* pdfTeX */
408
409 #ifdef onlyTeX
410 const_string TEXHELP[] = {
411 "Usage: tex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
412 " or: tex [OPTION]... \\FIRST-LINE",
413 " or: tex [OPTION]... &FMT ARGS",
414 " Run TeX on TEXNAME, usually creating TEXNAME.dvi.",
415 " Any remaining COMMANDS are processed as TeX input, after TEXNAME is read.",
416 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
417 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
418 " most commonly `tex'.",
419 "",
420 " Alternatively, if the first non-option argument begins with a backslash,",
421 " interpret all non-option arguments as a line of TeX input.",
422 "",
423 " Alternatively, if the first non-option argument begins with a &, the",
424 " next word is taken as the FMT to read, overriding all else. Any",
425 " remaining arguments are processed as above.",
426 "",
427 " If no arguments or options are specified, prompt for input.",
428 "",
429 "-cnf-line=STRING parse STRING as a configuration file line",
430 "-enc enable encTeX extensions such as \\mubyte",
431 "[-no]-file-line-error disable/enable file:line:error style messages",
432 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
433 "-halt-on-error stop processing at the first error",
434 "-ini be initex, for dumping formats; this is implicitly",
435 " true if the program name is `initex'",
436 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
437 " scrollmode/errorstopmode)",
438 #ifdef IPC
439 "-ipc send DVI output to a socket as well as the usual",
440 " output file",
441 "-ipc-start as -ipc, and also start the server at the other end",
442 #endif /* IPC */
443 "-jobname=STRING set the job name to STRING",
444 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
445 " the bits of NUMBER",
446 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
447 "-mltex enable MLTeX extensions such as \\charsubdef",
448 "-output-comment=STRING use STRING for DVI file comment instead of date",
449 "-output-directory=DIR use existing DIR as the directory to write files in",
450 "[-no]-parse-first-line disable/enable parsing of first line of input file",
451 "-progname=STRING set program (and fmt) name to STRING",
452 "-recorder enable filename recorder",
453 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
454 "-shell-restricted enable restricted \\write18",
455 "-src-specials insert source specials into the DVI file",
456 "-src-specials=WHERE insert source specials in certain places of",
457 " the DVI file. WHERE is a comma-separated value",
458 " list: cr display hbox math par parend vbox",
459 #if defined(__SyncTeX__)
460 "-synctex=NUMBER generate SyncTeX data for previewers according to",
461 " bits of NUMBER (`man synctex' for details)",
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
468 };
469 #endif /* onlyTeX */
470
471 #ifdef upTeX
472 const_string based_prog_name = "TeX";
473 const_string UPTEXHELP[] = {
474 "Usage: uptex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
475 " or: uptex [OPTION]... \\FIRST-LINE",
476 " or: uptex [OPTION]... &FMT ARGS",
477 " Run upTeX on TEXNAME, usually creating TEXNAME.dvi.",
478 " Any remaining COMMANDS are processed as upTeX 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 `uptex'.",
482 "",
483 " Alternatively, if the first non-option argument begins with a backslash,",
484 " interpret all non-option arguments as a line of upTeX input.",
485 "",
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.",
489 "",
490 " If no arguments or options are specified, prompt for input.",
491 "",
492 "-cnf-line=STRING parse STRING as a configuration file line",
493 "-fmt=NAME use NAME instead of program name or %&format.",
494 "[-no]-guess-input-enc disable/enable to guess input file encoding",
495 "-halt-on-error stop processing at the first error",
496 "[-no]-file-line-error disable/enable file:line:error style messages",
497 "-ini be iniptex.",
498 "-interaction=STRING set interaction mode (STRING=batchmode|nonstopmode|",
499 " scrollmode|errorstopmode)",
500 #ifdef IPC
501 "-ipc send DVI output to a socket as well as the usual",
502 " output file",
503 "-ipc-start as -ipc, and also start the server at the other end",
504 #endif /* IPC */
505 "-jobname=STRING set the job name to STRING",
506 "-kanji=STRING set Japanese encoding (STRING=euc|jis|sjis|utf8|uptex)",
507 "-kanji-internal=STRING set Japanese internal encoding (STRING=euc|sjis|uptex)",
508 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
509 " the bits of NUMBER",
510 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
511 "-mltex enable MLTeX extensions such as \\charsubdef",
512 "-output-comment=STRING use STRING for DVI file comment instead of date",
513 "-output-directory=DIR use existing DIR as the directory to write files in",
514 "[-no]-parse-first-line disable/enable parsing of first line of input file",
515 "-progname=STRING set program (and fmt) name to STRING",
516 "-recorder enable filename recorder",
517 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
518 "-shell-restricted enable restricted \\write18",
519 "-src-specials insert source specials into the DVI file",
520 "-src-specials=WHERE insert source specials in certain places of",
521 " the DVI file. WHERE is a comma-separated value",
522 " list: cr display hbox math par parend vbox",
523 #if defined(__SyncTeX__)
524 "-synctex=NUMBER generate SyncTeX data for previewers according to",
525 " bits of NUMBER (`man synctex' for details)",
526 #endif
527 "-translate-file=TCXNAME use the TCX file TCXNAME",
528 "-help print this message and exit.",
529 "-version print version information and exit.",
530 NULL
531 };
532 #endif /* upTeX */
533
534 #ifdef XeTeX
535 const_string XETEXHELP[] = {
536 "Usage: xetex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
537 " or: xetex [OPTION]... \\FIRST-LINE",
538 " or: xetex [OPTION]... &FMT ARGS",
539 " Run XeTeX on TEXNAME, usually creating TEXNAME.pdf.",
540 " Any remaining COMMANDS are processed as XeTeX input, after TEXNAME is read.",
541 " If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
542 " use it. Else use `NAME.fmt', where NAME is the program invocation name,",
543 " most commonly `xetex'.",
544 "",
545 " Alternatively, if the first non-option argument begins with a backslash,",
546 " interpret all non-option arguments as a line of XeTeX input.",
547 "",
548 " Alternatively, if the first non-option argument begins with a &, the",
549 " next word is taken as the FMT to read, overriding all else. Any",
550 " remaining arguments are processed as above.",
551 "",
552 " If no arguments or options are specified, prompt for input.",
553 "",
554 "-cnf-line=STRING parse STRING as a configuration file line",
555 "-etex enable e-TeX extensions",
556 "[-no]-file-line-error disable/enable file:line:error style messages",
557 "-fmt=FMTNAME use FMTNAME instead of program name or a %& line",
558 "-halt-on-error stop processing at the first error",
559 "-ini be xeinitex, for dumping formats; this is implicitly",
560 " true if the program name is `xeinitex'",
561 "-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/",
562 " scrollmode/errorstopmode)",
563 "-jobname=STRING set the job name to STRING",
564 "-kpathsea-debug=NUMBER set path searching debugging flags according to",
565 " the bits of NUMBER",
566 "[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
567 "-mltex enable MLTeX extensions such as \\charsubdef",
568 "-output-comment=STRING use STRING for XDV file comment instead of date",
569 "-output-directory=DIR use existing DIR as the directory to write files in",
570 "-output-driver=CMD use CMD as the XDV-to-PDF driver instead of xdvipdfmx",
571 "-no-pdf generate XDV (extended DVI) output rather than PDF",
572 "[-no]-parse-first-line disable/enable parsing of first line of input file",
573 "-papersize=STRING set PDF media size to STRING",
574 "-progname=STRING set program (and fmt) name to STRING",
575 "-recorder enable filename recorder",
576 "[-no]-shell-escape disable/enable \\write18{SHELL COMMAND}",
577 "-shell-restricted enable restricted \\write18",
578 "-src-specials insert source specials into the XDV file",
579 "-src-specials=WHERE insert source specials in certain places of",
580 " the XDV file. WHERE is a comma-separated value",
581 " list: cr display hbox math par parend vbox",
582 #if defined(__SyncTeX__)
583 "-synctex=NUMBER generate SyncTeX data for previewers according to",
584 " bits of NUMBER (`man synctex' for details)",
585 #endif
586 "-translate-file=TCXNAME (ignored)",
587 "-8bit make all characters printable, don't use ^^X sequences",
588 "-help display this help and exit",
589 "-version output version information and exit",
590 NULL
591 };
592 #endif /* XeTeX */
593 #endif /* TEXMFMP_HELP */