latexgit package

latexgit makes files from repository accessible from within LaTeX.

Subpackages

Submodules

latexgit.aux module

Process a LaTeX aux file.

latexgit.aux.REQUEST_FILE: Final[str] = '\\@latexgit@gitFile'

the header for git file requests

latexgit.aux.REQUEST_PROCESS: Final[str] = '\\@latexgit@process'

the header for process result requests

latexgit.aux.RESPONSE_PATH: Final[str] = '\\@latexgit@path'

the response header for the path

latexgit.aux.RESPONSE_URL: Final[str] = '\\@latexgit@url'

the response header for the url

latexgit.aux.run(aux_arg, repo_dir_arg='__git__')[source]

Execute the latexgit tool.

This tool loads an LaTeX aux file, processes all file loading requests, and flushes the produced file paths back to the aux file.

Parameters:
  • aux_arg (str) – the aux file argument

  • repo_dir_arg (str, default: '__git__') – the repository directory argument

Return type:

None

latexgit.version module

An internal file with the version of the latexgit package.