On Tue, Oct 14, 2003 at 03:12:42PM +0200, Katrin Pietzsch wrote: > ... > I needed to specify the applications to preview dvi, ps, pdf - which I > did as Oliver Margraf suggested in his mail (Edit --> Preferences? > (Einstellungen) --> file format? (Dateiformate) and then "open -a > Preview" or another programme). > > At least I found a way to view my file - although I don't think that > e.g. the programme "Preview" is able to refresh the view. I have an > ghostview installation which runs under X11. Does anybody by any > chance know, whether and how I can configure LyX to use a > X11-application for previewing files?
Under OS X (which I saw from a later post you are using -- congratulations on your great wisdom and finely-honed aesthetic sensibilities! :-). Auf Englisch: Go to LyX -> Preferences -> File formats; click on "Postscript" in the File formats window, and in the Viewer field enter "gv -watch" (no quotes, of course). With the -watch flag set, gv will check every second to see if the .ps file it is rendering has changed, and will refresh if so. So once you preview initially with View -> Postscript, thereafter use View -> Update -> Postscript and your gv window will immediately (well, within one second!) render the updated version. It's of course much faster to bind these actions to keys in your keybinding file -- e.g., I've set View -> Postscript to "C-x g" and the update action to "C-x u", the relevant lines in my bind file being: \bind "C-x g" "buffer-view ps" \bind "C-x u" "buffer-update ps" Cheers! -chris -- /\ ASCII ribbon | Chris Menzel -- http://philebus.tamu.edu/~cmenzel \/ campaign | Philosophy Dept, Texas A&M University /\ against | College Station, TX 77843-4237 / \ HTML email | voice: 979.845-5660 fax: 979.845.0458