(yatexe)Splitting input files
Next: Static region for typesetting Prev: Changing typesetter Up: %#notation
Splitting input files
=====================
And if you split the source text and edit subfile that should be
included from main text.
%#!latex main.tex
will be helpful to execute latex on main file from sub text buffer. Since
this command line after `%#!' will be sent to shell literally, next
description makes it convenient to use ghostview as dvi-previewer.
%#!latex main && dvi2ps main.dvi > main
Note that YaTeX assumes the component before the last period of the last
word in this line as base name of the main LaTeX source. The `%f'
notation in this line is replaced by main file name, and `%r' replaced by
root name of main file name. If you specify `%f' or `%r', YaTeX always
ask you the name of main file at the first typesetting.
To make best use of the feature of inter-file jumping by `[prefix] g'
(see Note: Cursor jump), take described below into consideration.
* You can put split texts in sub directory, but not in sub directory of
sub directory.
* In the main text, specify the child file name with relative path name
such as \include{chap1/sub}, when you include the file in a
sub-directory.
* In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the
parent directory(not %#!latex ../main.tex).
automatically generated by info2www.cgi version 1.2