Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.359 kb
## showpdf | make a pdf presentation (show); stdin->tmp, or file->file
rm /tmp/showpdf.*
cat "${1:--}" | | > /tmp/showpdf.tex
cd /tmp
pdflatex /tmp/showpdf.tex || return
pdflatex /tmp/showpdf.tex || return
cd -
local out=/tmp/showpdf
[[ -n "$1" ]] && out="${1%.*}" && cp /tmp/showpdf.pdf "$out.pdf"
okular "$out.pdf"
Jump to Line
Something went wrong with that request. Please try again.