Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-14 Thread Jens Noeckel

On Jan 13, 2007, at 12:26 PM, [EMAIL PROTECTED] wrote:



The following documents (the rest of the data from this thread) how  
I got the PDF and DVI viewers and PDF and HTML exports all working  
on Mac OSX 10.4.8 (just as I have them in my Slackware Linux setup)  
-- with much thanks to Jens Noeckel's help.  
-- 



On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


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.


The error was, as you suggested, that I was using the dvipdfmx  
command but didn't actually have it installed -- only dvipdfm from  
fink. So I installed dvipdfmx and it uninstalled other things which  
caused some of the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line  
leaving dvipdfm to do the work, and viola! -- all three pdf viewers  
and exports now work. thanks!


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


Yes, adding the -a works for opening X11 automatically. So the DVI  
viewer is all smooth and nice now too! :-)


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.


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.


I had trouble with tex4ht -- I guess because it's converting from  
DVI and I couldn't figure out the command line. I may re- 
investigate this later.


So I went to TTH's website and downloaded the latest source. http:// 
hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/ 
local/bin. And then I replicated the command line my linux setup  
has for the html export in preferences - converters - LaTeX (plain)  
- HTML:


tth -t -e2 -L$$b $$i $$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm  
using a package I got some years ago -- wv. Command line in MS Word  
- LaTeX exports is wvCleanLatex $$i $$o The package is wv. Though  
the one I have is old and I suspect there are better options.



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


Boy was THAT ever a complete definition! Thanks for bringing me out  
of the dark on this one too!


And thanks much for all the other help!
jamie faunt



Jamie,
good to know the setup is basically working now. For HTML export, all  
I can say is that I only do that from the command line (since LyX to  
me is simply an editor, not a swiss army knife), and tex4ht works  
fine for me. Just in case you want to revisit it later:


One thing that could be a problem is if tex4ht encounters a figure  
whose conversion is faulty - then it is unable to complete the  
process and you get a message like what you reported.
To be on the safe side, the latex file that gets passed to htlatex  
should have the figures included in eps, png or jpg format. I prefer  
to have my own bitmap versions of the figures already prepared, but  
you can also use an eps file and leave the conversion to bitmap up to  
t4ht (if you don't care about details of the compression and color  
map etc).


Jens





Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-14 Thread Jens Noeckel

On Jan 13, 2007, at 12:26 PM, [EMAIL PROTECTED] wrote:



The following documents (the rest of the data from this thread) how  
I got the PDF and DVI viewers and PDF and HTML exports all working  
on Mac OSX 10.4.8 (just as I have them in my Slackware Linux setup)  
-- with much thanks to Jens Noeckel's help.  
-- 



On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


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.


The error was, as you suggested, that I was using the dvipdfmx  
command but didn't actually have it installed -- only dvipdfm from  
fink. So I installed dvipdfmx and it uninstalled other things which  
caused some of the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line  
leaving dvipdfm to do the work, and viola! -- all three pdf viewers  
and exports now work. thanks!


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


Yes, adding the -a works for opening X11 automatically. So the DVI  
viewer is all smooth and nice now too! :-)


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.


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.


I had trouble with tex4ht -- I guess because it's converting from  
DVI and I couldn't figure out the command line. I may re- 
investigate this later.


So I went to TTH's website and downloaded the latest source. http:// 
hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/ 
local/bin. And then I replicated the command line my linux setup  
has for the html export in preferences - converters - LaTeX (plain)  
- HTML:


tth -t -e2 -L$$b $$i $$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm  
using a package I got some years ago -- wv. Command line in MS Word  
- LaTeX exports is wvCleanLatex $$i $$o The package is wv. Though  
the one I have is old and I suspect there are better options.



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


Boy was THAT ever a complete definition! Thanks for bringing me out  
of the dark on this one too!


And thanks much for all the other help!
jamie faunt



Jamie,
good to know the setup is basically working now. For HTML export, all  
I can say is that I only do that from the command line (since LyX to  
me is simply an editor, not a swiss army knife), and tex4ht works  
fine for me. Just in case you want to revisit it later:


One thing that could be a problem is if tex4ht encounters a figure  
whose conversion is faulty - then it is unable to complete the  
process and you get a message like what you reported.
To be on the safe side, the latex file that gets passed to htlatex  
should have the figures included in eps, png or jpg format. I prefer  
to have my own bitmap versions of the figures already prepared, but  
you can also use an eps file and leave the conversion to bitmap up to  
t4ht (if you don't care about details of the compression and color  
map etc).


Jens





Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-14 Thread Jens Noeckel

On Jan 13, 2007, at 12:26 PM, [EMAIL PROTECTED] wrote:



