Re: Converting in rtf or openoffice for windows

2006-06-27 Thread Steve Harris


Stephen Harris wrote:

 htaltex which comes with the tex4ht package converts to html. from
 the command line: htlatex something.tex makes something.html,

 Conversion quality varies and outputs need to be proofread.


No, use the oolatex macro in tex4ht. It will convert your file to the
openoffice format. Much better. You will keep footnotes and have text 
with a stylesheet that you can adjust inside your wordprocessor.


Going through html is a mistake except for very simple documents.

Cheers,

Charles
--
http://www.kde-france.org



SH: I don't agree with you. Look at this html file created by htlatex.

http://www.mathematik.uni-marburg.de/~gumm/LyX/Using_XYpic_in_LyX.htm

Perhaps it is a subjective matter, but I don't most people would
consider this file a very simple document. Word is able to import
the file just about perfectly and save it as .doc. I didn't test
this with OpenOffice- as I'm accepting the claims made on its behalf.

The OP didn't seem to know much about portability as he mentioned .rtf.
So I addressed portability needs he might not have thought about. One
can make a good .doc using htlatex first to generate an html file. But
you can't make a good html conversion from a file that has equations
using expensive software, Word 2003 or Adobe Writer Pro, and I very
much doubt the ability of OpenOffice to do this. Actually the best
word to describe such a conversion to html is horrific.

So I consider htlatex as a commendable alternative depending on the
unstated future uses for his conversion needs. I didn't say to use
htlatex because it is better than your suggestion, you read that
into my post. I contributed useful information, IMO. Besides, Yaron
Goland finds htlatex useful for his blog, and such conversions can
later find a home on a company/edu web site. Just to be clear,
your choice may be better for the OP, I'm disagreeing with your
dismissing htlatex so readily. http://www.goland.org/lyx/ :

-

8 Making Pretty HTML

The easiest way to generate HTML output is to go to File-Export-HTML.
This produces great quality HTML but unfortunately the output does not
properly support BibTex. So if BibTex is used there will be no
bibliography and the citations will all show up as [?].

To get around this I go to File-Export-LATEX to generate a .tex file.
Let's assume that file is called myfile.tex. I next open a terminal
window, navigate to the directory containing myfile.tex and type in the
following commands:

latex myfile

bibtex myfile

latex myfile

latex myfile

htlatex myfile 'XHTML'

Notice that the extension .tex is not used. Then end result will be
a file called myfile.html that will contain a full HTML representation,
with a bibliography and will generate gifs for any math formulas.



SH: I don't use LyX's export as HTML, but rather export as .tex
and then run htlatex on that. The current default is .png which
can be changed. My purpose is to show that htlatex is not as limited
as you represented it, to very simple documents. Also htlatex may
not be the most convenient, but is a useful option to keep in hand.
If you want to rebut that, criticize the value of my example file,
Using_XYpic_in_LyX.htm, which I think is surpasses simplistic. Or
if OpenOffice also can produce html output of the same quality as
htlatex, then that would excuse the option of keeping htlatex alive.
Obviously, I didn't offer htlatex in the context of continuing to
develop a document, the purpose of LyX, unless OOo replaces LyX.

I meant no dichotomy,
Stephen




Re: Converting in rtf or openoffice for windows

2006-06-27 Thread Steve Harris


Stephen Harris wrote:

 htaltex which comes with the tex4ht package converts to html. from
 the command line: htlatex something.tex makes something.html,

 Conversion quality varies and outputs need to be proofread.


No, use the oolatex macro in tex4ht. It will convert your file to the
openoffice format. Much better. You will keep footnotes and have text 
with a stylesheet that you can adjust inside your wordprocessor.


Going through html is a mistake except for very simple documents.

Cheers,

Charles
--
http://www.kde-france.org



SH: I don't agree with you. Look at this html file created by htlatex.

http://www.mathematik.uni-marburg.de/~gumm/LyX/Using_XYpic_in_LyX.htm

Perhaps it is a subjective matter, but I don't most people would
consider this file a very simple document. Word is able to import
the file just about perfectly and save it as .doc. I didn't test
this with OpenOffice- as I'm accepting the claims made on its behalf.

