runtexfile(1)

runtexfile1

Running a latex document and get the command sequence from the document itself

Usage

runtexfile [options] <filename>

Overview

This command parses comment lines in a latex document which start with %! HV and executes the following commands. For example %! HV lualatex --shell-escape In this case the <filename> given by the script will be used.

Options

-h,--help

obvious ... :-)

-V,--version

obvious ... :-)

-v,--verbose

Give more informations into a log file

<filename>

Must be the name of the main LaTeX document without the extension if it is .tex.

Examples

$ runtexfile test2

runs the testfile test2.tex

voss>examples:$ runtexfile test2
runtexfile version 0.02
Main file: test2
Filename = test2
running: lualatex --interaction=nonstopmode --shell-escape test2
Filename = test2
running: biber  test2
Filename = test2
running: lualatex --interaction=nonstopmode --shell-escape test2
Filename = test2
running: xindex  test2
Special filename = test2.vwx
running: xindex  --config DIN2 -l DE -o test2.vwd test2.vwx
Special filename = test2.dbx
running: xindex  --config DIN2 -l DE -o test2.dbd test2.dbx
Filename = test2
running: lualatex --interaction=nonstopmode --shell-escape test2
Filename = test2
running: lualatex --interaction=nonstopmode --shell-escape test2

Bugs

No known bugs.

Author

Herbert Voß ([email protected])

License

Permission is granted to copy, distribute and/or modify this software under the terms of the LaTeX Project Public License, version 1.3.

From texlive-doc 2026.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.