The following documents (the rest of the data from this thread) how  
I got the PDF and DVI viewers and PDF and HTML exports all working  
on Mac OSX 10.4.8 (just as I have them in my Slackware Linux setup)  
-- with much thanks to Jens Noeckel's help.  
-- 



On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


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.


The error was, as you suggested, that I was using the dvipdfmx  
command but didn't actually have it installed -- only dvipdfm from  
fink. So I installed dvipdfmx and it uninstalled other things which  
caused some of the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line  
leaving dvipdfm to do the work, and viola! -- all three pdf viewers  
and exports now work. thanks!


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


Yes, adding the -a works for opening X11 automatically. So the DVI  
viewer is all smooth and nice now too! :-)


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.


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.


I had trouble with tex4ht -- I guess because it's converting from  
DVI and I couldn't figure out the command line. I may re- 
investigate this later.


So I went to TTH's website and downloaded the latest source. http:// 
hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/ 
local/bin. And then I replicated the command line my linux setup  
has for the html export in preferences - converters - LaTeX (plain)  
-> HTML:


tth -t -e2 -L$$b <$$i >$$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm  
using a package I got some years ago -- wv. Command line in MS Word  
-> LaTeX exports is wvCleanLatex $$i $$o The package is wv. Though  
the one I have is old and I suspect there are better options.



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


Boy was THAT ever a complete definition! Thanks for bringing me out  
of the dark on this one too!


And thanks much for all the other help!
jamie faunt



Jamie,
good to know the setup is basically working now. For HTML export, all  
I can say is that I only do that from the command line (since LyX to  
me is simply an editor, not a swiss army knife), and tex4ht works  
fine for me. Just in case you want to revisit it later:


One thing that could be a problem is if tex4ht encounters a figure  
whose conversion is faulty - then it is unable to complete the  
process and you get a message like what you reported.
To be on the safe side, the latex file that gets passed to htlatex  
should have the figures included in eps, png or jpg format. I prefer  
to have my own bitmap versions of the figures already prepared, but  
you can also use an eps file and leave the conversion to bitmap up to  
t4ht (if you don't care about details of the compression and color  

Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], 
Georg Baum [EMAIL PROTECTED] wrote.


[...]

LyX 1.5.0 will have a View-Source menu entry, I believe that this is a
good solution to examine LaTeX problems.

[...]

Already implemented in the latest Alpha release for Windows. It shows 
the LaTeX source, of course. A killer feature, for which many thanks.


Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread faunt


The following documents (the rest of the data from this thread) how I got 
the PDF and DVI viewers and PDF and HTML exports all working on Mac OSX 
10.4.8 (just as I have them in my Slackware Linux setup) -- with much 
thanks to Jens Noeckel's help. 
--


On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


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.


The error was, as you suggested, that I was using the dvipdfmx command but 
didn't actually have it installed -- only dvipdfm from fink. So I 
installed dvipdfmx and it uninstalled other things which caused some of 
the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line leaving 
dvipdfm to do the work, and viola! -- all three pdf viewers and exports 
now work. thanks!


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


Yes, adding the -a works for opening X11 automatically. So the DVI viewer 
is all smooth and nice now too! :-)


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.


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.


I had trouble with tex4ht -- I guess because it's converting from DVI and 
I couldn't figure out the command line. I may re-investigate this later.


So I went to TTH's website and downloaded the latest source. 
http://hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/local/bin. 
And then I replicated the command line my linux setup has for the html 
export in preferences - converters - LaTeX (plain) - HTML:


tth -t -e2 -L$$b $$i $$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm using a 
package I got some years ago -- wv. Command line in MS Word - LaTeX 
exports is wvCleanLatex $$i $$o The package is wv. Though the one I have 
is old and I suspect there are better options.



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


Boy was THAT ever a complete definition! Thanks for bringing me out of the 
dark on this one too!


And thanks much for all the other help!
jamie faunt


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], 
Georg Baum [EMAIL PROTECTED] wrote.


[...]

LyX 1.5.0 will have a View-Source menu entry, I believe that this is a
good solution to examine LaTeX problems.

[...]

Already implemented in the latest Alpha release for Windows. It shows 
the LaTeX source, of course. A killer feature, for which many thanks.


Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread faunt


The following documents (the rest of the data from this thread) how I got 
the PDF and DVI viewers and PDF and HTML exports all working on Mac OSX 
10.4.8 (just as I have them in my Slackware Linux setup) -- with much 
thanks to Jens Noeckel's help. 
--


On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


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.


The error was, as you suggested, that I was using the dvipdfmx command but 
didn't actually have it installed -- only dvipdfm from fink. So I 
installed dvipdfmx and it uninstalled other things which caused some of 
the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line leaving 
dvipdfm to do the work, and viola! -- all three pdf viewers and exports 
now work. thanks!


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


