Re: rtf

2017-12-28 Thread Scott Kostyshak
On Sun, Oct 15, 2017 at 09:21:46PM +, Patrick Dupre wrote:
> Hello,
> 
> I just realize that there is no generation of the rtf file if the
> user hypertext support is checked.
> In that case, a pdf file is displayed.

Is this only with rtf, or also with e.g. HTML and .doc?

Can you send a MWE?

Scott


rtf

2017-10-15 Thread Patrick Dupre
Hello,

I just realize that there is no generation of the rtf file if the
user hypertext support is checked.
In that case, a pdf file is displayed.


===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


Re: convert to rtf

2017-09-12 Thread Patrick Dupre
Hello,

I downgraded to latex2rtf-2.3.11, but I get the same behavior.
I none word when I ask for a rtf convertion from lyx, it does not generate
the rft file but display the pdf file.
If I want the rft file, I need to generate a latex (plain) file first and
then to run latex2rtf.

Any ideas?

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


> Sent: Tuesday, September 12, 2017 at 11:20 PM
> From: "Patrick Dupre" <pdu...@gmx.com>
> To: "Richard Heck" <rgh...@lyx.org>
> Cc: lyx <lyx-users@lists.lyx.org>
> Subject: Re: convert to rtf
>
> Yes, the latex2rtf versions are slightly different:
> 
> latex2rtf-2.3.16-1.fc26.x86_64
> latex2rtf-2.3.11-1.fc24.x86_64
> 
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale   | |
>  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> ===
> 
> 
> > Sent: Friday, September 08, 2017 at 2:42 AM
> > From: "Richard Heck" <rgh...@lyx.org>
> > To: "Patrick Dupre" <pdu...@gmx.com>, lyx <lyx-users@lists.lyx.org>
> > Subject: Re: convert to rtf
> >
> > On 09/07/2017 08:02 AM, Patrick Dupre wrote:
> > > Hello,
> > >
> > > I have one machine with fedora 24 and one with fedora 26 (both with lyx 
> > > 2.2.3)
> > > When I convert the lyx file to a rtf file, it works well on the 
> > > fedora 24 machine, and it does not work on the machine with 
> > > fedora 26.
> > > In both file .lyx/configure.log, I have the same:
> > > \converter latex  rtf"latex2rtf -p -S -o $$o $$i" 
> > > "needaux"
> > >
> > > What should I check? I guess that the issue may be with the conversion 
> > > from the lyx to latex.
> > 
> > I wouldn't think so. If you're using 2.2.3 on both machines, then the
> > LaTeX output should be the same. The difference in the OS should not
> > make a difference. My guess would be that there may be a difference in
> > the latex2rtf converter.
> > 
> > If you run LyX from a terminal, you should see any error messages that
> > are output during the conversion. LyX just calls converters directly.
> > 
> > Richard
> > 
> >
>


Re: convert to rtf

2017-09-12 Thread Patrick Dupre
Yes, the latex2rtf versions are slightly different:

latex2rtf-2.3.16-1.fc26.x86_64
latex2rtf-2.3.11-1.fc24.x86_64


===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


> Sent: Friday, September 08, 2017 at 2:42 AM
> From: "Richard Heck" <rgh...@lyx.org>
> To: "Patrick Dupre" <pdu...@gmx.com>, lyx <lyx-users@lists.lyx.org>
> Subject: Re: convert to rtf
>
> On 09/07/2017 08:02 AM, Patrick Dupre wrote:
> > Hello,
> >
> > I have one machine with fedora 24 and one with fedora 26 (both with lyx 
> > 2.2.3)
> > When I convert the lyx file to a rtf file, it works well on the 
> > fedora 24 machine, and it does not work on the machine with 
> > fedora 26.
> > In both file .lyx/configure.log, I have the same:
> > \converter latex  rtf"latex2rtf -p -S -o $$o $$i"   
> > "needaux"
> >
> > What should I check? I guess that the issue may be with the conversion from 
> > the lyx to latex.
> 
> I wouldn't think so. If you're using 2.2.3 on both machines, then the
> LaTeX output should be the same. The difference in the OS should not
> make a difference. My guess would be that there may be a difference in
> the latex2rtf converter.
> 
> If you run LyX from a terminal, you should see any error messages that
> are output during the conversion. LyX just calls converters directly.
> 
> Richard
> 
>


Re: convert to rtf

2017-09-07 Thread Richard Heck
On 09/07/2017 08:02 AM, Patrick Dupre wrote:
> Hello,
>
> I have one machine with fedora 24 and one with fedora 26 (both with lyx 2.2.3)
> When I convert the lyx file to a rtf file, it works well on the 
> fedora 24 machine, and it does not work on the machine with 
> fedora 26.
> In both file .lyx/configure.log, I have the same:
> \converter latex  rtf"latex2rtf -p -S -o $$o $$i" "needaux"
>
> What should I check? I guess that the issue may be with the conversion from 
> the lyx to latex.

I wouldn't think so. If you're using 2.2.3 on both machines, then the
LaTeX output should be the same. The difference in the OS should not
make a difference. My guess would be that there may be a difference in
the latex2rtf converter.

If you run LyX from a terminal, you should see any error messages that
are output during the conversion. LyX just calls converters directly.

Richard



convert to rtf

2017-09-07 Thread Patrick Dupre
Hello,

I have one machine with fedora 24 and one with fedora 26 (both with lyx 2.2.3)
When I convert the lyx file to a rtf file, it works well on the 
fedora 24 machine, and it does not work on the machine with 
fedora 26.
In both file .lyx/configure.log, I have the same:
\converter latex  rtf"latex2rtf -p -S -o $$o $$i"   "needaux"

What should I check? I guess that the issue may be with the conversion
from the lyx to latex.

Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


Re: lyx to rtf

2017-08-04 Thread Paul A. Rubin

On 08/03/2017 06:04 PM, Patrick Dupre wrote:

Version 2.2.3
But the  my other concern is about the fact that I can easily get the 
pdf file

from lyx, but not from teh .tex file generated by lyx.
Does lyx use a special option of latex?

As Guenter pointed out in your other thread, it makes a difference how 
you generate the PDF within LyX. Depending on what LaTeX programs you 
have installed, you can get LyX to generate a PDF using pdflatex, 
dvipdfm, LuaTeX, XeTeX or ps2pdf (maybe other choices I don't know 
about). If viewing or exporting (as PDF) using pdflatex works from LyX, 
but you try exporting as LaTeX (plain) and then running latex against 
that file, something may go amiss. Even worse, if you export as LaTeX 
(pdflatex) and then run latex (or LuaTeX or whatever) against that file, 
a mismatch may occur.


As to special options, if you go to Tools > Preferences... > File 
Handling > Converters and pick one of the LaTeX to something converters 
(e.g., LaTeX(pdflatex) -> PDF (pdflatex)), you'll see the command being 
issued and any extra options (flags) that are set.


Paul



Re: lyx to rtf

2017-08-03 Thread Patrick Dupre
Version 2.2.3
 

But the  my other concern is about the fact that I can easily get the pdf file

from lyx, but not from teh .tex file generated by lyx.

 

Does lyx use a special option of latex?

 

Thank.

 

===
Patrick DUPRÉ | | email: pdu...@gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===

 
 

Sent: Thursday, August 03, 2017 at 8:58 PM
From: "Paul A. Rubin" <parubi...@gmail.com>
To: "Patrick Dupre" <pdu...@gmx.com>, lyx <lyx-users@lists.lyx.org>
Subject: Re: lyx to rtf



On 08/03/2017 02:42 PM, Patrick Dupre wrote:


Hello,

When I trie to generate a rtf file from lyx, I do not get
any thing.
I can generate a tex file from lyx (plain latex), but then
I use latex2rtf and I get:
Formalism_NL_v5.tex:1774 Unknown command '\bm'
Formalism_NL_v5.tex:1783 Cannot open 'Formalism_NL_v5.bbl'
Formalism_NL_v5.tex:1783 Cannot open bibliography file.  Create Formalism_NL_v5.bbl using BibTeXSegmentation fault (core dumped)

Note that the pdf file generated by lyx is fine.




What version of latex2rtf do you have installed (and which OS)? I found a page on SourceForge indicating that support for the bm package was added in version 2.3.14. The page seems to be for the Win 64 version. Canonical's repository is only on version 2.3.8, so maybe support for bm hasn't reach the Linux version yet?

Paul
 






Re: lyx to rtf

2017-08-03 Thread Paul A. Rubin

On 08/03/2017 02:42 PM, Patrick Dupre wrote:

Hello,

When I trie to generate a rtf file from lyx, I do not get
any thing.
I can generate a tex file from lyx (plain latex), but then
I use latex2rtf and I get:
Formalism_NL_v5.tex:1774 Unknown command '\bm'
Formalism_NL_v5.tex:1783 Cannot open 'Formalism_NL_v5.bbl'
Formalism_NL_v5.tex:1783 Cannot open bibliography file.  Create 
Formalism_NL_v5.bbl using BibTeXSegmentation fault (core dumped)

Note that the pdf file generated by lyx is fine.


What version of latex2rtf do you have installed (and which OS)? I found 
a page on SourceForge 
<https://sourceforge.net/projects/latex2rtf/files/latex2rtf-win64/> 
indicating that support for the bm package was added in version 2.3.14. 
The page seems to be for the Win 64 version. Canonical's repository is 
only on version 2.3.8, so maybe support for bm hasn't reach the Linux 
version yet?


Paul



lyx to rtf

2017-08-03 Thread Patrick Dupre
Hello,

When I trie to generate a rtf file from lyx, I do not get
any thing.
I can generate a tex file from lyx (plain latex), but then
I use latex2rtf and I get:
Formalism_NL_v5.tex:1774 Unknown command '\bm'
Formalism_NL_v5.tex:1783 Cannot open 'Formalism_NL_v5.bbl'
Formalism_NL_v5.tex:1783 Cannot open bibliography file.  Create 
Formalism_NL_v5.bbl using BibTeXSegmentation fault (core dumped)

Note that the pdf file generated by lyx is fine.

Do you have some ideas?


Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


.rtf editor

2014-09-08 Thread Renato
Hi,
I'm newbe to lyx. I often plays with Latex and I found Lyx a very usefull tools.

I've just started using it, and I have two principal question:
1 - how can I handle .rtf file?

for the second, I will open another post.

TIA

Renato



Re: .rtf editor

2014-09-08 Thread Richard Heck

On 09/08/2014 03:57 AM, Renato wrote:

Hi,
I'm newbe to lyx. I often plays with Latex and I found Lyx a very usefull tools.

I've just started using it, and I have two principal question:
1 - how can I handle .rtf file?


Sorry, what do you want to do with the RTF file?

Richard



.rtf editor

2014-09-08 Thread Renato
Hi,
I'm newbe to lyx. I often plays with Latex and I found Lyx a very usefull tools.

I've just started using it, and I have two principal question:
1 - how can I handle .rtf file?

for the second, I will open another post.

TIA

Renato



Re: .rtf editor

2014-09-08 Thread Richard Heck

On 09/08/2014 03:57 AM, Renato wrote:

Hi,
I'm newbe to lyx. I often plays with Latex and I found Lyx a very usefull tools.

I've just started using it, and I have two principal question:
1 - how can I handle .rtf file?


Sorry, what do you want to do with the RTF file?

Richard



.rtf editor

2014-09-08 Thread Renato
Hi,
I'm newbe to lyx. I often plays with Latex and I found Lyx a very usefull tools.

I've just started using it, and I have two principal question:
1 - how can I handle .rtf file?

