Man page - spix(1)
Packages contas this manual
- ppmcheckpdf(1)
- allneeded(1)
- dvi2fax(1)
- texfot(1)
- pdfjam(1)
- allcm(1)
- e2pall(1)
- arlatex(1)
- pdfbook2(1)
- clxelatex(1)
- arara(1)
- llmk(1)
- ctanbib(1)
- chklref(1)
- edtx2dtx(1)
- kpsewhere(1)
- ctanify(1)
- mflua(1)
- cluttex(1)
- ltximg(1)
- pamphletangler(1)
- cllualatex(1)
- texdiff(1)
- spix(1)
- match_parens(1)
- texlogfilter(1)
- git-latexdiff(1)
- dvired(1)
- texdirflatten(1)
- a5toa4(1)
- upmendex(1)
- texaccents(1)
- pdfxup(1)
- ctan-o-mat(1)
- sty2dtx(1)
- ps2frag(1)
- kpsetool(1)
- pkfix-helper(1)
- findhyph(1)
- a2ping(1)
- dviasm(1)
- bundledoc(1)
- l3sys-query(1)
- allec(1)
- texlogsieve(1)
- pslatex(1)
- latex-git-log(1)
- srcredact(1)
- mkjobtexmf(1)
- kpsexpand(1)
- kpsepath(1)
- latex2man(1)
Package: texlive-extra-utils
apt-get install texlive-extra-utils
apt-get install texlive-extra-utils
Manuals in package:
Documentations in package:
Manual
| SPIX(1) | General Commands Manual | SPIX(1) |
NAME
spix - Compile a .tex file, executing commands that are set inside the file itself.
SYNOPSIS
spix [--version] [-h] [-n] file
DESCRIPTION
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:
- command are run from the directory of the file given in argument;
- shell variables $texname and $basename are set to the name of the tex file (respectively with and without the .tex extension).
OPTIONS
- -n, --dry-run
- Print the commands that would be executed, but do not execute them.
- -h, --help
- Print help, and exit.
- --version
- Print version, and exit.
EXAMPLES
Let foo.tex be the following file.
% Compile this file twice with lualatex.
%$ lualatex foo.tex
%$ lualatex foo.tex
\documentclass{article}
\begin{document}
Hello, world!
\end{document}
When running spix on this file, it is compiled twice using lualatex(1) (as written in lines 2 and 3 of the file).