Yes, adding the -a works for opening X11 automatically. So the DVI viewer 
is all smooth and nice now too! :-)


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.


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.


I had trouble with tex4ht -- I guess because it's converting from DVI and 
I couldn't figure out the command line. I may re-investigate this later.


So I went to TTH's website and downloaded the latest source. 
http://hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/local/bin. 
And then I replicated the command line my linux setup has for the html 
export in preferences - converters - LaTeX (plain) - HTML:


tth -t -e2 -L$$b $$i $$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm using a 
package I got some years ago -- wv. Command line in MS Word - LaTeX 
exports is wvCleanLatex $$i $$o The package is wv. Though the one I have 
is old and I suspect there are better options.



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


Boy was THAT ever a complete definition! Thanks for bringing me out of the 
dark on this one too!


And thanks much for all the other help!
jamie faunt


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread Nick Hopton
In a recent message <[EMAIL PROTECTED]>, 
Georg Baum <[EMAIL PROTECTED]> wrote.


[...]

LyX 1.5.0 will have a View->Source menu entry, I believe that this is a
good solution to examine LaTeX problems.

[...]

Already implemented in the latest Alpha release for Windows. It shows 
the LaTeX source, of course. A killer feature, for which many thanks.


Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
<[EMAIL PROTECTED]>



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-13 Thread faunt


The following documents (the rest of the data from this thread) how I got 
the PDF and DVI viewers and PDF and HTML exports all working on Mac OSX 
10.4.8 (just as I have them in my Slackware Linux setup) -- with much 
thanks to Jens Noeckel's help. 
--


On Wed, 10 Jan 2007, Jens Noeckel wrote:

On Jan 10, 2007, at 11:00 AM, [EMAIL PROTECTED] wrote:

On Sun, 7 Jan 2007, Jens Noeckel wrote:


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.


The error was, as you suggested, that I was using the dvipdfmx command but 
didn't actually have it installed -- only dvipdfm from fink. So I 
installed dvipdfmx and it uninstalled other things which caused some of 
the viewers to stop working.


So I uninstalled dvipdfmx and took the 'x' off of the command line leaving 
dvipdfm to do the work, and viola! -- all three pdf viewers and exports 
now work. thanks!


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


Yes, adding the -a works for opening X11 automatically. So the DVI viewer 
is all smooth and nice now too! :-)


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.


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.


I had trouble with tex4ht -- I guess because it's converting from DVI and 
I couldn't figure out the command line. I may re-investigate this later.


So I went to TTH's website and downloaded the latest source. 
http://hutchinson.belmont.ma.us/tth


Then I installed all the Xcode stuff from OSX, and the OSX gcc.

Then tth compilied quite simply. I moved the executable to /usr/local/bin. 
And then I replicated the command line my linux setup has for the html 
export in preferences - converters - LaTeX (plain) -> HTML:


tth -t -e2 -L$$b <$$i >$$o

And it works beautifully as it does in linux. :-)


As for importing from Word, I'm not sure I'll need this but I'm using a 
package I got some years ago -- wv. Command line in MS Word -> LaTeX 
exports is wvCleanLatex $$i $$o The package is wv. Though the one I have 
is old and I suspect there are better options.



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


Boy was THAT ever a complete definition! Thanks for bringing me out of the 
dark on this one too!


And thanks much for all the other help!
jamie faunt


Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Georg Baum
Jens Noeckel wrote:

 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.

I don't know when the fontenc package is needed, but whether it is used or
not can be configured in the preferences. Just enter default as font
encoding, and LyX will not output this line.


Georg



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Jens Noeckel


On Jan 11, 2007, at 12:06 AM, Georg Baum wrote:


Jens Noeckel wrote:


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.


I don't know when the fontenc package is needed, but whether it is  
used or

not can be configured in the preferences. Just enter default as font
encoding, and LyX will not output this line.



Why not just make those kind of entries visible when the user opens
DocumentSettingsPreamble? The preamble that is shown to the
user is completely empty for a new file, but the exported latex has  
additional
lines in the preamble. Makes it really hard to debug latex problems  
if you

don't know about this. One could perhaps put preamble entries that come
from the Output Settings in a different color (maybe even grayed  
out), but

still let them show up in the preamble.

Jens



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Georg Baum
Am Donnerstag, 11. Januar 2007 16:52 schrieb Jens Noeckel:
 Why not just make those kind of entries visible when the user opens
 DocumentSettingsPreamble? The preamble that is shown to the
 user is completely empty for a new file, but the exported latex has  
 additional
 lines in the preamble.

It is empty because that field is intended for user input. The preamble 
that LyX creates is never stored in the document.

 Makes it really hard to debug latex problems   
 if you
 don't know about this.