for the second, I will open another post.

TIA

Renato



Re: .rtf editor

2014-09-08 Thread Richard Heck

On 09/08/2014 03:57 AM, Renato wrote:

Hi,
I'm newbe to lyx. I often plays with Latex and I found Lyx a very usefull tools.

I've just started using it, and I have two principal question:
1 - how can I handle .rtf file?


Sorry, what do you want to do with the RTF file?

Richard



Export LyX-file with subdocuments to RTF

2014-08-17 Thread flyox
Hi,



I want to send some collaborators a document who do (and will) not use LyX or LaTeX. Therefore, I am trying to export it to either RTF (preferred) or ODT.

The LyX-file contains subdocuments and a BibTeX-bibliography. I am using LyX 2.1, Windows 7 and MikeTeX.

When I am using the RTF-export from within LyX using latex2rtf, the bibliography is rightly printed but all subdocuments are excluded (although their citations are in the bibliography). However, using native latex2rtf with an exported LaTeX-file screws the bibliography (and citations) but successfully includes all subdocuments.

The LyX ODT-converter does not work either.



Is this a known problem? Does anyone have suggestions how I can export my file?



Best,

Matthias






Export LyX-file with subdocuments to RTF

2014-08-17 Thread flyox
Hi,



I want to send some collaborators a document who do (and will) not use LyX or LaTeX. Therefore, I am trying to export it to either RTF (preferred) or ODT.

The LyX-file contains subdocuments and a BibTeX-bibliography. I am using LyX 2.1, Windows 7 and MikeTeX.

When I am using the RTF-export from within LyX using latex2rtf, the bibliography is rightly printed but all subdocuments are excluded (although their citations are in the bibliography). However, using native latex2rtf with an exported LaTeX-file screws the bibliography (and citations) but successfully includes all subdocuments.

The LyX ODT-converter does not work either.



Is this a known problem? Does anyone have suggestions how I can export my file?



Best,

Matthias






Export LyX-file with subdocuments to RTF

2014-08-17 Thread flyox
Hi,

 

I want to send some collaborators a document who do (and will) not use LyX or LaTeX. Therefore, I am trying to export it to either RTF (preferred) or ODT.

The LyX-file contains subdocuments and a BibTeX-bibliography. I am using LyX 2.1, Windows 7 and MikeTeX.

When I am using the RTF-export from within LyX using latex2rtf, the bibliography is rightly printed but all subdocuments are excluded (although their citations are in the bibliography). However, using "native" latex2rtf with an exported LaTeX-file screws the bibliography (and citations) but successfully includes all subdocuments.

The LyX ODT-converter does not work either.

 

Is this a known problem? Does anyone have suggestions how I can export my file?

 

Best,

Matthias

 

 


Re: HTML and RTF: Very basic import and export strategy

2012-05-18 Thread Rashif Ray Rahman
On 15 May 2012 20:18, Wilfried wh...@gmx.de wrote:
 Or it's not the latest version? Current version is 2.0.1, see
 http://sourceforge.net/projects/rtf2latex2e/

It is, actually.

 How shall rtf2latex2e know that YOU want it THIS way?
 The heading conversion above is default setting, but it can be changed.
 In the subfolder ./pref there is a file r2l-map in which it is specified
 how headings are to be converted.

It _shouldn't_, but I'd expect an option to switch. Well, yet another TODO :)

I've just found gnuhtml2latex (because of the strange name my eyes
failed on searches), and it does provide an option to switch between
numbered and numbered sections.

 What are the rtf2latex2e calling parameters?
 Maybe you should call rtf2latex2e with the option -p1, not higher, see
 documentation.

Yes, I have tried -p1.

 That is a big difference. rtf2latex2e is aimed at Word's rtf output.
 Rtf from OOo and LibreOffice is broken.

Thanks, didn't know rtf was that complicated. A quick look inside an
rtf file gave me the impression that it'd be pretty standard across
all implementations as far as layout is concerned (formatting is
another story).

I've come to the conclusion that (x)html is a much better format to
deal with for this (though the website of rtf2latexe mentions
otherwise). Even though gnuhtml2latex seems to do an OK job, the
output is riddled with silly characters everywhere.

This  http://www.textfixer.com/html/convert-word-to-html.php  does
an excellent job. Would anyone know of a good commandline alternative
(for Linux)? A good solution would be a doc2html and a docx2html,
along with a html cleaner. I don't see any libraries for this aside
from lxml's html clean method for python (the quality of which I don't
know).


--
GPG/PGP ID: C0711BF1


Re: HTML and RTF: Very basic import and export strategy

2012-05-18 Thread Rashif Ray Rahman
On 15 May 2012 20:18, Wilfried wh...@gmx.de wrote:
 Or it's not the latest version? Current version is 2.0.1, see
 http://sourceforge.net/projects/rtf2latex2e/

It is, actually.

 How shall rtf2latex2e know that YOU want it THIS way?
 The heading conversion above is default setting, but it can be changed.
 In the subfolder ./pref there is a file r2l-map in which it is specified
 how headings are to be converted.

It _shouldn't_, but I'd expect an option to switch. Well, yet another TODO :)

I've just found gnuhtml2latex (because of the strange name my eyes
failed on searches), and it does provide an option to switch between
numbered and numbered sections.

 What are the rtf2latex2e calling parameters?
 Maybe you should call rtf2latex2e with the option -p1, not higher, see
 documentation.

Yes, I have tried -p1.

 That is a big difference. rtf2latex2e is aimed at Word's rtf output.
 Rtf from OOo and LibreOffice is broken.

Thanks, didn't know rtf was that complicated. A quick look inside an
rtf file gave me the impression that it'd be pretty standard across
all implementations as far as layout is concerned (formatting is
another story).

I've come to the conclusion that (x)html is a much better format to
deal with for this (though the website of rtf2latexe mentions
otherwise). Even though gnuhtml2latex seems to do an OK job, the
output is riddled with silly characters everywhere.

This  http://www.textfixer.com/html/convert-word-to-html.php  does
an excellent job. Would anyone know of a good commandline alternative
(for Linux)? A good solution would be a doc2html and a docx2html,
along with a html cleaner. I don't see any libraries for this aside
from lxml's html clean method for python (the quality of which I don't
know).


--
GPG/PGP ID: C0711BF1


Re: HTML and RTF: Very basic import and export strategy

2012-05-18 Thread Rashif Ray Rahman
On 15 May 2012 20:18, Wilfried <wh...@gmx.de> wrote:
> Or it's not the latest version? Current version is 2.0.1, see
> http://sourceforge.net/projects/rtf2latex2e/

It is, actually.

> How shall rtf2latex2e know that YOU want it THIS way?
> The heading conversion above is default setting, but it can be changed.
> In the subfolder ./pref there is a file r2l-map in which it is specified
> how headings are to be converted.

It _shouldn't_, but I'd expect an option to switch. Well, yet another TODO :)

I've just found gnuhtml2latex (because of the strange name my eyes
failed on searches), and it does provide an option to switch between
numbered and numbered sections.

> What are the rtf2latex2e calling parameters?
> Maybe you should call rtf2latex2e with the option -p1, not higher, see
> documentation.

Yes, I have tried -p1.

> That is a big difference. rtf2latex2e is aimed at Word's rtf output.
> Rtf from OOo and LibreOffice is broken.

Thanks, didn't know rtf was that complicated. A quick look inside an
rtf file gave me the impression that it'd be pretty standard across
all implementations as far as layout is concerned (formatting is
another story).

I've come to the conclusion that (x)html is a much better format to
deal with for this (though the website of rtf2latexe mentions
otherwise). Even though gnuhtml2latex seems to do an OK job, the
output is riddled with silly characters everywhere.

This >> http://www.textfixer.com/html/convert-word-to-html.php << does
an excellent job. Would anyone know of a good commandline alternative
(for Linux)? A good solution would be a doc2html and a docx2html,
along with a html cleaner. I don't see any libraries for this aside
from lxml's html clean method for python (the quality of which I don't
know).


--
GPG/PGP ID: C0711BF1


Re: HTML and RTF: Very basic import and export strategy

2012-05-15 Thread Wilfried
Rashif Ray Rahman sc...@archlinux.org wrote:

 Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

Or it's not the latest version? Current version is 2.0.1, see
http://sourceforge.net/projects/rtf2latex2e/

 Heading 1 gets translated to Section* instead of Section, and it'd be
 good if Title were mapped to Chapter and not left alone. What's more,
 anything more than a Heading 3 gets no section at all. I believe up to
 Heading 5 can be mapped with Paragraph and Subparagraph. 

How shall rtf2latex2e know that YOU want it THIS way?
The heading conversion above is default setting, but it can be changed.
In the subfolder ./pref there is a file r2l-map in which it is specified
how headings are to be converted.

 What's worse
 is that there are plenty of forced spaces here, there and everywhere,
 along with some other gibberish that I did not want LaTeX to give me.

What are the rtf2latex2e calling parameters?
Maybe you should call rtf2latex2e with the option -p1, not higher, see
documentation.

 When I typed the document(s) in Word or Writer, [...]

That is a big difference. rtf2latex2e is aimed at Word's rtf output.
Rtf from OOo and LibreOffice is broken.

Hope that helps,
--
Wilfried Hennings



Re: HTML and RTF: Very basic import and export strategy

2012-05-15 Thread Wilfried
Rashif Ray Rahman sc...@archlinux.org wrote:

 Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

Or it's not the latest version? Current version is 2.0.1, see
http://sourceforge.net/projects/rtf2latex2e/

 Heading 1 gets translated to Section* instead of Section, and it'd be
 good if Title were mapped to Chapter and not left alone. What's more,
 anything more than a Heading 3 gets no section at all. I believe up to
 Heading 5 can be mapped with Paragraph and Subparagraph. 

How shall rtf2latex2e know that YOU want it THIS way?
The heading conversion above is default setting, but it can be changed.
In the subfolder ./pref there is a file r2l-map in which it is specified
how headings are to be converted.

 What's worse
 is that there are plenty of forced spaces here, there and everywhere,
 along with some other gibberish that I did not want LaTeX to give me.

What are the rtf2latex2e calling parameters?
Maybe you should call rtf2latex2e with the option -p1, not higher, see
documentation.

 When I typed the document(s) in Word or Writer, [...]

That is a big difference. rtf2latex2e is aimed at Word's rtf output.
Rtf from OOo and LibreOffice is broken.

Hope that helps,
--
Wilfried Hennings



Re: HTML and RTF: Very basic import and export strategy

2012-05-15 Thread Wilfried
Rashif Ray Rahman <sc...@archlinux.org> wrote:

> Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

Or it's not the latest version? Current version is 2.0.1, see
http://sourceforge.net/projects/rtf2latex2e/

> Heading 1 gets translated to Section* instead of Section, and it'd be
> good if Title were mapped to Chapter and not left alone. What's more,
> anything more than a Heading 3 gets no section at all. I believe up to
> Heading 5 can be mapped with Paragraph and Subparagraph. 

How shall rtf2latex2e know that YOU want it THIS way?
The heading conversion above is default setting, but it can be changed.
In the subfolder ./pref there is a file r2l-map in which it is specified
how headings are to be converted.

> What's worse
> is that there are plenty of forced spaces here, there and everywhere,
> along with some other gibberish that I did not want LaTeX to give me.

What are the rtf2latex2e calling parameters?
Maybe you should call rtf2latex2e with the option -p1, not higher, see
documentation.

> When I typed the document(s) in Word or Writer, [...]

