File: xpdfbasic.wsh

package info (click to toggle)
whizzytex 1.5.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,536 kB
  • sloc: lisp: 3,668; sh: 1,768; makefile: 227
file content (21 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Uncomment the following line for debugging initialization
# set -x

LATEX="pdflatex"
LEVEL=1

MYID=$$

xpdfcmd () { xpdf -remote $$ -exec "$@" }

mylaunch () {
  exec xpdf -remote $MYID "$1"
}

myreload () {
  xpdfcmd reload
  xpdfcmd "gotoDest(Start-Document)"
}

RELOAD=myreload
VIEWCOMMAND=mylaunch