#!/bin/sh set -eu INFILE=$1 [ -n "$QUARTO_PROJECT_RENDER_ALL" ] || exit ps2pdf -dPDFSETTINGS=/printer "$INFILE" "$INFILE"~ mv --force "$INFILE"~ "$INFILE"