Typesetting Control from the Source

One can control the typesetting process from the source file with no need of a specific project. In that case, iTeXMac uses a void project filled with informations provided in the source file, and some default settings. This is another way to typeset avoiding the somehow heavy project management.

Control information lies in the header of the source file, which means a set of commented lines at the beginning of the file.

% !iTeXMac(input): foo.tex

This means that all typesetting stuff will be forwarded to foo.tex. This root file is given either by an absolute path or a relative one, relative to the file containing the control.

% !iTeXMac(project): project

This means that all typesetting stuff will be forwarded to project. This project file is given either by an absolute path or a relative one, relative to the file containing the control.

% !iTeXMac(compile): compilation commands

This means that "Compile" will execute all the compilation commands provided on that line.
% !iTeXMac(typeset): typesetting commands

This means that "Typeset" will execute all the typesetting commands provided on that line.

Useful Examples are given in iTeXMac distribution. They show how far iTeXMac can be customized to fit the user wishes. Some technical topics described there are not documented in the on line help.