The OP didn't seem to know much about portability as he mentioned .rtf.
So I addressed portability needs he might not have thought about. One
can make a good .doc using htlatex first to generate an html file. But
you can't make a good html conversion from a file that has equations
using expensive software, Word 2003 or Adobe Writer Pro, and I very
much doubt the ability of OpenOffice to do this. Actually the best
word to describe such a conversion to html is horrific.

So I consider htlatex as a commendable alternative depending on the
unstated future uses for his conversion needs. I didn't say to use
htlatex because it is better than your suggestion, you read that
into my post. I contributed useful information, IMO. Besides, Yaron
Goland finds htlatex useful for his blog, and such conversions can
later find a home on a company/edu web site. Just to be clear,
your choice may be better for the OP, I'm disagreeing with your
dismissing htlatex so readily. http://www.goland.org/lyx/ :

-

8 Making Pretty HTML

The easiest way to generate HTML output is to go to File-Export-HTML.
This produces great quality HTML but unfortunately the output does not
properly support BibTex. So if BibTex is used there will be no
bibliography and the citations will all show up as [?].

To get around this I go to File-Export-LATEX to generate a .tex file.
Let's assume that file is called myfile.tex. I next open a terminal
window, navigate to the directory containing myfile.tex and type in the
following commands:

latex myfile

bibtex myfile

latex myfile

latex myfile

htlatex myfile 'XHTML'

Notice that the extension .tex is not used. Then end result will be
a file called myfile.html that will contain a full HTML representation,
with a bibliography and will generate gifs for any math formulas.



SH: I don't use LyX's export as HTML, but rather export as .tex
and then run htlatex on that. The current default is .png which
can be changed. My purpose is to show that htlatex is not as limited
as you represented it, to very simple documents. Also htlatex may
not be the most convenient, but is a useful option to keep in hand.
If you want to rebut that, criticize the value of my example file,
Using_XYpic_in_LyX.htm, which I think is surpasses simplistic. Or
if OpenOffice also can produce html output of the same quality as
htlatex, then that would excuse the option of keeping htlatex alive.
Obviously, I didn't offer htlatex in the context of continuing to
develop a document, the purpose of LyX, unless OOo replaces LyX.

I meant no dichotomy,
Stephen




Re: Converting in rtf or openoffice for windows

2006-06-27 Thread Steve Harris


Stephen Harris wrote:
>
> htaltex which comes with the tex4ht package converts to html. from
> the command line: "htlatex something.tex" makes something.html,
>
> Conversion quality varies and outputs need to be proofread.
>

No, use the oolatex macro in tex4ht. It will convert your file to the
openoffice format. Much better. You will keep footnotes and have text 
with a stylesheet that you can adjust inside your wordprocessor.


Going through html is a mistake except for very simple documents.

Cheers,

Charles
--
http://www.kde-france.org



SH: I don't agree with you. Look at this html file created by htlatex.

http://www.mathematik.uni-marburg.de/~gumm/LyX/Using_XYpic_in_LyX.htm

Perhaps it is a subjective matter, but I don't most people would
consider this file a "very simple document". Word is able to import
the file just about perfectly and save it as .doc. I didn't test
this with OpenOffice-> as I'm accepting the claims made on its behalf.

The OP didn't seem to know much about portability as he mentioned .rtf.
So I addressed portability needs he might not have thought about. One
can make a good .doc using htlatex first to generate an html file. But
you can't make a good html conversion from a file that has equations
using expensive software, Word 2003 or Adobe Writer Pro, and I very
much doubt the ability of OpenOffice to do this. Actually the best
word to describe such a conversion to html is horrific.

So I consider htlatex as a commendable alternative depending on the
unstated future uses for his conversion needs. I didn't say to use
htlatex because it is better than your suggestion, you read that
into my post. I contributed useful information, IMO. Besides, Yaron
Goland finds htlatex useful for his blog, and such conversions can
later find a home on a company/edu web site. Just to be clear,
your choice may be better for the OP, I'm disagreeing with your
dismissing htlatex so readily. http://www.goland.org/lyx/ :

-

8 Making Pretty HTML

"The easiest way to generate HTML output is to go to File->Export->HTML.
This produces great quality HTML but unfortunately the output does not
properly support BibTex. So if BibTex is used there will be no
bibliography and the citations will all show up as [?].

