On Jan 30, 2006, at 6:02 AM, Andre Berger wrote:

* jerome666 (2006-01-30):
Dear all

Lyx is running on a mac os X tiger computer. Evrything is fine except the viewers. I have big difficulties to set up the dvi viewer (macdvi does not
seem to be installed, no xdvi). what can I do ??

Install MacDVI :), reconfigure LyX, change the viewer (File Format
DVI) in LyX to "open".

If you prefer PostScript (PS) output with the X11 apllication "gv",
this works (around) for me:

\viewer "ps" "open -a X11 ; sleep 5 ; ps aux|grep gv|grep -v grep || gv"

Without X11, the official Mac way is to define a viewer within the Finder. So select any .dvi file in the Finder, do File > Get Info, and change the "Open with" drop-down box to some appropriate viewer (such as MacDviX or TeXShop, for example). Make sure you hit the "Change all..." button to make that be the default viewer for all .dvi files. Then LyX should just work. (LyX should work because the default viewer for .dvi files -- as for .pdf, .ps, etc. -- is simply "open", which merely passes the file to be opened off to the Finder.)

Bennett

Reply via email to