[prev] [prev-tail] [tail] [up]

3.6 Starting 4TeX 

Assuming that the command 4tex invokes 4TeX, the following syntax applies

 Starts the 4TeX workbench.
 4TEX [[[path]main[.ext]] [include[.ext]]] | [/r | /?]
 main    = name of TeX file (with or without extension)
 include = name of TeX include file ( " " )
 /r      = restart (no quick startup, perform all checking)
 /?      = this help screen
    4TEX article                       4TEX c:\texfiles\*
    4TEX article.ltx                   4TEX book.tex chap1
    4TEX article.tex graph1.pic        4TEX book thesis.sty
    4TEX g:\tex\book chap*             4TEX /r
 Note: 4TEX without parameters will run the quick startup using
       the configuration from the last 4TeX session (if available).

Figure 3.14TeX opening screen

Enter to view this explanation of the syntax on the screen.

When specifying the `Main TeX file' you can add a path and even use wildcards. The file extension is optional, default is .tex. If no `Main TeX file' is specified, the `Main 4TeX menu' will prompt for one. It is also possible to specify an `Include TeX file', with or without wildcards. The `Include TeX file' has no path and can only be specified after you have given a `Main TeX file'. When using wildcards, 4TeX will look for all possible files that match the specification and will give a selection menu if there is more than one matching file.

The /r option is meant as a `reset' option. If you start 4TeX without parameters it will attempt to rebuild the menu as it was the last time you left it. For that purpose 4TeX reads and writes a file called 4texpars.<os>. Using this file 4TeX can start up much faster because many checks are skipped. However, if for some reason 4TeX crashed, you want to make a fresh start. This can be achieved by supplying the /r parameter (in fact by supplying any parameter).

[prev] [prev-tail] [front] [up]