Change indentation of all blocks.
Use (setq org-src-preserve-indentation t) for Emacs.
This commit is contained in:
14
zathura.org
14
zathura.org
@@ -92,13 +92,13 @@ set recolor-keephue "false"
|
||||
|
||||
** Extract one page as a PDF
|
||||
#+begin_src bash :tangle ~/.config/zathura/scripts/extract-pdf-page.sh
|
||||
tmpfile=/tmp/pdf_page.pdf
|
||||
tmpfile=/tmp/pdf_page.pdf
|
||||
|
||||
# Ask for page number
|
||||
# Ideally would get the page from Zathura...
|
||||
pagenum=$(rofi -dmenu -p "Page Number")
|
||||
# Ask for page number
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user