That is a big difference. rtf2latex2e is aimed at Word's rtf output.
Rtf from OOo and LibreOffice is broken.

Hope that helps,
--
Wilfried Hennings



HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Rashif Ray Rahman
Hi guys

Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

Heading 1 gets translated to Section* instead of Section, and it'd be
good if Title were mapped to Chapter and not left alone. What's more,
anything more than a Heading 3 gets no section at all. I believe up to
Heading 5 can be mapped with Paragraph and Subparagraph. What's worse
is that there are plenty of forced spaces here, there and everywhere,
along with some other gibberish that I did not want LaTeX to give me.
When I typed the document(s) in Word or Writer, I did no formatting at
all (myself) except for selecting paragraph styles (headings). In HTML
terms, that'd mean:

h1Some Section/h1
La la la la...
   -- this blank line here simply means new
paragraph, not forced space
Bla bla bla...

What's even worse is that there appears to be no active html2latex
project. I do not see it anywhere in my distribution (I'm using Linux)
and I wonder whether there's any story to that. Anyway, even if there
were, I'd have to resort to online 'cleanup' tools to paste my
document and get some clean HTML markup. Neither Word nor Writer
outputs anything useful, and I don't want to go through the hoop of Ms
Word  Writer  LaTeX extension  TeX file with gibberish when my
document in fact is dead simple.

So...is there a way to import and export _very_ basic documents? If
not, it's time to get coding (note to self as well as others). I
didn't manage to use LyX's import functions as even with rtf2latexe I
don't see an option. I did see HTML import before but after
reconfiguring recently it is nowhere to be seen in the UI.

The process should preserve only the layout and structure (i.e.
sectioning). There is no need to deal with figures or tables, and even
retaining formatting (bold and italic fonts) is not a requirement.
Paragraph spacing should conform to LyX settings, whereby an empty
line is removed if there is no provision for such spacing in LyX.

This way, one could use Word or Writer to finish up the content, save
to RTF or HTML, and then import in LyX. Really, this is theoretically
a no-brainer, since you'd be dealing with only headings. It can be
accomplished with sed!


--
GPG/PGP ID: C0711BF1


Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Richard Heck

On 05/14/2012 08:36 AM, Rashif Ray Rahman wrote:

Hi guys

Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

It looks to me as if this is under active development:
http://sourceforge.net/tracker/?atid=374868group_id=22324func=browse
so you could try reporting bugs there.



What's even worse is that there appears to be no active html2latex
project. I do not see it anywhere in my distribution (I'm using Linux)
and I wonder whether there's any story to that. Anyway, even if there
were, I'd have to resort to online 'cleanup' tools to paste my
document and get some clean HTML markup. Neither Word nor Writer
outputs anything useful, and I don't want to go through the hoop of Ms
Word  Writer  LaTeX extension  TeX file with gibberish when my
document in fact is dead simple.

Writer does a much better job nowadays than it used to do, because the 
LaTeX output
is more configurable. Try the Ultra clean article export, for example. 
(There's no need

to involve Word in any way here.)

Better yet, download the writer2latex binary from
http://writer2latex.sourceforge.net/
and the PyODConverter from:
https://github.com/mirkonasato/pyodconverter
and you can do it all from the command line. E.g.:
python DocumentConverter.py myfile.rtf myfile.odt
w2l -clean myfile.odt

Richard



Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Nico Williams
Richard,

Does LyX XHTML output preserve enough LyX metadata to be suitable as
an import format?

Nico
--


Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Richard Heck

On 05/14/2012 10:26 AM, Nico Williams wrote:

Richard,

Does LyX XHTML output preserve enough LyX metadata to be suitable as
an import format?

You mean back into LyX?

Richard



Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Nico Williams
On Mon, May 14, 2012 at 9:30 AM, Richard Heck rgh...@comcast.net wrote:
 On 05/14/2012 10:26 AM, Nico Williams wrote:

 Richard,

 Does LyX XHTML output preserve enough LyX metadata to be suitable as
 an import format?

 You mean back into LyX?

Yes.  With XML formats becoming ubiquitous that seems like it'd be useful.

Nico
--


HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Rashif Ray Rahman
Hi guys

Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

Heading 1 gets translated to Section* instead of Section, and it'd be
good if Title were mapped to Chapter and not left alone. What's more,
anything more than a Heading 3 gets no section at all. I believe up to
Heading 5 can be mapped with Paragraph and Subparagraph. What's worse
is that there are plenty of forced spaces here, there and everywhere,
along with some other gibberish that I did not want LaTeX to give me.
When I typed the document(s) in Word or Writer, I did no formatting at
all (myself) except for selecting paragraph styles (headings). In HTML
terms, that'd mean:

h1Some Section/h1
La la la la...
   -- this blank line here simply means new
paragraph, not forced space
Bla bla bla...

What's even worse is that there appears to be no active html2latex
project. I do not see it anywhere in my distribution (I'm using Linux)
and I wonder whether there's any story to that. Anyway, even if there
were, I'd have to resort to online 'cleanup' tools to paste my
document and get some clean HTML markup. Neither Word nor Writer
outputs anything useful, and I don't want to go through the hoop of Ms
Word  Writer  LaTeX extension  TeX file with gibberish when my
document in fact is dead simple.

So...is there a way to import and export _very_ basic documents? If
not, it's time to get coding (note to self as well as others). I
didn't manage to use LyX's import functions as even with rtf2latexe I
don't see an option. I did see HTML import before but after
reconfiguring recently it is nowhere to be seen in the UI.

The process should preserve only the layout and structure (i.e.
sectioning). There is no need to deal with figures or tables, and even
retaining formatting (bold and italic fonts) is not a requirement.
Paragraph spacing should conform to LyX settings, whereby an empty
line is removed if there is no provision for such spacing in LyX.

This way, one could use Word or Writer to finish up the content, save
to RTF or HTML, and then import in LyX. Really, this is theoretically
a no-brainer, since you'd be dealing with only headings. It can be
accomplished with sed!


--
GPG/PGP ID: C0711BF1


Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Richard Heck

On 05/14/2012 08:36 AM, Rashif Ray Rahman wrote:

Hi guys

Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

It looks to me as if this is under active development:
http://sourceforge.net/tracker/?atid=374868group_id=22324func=browse
so you could try reporting bugs there.



What's even worse is that there appears to be no active html2latex
project. I do not see it anywhere in my distribution (I'm using Linux)
and I wonder whether there's any story to that. Anyway, even if there
were, I'd have to resort to online 'cleanup' tools to paste my
document and get some clean HTML markup. Neither Word nor Writer
outputs anything useful, and I don't want to go through the hoop of Ms
Word  Writer  LaTeX extension  TeX file with gibberish when my
document in fact is dead simple.

Writer does a much better job nowadays than it used to do, because the 
LaTeX output
is more configurable. Try the Ultra clean article export, for example. 
(There's no need

to involve Word in any way here.)

Better yet, download the writer2latex binary from
http://writer2latex.sourceforge.net/
and the PyODConverter from:
https://github.com/mirkonasato/pyodconverter
and you can do it all from the command line. E.g.:
python DocumentConverter.py myfile.rtf myfile.odt
w2l -clean myfile.odt

Richard



Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Nico Williams
Richard,

Does LyX XHTML output preserve enough LyX metadata to be suitable as
an import format?

Nico
--


Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Richard Heck

On 05/14/2012 10:26 AM, Nico Williams wrote:

Richard,

Does LyX XHTML output preserve enough LyX metadata to be suitable as
an import format?

You mean back into LyX?

Richard



Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Nico Williams
On Mon, May 14, 2012 at 9:30 AM, Richard Heck rgh...@comcast.net wrote:
 On 05/14/2012 10:26 AM, Nico Williams wrote:

 Richard,

 Does LyX XHTML output preserve enough LyX metadata to be suitable as
 an import format?

 You mean back into LyX?

Yes.  With XML formats becoming ubiquitous that seems like it'd be useful.

Nico
--


HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Rashif Ray Rahman
Hi guys

Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

Heading 1 gets translated to Section* instead of Section, and it'd be
good if Title were mapped to Chapter and not left alone. What's more,
anything more than a Heading 3 gets no section at all. I believe up to
Heading 5 can be mapped with Paragraph and Subparagraph. What's worse
is that there are plenty of forced spaces here, there and everywhere,
along with some other gibberish that I did not want LaTeX to give me.
When I typed the document(s) in Word or Writer, I did no formatting at
all (myself) except for selecting paragraph styles (headings). In HTML
terms, that'd mean:

Some Section
La la la la...
   <-- this blank line here simply means new
paragraph, not "forced" space
Bla bla bla...

What's even worse is that there appears to be no active html2latex
project. I do not see it anywhere in my distribution (I'm using Linux)
and I wonder whether there's any story to that. Anyway, even if there
were, I'd have to resort to online 'cleanup' tools to paste my
document and get some clean HTML markup. Neither Word nor Writer
outputs anything useful, and I don't want to go through the hoop of Ms
Word > Writer > LaTeX extension > TeX file with gibberish when my
document in fact is dead simple.

So...is there a way to import and export _very_ basic documents? If
not, it's time to get coding (note to self as well as others). I
didn't manage to use LyX's import functions as even with rtf2latexe I
don't see an option. I did see HTML import before but after
reconfiguring recently it is nowhere to be seen in the UI.

The process should preserve only the layout and structure (i.e.
sectioning). There is no need to deal with figures or tables, and even
retaining formatting (bold and italic fonts) is not a requirement.
Paragraph spacing should conform to LyX settings, whereby an empty
line is removed if there is no provision for such spacing in LyX.

This way, one could use Word or Writer to finish up the content, save
to RTF or HTML, and then import in LyX. Really, this is theoretically
a no-brainer, since you'd be dealing with only headings. It can be
accomplished with sed!


--
GPG/PGP ID: C0711BF1


Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Richard Heck

On 05/14/2012 08:36 AM, Rashif Ray Rahman wrote:

Hi guys

Either rtf2latexe does a very bad job, or I'm missing some tips on its usage.

It looks to me as if this is under active development:
http://sourceforge.net/tracker/?atid=374868_id=22324=browse
so you could try reporting bugs there.



What's even worse is that there appears to be no active html2latex
project. I do not see it anywhere in my distribution (I'm using Linux)
and I wonder whether there's any story to that. Anyway, even if there
were, I'd have to resort to online 'cleanup' tools to paste my
document and get some clean HTML markup. Neither Word nor Writer
outputs anything useful, and I don't want to go through the hoop of Ms
Word>  Writer>  LaTeX extension>  TeX file with gibberish when my
document in fact is dead simple.

Writer does a much better job nowadays than it used to do, because the 
LaTeX output
is more configurable. Try the "Ultra clean article" export, for example. 
(There's no need

to involve Word in any way here.)

Better yet, download the writer2latex binary from
http://writer2latex.sourceforge.net/
and the PyODConverter from:
https://github.com/mirkonasato/pyodconverter
and you can do it all from the command line. E.g.:
python DocumentConverter.py myfile.rtf myfile.odt
w2l -clean myfile.odt

Richard



Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Nico Williams
Richard,

Does LyX XHTML output preserve enough LyX metadata to be suitable as
an import format?

Nico
--


Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Richard Heck

On 05/14/2012 10:26 AM, Nico Williams wrote:

Richard,

Does LyX XHTML output preserve enough LyX metadata to be suitable as
an import format?

You mean back into LyX?

Richard



Re: HTML and RTF: Very basic import and export strategy

2012-05-14 Thread Nico Williams
On Mon, May 14, 2012 at 9:30 AM, Richard Heck  wrote:
> On 05/14/2012 10:26 AM, Nico Williams wrote:
>>
>> Richard,
>>
>> Does LyX XHTML output preserve enough LyX metadata to be suitable as
>> an import format?
>
> You mean back into LyX?

Yes.  With XML formats becoming ubiquitous that seems like it'd be useful.

Nico
--


Re: LyX export to RTF

2012-04-22 Thread Wilfried
Janwillem van Dijk jwevand...@xs4all.nl wrote:

 Thanks Wilfried, I thought already of the newer versions. However, I 
 cannot compile the source on Linux; qmake just does nothing. I als tried 
 2.1.1 on Windows but there my problems persist. As an example the LaTeX 
 line (from export as pdflatex):
 
 \item Use operational quantities defined in ICRU51: $H_{\mathrm{p}}(0.07)$,
 $H_{\mathrm{p}}(3)$ and $H_{\mathrm{p}}(10)$ 
 \citep{international_commission_on_radiation_units_and_measurements_quantities_1993}
  
 \item Determine dosimeter characteristic using radiation qualities and 
 phantoms as defined by ISO (ISO 4037-3 and 12794) 
 \citep{international_organization_for_standardization_x_1993,international_organization_for_standardization_reference_2000}
 
 complains about the unknown command \citep and gives in Word:
 Use operational quantities defined in ICRU51: Hp(0.07), Hp(3) and Hp(10) 
 international\s\do5(c)ommission\s\do5(o)n\s\do5(r)adiation\s\do5(u)nits\s\do5(a)nd\s\do5(m)easurements\s\do5(q)uantities\s\do5(1)993
  
 
 (subscripts in the inline formula are not really beautiful either)
 
 The References list is absolutely crap, just copies the entire BibTeX 
 file somehow [...]

I do not remember how latex2rtf is called from LyX. 
latex2rtf requires that the LaTeX document to be converted was
completely and successfully compiled by LaTeX, that means that the .tex
file must be accompanied by up-to-date .aux and .bbl files.
So before running latex2rtf, the sequence
latex inputfile
bibtex inputfile
latex inputfile
latex inputfile
has to be executed to resolve all bibliographic references and cross
references.
Nevertheless, something like \s\do5(c)... should never be displayed in
Word. If it does, it means that a brace { or } or a backslash is missing
or misplaced in the rtf output.
For bugfixing it would be helpful if you send me a sample file which
shows the problem, by personal mail.
Regards, Wilfried
--
Wilfried Hennings
whiskey hotel underscore november golf at golf mike xray dot delta echo



Re: LyX export to RTF

2012-04-22 Thread Wilfried
Janwillem van Dijk jwevand...@xs4all.nl wrote:

 Thanks Wilfried, I thought already of the newer versions. However, I 
 cannot compile the source on Linux; qmake just does nothing. I als tried 
 2.1.1 on Windows but there my problems persist. As an example the LaTeX 
 line (from export as pdflatex):
 
 \item Use operational quantities defined in ICRU51: $H_{\mathrm{p}}(0.07)$,
 $H_{\mathrm{p}}(3)$ and $H_{\mathrm{p}}(10)$ 
 \citep{international_commission_on_radiation_units_and_measurements_quantities_1993}
  
 \item Determine dosimeter characteristic using radiation qualities and 
 phantoms as defined by ISO (ISO 4037-3 and 12794) 
 \citep{international_organization_for_standardization_x_1993,international_organization_for_standardization_reference_2000}
 
 complains about the unknown command \citep and gives in Word:
 Use operational quantities defined in ICRU51: Hp(0.07), Hp(3) and Hp(10) 
 international\s\do5(c)ommission\s\do5(o)n\s\do5(r)adiation\s\do5(u)nits\s\do5(a)nd\s\do5(m)easurements\s\do5(q)uantities\s\do5(1)993
  
 
 (subscripts in the inline formula are not really beautiful either)
 
 The References list is absolutely crap, just copies the entire BibTeX 
 file somehow [...]

I do not remember how latex2rtf is called from LyX. 
latex2rtf requires that the LaTeX document to be converted was
completely and successfully compiled by LaTeX, that means that the .tex
file must be accompanied by up-to-date .aux and .bbl files.
So before running latex2rtf, the sequence
latex inputfile
bibtex inputfile
latex inputfile
latex inputfile
has to be executed to resolve all bibliographic references and cross
references.
Nevertheless, something like \s\do5(c)... should never be displayed in
Word. If it does, it means that a brace { or } or a backslash is missing
or misplaced in the rtf output.
For bugfixing it would be helpful if you send me a sample file which
shows the problem, by personal mail.
Regards, Wilfried
--
Wilfried Hennings
whiskey hotel underscore november golf at golf mike xray dot delta echo



Re: LyX export to RTF

2012-04-22 Thread Wilfried
Janwillem van Dijk <jwevand...@xs4all.nl> wrote:

> Thanks Wilfried, I thought already of the newer versions. However, I 
> cannot compile the source on Linux; qmake just does nothing. I als tried 
> 2.1.1 on Windows but there my problems persist. As an example the LaTeX 
> line (from export as pdflatex):
> 
> \item Use operational quantities defined in ICRU51: $H_{\mathrm{p}}(0.07)$,
> $H_{\mathrm{p}}(3)$ and $H_{\mathrm{p}}(10)$ 
> \citep{international_commission_on_radiation_units_and_measurements_quantities_1993}
>  
> \item Determine dosimeter characteristic using radiation qualities and 
> phantoms as defined by ISO (ISO 4037-3 and 12794) 
> \citep{international_organization_for_standardization_x_1993,international_organization_for_standardization_reference_2000}
> 
> complains about the unknown command \citep and gives in Word:
> Use operational quantities defined in ICRU51: Hp(0.07), Hp(3) and Hp(10) 
> international\s\do5(c)ommission\s\do5(o)n\s\do5(r)adiation\s\do5(u)nits\s\do5(a)nd\s\do5(m)easurements\s\do5(q)uantities\s\do5(1)993
>  
> 
> (subscripts in the inline formula are not really beautiful either)
> 
> The References list is absolutely crap, just copies the entire BibTeX 
> file somehow [...]

I do not remember how latex2rtf is called from LyX. 
latex2rtf requires that the LaTeX document to be converted was
completely and successfully compiled by LaTeX, that means that the .tex
file must be accompanied by up-to-date .aux and .bbl files.
So before running latex2rtf, the sequence
latex inputfile
bibtex inputfile
latex inputfile
latex inputfile
has to be executed to resolve all bibliographic references and cross
references.
Nevertheless, something like \s\do5(c)... should never be displayed in
Word. If it does, it means that a brace { or } or a backslash is missing
or misplaced in the rtf output.
For bugfixing it would be helpful if you send me a sample file which
shows the problem, by personal mail.
Regards, Wilfried
--
Wilfried Hennings
whiskey hotel underscore november golf at golf mike xray dot delta echo



Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk
Unfortunately removing -p has no effect and both LibreOffice  3.5.2.2 
and Word 2007 give the same result.
The eLyXer route gives reasonable html which can be copied into LO or 
Word but need a little reformatting. However, in the eLyXer output the 
order of references (coming from a *.bib export of Zotero) is a little 
mixed up while in the pdf it is as wanted.

Cheers, Janwillem


Re: LyX export to RTF

2012-04-21 Thread Wilfried
Janwillem van Dijk wrote:

 Unfortunately removing -p has no effect and both LibreOffice  3.5.2.2 
 and Word 2007 give the same result.
Then something is broken.
By the way, latex2rtf 1.9.19 is quite old (released Nov 2007).
The current Unix version 2.1.0 was released March 2010, and there is
2.1.1 beta (Windows only, but Unix version can also be made available)
of Feb 2011.

Regards, Wilfried



Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk

  
  
Thanks Wilfried, I thought already of the newer versions. However, I
cannot compile the source on Linux; qmake just does nothing. I als
tried 2.1.1 on Windows but there my problems persist. As an example
the LaTeX line (from export as pdflatex):

\item Use operational quantities defined in ICRU51:
$H_{\mathrm{p}}(0.07)$,
$H_{\mathrm{p}}(3)$ and $H_{\mathrm{p}}(10)$
\citep{international_commission_on_radiation_units_and_measurements_quantities_1993}

\item Determine dosimeter characteristic using radiation qualities
and phantoms as defined by ISO (ISO 4037-3 and 12794)
\citep{international_organization_for_standardization_x_1993,international_organization_for_standardization_reference_2000}

complains about the unknown command \citep and gives in Word:
Use operational quantities defined in ICRU51: Hp(0.07), Hp(3) and
Hp(10)
international\s\do5(c)ommission\s\do5(o)n\s\do5(r)adiation\s\do5(u)nits\s\do5(a)nd\s\do5(m)easurements\s\do5(q)uantities\s\do5(1)993


(subscripts in the inline formula are not really beautiful either)

The References list is absolutely crap, just copies the entire
BibTeX file somehow, not only the references used:
@bookinternational\s\do5(o)rganization\s\do5(f)or\s\do5(s)tandardization\s\do5(1)993,

address = Geneva, series = ISO 4037-3, title = X and gamma reference
radiations for calibrating dosemeters and dose rate meters and for
determining their response as a function of photon energy, Part 3:
Calibration of area and personal dosemeters and the measurement of
their response as a function of energy and angle of incidence, lccn
= ISO 4037-3, publisher = International Organization for
Standardization, author = International Organization for
Standardization, year = 1993, keywords = eutrimer, ISO .

I must confess I used the default settings, may be there can be some
advise given and please also on compiling on linux.
Cheers, Janwillem

  



Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk

Just managed to get something workable straight to docx.

File Export LyX ../LyX.html ? HTML (MSWORD)
pandoc -f html mypaper.html -t docx -o mypaper.docx

Only a few tweaks like
1) change all .png into .eps as I want the original eps in the docx
2) change font to TimesNewRoman
3) change alignment to Justify

All in all very workable
Cheers, Janwillem



Re: LyX export to RTF

2012-04-21 Thread Enrico Forestieri
  Janwillem van Dijk writes:
  Just managed to get something workable straight to docx.


  File Export LyX → HTML (MSWORD) 
  pandoc -f html mypaper.html -t docx -o mypaper.docx


  Only a few tweaks like
  1) change all .png into .eps as I want the original eps in the docx
  2) change font to TimesNewRoman
  3) change alignment to Justify

  All in all very workable 
  Cheers, Janwillem


