CTAN Comprehensive TeX Archive Network

Directory support/rundoc

README
# runDoc

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 `runDoc`

     runDoc [options] filename

eg

     runDoc test
     runDoc -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 runDoc
%! HV xindex
%! HV runDoc

\documentclass{foo}
...

In this case the given filename from runDoc 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{...}
...

Download the contents of this package in one zip archive (340.5k).

runDoc – Automate the process of compiling documents with index, bibliography, ..

This package provides a small script like latexmk to run a or 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[...]{...} ...

PackagerunDoc
Version0.02 2025-07-18
LicensesThe Project Public License 1.3
Copyright2025 Herbert Voß
MaintainerHerbert Voß
TopicsCompilation
...
Guest Book Sitemap Contact Contact Author