I am pretty sure that the documentation tells that LyX puts some stuff into 
the preamble, so I don't see this as a big problem.

 One could perhaps put preamble entries that come 
 from the Output Settings in a different color (maybe even grayed  
 out), but
 still let them show up in the preamble.

Of course it must not be possible to edit the LyX generated preamble. That 
would be even more confusing.

LyX 1.5.0 will have a View-Source menu entry, I believe that this is a 
good solution to examine LaTeX problems.


Georg



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Georg Baum
Jens Noeckel wrote:

 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.

I don't know when the fontenc package is needed, but whether it is used or
not can be configured in the preferences. Just enter default as font
encoding, and LyX will not output this line.


Georg



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Jens Noeckel


On Jan 11, 2007, at 12:06 AM, Georg Baum wrote:


Jens Noeckel wrote:


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.


I don't know when the fontenc package is needed, but whether it is  
used or

not can be configured in the preferences. Just enter default as font
encoding, and LyX will not output this line.



Why not just make those kind of entries visible when the user opens
DocumentSettingsPreamble? The preamble that is shown to the
user is completely empty for a new file, but the exported latex has  
additional
lines in the preamble. Makes it really hard to debug latex problems  
if you

don't know about this. One could perhaps put preamble entries that come
from the Output Settings in a different color (maybe even grayed  
out), but

still let them show up in the preamble.

Jens



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Georg Baum
Am Donnerstag, 11. Januar 2007 16:52 schrieb Jens Noeckel:
 Why not just make those kind of entries visible when the user opens
 DocumentSettingsPreamble? The preamble that is shown to the
 user is completely empty for a new file, but the exported latex has  
 additional
 lines in the preamble.

It is empty because that field is intended for user input. The preamble 
that LyX creates is never stored in the document.

 Makes it really hard to debug latex problems   
 if you
 don't know about this.

I am pretty sure that the documentation tells that LyX puts some stuff into 
the preamble, so I don't see this as a big problem.

 One could perhaps put preamble entries that come 
 from the Output Settings in a different color (maybe even grayed  
 out), but
 still let them show up in the preamble.

Of course it must not be possible to edit the LyX generated preamble. That 
would be even more confusing.

LyX 1.5.0 will have a View-Source menu entry, I believe that this is a 
good solution to examine LaTeX problems.


Georg



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Georg Baum
Jens Noeckel wrote:

> 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.

I don't know when the fontenc package is needed, but whether it is used or
not can be configured in the preferences. Just enter "default" as font
encoding, and LyX will not output this line.


Georg



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Jens Noeckel


On Jan 11, 2007, at 12:06 AM, Georg Baum wrote:


Jens Noeckel wrote:


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.


I don't know when the fontenc package is needed, but whether it is  
used or

not can be configured in the preferences. Just enter "default" as font
encoding, and LyX will not output this line.



Why not just make those kind of entries visible when the user opens
Document>Settings>Preamble? The preamble that is shown to the
user is completely empty for a new file, but the exported latex has  
additional
lines in the preamble. Makes it really hard to debug latex problems  
if you

don't know about this. One could perhaps put preamble entries that come
from the "Output" Settings in a different color (maybe even grayed  
out), but

still let them show up in the preamble.

Jens



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-11 Thread Georg Baum
Am Donnerstag, 11. Januar 2007 16:52 schrieb Jens Noeckel:
> Why not just make those kind of entries visible when the user opens
> Document>Settings>Preamble? The preamble that is shown to the
> user is completely empty for a new file, but the exported latex has  
> additional
> lines in the preamble.

It is empty because that field is intended for user input. The preamble 
that LyX creates is never stored in the document.

> Makes it really hard to debug latex problems   
> if you
> don't know about this.

I am pretty sure that the documentation tells that LyX puts some stuff into 
the preamble, so I don't see this as a big problem.

> One could perhaps put preamble entries that come 
> >from the "Output" Settings in a different color (maybe even grayed  
> out), but
> still let them show up in the preamble.

Of course it must not be possible to edit the LyX generated preamble. That 
would be even more confusing.

LyX 1.5.0 will have a View->Source menu entry, I believe that this is a 
good solution to examine LaTeX problems.


Georg



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-10 Thread faunt

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'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?


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.


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.


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?


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?


thanks very much,
jamie faunt



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-10 Thread Jens Noeckel


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




Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-10 Thread faunt

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'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?


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.


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.


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?


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?


thanks very much,
jamie faunt



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-10 Thread Jens Noeckel


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




Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-10 Thread faunt

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'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?


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.


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.


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?


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?


thanks very much,
jamie faunt



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-10 Thread Jens Noeckel


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




Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-07 Thread Jens Noeckel


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



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-07 Thread Jens Noeckel


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



Re: long-time LyX user needs install help on Mac OSX 10.4.8

2007-01-07 Thread Jens Noeckel


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. 


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