I think that something fishy is occurring with your latex2rtf installation.
Of course, if you are fine with pandoc or something else, then use it.
However, latex2rtf is capable of managing things that other conversion tools
are not able to manage. As an example, I attach here a LyX document using
the bibentry package and the result I obtain with latex2rtf 1.9.17.




bibentry-natbib.lyx
Description: Binary data


bibentry-natbib.bib
Description: Binary data


bibentry-natbib.rtf
Description: MS-Word document


Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk
Unfortunately removing -p has no effect and both LibreOffice  3.5.2.2 
and Word 2007 give the same result.
The eLyXer route gives reasonable html which can be copied into LO or 
Word but need a little reformatting. However, in the eLyXer output the 
order of references (coming from a *.bib export of Zotero) is a little 
mixed up while in the pdf it is as wanted.

Cheers, Janwillem


Re: LyX export to RTF

2012-04-21 Thread Wilfried
Janwillem van Dijk wrote:

 Unfortunately removing -p has no effect and both LibreOffice  3.5.2.2 
 and Word 2007 give the same result.
Then something is broken.
By the way, latex2rtf 1.9.19 is quite old (released Nov 2007).
The current Unix version 2.1.0 was released March 2010, and there is
2.1.1 beta (Windows only, but Unix version can also be made available)
of Feb 2011.

