Hi,
I've managed to change the pdf viewer in stata from acroread
to xpdf on linux by modifying the stata_pdf script. I would
really like to have an option to select an alternative pdf
viewer during installation.
For those who prefer xpdf, the modified part of the
stata_pdf script (in your stata installation dir) follows:
#---begin
case "$PDFVIEWER" in
"") cmd="xpdf"
;;
*) cmd="$PDFVIEWER"
;;
esac
case "$1" in
"-page") pagenum=$2
fname=$3
wharg="$pagenum"
;;
"-section") section=$2
fname=$3
wharg="+$section"
;;
*) fname="$1"
wharg=""
;;
esac
exec $cmd "$fname" $wharg
#---end of script
h.
--
+---
| Hiroyuki Kawakatsu
| Business School, Dublin City University
| Dublin 9, Ireland. Tel +353 (0)1 700 7496
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/