On 28 Jan 06, at 08:33, Georg Baum wrote:
Am Samstag, 28. Januar 2006 17:14 schrieb Marc D.:
The defaults do not seem to work under MacOSX, in that they
specify xpdf
rather than "open" to view files. This is probably fine if the user
is using XWindows subsystem to run LyX, but not if the user wants
to run LyX under the MacOS GUI. The only changes I
made to the defaults were to lyxrc to change xpdf to open.
(yes, I could have just specified those two lines in lyxrc.
Instead I elected to just copy lyxrc.default and change those
2 lines. It should have resulted in the same thing.)
I did not talk about the viewer settings. Of course you can set
them to
"open", and it should work. I meant these two lines (found by Paul):
\format "pdf" "pdf" "PDF (pdflatex)" ""
\format "pdf2" "pdf" "PDF (ps to pdf)" ""
These are wrong! Read Pauls explanation if it is not clear why.
Georg
OK, I have completed a full reinstall (I'm getting VERY good at this!)
LyX 1.3.7 on MacOSX 10.4.4.
Downloaded from http://wiki.lyx.org/LyX/LyXOnMac?from=LyX.Mac
LaTeX install from MacTeX.dmg downloaded from Tug was not touched.
OK. I have deleted LyX, deleted all the preferences
Library->Application Support->LyX (actually deleted the whole directory)
I then reinstalled LyX from a fresh download.
Opened my a1.lyx that worked before...
LyX does a whole bunch of stuff on the console, creating the
Library/Application Support/LyX directory and doing some self
configuration.
When I try View -> PDF (ps to pdf) it doesn't display the images.
Under Layout->Document->Packages, Postscript driver was set to dvips.
This was AFTER resetting it in the document previously, as documented
previous in this thread.
So I manually reset "dvips" back to default, apply...
View -> PDF (ps to pdf) now works fine and display my images.
There is now no preferences file in the Library->Application Support-
>LyX
directory. However, LyX.app/Contents/Resources/lyx
in the dmg file I just downloaded has the following:
\format "pdf" "pdf" "PDF (pdflatex)" ""
\format "pdf2" "pdf" "PDF (ps to pdf)" ""
This also appears in preferences where I've installed LyX.app.
So may I suggest that if this is so wrong that the distribution
itself needs to be fixed, since I can guarantee that I had
nothing to do with these settings.
regards,
Marc