Regards, Wilfried



Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk

  
  
Thanks Wilfried, I thought already of the newer versions. However, I
cannot compile the source on Linux; qmake just does nothing. I als
tried 2.1.1 on Windows but there my problems persist. As an example
the LaTeX line (from export as pdflatex):

\item Use operational quantities defined in ICRU51:
$H_{\mathrm{p}}(0.07)$,
$H_{\mathrm{p}}(3)$ and $H_{\mathrm{p}}(10)$
\citep{international_commission_on_radiation_units_and_measurements_quantities_1993}

\item Determine dosimeter characteristic using radiation qualities
and phantoms as defined by ISO (ISO 4037-3 and 12794)
\citep{international_organization_for_standardization_x_1993,international_organization_for_standardization_reference_2000}

complains about the unknown command \citep and gives in Word:
Use operational quantities defined in ICRU51: Hp(0.07), Hp(3) and
Hp(10)
international\s\do5(c)ommission\s\do5(o)n\s\do5(r)adiation\s\do5(u)nits\s\do5(a)nd\s\do5(m)easurements\s\do5(q)uantities\s\do5(1)993


(subscripts in the inline formula are not really beautiful either)

The References list is absolutely crap, just copies the entire
BibTeX file somehow, not only the references used:
@bookinternational\s\do5(o)rganization\s\do5(f)or\s\do5(s)tandardization\s\do5(1)993,

address = Geneva, series = ISO 4037-3, title = X and gamma reference
radiations for calibrating dosemeters and dose rate meters and for
determining their response as a function of photon energy, Part 3:
Calibration of area and personal dosemeters and the measurement of
their response as a function of energy and angle of incidence, lccn
= ISO 4037-3, publisher = International Organization for
Standardization, author = International Organization for
Standardization, year = 1993, keywords = eutrimer, ISO .

I must confess I used the default settings, may be there can be some
advise given and please also on compiling on linux.
Cheers, Janwillem

  



Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk

Just managed to get something workable straight to docx.

File Export LyX ../LyX.html ? HTML (MSWORD)
pandoc -f html mypaper.html -t docx -o mypaper.docx

Only a few tweaks like
1) change all .png into .eps as I want the original eps in the docx
2) change font to TimesNewRoman
3) change alignment to Justify

All in all very workable
Cheers, Janwillem



Re: LyX export to RTF

2012-04-21 Thread Enrico Forestieri
  Janwillem van Dijk writes:
  Just managed to get something workable straight to docx.


  File Export LyX → HTML (MSWORD) 
  pandoc -f html mypaper.html -t docx -o mypaper.docx


  Only a few tweaks like
  1) change all .png into .eps as I want the original eps in the docx
  2) change font to TimesNewRoman
  3) change alignment to Justify

  All in all very workable 
  Cheers, Janwillem


I think that something fishy is occurring with your latex2rtf installation.
Of course, if you are fine with pandoc or something else, then use it.
However, latex2rtf is capable of managing things that other conversion tools
are not able to manage. As an example, I attach here a LyX document using
the bibentry package and the result I obtain with latex2rtf 1.9.17.




bibentry-natbib.lyx
Description: Binary data


bibentry-natbib.bib
Description: Binary data


bibentry-natbib.rtf
Description: MS-Word document


Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk
Unfortunately removing -p has no effect and both LibreOffice  3.5.2.2 
and Word 2007 give the same result.
The eLyXer route gives reasonable html which can be copied into LO or 
Word but need a little reformatting. However, in the eLyXer output the 
order of references (coming from a *.bib export of Zotero) is a little 
mixed up while in the pdf it is as wanted.

Cheers, Janwillem


Re: LyX export to RTF

2012-04-21 Thread Wilfried
Janwillem van Dijk wrote:

> Unfortunately removing -p has no effect and both LibreOffice  3.5.2.2 
> and Word 2007 give the same result.
Then something is broken.
By the way, latex2rtf 1.9.19 is quite old (released Nov 2007).
The current Unix version 2.1.0 was released March 2010, and there is
2.1.1 beta (Windows only, but Unix version can also be made available)
of Feb 2011.

Regards, Wilfried



Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk

  
  
Thanks Wilfried, I thought already of the newer versions. However, I
cannot compile the source on Linux; qmake just does nothing. I als
tried 2.1.1 on Windows but there my problems persist. As an example
the LaTeX line (from export as pdflatex):

\item Use operational quantities defined in ICRU51:
$H_{\mathrm{p}}(0.07)$,
$H_{\mathrm{p}}(3)$ and $H_{\mathrm{p}}(10)$
\citep{international_commission_on_radiation_units_and_measurements_quantities_1993}

\item Determine dosimeter characteristic using radiation qualities
and phantoms as defined by ISO (ISO 4037-3 and 12794)
\citep{international_organization_for_standardization_x_1993,international_organization_for_standardization_reference_2000}

complains about the unknown command \citep and gives in Word:
Use operational quantities defined in ICRU51: Hp(0.07), Hp(3) and
Hp(10)
international\s\do5(c)ommission\s\do5(o)n\s\do5(r)adiation\s\do5(u)nits\s\do5(a)nd\s\do5(m)easurements\s\do5(q)uantities\s\do5(1)993


(subscripts in the inline formula are not really beautiful either)

The References list is absolutely crap, just copies the entire
BibTeX file somehow, not only the references used:
@bookinternational\s\do5(o)rganization\s\do5(f)or\s\do5(s)tandardization\s\do5(1)993,

address = Geneva, series = ISO 4037-3, title = X and gamma reference
radiations for calibrating dosemeters and dose rate meters and for
determining their response as a function of photon energy, Part 3:
Calibration of area and personal dosemeters and the measurement of
their response as a function of energy and angle of incidence, lccn
= ISO 4037-3, publisher = International Organization for
Standardization, author = International Organization for
Standardization, year = 1993, keywords = eutrimer, ISO .

I must confess I used the default settings, may be there can be some
advise given and please also on compiling on linux.
Cheers, Janwillem

  



Re: LyX export to RTF

2012-04-21 Thread Janwillem van Dijk

Just managed to get something workable straight to docx.

File Export LyX <../LyX.html> ? HTML (MSWORD)
pandoc -f html mypaper.html -t docx -o mypaper.docx

Only a few tweaks like
1) change all .png into .eps as I want the original eps in the docx
2) change font to TimesNewRoman
3) change alignment to Justify

All in all very workable
Cheers, Janwillem



Re: LyX export to RTF

2012-04-21 Thread Enrico Forestieri
  Janwillem van Dijk writes:
  Just managed to get something workable straight to docx.


  File Export LyX → HTML (MSWORD) 
  pandoc -f html mypaper.html -t docx -o mypaper.docx


  Only a few tweaks like
  1) change all .png into .eps as I want the original eps in the docx
  2) change font to TimesNewRoman
  3) change alignment to Justify

  All in all very workable 
  Cheers, Janwillem


I think that something fishy is occurring with your latex2rtf installation.
Of course, if you are fine with pandoc or something else, then use it.
However, latex2rtf is capable of managing things that other conversion tools
are not able to manage. As an example, I attach here a LyX document using
the bibentry package and the result I obtain with latex2rtf 1.9.17.




bibentry-natbib.lyx
Description: Binary data


bibentry-natbib.bib
Description: Binary data


bibentry-natbib.rtf
Description: MS-Word document


Re: LyX export to RTF

2012-04-20 Thread Wolfgang Engelmann
Am Donnerstag, 19. April 2012, 21:42:08 schrieb Janwillem van Dijk:
 I have a paper written in Lyx that when exported to rtf produces more or
 less garbage. Everywhere where there is inline math the text get
 corruptes. Also the references in the text are corruped. The references
 come from a BibTeX that is an export from Zotero.


Have you tried it via elyxer?

Wolfgang


Re: LyX export to RTF

2012-04-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/04/12 21:42, Janwillem van Dijk wrote:
 I have a paper written in Lyx that when exported to rtf produces more or less 
 garbage.
 Everywhere where there is inline math the text get corruptes. Also the 
 references in the text
 are corruped. The references come from a BibTeX that is an export from Zotero.
 
 an example:
 
 Use terms and definitions issued by the Joint Committee on Guides in 
 Metrology, JCGM 
 joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008-1,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)011,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)009

 
 
 
 or:
 
 Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
 /H/\s\do5(/p/)\(3\) and 
 /H/\s\do5(/p/)\(10\)
 
 where it should be Hp(0.07) etcetra with H italic and p roman subscript 
 coming from 
 $H_{\mathrm{p}}(0.07)$
 
 The pdf export is fine and the html export is ok.
 
 Please give me some tips where to start getting it right; I have to cooperate 
 with
 Windows/Office colleages. My system Ubuntu 12.04, Lyx 2.0.2, latex2rtf 1.9.19
 
 By the way export to openoffice results in one blank page of about 30kb. 
 Thanks for helping,
 Janwillem

You could try out pandoc (LyX - html - odt) - I posted some info about using 
pandoc recently.
And the advantage is, that it is quite robust.

Worked OK for me, but no idea about inline math.

Cheers,

Rainer

 
 
 
 
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+RDUAACgkQoYgNqgF2egonLQCeKZxKLzX7bArqYNi8tqqWnBIk
Mx8An2AS8ZcJWzIXnMVmoxpk0REOSExC
=APkX
-END PGP SIGNATURE-


Re: LyX export to RTF

2012-04-20 Thread Janwillem van Dijk

Dear Rainer,
Thanks for your answer. I guess you men Conversion to doc via pandoc 
of 16-04-2012. Browsing the discussion this looks promising. 
Unfortunately my LyX and LaTeX skills are sub-standard and I would 
greatly appreciate some more detailed step by help on the use of \format 
and \converter.

Many thanks, Janwillem


Re: LyX export to RTF

2012-04-20 Thread Enrico Forestieri
Janwillem van Dijk writes:

   Use operational quantities defined in
 ICRU51: H\s\do5(p)\(0.07\),
   H\s\do5(p)\(3\)
 and H\s\do5(p)\(10\)
   where it should be Hp(0.07) etcetra with H italic and p roman
 subscript coming from $H_{\mathrm{p}}(0.07)$

Please have a look at
http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf

Note that starting with latex2rtf 1.9.19 the meaning of the -p option
has been reversed, so you may need to remove this option from the
converter automatically setup by LyX.

I am still using 1.9.17 and everything works fine for me. Equations,
crossreferences, bibliography, and figures are all perfectly converted.
I tried any other way discussed in this list to get a msword readable
file, but all of them are much inferior to the results I obtain with
latex2rtf. YMMV, of course.

-- 
Enrico



Re: LyX export to RTF

2012-04-20 Thread Wilfried
Janwillem van Dijk jwevand...@xs4all.nl wrote:

 I have a paper written in Lyx that when exported to rtf produces more or 
 less garbage. Everywhere where there is inline math the text get 
 corruptes. Also the references in the text are corruped. The references 
 come from a BibTeX that is an export from Zotero.
 
 an example:
 
 Use terms and definitions issued by the Joint Committee on Guides in 
 Metrology, JCGM 
 joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s 
 [...]
 
 or:
 
 Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
 /H/\s\do5(/p/)\(3\) and /H/\s\do5(/p/)\(10\)
 
 where it should be Hp(0.07) etcetra with H italic and p roman subscript 
 coming from $H_{\mathrm{p}}(0.07)$