To get around this I go to File->Export->LATEX to generate a .tex file.
Let's assume that file is called "myfile.tex". I next open a terminal
window, navigate to the directory containing myfile.tex and type in the
following commands:

latex myfile

bibtex myfile

latex myfile

latex myfile

htlatex myfile 'XHTML'

Notice that the extension ".tex" is not used. Then end result will be
a file called myfile.html that will contain a full HTML representation,
with a bibliography and will generate gifs for any math formulas."



SH: I don't use LyX's export as HTML, but rather export as .tex
and then run htlatex on that. The current default is .png which
can be changed. My purpose is to show that htlatex is not as limited
as you represented it, to "very simple documents". Also htlatex may
not be the most convenient, but is a useful option to keep in hand.
If you want to rebut that, criticize the value of my example file,
Using_XYpic_in_LyX.htm, which I think is surpasses simplistic. Or
if OpenOffice also can produce html output of the same quality as
htlatex, then that would excuse the option of keeping htlatex alive.
Obviously, I didn't offer htlatex in the context of continuing to
develop a document, the purpose of LyX, unless OOo replaces LyX.

I meant no dichotomy,
Stephen




Converting in rtf or openoffice for windows

2006-06-26 Thread Sebastian
Dear Listusers,
I'm writing an article for a journal and the redaction is only taking rtf 
Format. Is there a way to export my lyx document into rtf or OpenOffice for 
windows. Unfortunatly works the export script for openoffice only for linux, 
but I'm working on windows. 
Is there a workaround or something?

With kind regards,
Sebastian


Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Charles de Miramon
Sebastian wrote:

 Dear Listusers,
 I'm writing an article for a journal and the redaction is only taking rtf
 Format. Is there a way to export my lyx document into rtf or OpenOffice
 for windows. Unfortunatly works the export script for openoffice only for
 linux, but I'm working on windows. Is there a workaround or something?
 
 With kind regards,
 Sebastian

Do you have tex4ht installed on your computer.

 If you use MikTeX try
http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html

If you are in a hurry send me your file by private mail and I'll convert it
for you.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Stephen Harris

Charles de Miramon wrote:
 Sebastian wrote:


Dear Listusers,
I'm writing an article for a journal and the redaction is only taking rtf
Format. Is there a way to export my lyx document into rtf or OpenOffice
for windows. Unfortunatly works the export script for openoffice only for
linux, but I'm working on windows. Is there a workaround or something?

With kind regards,
Sebastian


 Do you have tex4ht installed on your computer.

  If you use MikTeX try
 http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html


htaltex which comes with the tex4ht package converts to html. from
the command line: htlatex something.tex makes something.html,

Conversion quality varies and outputs need to be proofread.

http://www.surfpack.com/software/html2rtf/
offers a Windows html2rtf freeware utility.

If you install the tex4ht package you will need to run the
updating of the databases found in Miktex Options, part of Miktex.
I usually Reconfigure (under Tools or Edit) LyX afterwards.

Regards,
Stephen




Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Charles de Miramon
Stephen Harris wrote:
 
 htaltex which comes with the tex4ht package converts to html. from
 the command line: htlatex something.tex makes something.html,
 
 Conversion quality varies and outputs need to be proofread.
 

No, use the oolatex macro in tex4ht. It will convert your file to the
openoffice format. Much better. You will keep footnotes and have text with
a stylesheet that you can adjust inside your wordprocessor.


Going through html is a mistake except for very simple documents. 

Cheers,

Charles
-- 
http://www.kde-france.org



Converting in rtf or openoffice for windows

2006-06-26 Thread Sebastian
Dear Listusers,
I'm writing an article for a journal and the redaction is only taking rtf 
Format. Is there a way to export my lyx document into rtf or OpenOffice for 
windows. Unfortunatly works the export script for openoffice only for linux, 
but I'm working on windows. 
Is there a workaround or something?

With kind regards,
Sebastian


Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Charles de Miramon
Sebastian wrote:

 Dear Listusers,
 I'm writing an article for a journal and the redaction is only taking rtf
 Format. Is there a way to export my lyx document into rtf or OpenOffice
 for windows. Unfortunatly works the export script for openoffice only for
 linux, but I'm working on windows. Is there a workaround or something?
 
 With kind regards,
 Sebastian

