mario wrote:
Also, it seems you need to fill in with just `acroread´.
Also, I used: chmod 777 -R lyx (I do not know if this is needed)
btw: where are the new preferences going to be written into?
If you look at the file lyxrc.example, there is some instruction about
a congiguration file lyxrc, but it doesn`t seem to be necessary.
thanks to all who replied (to my several posts)
mario
SH: It is more convenient to type "acroread" than the
complete (absolute) path to "acroread". That "should"
not solve the opening of the viewer without showing
the file problem, that you mention below. Both ways,
"should" open up the pdf viewer with the file loaded.
When the file is open in the pdf Viewer, there is
usually a "Save As" option which means you can save
the file with any name in some other directory of
your choice which is not the default. I mean it is
not a requirement to use 'export' to do this which
you mention in another post, if I understood you.
For future reference, if you add something to your
Latex distro, remember to run texhash to update the
filename database. Sometimes you then need to run
Reconfigure in LyX. I always run it to be on the
safe side since it doesn't take that long.
Things are changing. LyX used to and still may have
a preferences file. Here is part of mine which shows
both acroread and xpdf being used for the three
different pdf viewers, pdflatex, dvipdfm, ps2pdf.
I dual boot Windows and FC4 and have various versions
of native WinLyX and Cygwin LyX installed. preferences:
#
# FORMATS SECTION ##########################
#
\format "dvi" "dvi" "DVI" "D" "/cygdrive/c/cygwin/usr/X11R6/bin/xdvi" ""
\format "pdf3" "pdf" "PDF (dvipdfm)" "m"
"/cygdrive/c/acrobat7/reader/acrord32.exe" ""
\format "pdf2" "pdf" "PDF (pdflatex)" "F"
"/cygdrive/c/acrobat7/reader/acrord32.exe" ""
\format "pdf" "pdf" "PDF (ps2pdf)" "P" "/cygdrive/c/cygwin/bin/xpdf" ""
\format "ps" "ps" "Postscript" "t"
"/cygdrive/c/cygwin/usr/X11R6/bin/gs.exe" ""
Regards,
Stephen
mario wrote:
Hi,
how do I change the pdf viewer?
I tried
Preferences ->
File Formats:pdf (pdflatex) ->
Viewer: /usr/local/Acrobat5/bin/acroread (instead of :xpdf),
but it just opens Acrobat Reader, not the .pdf file.
Do I need a parameter? Or what?
thanks
mario