<>
You do need to make sure you do not invite the hazards detailed in this FAQ,
though: http://www.stata.com/support/faqs/mac/preview.html
Given the official recommendation to use Adobe Reader,
http://www.stata.com/support/faqs/res/documentation.html, I am not sure that
an option to select a different viewer is such a good idea...
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Hiroyuki
Kawakatsu
Gesendet: Mittwoch, 11. November 2009 10:52
An: [email protected]
Betreff: st: using non-acroread viewer for pdf docs
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/
*
* 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/