pygacity.generate.latexcompiler module¶
LaTeX compilation functions for pygacity
- class pygacity.generate.latexcompiler.LatexCompiler(build_specs: dict, searchdirs: list = [])[source]¶
Bases:
objectLaTeX compiler class for building documents.
- searchdirs¶
list of directories to search for included files (each prefixed with -include-directory=)
- FC¶
file collector for tracking generated files
- Type:
- build_commands(document: Document = None)[source]¶
Builds the list of commands needed to compile the document.
- build_document(document: Document = None, cleanup: bool = False)[source]¶
Builds the specified document by running the necessary commands.
- Parameters:
document (Document, optional) – the Document instance to compile (default is None)
cleanup (bool, optional) – if True, deletes intermediate files after build (default is False)