1 /* The help messages for TeX & MF family of programs.
2 
3 Copyright 1995, 1996, 2008 - 2011 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     "-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
74 };
75 #endif /* Aleph */
76 
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
141 };
142 #endif /* epTeX */
143 
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'.",
154     "",
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.",
157     "",
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.",
161     "",
162     "  If no arguments or options are specified, prompt for input.",
163     "",
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
202 };
203 #endif /* eTeX */
204 
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'.",
216     "",
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.",
219     "",
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.",
223     "",
224     "  If no arguments or options are specified, prompt for input.",
225     "",
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
269 };
270 #endif /* eupTeX */
271 
272 #ifdef MF
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'.",
284     "",
285     "  Alternatively, if the first non-option argument begins with a backslash,",
286     "  interpret all non-option arguments as a line of Metafont input.",
287     "",
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.",
291     "",
292     "  If no arguments or options are specified, prompt for input.",
293     "",
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
314 };
315 #endif /* MF */
316 
317 #ifdef pdfTeX
318 const_string PDFTEXHELP[] = {
319     "Usage: pdftex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
320     "   or: pdftex [OPTION]... \\FIRST-LINE",
321     "   or: pdftex [OPTION]... &FMT ARGS",
322     "  Run pdfTeX on TEXNAME, usually creating TEXNAME.pdf.",
323     "  Any remaining COMMANDS are processed as pdfTeX input, after TEXNAME is read.",
324     "  If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
325     "  use it.  Else use `NAME.fmt', where NAME is the program invocation name,",
326     "  most commonly `pdftex'.",
327     "",
328     "  Alternatively, if the first non-option argument begins with a backslash,",
329     "  interpret all non-option arguments as a line of pdfTeX input.",
330     "",
331     "  Alternatively, if the first non-option argument begins with a &, the",
332     "  next word is taken as the FMT to read, overriding all else.  Any",
333     "  remaining arguments are processed as above.",
334     "",
335     "  If no arguments or options are specified, prompt for input.",
336     "",
337     "-draftmode              switch on draft mode (generates no output PDF)",
338     "-enc                    enable encTeX extensions such as \\mubyte",
339     "-etex                   enable e-TeX extensions",
340     "[-no]-file-line-error   disable/enable file:line:error style messages",
341     "-fmt=FMTNAME            use FMTNAME instead of program name or a %& line",
342     "-halt-on-error          stop processing at the first error",
343     "-ini                    be pdfinitex, for dumping formats; this is implicitly",
344     "                          true if the program name is `pdfinitex'",
345     "-interaction=STRING     set interaction mode (STRING=batchmode/nonstopmode/",
346     "                          scrollmode/errorstopmode)",
347 #ifdef IPC
348     "-ipc                    send DVI output to a socket as well as the usual",
349     "                          output file",
350     "-ipc-start              as -ipc, and also start the server at the other end",
351 #endif /* IPC */
352     "-jobname=STRING         set the job name to STRING",
353     "-kpathsea-debug=NUMBER  set path searching debugging flags according to",
354     "                          the bits of NUMBER",
355     "[-no]-mktex=FMT         disable/enable mktexFMT generation (FMT=tex/tfm/pk)",
356     "-mltex                  enable MLTeX extensions such as \\charsubdef",
357     "-output-comment=STRING  use STRING for DVI file comment instead of date",
358     "                          (no effect for PDF)",
359     "-output-directory=DIR   use existing DIR as the directory to write files in",
360     "-output-format=FORMAT   use FORMAT for job output; FORMAT is `dvi' or `pdf'",
361     "[-no]-parse-first-line  disable/enable parsing of first line of input file",
362     "-progname=STRING        set program (and fmt) name to STRING",
363     "-recorder               enable filename recorder",
364     "[-no]-shell-escape      disable/enable \\write18{SHELL COMMAND}",
365     "-shell-restricted       enable restricted \\write18",
366     "-src-specials           insert source specials into the DVI file",
367     "-src-specials=WHERE     insert source specials in certain places of",
368     "                          the DVI file. WHERE is a comma-separated value",
369     "                          list: cr display hbox math par parend vbox",
370 #if defined(__SyncTeX__)
371     "-synctex=NUMBER         generate SyncTeX data for previewers if nonzero",
372 #endif
373     "-translate-file=TCXNAME use the TCX file TCXNAME",
374     "-8bit                   make all characters printable by default",
375     "-help                   display this help and exit",
376     "-version                output version information and exit",
377     NULL
378 };
379 #endif /* pdfTeX */
380 
381 #ifdef pTeX
382 const_string based_prog_name = "TeX";
383 const_string PTEXHELP[] = {
384     "Usage: ptex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
385     "   or: ptex [OPTION]... \\FIRST-LINE",
386     "   or: ptex [OPTION]... &FMT ARGS",
387     "  Run pTeX on TEXNAME, usually creating TEXNAME.dvi.",
388     "  Any remaining COMMANDS are processed as pTeX input, after TEXNAME is read.",
389     "  If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
390     "  use it.  Else use `NAME.fmt', where NAME is the program invocation name,",
391     "  most commonly `ptex'.",
392     "",
393     "  Alternatively, if the first non-option argument begins with a backslash,",
394     "  interpret all non-option arguments as a line of pTeX input.",
395     "",
396     "  Alternatively, if the first non-option argument begins with a &, the",
397     "  next word is taken as the FMT to read, overriding all else.  Any",
398     "  remaining arguments are processed as above.",
399     "",
400     "  If no arguments or options are specified, prompt for input.",
401     "",
402     "-fmt=NAME               use NAME instead of program name or %&format.",
403 #if defined(WIN32)
404     "[-no]-guess-input-enc   disable/enable to guess input file encoding",
405 #endif
406     "-halt-on-error          stop processing at the first error",
407     "[-no]-file-line-error   disable/enable file:line:error style messages",
408     "-ini                    be iniptex.",
409     "-interaction=STRING     set interaction mode (STRING=batchmode|nonstopmode|",
410     "                          scrollmode|errorstopmode)",
411 #ifdef IPC
412     "-ipc                    send DVI output to a socket as well as the usual",
413     "                          output file",
414     "-ipc-start              as -ipc, and also start the server at the other end",
415 #endif /* IPC */
416     "-jobname=STRING         set the job name to STRING",
417     "-kanji=STRING           set Japanese encoding (STRING=euc|jis|sjis|utf8)",
418     "-kanji-internal=STRING  set Japanese internal encoding (STRING=euc|sjis)",
419     "-kpathsea-debug=NUMBER  set path searching debugging flags according to",
420     "                          the bits of NUMBER",
421     "[-no]-mktex=FMT         disable/enable mktexFMT generation (FMT=tex/tfm)",
422     "-mltex                  enable MLTeX extensions such as \\charsubdef",
423     "-output-comment=STRING  use STRING for DVI file comment instead of date",
424     "-output-directory=DIR   use existing DIR as the directory to write files in",
425     "[-no]-parse-first-line  disable/enable parsing of first line of input file",
426     "-progname=STRING        set program (and fmt) name to STRING",
427     "-recorder               enable filename recorder",
428     "[-no]-shell-escape      disable/enable \\write18{SHELL COMMAND}",
429     "-shell-restricted       enable restricted \\write18",
430 #if defined(WIN32)
431     "-sjis-terminal          always output to stdout and stderr by CP932",
432 #endif
433     "-src-specials           insert source specials into the DVI file",
434     "-src-specials=WHERE     insert source specials in certain places of",
435     "                          the DVI file. WHERE is a comma-separated value",
436     "                          list: cr display hbox math par parend vbox",
437 #if defined(__SyncTeX__)
438     "-synctex=NUMBER         generate SyncTeX data for previewers if nonzero",
439 #endif
440     "-translate-file=TCXNAME use the TCX file TCXNAME",
441     "-help                   print this message and exit.",
442     "-version                print version information and exit.",
443     NULL
444 };
445 #endif /* pTeX */
446 
447 #ifdef onlyTeX
448 const_string TEXHELP[] = {
449     "Usage: tex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
450     "   or: tex [OPTION]... \\FIRST-LINE",
451     "   or: tex [OPTION]... &FMT ARGS",
452     "  Run TeX on TEXNAME, usually creating TEXNAME.dvi.",
453     "  Any remaining COMMANDS are processed as TeX input, after TEXNAME is read.",
454     "  If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
455     "  use it.  Else use `NAME.fmt', where NAME is the program invocation name,",
456     "  most commonly `tex'.",
457     "",
458     "  Alternatively, if the first non-option argument begins with a backslash,",
459     "  interpret all non-option arguments as a line of TeX input.",
460     "",
461     "  Alternatively, if the first non-option argument begins with a &, the",
462     "  next word is taken as the FMT to read, overriding all else.  Any",
463     "  remaining arguments are processed as above.",
464     "",
465     "  If no arguments or options are specified, prompt for input.",
466     "",
467     "-enc                    enable encTeX extensions such as \\mubyte",
468     "[-no]-file-line-error   disable/enable file:line:error style messages",
469     "-fmt=FMTNAME            use FMTNAME instead of program name or a %& line",
470     "-halt-on-error          stop processing at the first error",
471     "-ini                    be initex, for dumping formats; this is implicitly",
472     "                          true if the program name is `initex'",
473     "-interaction=STRING     set interaction mode (STRING=batchmode/nonstopmode/",
474     "                          scrollmode/errorstopmode)",
475 #ifdef IPC
476     "-ipc                    send DVI output to a socket as well as the usual",
477     "                          output file",
478     "-ipc-start              as -ipc, and also start the server at the other end",
479 #endif /* IPC */
480     "-jobname=STRING         set the job name to STRING",
481     "-kpathsea-debug=NUMBER  set path searching debugging flags according to",
482     "                          the bits of NUMBER",
483     "[-no]-mktex=FMT         disable/enable mktexFMT generation (FMT=tex/tfm)",
484     "-mltex                  enable MLTeX extensions such as \\charsubdef",
485     "-output-comment=STRING  use STRING for DVI file comment instead of date",
486     "-output-directory=DIR   use existing DIR as the directory to write files in",
487     "[-no]-parse-first-line  disable/enable parsing of first line of input file",
488     "-progname=STRING        set program (and fmt) name to STRING",
489     "-recorder               enable filename recorder",
490     "[-no]-shell-escape      disable/enable \\write18{SHELL COMMAND}",
491     "-shell-restricted       enable restricted \\write18",
492     "-src-specials           insert source specials into the DVI file",
493     "-src-specials=WHERE     insert source specials in certain places of",
494     "                          the DVI file. WHERE is a comma-separated value",
495     "                          list: cr display hbox math par parend vbox",
496 #if defined(__SyncTeX__)
497     "-synctex=NUMBER         generate SyncTeX data for previewers if nonzero",
498 #endif
499     "-translate-file=TCXNAME use the TCX file TCXNAME",
500     "-8bit                   make all characters printable by default",
501     "-help                   display this help and exit",
502     "-version                output version information and exit",
503     NULL
504 };
505 #endif /* onlyTeX */
506 
507 #ifdef upTeX
508 const_string based_prog_name = "TeX";
509 const_string UPTEXHELP[] = {
510     "Usage: uptex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
511     "   or: uptex [OPTION]... \\FIRST-LINE",
512     "   or: uptex [OPTION]... &FMT ARGS",
513     "  Run upTeX on TEXNAME, usually creating TEXNAME.dvi.",
514     "  Any remaining COMMANDS are processed as upTeX input, after TEXNAME is read.",
515     "  If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
516     "  use it.  Else use `NAME.fmt', where NAME is the program invocation name,",
517     "  most commonly `uptex'.",
518     "",
519     "  Alternatively, if the first non-option argument begins with a backslash,",
520     "  interpret all non-option arguments as a line of upTeX input.",
521     "",
522     "  Alternatively, if the first non-option argument begins with a &, the",
523     "  next word is taken as the FMT to read, overriding all else.  Any",
524     "  remaining arguments are processed as above.",
525     "",
526     "  If no arguments or options are specified, prompt for input.",
527     "",
528     "-fmt=NAME               use NAME instead of program name or %&format.",
529 #if defined(WIN32)
530     "[-no]-guess-input-enc   disable/enable to guess input file encoding",
531 #endif
532     "-halt-on-error          stop processing at the first error",
533     "[-no]-file-line-error   disable/enable file:line:error style messages",
534     "-ini                    be iniptex.",
535     "-interaction=STRING     set interaction mode (STRING=batchmode|nonstopmode|",
536     "                          scrollmode|errorstopmode)",
537 #ifdef IPC
538     "-ipc                    send DVI output to a socket as well as the usual",
539     "                          output file",
540     "-ipc-start              as -ipc, and also start the server at the other end",
541 #endif /* IPC */
542     "-jobname=STRING         set the job name to STRING",
543     "-kanji=STRING           set Japanese encoding (STRING=euc|jis|sjis|utf8|uptex)",
544     "-kanji-internal=STRING  set Japanese internal encoding (STRING=euc|sjis|uptex)",
545     "-kpathsea-debug=NUMBER  set path searching debugging flags according to",
546     "                          the bits of NUMBER",
547     "[-no]-mktex=FMT         disable/enable mktexFMT generation (FMT=tex/tfm)",
548     "-mltex                  enable MLTeX extensions such as \\charsubdef",
549     "-output-comment=STRING  use STRING for DVI file comment instead of date",
550     "-output-directory=DIR   use existing DIR as the directory to write files in",
551     "[-no]-parse-first-line  disable/enable parsing of first line of input file",
552     "-progname=STRING        set program (and fmt) name to STRING",
553     "-recorder               enable filename recorder",
554     "[-no]-shell-escape      disable/enable \\write18{SHELL COMMAND}",
555     "-shell-restricted       enable restricted \\write18",
556 #if defined(WIN32)
557     "-sjis-terminal          always output to stdout and stderr by CP932",
558 #endif
559     "-src-specials           insert source specials into the DVI file",
560     "-src-specials=WHERE     insert source specials in certain places of",
561     "                          the DVI file. WHERE is a comma-separated value",
562     "                          list: cr display hbox math par parend vbox",
563 #if defined(__SyncTeX__)
564     "-synctex=NUMBER         generate SyncTeX data for previewers if nonzero",
565 #endif
566     "-translate-file=TCXNAME use the TCX file TCXNAME",
567     "-help                   print this message and exit.",
568     "-version                print version information and exit.",
569     NULL
570 };
571 #endif /* upTeX */
572 
573 #ifdef XeTeX
574 const_string XETEXHELP[] = {
575     "Usage: xetex [OPTION]... [TEXNAME[.tex]] [COMMANDS]",
576     "   or: xetex [OPTION]... \\FIRST-LINE",
577     "   or: xetex [OPTION]... &FMT ARGS",
578     "  Run XeTeX on TEXNAME, usually creating TEXNAME.pdf.",
579     "  Any remaining COMMANDS are processed as XeTeX input, after TEXNAME is read.",
580     "  If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,",
581     "  use it.  Else use `NAME.fmt', where NAME is the program invocation name,",
582     "  most commonly `xetex'.",
583     "",
584     "  Alternatively, if the first non-option argument begins with a backslash,",
585     "  interpret all non-option arguments as a line of XeTeX input.",
586     "",
587     "  Alternatively, if the first non-option argument begins with a &, the",
588     "  next word is taken as the FMT to read, overriding all else.  Any",
589     "  remaining arguments are processed as above.",
590     "",
591     "  If no arguments or options are specified, prompt for input.",
592     "",
593     "-etex                   enable e-TeX extensions",
594     "[-no]-file-line-error   disable/enable file:line:error style messages",
595     "-fmt=FMTNAME            use FMTNAME instead of program name or a %& line",
596     "-halt-on-error          stop processing at the first error",
597     "-ini                    be xeinitex, for dumping formats; this is implicitly",
598     "                          true if the program name is `xeinitex'",
599     "-interaction=STRING     set interaction mode (STRING=batchmode/nonstopmode/",
600     "                          scrollmode/errorstopmode)",
601     "-jobname=STRING         set the job name to STRING",
602     "-kpathsea-debug=NUMBER  set path searching debugging flags according to",
603     "                          the bits of NUMBER",
604     "[-no]-mktex=FMT         disable/enable mktexFMT generation (FMT=tex/tfm)",
605     "-mltex                  enable MLTeX extensions such as \\charsubdef",
606     "-output-comment=STRING  use STRING for XDV file comment instead of date",
607     "-output-directory=DIR   use existing DIR as the directory to write files in",
608     "-output-driver=CMD      use CMD as the XDV-to-PDF driver instead of xdvipdfmx",
609     "-no-pdf                 generate XDV (extended DVI) output rather than PDF",
610     "[-no]-parse-first-line  disable/enable parsing of first line of input file",
611     "-papersize=STRING       set PDF media size to STRING",
612     "-progname=STRING        set program (and fmt) name to STRING",
613     "-recorder               enable filename recorder",
614     "[-no]-shell-escape      disable/enable \\write18{SHELL COMMAND}",
615     "-shell-restricted       enable restricted \\write18",
616     "-src-specials           insert source specials into the XDV file",
617     "-src-specials=WHERE     insert source specials in certain places of",
618     "                          the XDV file. WHERE is a comma-separated value",
619     "                          list: cr display hbox math par parend vbox",
620 #if defined(__SyncTeX__)
621     "-synctex=NUMBER         generate SyncTeX data for previewers if nonzero",
622 #endif
623     "-translate-file=TCXNAME (ignored)",
624     "-8bit                   make all characters printable, don't use ^^X sequences",
625     "-help                   display this help and exit",
626     "-version                output version information and exit",
627     NULL
628 };
629 #endif /* XeTeX */
630 #endif /* TEXMFMP_HELP */
631