From: Dan White Date: Thu, 6 Mar 2025 16:56:33 +0000 (-0600) Subject: emf2png: bugfix X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=9b756e3202a195f48c023fdb5d1f2e48f09948d3;p=pubbin.git emf2png: bugfix --- diff --git a/emf2png b/emf2png index 9e6ffe0..663a76a 100755 --- a/emf2png +++ b/emf2png @@ -3,6 +3,9 @@ # Convert EMF file (like from LTspice) to PNG file. # Leave the new file in the same directory if no second argument +# Requirements: +# sudo apt install texlive-extra-utils + EMFNAME="$1" BASENAME=$(basename "$1" .emf) @@ -37,7 +40,7 @@ function cleanup { #echo "Deleted temp working directory $WORK_DIR" } -function exiterr { +function exiterror { echo "Something went wrong... exiting." >&2 exit 1 }