On Dec 8, 2004, at 4:52 PM, Sang Oh wrote:

Hi,

I think I have everything installed.  xdvi, gv, etc... and they run
fine from the command line.


i can file->export->dvi, and i can open it from the command line.

everything looks good.


but i still want to be able to launch dvi preview by view->dvi or view->postscript (or by issuing c-d and c-t command).


all installation paths to lyx, xdvi, gv are defaults and they are callable
from the shell window.


maybe i should change the viewer from "gv" to "/sw/bin/gv"?

It sounds like the viewer is misconfigured. If you want to use gv, you'll need to have X11 running *before* you try view->dvi or view->postscript; otherwise nothing will appear to happen.


But why use gv? There are Mac OS X native applications that allow you to view ps and dvi files. (One I've just discovered is TeXniscope, though I haven't yet had the time to figure out how to get reverse dvi searches to work on it.) Perhaps the best solution is to specify "open" in the viewer, and then the Mac will use the default application to open files of the relevant type. So you can designate (through the Finder's Get Info dialog), say, TeXniscope as the default app for .ps and .dvi documents, and LyX's output will be directed there. (If you do this and later decide to change your default .dvi viewer to TeXShop, say, you won't have to change any preference setting in LyX: view->dvi will open the file automatically in TeXShop.)

Bennett



Reply via email to