Verzeichnis support/runtexfile
runtexfile
Copyright 2025 Herbert Voß <hvoss@tug.org> all files are LPPL 1.3
Small script like latexmk to run a LaTeX document controlled from within the document itself.
The syntax of runtexfile
runtexfile [options] filename
eg
runtexfile test runtexfile -V test
possible options are (short,long):
-h,--help -V,--verbose -v,--version <file> .tex file
The TeX or LaTeX document has to define the comamnds at the beginning of the document. Only empty lines are possible before the command lines:
%! HV runtexfile %! HV xindex %! HV runtexfile \documentclass{foo} ...
In this case the given filename from runtexfile is used. Other filenames can be used inside angles:
%! HV lualatex --shell-escape %! HV biber %! HV lualatex --shell-escape %! HV xindex %! HV xindex --config DIN2 -l DE -o test2.vwd <test2.vwx> %! HV xindex --config DIN2 -l DE -o test2.dbd <test2.dbx> %! HV lualatex --shell-escape %! HV lualatex --shell-escape \documentclass{...} ...
For online compilers one often do not know themain filename. In such a case you can use a placeholder for main file (see example 3):
%! HV lualatex %! HV asy <!!file!!-*.asy> %! HV lualatex \documentclass{...} ...
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (762.7k).
runtexfile – Automate the process of compiling (La)TeX documents with index, bibliography,…
This package provides a small script like latexmk to run a TeX or LaTeX document controlled from within the document itself. The commands have to be defined at the beginning of the document, e.g.:
%! HV lualatex --shell-escape %! HV biber %! HV lualatex --shell-escape %! HV xindex %! HV xindex --config DIN2 -l DE -o test2.vwd <test2.vwx> %! HV xindex --config DIN2 -l DE -o test2.dbd <test2.dbx> %! HV lualatex --shell-escape %! HV lualatex --shell-escape
\documentclass[...]{...} ...
The script itself does not parse the log file.
Paket | runtexfile |
Version | 0.05 2025-08-13 |
Lizenzen | The LaTeX Project Public License 1.3 |
Copyright | 2025 Herbert Voß |
Betreuer | Herbert Voß |
Enthalten in | TeX Live als runtexfile MiKTeX als runtexfile |
Themen | Übersetzung |
