Your company here, and a link to your site. Click to find out more.

spix - Man Page

Compile a .tex file, executing commands that are set inside the file itself.


spix [--version] [-h] [-n] file


spix parses a .tex file to find lines starting with %$ (before the preambule). Those lines are shell commands that are executed by spix.

Commands are executed as-is, excepted that:


-n, ā€‰--dry-run

Print the commands that would be executed, but do not execute them.

-h, ā€‰--help

Print help, and exit.


Print version, and exit.


Let foo.tex be the following file.

    % Compile this file twice with lualatex.
    %$ lualatex foo.tex
    %$ lualatex foo.tex

Hello, world!

When running spix on this file, it is compiled twice using lualatex(1) (as written in lines 2 and 3 of the file).