6Triple-use minimum working example for PyXMake. This script can be
7executed in three different ways in varying levels of accessibility
9@note: Compile a single PDF document using Latex from TeXFiles or reStructuredText.
13----------------------------------------------------------------------------------------------
18 - Requires PyCODAC in PYTHONPATH.
20@author: garb_ma [DLR-FA,STM Braunschweig]
21----------------------------------------------------------------------------------------------
29 sys.path.insert(0,os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
31 from PyXMake
import VTL
41 scratch=VTL.Scratch, verbosity=2,
45 Main function to execute the script.
48 Tex =
Latex(BuildID, file, scratch=scratch, verbose=verbosity, secret=kwargs.pop(
"secret",
None))
50 Tex.AddIncludePath(include)
54if __name__ ==
"__main__":
61 print(
"==================================")
62 print(
"Finished compiling Latex documents")
63 print(
"==================================")
Base class for all Latex build events.
Create a make object to define the building environment.
main(BuildID, file="", include=[], scratch=VTL.Scratch, verbosity=2, **kwargs)