Better for files with spaces

This commit is contained in:
Thomas Dehaeze 2021-10-25 14:25:41 +02:00
parent 53125d6f43
commit 2d668157d7

View File

@ -98,7 +98,7 @@ tmpfile=/tmp/pdf_page.pdf
# Ideally would get the page from Zathura... # Ideally would get the page from Zathura...
pagenum=$(rofi -dmenu -p "Page Number") pagenum=$(rofi -dmenu -p "Page Number")
pdftk $1 cat $pagenum output $tmpfile.pdf && \ pdftk "$1" cat $pagenum output "$tmpfile.pdf" && \
pdf2svg $tmpfile.pdf $tmpfile.svg && \ pdf2svg "$tmpfile.pdf" "$tmpfile.svg" && \
inkscape $tmpfile.svg inkscape "$tmpfile.svg"
#+end_src #+end_src