On Jan 7, 2007, at 8:31 PM, [EMAIL PROTECTED] wrote:


Hi, I've been using LyX quite successfully for a few years in slackware linux. But now I need to get it running on a Mac as well.

LyX installs fine and runs fine on the mac including the basic program functions, classes, styles, etc. But I'm having a problem with the DVI and postscript viewers.

Previous to installing LyX I installed ghostscript, imagemagic, DVI and TeX via fink. I tried it via i-install but it couldn't complete the installations so I uninstalled everything and tried again with fink. I also previously tried MacTeX and it also couldn't complete the install. I also re-installed LyX 1.4.3 for intel after succeeding with fink.

The classes seem fine now that I've fixed the path and such. But now the three types of PDF viewers insist on bringing up QuickTime even though I've de-configured quicktime to view PDF files. <argh!>

I've checked the file conversions and path and have taken out anything that pre-empts the /sw (/sw/bin:/sw/sbin mainly) sub-dirs where fink installs everything. I can't see anything wrong even though I've re-configured and checked all that.

The Postscript viewer brings up Preview -- which is "okay." But I mainly need the DVI viewer like I have in linux and the ability to create good pdf files. I can't do either at this point on the mac.

Does someone know what might be wrong and recommend a fix, or the most optimal way for me to install everything on the intel Mac with OSX 10.4.8?

thanks much,

jamie faunt

Jamie,
I'm also getting all my tex software through fink, and things work fine on my Intel Mac. But you do need to tweak the paths for LyX a little.

First, make sure that you have tetex-base installed from fink. That gives you the dvi viewer you're looking for (I'd recommend xdvik), and of course latex & friends. In order to use the DVI viewer, you need to have X11 installed (it's on the Tiger Install disk as an optional install). Once you're sure these are installed and work from the command line, go to LyX Preferences, and under "File Formats" select DVI. For the Viewer, enter the following line:

open-x11 && export DISPLAY=:0.0 && /sw/bin/xdvik

The entries for PDF viewers are simpler: I just have the single command "open" in the Viewer field (I think it's "auto" by default). Just make sure that you've selected a reasonable default viewer for PDF files in the Finder Info (select a pdf file, show Info, select your favorite application for Open with..., and click "Change all"). Maybe this should be on the Wiki somewhere... if it works for you, I'll perhaps add it under "known issues", because you're not the first to have trouble opening pdf files.

Hope this works,
Jens

Reply via email to