Did you open the rtf file in OpenOffice or LibreOffice for seeing the
garbage?
Forget about OO/LO, rtf import to OO and LO is severely broken.
The rtf will open correctly only in MS Word.

Wilfried (one of the maintainers of latex2rtf)



Re: LyX export to RTF

2012-04-20 Thread Wolfgang Engelmann
Am Donnerstag, 19. April 2012, 21:42:08 schrieb Janwillem van Dijk:
 I have a paper written in Lyx that when exported to rtf produces more or
 less garbage. Everywhere where there is inline math the text get
 corruptes. Also the references in the text are corruped. The references
 come from a BibTeX that is an export from Zotero.


Have you tried it via elyxer?

Wolfgang


Re: LyX export to RTF

2012-04-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/04/12 21:42, Janwillem van Dijk wrote:
 I have a paper written in Lyx that when exported to rtf produces more or less 
 garbage.
 Everywhere where there is inline math the text get corruptes. Also the 
 references in the text
 are corruped. The references come from a BibTeX that is an export from Zotero.
 
 an example:
 
 Use terms and definitions issued by the Joint Committee on Guides in 
 Metrology, JCGM 
 joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008-1,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)011,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)009

 
 
 
 or:
 
 Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
 /H/\s\do5(/p/)\(3\) and 
 /H/\s\do5(/p/)\(10\)
 
 where it should be Hp(0.07) etcetra with H italic and p roman subscript 
 coming from 
 $H_{\mathrm{p}}(0.07)$
 
 The pdf export is fine and the html export is ok.
 
 Please give me some tips where to start getting it right; I have to cooperate 
 with
 Windows/Office colleages. My system Ubuntu 12.04, Lyx 2.0.2, latex2rtf 1.9.19
 
 By the way export to openoffice results in one blank page of about 30kb. 
 Thanks for helping,
 Janwillem

You could try out pandoc (LyX - html - odt) - I posted some info about using 
pandoc recently.
And the advantage is, that it is quite robust.

Worked OK for me, but no idea about inline math.

Cheers,

Rainer

 
 
 
 
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+RDUAACgkQoYgNqgF2egonLQCeKZxKLzX7bArqYNi8tqqWnBIk
Mx8An2AS8ZcJWzIXnMVmoxpk0REOSExC
=APkX
-END PGP SIGNATURE-


Re: LyX export to RTF

2012-04-20 Thread Janwillem van Dijk

Dear Rainer,
Thanks for your answer. I guess you men Conversion to doc via pandoc 
of 16-04-2012. Browsing the discussion this looks promising. 
Unfortunately my LyX and LaTeX skills are sub-standard and I would 
greatly appreciate some more detailed step by help on the use of \format 
and \converter.

Many thanks, Janwillem


Re: LyX export to RTF

2012-04-20 Thread Enrico Forestieri
Janwillem van Dijk writes:

   Use operational quantities defined in
 ICRU51: H\s\do5(p)\(0.07\),
   H\s\do5(p)\(3\)
 and H\s\do5(p)\(10\)
   where it should be Hp(0.07) etcetra with H italic and p roman
 subscript coming from $H_{\mathrm{p}}(0.07)$

Please have a look at
http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf

Note that starting with latex2rtf 1.9.19 the meaning of the -p option
has been reversed, so you may need to remove this option from the
converter automatically setup by LyX.

I am still using 1.9.17 and everything works fine for me. Equations,
crossreferences, bibliography, and figures are all perfectly converted.
I tried any other way discussed in this list to get a msword readable
file, but all of them are much inferior to the results I obtain with
latex2rtf. YMMV, of course.

-- 
Enrico



Re: LyX export to RTF

2012-04-20 Thread Wilfried
Janwillem van Dijk jwevand...@xs4all.nl wrote:

 I have a paper written in Lyx that when exported to rtf produces more or 
 less garbage. Everywhere where there is inline math the text get 
 corruptes. Also the references in the text are corruped. The references 
 come from a BibTeX that is an export from Zotero.
 
 an example:
 
 Use terms and definitions issued by the Joint Committee on Guides in 
 Metrology, JCGM 
 joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s 
 [...]
 
 or:
 
 Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
 /H/\s\do5(/p/)\(3\) and /H/\s\do5(/p/)\(10\)
 
 where it should be Hp(0.07) etcetra with H italic and p roman subscript 
 coming from $H_{\mathrm{p}}(0.07)$

Did you open the rtf file in OpenOffice or LibreOffice for seeing the
garbage?
Forget about OO/LO, rtf import to OO and LO is severely broken.
The rtf will open correctly only in MS Word.

Wilfried (one of the maintainers of latex2rtf)



Re: LyX export to RTF

2012-04-20 Thread Wolfgang Engelmann
Am Donnerstag, 19. April 2012, 21:42:08 schrieb Janwillem van Dijk:
> I have a paper written in Lyx that when exported to rtf produces more or
> less garbage. Everywhere where there is inline math the text get
> corruptes. Also the references in the text are corruped. The references
> come from a BibTeX that is an export from Zotero.


Have you tried it via elyxer?

Wolfgang


Re: LyX export to RTF

2012-04-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/04/12 21:42, Janwillem van Dijk wrote:
> I have a paper written in Lyx that when exported to rtf produces more or less 
> garbage.
> Everywhere where there is inline math the text get corruptes. Also the 
> references in the text
> are corruped. The references come from a BibTeX that is an export from Zotero.
> 
> an example:
> 
> Use terms and definitions issued by the Joint Committee on Guides in 
> Metrology, JCGM 
> joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008-1,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)011,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)009
>
> 
> 
> 
> or:
> 
> Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
> /H/\s\do5(/p/)\(3\) and 
> /H/\s\do5(/p/)\(10\)
> 
> where it should be Hp(0.07) etcetra with H italic and p roman subscript 
> coming from 
> $H_{\mathrm{p}}(0.07)$
> 
> The pdf export is fine and the html export is ok.
> 
> Please give me some tips where to start getting it right; I have to cooperate 
> with
> Windows/Office colleages. My system Ubuntu 12.04, Lyx 2.0.2, latex2rtf 1.9.19
> 
> By the way export to openoffice results in one blank page of about 30kb. 
> Thanks for helping,
> Janwillem

You could try out pandoc (LyX -> html -> odt) - I posted some info about using 
pandoc recently.
And the advantage is, that it is quite robust.

Worked OK for me, but no idea about inline math.

Cheers,

Rainer

> 
> 
> 
> 
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+RDUAACgkQoYgNqgF2egonLQCeKZxKLzX7bArqYNi8tqqWnBIk
Mx8An2AS8ZcJWzIXnMVmoxpk0REOSExC
=APkX
-END PGP SIGNATURE-


Re: LyX export to RTF

2012-04-20 Thread Janwillem van Dijk

Dear Rainer,
Thanks for your answer. I guess you men "Conversion to doc via pandoc" 
of 16-04-2012. Browsing the discussion this looks promising. 
Unfortunately my LyX and LaTeX skills are sub-standard and I would 
greatly appreciate some more detailed step by help on the use of \format 
and \converter.

Many thanks, Janwillem


Re: LyX export to RTF

2012-04-20 Thread Enrico Forestieri
Janwillem van Dijk writes:

>   Use operational quantities defined in
> ICRU51: H\s\do5(p)\(0.07\),
>   H\s\do5(p)\(3\)
> and H\s\do5(p)\(10\)
>   where it should be Hp(0.07) etcetra with H italic and p roman
> subscript coming from $H_{\mathrm{p}}(0.07)$

Please have a look at
http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf

Note that starting with latex2rtf 1.9.19 the meaning of the -p option
has been reversed, so you may need to remove this option from the
converter automatically setup by LyX.

I am still using 1.9.17 and everything works fine for me. Equations,
crossreferences, bibliography, and figures are all perfectly converted.
I tried any other way discussed in this list to get a msword readable
file, but all of them are much inferior to the results I obtain with
latex2rtf. YMMV, of course.

-- 
Enrico



Re: LyX export to RTF

2012-04-20 Thread Wilfried
Janwillem van Dijk <jwevand...@xs4all.nl> wrote:

> I have a paper written in Lyx that when exported to rtf produces more or 
> less garbage. Everywhere where there is inline math the text get 
> corruptes. Also the references in the text are corruped. The references 
> come from a BibTeX that is an export from Zotero.
> 
> an example:
> 
> Use terms and definitions issued by the Joint Committee on Guides in 
> Metrology, JCGM 
> joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s 
> [...]
> 
> or:
> 
> Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
> /H/\s\do5(/p/)\(3\) and /H/\s\do5(/p/)\(10\)
> 
> where it should be Hp(0.07) etcetra with H italic and p roman subscript 
> coming from $H_{\mathrm{p}}(0.07)$

Did you open the rtf file in OpenOffice or LibreOffice for seeing the
garbage?
Forget about OO/LO, rtf import to OO and LO is severely broken.
The rtf will open correctly only in MS Word.

Wilfried (one of the maintainers of latex2rtf)



LyX export to RTF

2012-04-19 Thread Janwillem van Dijk
I have a paper written in Lyx that when exported to rtf produces more or 
less garbage. Everywhere where there is inline math the text get 
corruptes. Also the references in the text are corruped. The references 
come from a BibTeX that is an export from Zotero.


an example:

Use terms and definitions issued by the Joint Committee on Guides in 
Metrology, JCGM 
joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008-1,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)011,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)009 




or:

Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
/H/\s\do5(/p/)\(3\) and /H/\s\do5(/p/)\(10\)


where it should be Hp(0.07) etcetra with H italic and p roman subscript 
coming from $H_{\mathrm{p}}(0.07)$


The pdf export is fine and the html export is ok.

Please give me some tips where to start getting it right; I have to 
cooperate with Windows/Office colleages.

My system Ubuntu 12.04, Lyx 2.0.2, latex2rtf 1.9.19

By the way export to openoffice results in one blank page of about 30kb.
Thanks for helping, Janwillem







LyX export to RTF

2012-04-19 Thread Janwillem van Dijk
I have a paper written in Lyx that when exported to rtf produces more or 
less garbage. Everywhere where there is inline math the text get 
corruptes. Also the references in the text are corruped. The references 
come from a BibTeX that is an export from Zotero.


an example:

Use terms and definitions issued by the Joint Committee on Guides in 
Metrology, JCGM 
joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008-1,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)011,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)009 




or:

Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
/H/\s\do5(/p/)\(3\) and /H/\s\do5(/p/)\(10\)


where it should be Hp(0.07) etcetra with H italic and p roman subscript 
coming from $H_{\mathrm{p}}(0.07)$


The pdf export is fine and the html export is ok.

Please give me some tips where to start getting it right; I have to 
cooperate with Windows/Office colleages.

My system Ubuntu 12.04, Lyx 2.0.2, latex2rtf 1.9.19

By the way export to openoffice results in one blank page of about 30kb.
Thanks for helping, Janwillem







LyX export to RTF

2012-04-19 Thread Janwillem van Dijk
I have a paper written in Lyx that when exported to rtf produces more or 
less garbage. Everywhere where there is inline math the text get 
corruptes. Also the references in the text are corruped. The references 
come from a BibTeX that is an export from Zotero.


an example:

Use terms and definitions issued by the Joint Committee on Guides in 
Metrology, JCGM 
joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)008-1,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)011,joint\s\do5(c)ommittee\s\do5(f)or\s\do5(g)uides\s\do5(i)n\s\do5(m)etrology\s\do5(e)valuation\s\do5(2)009 




or:

