#!/usr/bin/env bash # A normal TeX Live installation with XeLaTeX, TeX Gyre and DejaVu fonts is required. set -euo pipefail cd "$(dirname "$0")" for pass in 1 2 3; do xelatex -interaction=nonstopmode -halt-on-error manuscript.tex done cp manuscript.pdf Neixarua_Manuscript.pdf