Package texlive-runtexfile

Automate the process of compiling (La)TeX documents with index, bibliography...

http://tug.org/texlive/

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 % HV xindex --config DIN2 -l DE -o test2.dbd % HV
lualatex --shell-escape % HV lualatex --shell-escape \documentclass[...]{...}
... The script itself does not parse the log file.

Version: svn76526

General Commands

runtexfile running a LaTeX document and get the command sequence from the document itself