On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:
On Sun, 7 Jan 2007, Jens Noeckel wrote:
Jens, Everything you told me mostly works. This is very helpful --
thank you!
So here's where that leaves me:
The viewers and exporting for dvi now work. :-)
Preview is working fine for PDF viewing. (seems fine unless there's
something else I should use)
2 of the 3 pdf conversions work. On viewing or exporting with
dvipdfm, I get the following error:
... error running dvipdfmx -p letter -o 'newfile1.pdf' 'newfile1.dvi'
dvipdfmx exists. So is the command line wrong?
I've always had simply dvipdfm as the driver (had not installed
dvipdfmx at all because I didn't need it). Now I tried that using
fink and got the same error as you.
Assuming you got the dvipdfmx package from fink, too: the error is
probably due to the entry "\usepackage[T1]{fontenc}" which is
inserted into the LaTeX preamble by LyX without asking or telling
you. It's a good idea to have that when using pdflatex, which I use
almost exclusively. But still: I think this practice of stealthily
slipping in extraneous code is not a good philosophy on the part of LyX.
When I exported from LyX to latex and manually removed that "...
[T1]..." line from the preamble, everything worked again. I would
always try it from the command line first, and look carefully at the
tex file, to weed out any LyX->LaTEX related eccentricities...
I'm a little confused about which X11 to use. I installed the OSX
one as you recommended. But I still have the plain vanilla fink X11
installed. Should I remove that? I read somewhere that I needed the
fink one (and NOT the apple one) for some things. Apple's seems to
add a basic window manager and xterm -- which is nice. But I'm not
sure if there is a disadvantage here.
Also, it seems that I have to have X11 running to use the DVI. So
do I need to start X11 before running the DVI viewer? And which?
And should I remove the other X11?
I wouldn't worry about it. The X11's can coexist, as far as I know.
But you're right, there is a "bug" in open-x11 which doesn't let it
automatically start X11.app, as I had intended (it works if you
provide an argument to open-x11). Another thing I never noticed,
because I have X11 running all the time, anyway...
So the better way to do this is: replace "open-x11" by "open -a X11"
in the line I sent you earlier, i.e.,
open -a X11 && export DISPLAY=:0.0 && /sw/bin/xdvik
And oops -- to bring this up to the functionality I depend on in
linux on the Mac, I mostly need to be able to export to html as
well as pdf. two of three types of pdf export are working now.
For that, I would suggest doing a "fink install tex4ht" (I don't
think you can get tth from fink, but tex4ht is extremely good in my
opinion; there's also "hevea"). You may have to run Reconfigure in
LyX after the installation.
I guess I assumed that I got a new html export when I upgraded to
1.4.3 in slackware. But I've been using TTH for years now which I
installed a couple years back. So I guess that wasn't part of the
upgrade then. But it sure does work seamlessly in LyX 1.4.3 on
linux if it's from that old install. The exported files retain the
important parts of the lyx formatting I need and require little or
no modification thereafter.
The other thing along these lines I need is to be able to import
from Word files. Getting all this going would handle all my import/
export and viewing needs to be able to fully use LyX on the Mac.
It's been a while since I've actually seriously needed that - but
I've written down some possibilities here (in response to some
exchanges with other TeX users);
http://www.uoregon.edu/~noeckel/WordToLaTeX.html
I can't make any guarantees that this is what you need - but going
from Word to LaTeX and then to LyX might work.
As a Mac newbie I've not been able to find a clear answer to
exactly what happens when you move to a .app to trash. Does it
actually fully uninstall the application?
No, it doesn't delete everything. E.g., files in ~/Library/
Application Support/ are left floating around. Unfortunately, most
applications don't come with a clean uninstaller, so you have to take
care of those extra files yourself...
And here one more stupid question from a long-time LyX user: what's
a "wiki"? <:-O I've seen it and probably should know what it is. Is
it an acronym?
See
http://en.wikipedia.org/wiki/Wiki
thanks very much,
jamie faunt
Thanks for helping to bring some of these issues to light!
Jens