Better for files with spaces
This commit is contained in:
parent
53125d6f43
commit
2d668157d7
@ -98,7 +98,7 @@ tmpfile=/tmp/pdf_page.pdf
|
||||
# Ideally would get the page from Zathura...
|
||||
pagenum=$(rofi -dmenu -p "Page Number")
|
||||
|
||||
pdftk $1 cat $pagenum output $tmpfile.pdf && \
|
||||
pdf2svg $tmpfile.pdf $tmpfile.svg && \
|
||||
inkscape $tmpfile.svg
|
||||
pdftk "$1" cat $pagenum output "$tmpfile.pdf" && \
|
||||
pdf2svg "$tmpfile.pdf" "$tmpfile.svg" && \
|
||||
inkscape "$tmpfile.svg"
|
||||
#+end_src
|
||||
|
Loading…
Reference in New Issue
Block a user