Use operational quantities defined in ICRU51: /H/\s\do5(/p/)\(0.07\), 
/H/\s\do5(/p/)\(3\) and /H/\s\do5(/p/)\(10\)


where it should be Hp(0.07) etcetra with H italic and p roman subscript 
coming from $H_{\mathrm{p}}(0.07)$


The pdf export is fine and the html export is ok.

Please give me some tips where to start getting it right; I have to 
cooperate with Windows/Office colleages.

My system Ubuntu 12.04, Lyx 2.0.2, latex2rtf 1.9.19

By the way export to openoffice results in one blank page of about 30kb.
Thanks for helping, Janwillem







Re: Importing and RTF document into LyX

2011-05-05 Thread Dr Eberhard W Lisse
Eric,

something like this:

cat  t.pl EOF
#!/usr/bin/perl

while(STDIN) {
s/\\bigskip//;
s/{\\textquotesingle}/'/g;
s/\\ / /g;
s/{}//g;
print;
}
EOF
chmod 755 t.pl
./t.pl  t.tex.ori  t.tex  tex2lyx -f t.tex  open t.lyx

It removes unnecessary \bigskip, replaces \textquotesingle with '
removes empty spaces (\ ) and emptry braces.

If you see ERT in LyX just add the corresponding line into the perl
script and run again.

Now if someonw reading this could let me know how to make a TeXShop
macro to do that...

greetings, el

On 5/3/11 12:37 AM, Eric Weir wrote:
 
 On May 2, 2011, at 6:11 PM, Dr Eberhard W Lisse wrote:
 
 I load the RTF into OpenOffice (NeoOffice to be correct) into
 which I have installed the writer2latex extension and export as
 Ultraclean.  That I manipulate a little with TexShop removing the
 \bigskip and the likes (which I could do with a Perl Script too)
 and then tex2lyx it.

 That works better than rtf2latex.
 
 Thanks, Eberhard.  That sounds preferable to learning about
 compiling rft2latex2e.  I have OO/NO and I'm sure the writer2latex
 extension is readily available.
 
 The problem for me would be the manipulate a little part.  I am
 literally brand new to the TeX/LaTeX/LyX realm.  Importing this
 relatively short and uncomplicated document was to be my first
 step in learning.
 
 Is it possible that with a short, simply formatted document little
 or no manipulating before importing into LyX would be necessary?
 If so, hopefully by the time it becomes necessary to deal with
 bigger more complicated documents I will have learned enough that
 I'll be able to do whatever manipulating is necessary.
 
 Thanks again,
 --
 Eric Weir
 Decatur, GA  USA
 eew...@bellsouth.net
 
 
 
 
 



Re: Importing and RTF document into LyX

2011-05-05 Thread Dr Eberhard W Lisse
Eric,

something like this:

cat  t.pl EOF
#!/usr/bin/perl

while(STDIN) {
s/\\bigskip//;
s/{\\textquotesingle}/'/g;
s/\\ / /g;
s/{}//g;
print;
}
EOF
chmod 755 t.pl
./t.pl  t.tex.ori  t.tex  tex2lyx -f t.tex  open t.lyx

It removes unnecessary \bigskip, replaces \textquotesingle with '
removes empty spaces (\ ) and emptry braces.

If you see ERT in LyX just add the corresponding line into the perl
script and run again.

Now if someonw reading this could let me know how to make a TeXShop
macro to do that...

greetings, el

On 5/3/11 12:37 AM, Eric Weir wrote:
 
 On May 2, 2011, at 6:11 PM, Dr Eberhard W Lisse wrote:
 
 I load the RTF into OpenOffice (NeoOffice to be correct) into
 which I have installed the writer2latex extension and export as
 Ultraclean.  That I manipulate a little with TexShop removing the
 \bigskip and the likes (which I could do with a Perl Script too)
 and then tex2lyx it.

 That works better than rtf2latex.
 
 Thanks, Eberhard.  That sounds preferable to learning about
 compiling rft2latex2e.  I have OO/NO and I'm sure the writer2latex
 extension is readily available.
 
 The problem for me would be the manipulate a little part.  I am
 literally brand new to the TeX/LaTeX/LyX realm.  Importing this
 relatively short and uncomplicated document was to be my first
 step in learning.
 
 Is it possible that with a short, simply formatted document little
 or no manipulating before importing into LyX would be necessary?
 If so, hopefully by the time it becomes necessary to deal with
 bigger more complicated documents I will have learned enough that
 I'll be able to do whatever manipulating is necessary.
 
 Thanks again,
 --
 Eric Weir
 Decatur, GA  USA
 eew...@bellsouth.net
 
 
 
 
 



Re: Importing and RTF document into LyX

2011-05-05 Thread Dr Eberhard W Lisse
Eric,

something like this:

cat > t.pl <) {
s/\\bigskip//;
s/{\\textquotesingle}/'/g;
s/\\ / /g;
s/{}//g;
print;
}
EOF
chmod 755 t.pl
./t.pl < t.tex.ori > t.tex && tex2lyx -f t.tex && open t.lyx

It removes unnecessary \bigskip, replaces \textquotesingle with '
removes empty spaces (\ ) and emptry braces.

If you see ERT in LyX just add the corresponding line into the perl
script and run again.

Now if someonw reading this could let me know how to make a TeXShop
macro to do that...

greetings, el

On 5/3/11 12:37 AM, Eric Weir wrote:
> 
> On May 2, 2011, at 6:11 PM, Dr Eberhard W Lisse wrote:
> 
>> I load the RTF into OpenOffice (NeoOffice to be correct) into
>> which I have installed the writer2latex extension and export as
>> Ultraclean.  That I manipulate a little with TexShop removing the
>> \bigskip and the likes (which I could do with a Perl Script too)
>> and then tex2lyx it.
>>
>> That works better than rtf2latex.
> 
> Thanks, Eberhard.  That sounds preferable to learning about
> compiling rft2latex2e.  I have OO/NO and I'm sure the writer2latex
> extension is readily available.
> 
> The problem for me would be the "manipulate a little" part.  I am
> literally brand new to the TeX/LaTeX/LyX realm.  Importing this
> relatively short and uncomplicated document was to be my first
> step in learning.
> 
> Is it possible that with a short, simply formatted document little
> or no "manipulating" before importing into LyX would be necessary?
> If so, hopefully by the time it becomes necessary to deal with
> bigger more complicated documents I will have learned enough that
> I'll be able to do whatever manipulating is necessary.
> 
> Thanks again,
> --
> Eric Weir
> Decatur, GA  USA
> eew...@bellsouth.net
> 
> 
> 
> 
> 



Re: Importing and RTF document into LyX

2011-05-04 Thread Eric Weir

On May 2, 2011, at 7:37 PM, Eric Weir wrote:

 On May 2, 2011, at 6:11 PM, Dr Eberhard W Lisse wrote:
 
 I load the RTF into OpenOffice (NeoOffice to be correct) into which
 I have installed the writer2latex extension and export as Ultraclean.
 That I manipulate a little with TexShop removing the \bigskip and the
 likes (which I could do with a Perl Script too) and then tex2lyx it.
 
 That works better than rtf2latex.
 
 Thanks, Eberhard. That sounds preferable to learning about compiling 
 rft2latex2e. I have OO/NO and I'm sure the writer2latex extension is readily 
 available. 

Actually, shortly after posting this I discovered an even more elegant 
solution, at least for me. My primary writing application, where I do 
everything prior to formatting for publication, is Scrivener. Turns out 
Scrivener has MultiMarkDown built in, and Scrivener documents can be compiled 
as MMD documents to Latex. 

Not only is the MMD syntax very simple -- as one person on Scrivener's users 
forum said, it's not very syntactical at all -- Scrivener takes care of a 
good deal of it during compiling. 

Haven't tried it yet. Imagine there'll be a few kinks that will have to worked 
out, but they'll undoubtedly nothing near as daunting as compiling rtf2latex2e 
and getting it properly installed. 

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Importing and RTF document into LyX

2011-05-04 Thread Eric Weir

On May 2, 2011, at 7:37 PM, Eric Weir wrote:

 On May 2, 2011, at 6:11 PM, Dr Eberhard W Lisse wrote:
 
 I load the RTF into OpenOffice (NeoOffice to be correct) into which
 I have installed the writer2latex extension and export as Ultraclean.
 That I manipulate a little with TexShop removing the \bigskip and the
 likes (which I could do with a Perl Script too) and then tex2lyx it.
 
 That works better than rtf2latex.
 
 Thanks, Eberhard. That sounds preferable to learning about compiling 
 rft2latex2e. I have OO/NO and I'm sure the writer2latex extension is readily 
 available. 

Actually, shortly after posting this I discovered an even more elegant 
solution, at least for me. My primary writing application, where I do 
everything prior to formatting for publication, is Scrivener. Turns out 
Scrivener has MultiMarkDown built in, and Scrivener documents can be compiled 
as MMD documents to Latex. 

Not only is the MMD syntax very simple -- as one person on Scrivener's users 
forum said, it's not very syntactical at all -- Scrivener takes care of a 
good deal of it during compiling. 

Haven't tried it yet. Imagine there'll be a few kinks that will have to worked 
out, but they'll undoubtedly nothing near as daunting as compiling rtf2latex2e 
and getting it properly installed. 

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Importing and RTF document into LyX

2011-05-04 Thread Eric Weir

On May 2, 2011, at 7:37 PM, Eric Weir wrote:

> On May 2, 2011, at 6:11 PM, Dr Eberhard W Lisse wrote:
> 
>> I load the RTF into OpenOffice (NeoOffice to be correct) into which
>> I have installed the writer2latex extension and export as Ultraclean.
>> That I manipulate a little with TexShop removing the \bigskip and the
>> likes (which I could do with a Perl Script too) and then tex2lyx it.
>> 
>> That works better than rtf2latex.
> 
> Thanks, Eberhard. That sounds preferable to learning about compiling 
> rft2latex2e. I have OO/NO and I'm sure the writer2latex extension is readily 
> available. 

Actually, shortly after posting this I discovered an even more elegant 
solution, at least for me. My primary writing application, where I do 
everything prior to formatting for publication, is Scrivener. Turns out 
Scrivener has MultiMarkDown built in, and Scrivener documents can be compiled 
as MMD documents to Latex. 

Not only is the MMD "syntax" very simple -- as one person on Scrivener's users 
forum said, it's not very "syntactical" at all -- Scrivener takes care of a 
good deal of it during compiling. 

Haven't tried it yet. Imagine there'll be a few kinks that will have to worked 
out, but they'll undoubtedly nothing near as daunting as compiling rtf2latex2e 
and getting it properly installed. 

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Importing and RTF document into LyX

2011-05-02 Thread Eric Weir

On May 2, 2011, at 2:15 AM, Stephan Witt wrote:

 I have no clue about mac or rtf2latex2e, but I hear there are projects such 
 as fink and macports which make it easy to install applications like this 
 one.
 
 I have it installed with the help of macports.

Thanks, Stephan. I'll check it out. 

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Importing and RTF document into LyX

2011-05-02 Thread Eric Weir

On May 2, 2011, at 2:15 AM, Stephan Witt wrote:

 I have no clue about mac or rtf2latex2e, but I hear there are projects such 
 as fink and macports which make it easy to install applications like this 
 one.
 
 I have it installed with the help of macports.

Thanks, Stephan. I'll check it out. 

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Importing and RTF document into LyX

2011-05-02 Thread Eric Weir

On May 2, 2011, at 2:15 AM, Stephan Witt wrote:

