Krolyxon
Commit 229376d

Branches

Refs →

aurora.localbincompiletex

5 lines · 112 B · Bourne Again Shell (bash)

1#!/bin/bash
2tmpdir=$(mktemp -d)
3pdflatex -output-directory="$tmpdir" "$1"
4mv "$tmpdir"/*.pdf .
5rm -rf "$tmpdir"