diff options
author | David Runge <dave@sleepmap.de> | 2019-09-07 12:06:54 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2019-09-07 12:06:54 +0200 |
commit | f1756d600b123417316d14962ed362d7dc1d824d (patch) | |
tree | b189d986ac98f7708d5dc197783cec6f99a032a3 | |
parent | 45bbb20fc8b6fb81d489c9d71f38d5607bb242bd (diff) | |
download | dotfiles-f1756d600b123417316d14962ed362d7dc1d824d.tar.gz dotfiles-f1756d600b123417316d14962ed362d7dc1d824d.tar.bz2 dotfiles-f1756d600b123417316d14962ed362d7dc1d824d.tar.xz dotfiles-f1756d600b123417316d14962ed362d7dc1d824d.zip |
bin/tex2pdf: Making sure to only match .svg files, when rendering svgs to pdf.
-rwxr-xr-x | bin/tex2pdf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tex2pdf b/bin/tex2pdf index d11c830..aea0d56 100755 --- a/bin/tex2pdf +++ b/bin/tex2pdf @@ -110,7 +110,7 @@ render_svgs() { echo "Rendering SVGs to pdfs." for dir in "${dirname}/images" "${dirname}/../images"; do if [ -d "${dir}" ]; then - for svg in "${dir}/"*; do + for svg in "${dir}/"*.svg; do inkscape -D -z -A "${svg%\.svg}".pdf "${svg}" done fi |