>> I have no clue about mac or rtf2latex2e, but I hear there are projects such 
>> as fink and macports which make it easy to install applications like this 
>> one.
> 
> I have it installed with the help of macports.

Thanks, Stephan. I'll check it out. 

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net






Re: Importing and RTF document into LyX

2011-05-01 Thread Julien Rioux

On 01/05/2011 11:03 PM, Eric Weir wrote:


On May 1, 2011, at 10:48 PM, Eric Weir wrote:


I looked in the scripts folder of the LyX package. It's not there. I ran it in terminal, 
and the result was: -bash: rtf2latex2e: command not found. Is it a LyX 
specific script? Or is it used in the wider LaTeX community?

My copy of LyX came in the MacTeX-Extras package. My installation of TeX also 
came from MacTeX, but it's the BasicTeX package, not the full TeX Live package.


After posting the above I Googled it and now have a copy. I see it has to be 
compiled. The instructions are explicit for those who know how to do it. They 
are vague to me.

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net



Hi Eric,

I have no clue about mac or rtf2latex2e, but I hear there are projects 
such as fink and macports which make it easy to install applications 
like this one. Here are some relevant posts from the past:


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg69619.html
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62693.html

Good luck,
Julien


Re: Importing and RTF document into LyX

2011-05-01 Thread Julien Rioux

On 01/05/2011 11:03 PM, Eric Weir wrote:


On May 1, 2011, at 10:48 PM, Eric Weir wrote:


I looked in the scripts folder of the LyX package. It's not there. I ran it in terminal, 
and the result was: -bash: rtf2latex2e: command not found. Is it a LyX 
specific script? Or is it used in the wider LaTeX community?

My copy of LyX came in the MacTeX-Extras package. My installation of TeX also 
came from MacTeX, but it's the BasicTeX package, not the full TeX Live package.


After posting the above I Googled it and now have a copy. I see it has to be 
compiled. The instructions are explicit for those who know how to do it. They 
are vague to me.

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net



Hi Eric,

I have no clue about mac or rtf2latex2e, but I hear there are projects 
such as fink and macports which make it easy to install applications 
like this one. Here are some relevant posts from the past:


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg69619.html
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62693.html

Good luck,
Julien


Re: Importing and RTF document into LyX

2011-05-01 Thread Julien Rioux

On 01/05/2011 11:03 PM, Eric Weir wrote:


On May 1, 2011, at 10:48 PM, Eric Weir wrote:


I looked in the scripts folder of the LyX package. It's not there. I ran it in terminal, 
and the result was: "-bash: rtf2latex2e: command not found". Is it a LyX 
specific script? Or is it used in the wider LaTeX community?

My copy of LyX came in the MacTeX-Extras package. My installation of TeX also 
came from MacTeX, but it's the BasicTeX package, not the full TeX Live package.


After posting the above I Googled it and now have a copy. I see it has to be 
compiled. The instructions are explicit for those who know how to do it. They 
are vague to me.

--
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net



Hi Eric,

I have no clue about mac or rtf2latex2e, but I hear there are projects 
such as fink and macports which make it easy to install applications 
like this one. Here are some relevant posts from the past:


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg69619.html
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62693.html

Good luck,
Julien


More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Jan 27, 2011, at 11:00 AM, Kevin Middleton wrote:
 
 On Jan 27, 2011, at 7:12 AM, Richard Heck wrote:
 
 On 01/24/2011 09:07 AM, Michelle Bottorff wrote:
 
 I think my personal preference would be to run Lyx or even just rtf2latex2e 
 from the terminalsnip
 
 Can someone on Mac help Michelle here?
 
 From the terminal,
 
 /Applications/LyX.app/Contents/MacOS/lyx

Thank you Kevin!
(Thank you Richard also, I really appreciate you taking the time to respond.)

My terminal error for the failed rtf import says  sh: rtf2latex2e: command not 
found.  Which sounds like either a path error or a missing file, is that right?

And,  catching up with the rest of the list... 

... I discover that that the problem is most likely that the needed files 
aren't there.  
...that it is almost certainly that they aren't there . 

So I have downloaded the package linked to by Mathias!  -- Thank you Mathias!

... and asking  which latex2rtf  as BH advised Mathias to do --Thank you BH!
now gets me /usr/local/bin/latex2rtf

But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.

asking the terminal which latext2rtf2e gets me nothing.

Now what?  Do I need to hunt down a different package, or do I need to set Lyx 
up to use the files I just downloaded?




Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 09:21 AM, Michelle Bottorff wrote:


... and asking  which latex2rtf  as BH advised Mathias to do --Thank you BH!
now gets me /usr/local/bin/latex2rtf


That is good. It will allow you to export to RTF, but not to import.


But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.


Note: rtf2latex2e, not the other way around.


asking the terminal which latext2rtf2e gets me nothing.

If you try which rtf2latex2e, you will probably also get nothing, in 
which case that program is not installed.



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

Richard




Re: More RTF import errors

2011-02-02 Thread Mathias Girel
On Wed, Feb 2, 2011 at 3:47 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/02/2011 09:21 AM, Michelle Bottorff wrote:

 ... and asking  which latex2rtf  as BH advised Mathias to do --Thank you
 BH!
 now gets me /usr/local/bin/latex2rtf

 That is good. It will allow you to export to RTF, but not to import.

Yes. After two or three days, I confirm that the installer for which I
provided the link works perfectly. I have contacted the author to
thank him and he tells me that he might update the latex2rtf version.

But that will still not do for importing!
Best
MG


Re: More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:

 On 02/02/2011 09:21 AM, Michelle Bottorff wrote:
 
 ... and asking  which latex2rtf  as BH advised Mathias to do --Thank you 
 BH!
 now gets me /usr/local/bin/latex2rtf
 
 That is good. It will allow you to export to RTF, but not to import.

So it does.  And it works perfectly!  Great, half-way there.  :)

 Note: rtf2latex2e, not the other way around.

D'oh.  Me feel dumb. 

 asking the terminal which latext2rtf2e gets me nothing.
 
 If you try which rtf2latex2e, you will probably also get nothing, in which 
 case that program is not installed.

Yeah, I tried that the right way round, and it wasn't there.  So...

 
 Now what?  Do I need to hunt down a different package...?
 
 Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
 it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.  
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.
(They're supposed to be on my install disk, but my optical drive is shot, and 
so I can't actually read my install disk anymore.)   :(





Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 11:31 AM, Michelle Bottorff wrote:

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.

Yes, I had to go through this, too. This is because macports compiles 
everything right on your machine.


Richard



More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Jan 27, 2011, at 11:00 AM, Kevin Middleton wrote:
 
 On Jan 27, 2011, at 7:12 AM, Richard Heck wrote:
 
 On 01/24/2011 09:07 AM, Michelle Bottorff wrote:
 
 I think my personal preference would be to run Lyx or even just rtf2latex2e 
 from the terminalsnip
 
 Can someone on Mac help Michelle here?
 
 From the terminal,
 
 /Applications/LyX.app/Contents/MacOS/lyx

Thank you Kevin!
(Thank you Richard also, I really appreciate you taking the time to respond.)

My terminal error for the failed rtf import says  sh: rtf2latex2e: command not 
found.  Which sounds like either a path error or a missing file, is that right?

And,  catching up with the rest of the list... 

... I discover that that the problem is most likely that the needed files 
aren't there.  
...that it is almost certainly that they aren't there . 

So I have downloaded the package linked to by Mathias!  -- Thank you Mathias!

... and asking  which latex2rtf  as BH advised Mathias to do --Thank you BH!
now gets me /usr/local/bin/latex2rtf

But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.

asking the terminal which latext2rtf2e gets me nothing.

Now what?  Do I need to hunt down a different package, or do I need to set Lyx 
up to use the files I just downloaded?




Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 09:21 AM, Michelle Bottorff wrote:


... and asking  which latex2rtf  as BH advised Mathias to do --Thank you BH!
now gets me /usr/local/bin/latex2rtf


That is good. It will allow you to export to RTF, but not to import.


But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.


Note: rtf2latex2e, not the other way around.


asking the terminal which latext2rtf2e gets me nothing.

If you try which rtf2latex2e, you will probably also get nothing, in 
which case that program is not installed.



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

Richard




Re: More RTF import errors

2011-02-02 Thread Mathias Girel
On Wed, Feb 2, 2011 at 3:47 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/02/2011 09:21 AM, Michelle Bottorff wrote:

 ... and asking  which latex2rtf  as BH advised Mathias to do --Thank you
 BH!
 now gets me /usr/local/bin/latex2rtf

 That is good. It will allow you to export to RTF, but not to import.

Yes. After two or three days, I confirm that the installer for which I
provided the link works perfectly. I have contacted the author to
thank him and he tells me that he might update the latex2rtf version.

But that will still not do for importing!
Best
MG


Re: More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:

 On 02/02/2011 09:21 AM, Michelle Bottorff wrote:
 
 ... and asking  which latex2rtf  as BH advised Mathias to do --Thank you 
 BH!
 now gets me /usr/local/bin/latex2rtf
 
 That is good. It will allow you to export to RTF, but not to import.

So it does.  And it works perfectly!  Great, half-way there.  :)

 Note: rtf2latex2e, not the other way around.

D'oh.  Me feel dumb. 

 asking the terminal which latext2rtf2e gets me nothing.
 
 If you try which rtf2latex2e, you will probably also get nothing, in which 
 case that program is not installed.

Yeah, I tried that the right way round, and it wasn't there.  So...

 
 Now what?  Do I need to hunt down a different package...?
 
 Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
 it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.  
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.
(They're supposed to be on my install disk, but my optical drive is shot, and 
so I can't actually read my install disk anymore.)   :(





Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 11:31 AM, Michelle Bottorff wrote:

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.

Yes, I had to go through this, too. This is because macports compiles 
everything right on your machine.


Richard



More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Jan 27, 2011, at 11:00 AM, Kevin Middleton wrote:
> 
> On Jan 27, 2011, at 7:12 AM, Richard Heck wrote:
> 
>> On 01/24/2011 09:07 AM, Michelle Bottorff wrote:
>>> 
>>> I think my personal preference would be to run Lyx or even just rtf2latex2e 
>>> from the terminal
>>> 
>> Can someone on Mac help Michelle here?
> 
> From the terminal,
> 
> /Applications/LyX.app/Contents/MacOS/lyx

Thank you Kevin!
(Thank you Richard also, I really appreciate you taking the time to respond.)

My terminal error for the failed rtf import says  "sh: rtf2latex2e: command not 
found".  Which sounds like either a path error or a missing file, is that right?

And,  catching up with the rest of the list... 

... I discover that that the problem is most likely that the needed files 
aren't there.  
...that it is almost certainly that they aren't there . 

So I have downloaded the package linked to by Mathias!  -- Thank you Mathias!

... and asking " which latex2rtf"  as BH advised Mathias to do --Thank you BH!
now gets me "/usr/local/bin/latex2rtf"

But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.

asking the terminal "which latext2rtf2e" gets me nothing.

Now what?  Do I need to hunt down a different package, or do I need to set Lyx 
up to use the files I just downloaded?




Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 09:21 AM, Michelle Bottorff wrote:


... and asking " which latex2rtf"  as BH advised Mathias to do --Thank you BH!
now gets me "/usr/local/bin/latex2rtf"


That is good. It will allow you to export to RTF, but not to import.


But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.


Note: rtf2latex2e, not the other way around.


asking the terminal "which latext2rtf2e" gets me nothing.

If you try "which rtf2latex2e", you will probably also get nothing, in 
which case that program is not installed.



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

Richard




  1   2   3   4   5   6   >