projects
/
pubbin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5f698
)
emf2png: bugfix
author
Dan White
<dan@whiteaudio.com>
Thu, 6 Mar 2025 16:56:33 +0000
(10:56 -0600)
committer
Dan White
<dan@whiteaudio.com>
Thu, 6 Mar 2025 16:56:33 +0000
(10:56 -0600)
emf2png
patch
|
blob
|
history
diff --git
a/emf2png
b/emf2png
index 9e6ffe093bd9f33909d7f64954924e5e095ea17e..663a76af97deb2735a19b6b6b4fca85d402e5fff 100755
(executable)
--- 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 exiterr
or
{
echo "Something went wrong... exiting." >&2
exit 1
}