Start and Exit
Dviout for Windows can be started in several ways:
1. Click the dviout icon.
2. Set "Associating dvi files with dviout" with the .dvi extension. If the dvi file icon is double clicked after setting, dviout starts and the clicked file is displayed(cf. no more dviout).
3. Start from the command line.
dviout [parameters] [foo [option]]
parameters: Set by using spaces as the delimiters like -mag=2 -BMP=3. The parameter -Set=!m means that dviout starts with a maximized Window.
The parameter -NULL is a special setting, which specifies not to read the Parameters from Registry.
If the parameter list starts with
-NULL=(<x0>,<y0>)-(<x1>,<y1>))
then the dviout windows occupies the portion of the screen specified by the upper left and lower right corners in pixels. For example, to Preview in the whole screen, hide the various bars in the View Menu setting, and let -NULL=(0,-40)-(1024,768), say.
If the parameter list starts with
-1,
then the first dviout is executed or gets the command. The result is similar when no more dviout is set in the first dviout.
For example, the parameter list starts with -2 indicates the command to the second dviout.
foo: This specifies the dvi file name. The .dvi extension can be omitted. If foo is a directory name, the dialog for selecting dvi files in that directory opens.
option: Indicates the page first displayed when it is a number .
If h is set and an earlier log displaying foo.dvi remains, the page is displayed when closing it before.
If #name is set, the label name of the jump destination of HyperTeX indicates the page including the name location.
If "# line_number soure_text_name" is set, the jump destination is indicated by the corresponding source specials. Here a space is necessary after #.
Filename: If dviout.exe is renamed into dvioutj.exe/dvioute.exe, then it considers that the main langage of the operating system is assumed to be Japanese/English.
Note: Multiple dviouts can be started. The maximum number can be changed by -multi:. If the maximal number of dviouts are started and another dviout is requested to preview a new dvi file, the dviout started last displays that dvi file in the default case(cf. "no more dviout").
When exiting dviout, the following states are saved and are resumed at the next start.
- View or hide for the Tool Bar, Scroll Bar, Status Bar, and Page Slider, and the Tool Bar Buttons
- Loupe size, magnification, shape, and motion speed
- Mouse cursor shape
However, if exited by File -> Quit , the states are not saved. If you are running more than one dviout, the state information of only the first dviout is stored.