Do you have tex4ht installed on your computer.

 If you use MikTeX try
http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html

If you are in a hurry send me your file by private mail and I'll convert it
for you.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Stephen Harris

Charles de Miramon wrote:
 Sebastian wrote:


Dear Listusers,
I'm writing an article for a journal and the redaction is only taking rtf
Format. Is there a way to export my lyx document into rtf or OpenOffice
for windows. Unfortunatly works the export script for openoffice only for
linux, but I'm working on windows. Is there a workaround or something?

With kind regards,
Sebastian


 Do you have tex4ht installed on your computer.

  If you use MikTeX try
 http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html


htaltex which comes with the tex4ht package converts to html. from
the command line: htlatex something.tex makes something.html,

Conversion quality varies and outputs need to be proofread.

http://www.surfpack.com/software/html2rtf/
offers a Windows html2rtf freeware utility.

If you install the tex4ht package you will need to run the
updating of the databases found in Miktex Options, part of Miktex.
I usually Reconfigure (under Tools or Edit) LyX afterwards.

Regards,
Stephen




Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Charles de Miramon
Stephen Harris wrote:
 
 htaltex which comes with the tex4ht package converts to html. from
 the command line: htlatex something.tex makes something.html,
 
 Conversion quality varies and outputs need to be proofread.
 

No, use the oolatex macro in tex4ht. It will convert your file to the
openoffice format. Much better. You will keep footnotes and have text with
a stylesheet that you can adjust inside your wordprocessor.


Going through html is a mistake except for very simple documents. 

Cheers,

Charles
-- 
http://www.kde-france.org



Converting in rtf or openoffice for windows

2006-06-26 Thread Sebastian
Dear Listusers,
I'm writing an article for a journal and the redaction is only taking rtf 
Format. Is there a way to export my lyx document into rtf or OpenOffice for 
windows. Unfortunatly works the export script for openoffice only for linux, 
but I'm working on windows. 
Is there a workaround or something?

With kind regards,
Sebastian


Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Charles de Miramon
Sebastian wrote:

> Dear Listusers,
> I'm writing an article for a journal and the redaction is only taking rtf
> Format. Is there a way to export my lyx document into rtf or OpenOffice
> for windows. Unfortunatly works the export script for openoffice only for
> linux, but I'm working on windows. Is there a workaround or something?
> 
> With kind regards,
> Sebastian

Do you have tex4ht installed on your computer.

 If you use MikTeX try
http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html

If you are in a hurry send me your file by private mail and I'll convert it
for you.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Stephen Harris

Charles de Miramon wrote:
> Sebastian wrote:
>
>
>>Dear Listusers,
>>I'm writing an article for a journal and the redaction is only taking rtf
>>Format. Is there a way to export my lyx document into rtf or OpenOffice
>>for windows. Unfortunatly works the export script for openoffice only for
>>linux, but I'm working on windows. Is there a workaround or something?
>>
>>With kind regards,
>>Sebastian
>
>
> Do you have tex4ht installed on your computer.
>
>  If you use MikTeX try
> http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html
>

htaltex which comes with the tex4ht package converts to html. from
the command line: "htlatex something.tex" makes something.html,

Conversion quality varies and outputs need to be proofread.

http://www.surfpack.com/software/html2rtf/
offers a Windows html2rtf freeware utility.

If you install the tex4ht package you will need to run the
updating of the databases found in Miktex Options, part of Miktex.
I usually Reconfigure (under Tools or Edit) LyX afterwards.

Regards,
Stephen




Re: Converting in rtf or openoffice for windows

2006-06-26 Thread Charles de Miramon
Stephen Harris wrote:
> 
> htaltex which comes with the tex4ht package converts to html. from
> the command line: "htlatex something.tex" makes something.html,
> 
> Conversion quality varies and outputs need to be proofread.
> 

No, use the oolatex macro in tex4ht. It will convert your file to the
openoffice format. Much better. You will keep footnotes and have text with
a stylesheet that you can adjust inside your wordprocessor.


Going through html is a mistake except for very simple documents. 

Cheers,

Charles
-- 
http://www.kde-france.org