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 
 
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 - docbook - rtf, etc.

2002-08-19 Thread José Abílio Oliveira Matos

On Wed, Aug 14, 2002 at 10:05:50AM -0700, David Koski wrote:
 Hello,
 
 Anyone using lyx to produce docbook to convert to rtf, or pdf?  I haven't had much 
success.

  What are the problems you have?
  
 David Koski
 [EMAIL PROTECTED]

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)



Re: lyx - docbook - rtf, etc.

2002-08-19 Thread José Abílio Oliveira Matos

On Wed, Aug 14, 2002 at 10:05:50AM -0700, David Koski wrote:
 Hello,
 
 Anyone using lyx to produce docbook to convert to rtf, or pdf?  I haven't had much 
success.

  What are the problems you have?
  
 David Koski
 [EMAIL PROTECTED]

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)



Re: lyx -> docbook -> rtf, etc.

2002-08-19 Thread José Abílio Oliveira Matos

On Wed, Aug 14, 2002 at 10:05:50AM -0700, David Koski wrote:
> Hello,
> 
> Anyone using lyx to produce docbook to convert to rtf, or pdf?  I haven't had much 
>success.

  What are the problems you have?
  
> David Koski
> [EMAIL PROTECTED]

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)



Re: .lyx to .rtf

2001-12-08 Thread Jose Abilio Oliveira Matos

On Fri, Dec 07, 2001 at 08:42:08PM +0200, Sinisa Milivojevic wrote:
 
 Sorry to bother you and reply to me directly as I am not subscribed to
 the list.
 
 A quick and dirty question. 
 
 How to export .lyx to .rtf or even better to .doc (any M$ Word
 format).
 
 I guess  it goes through SGML, but I truly forgot how . ;o)

  That depends on lots of issues:
  
If the backend that you use in lyx is linuxdoc or docbook then you
are done, both have ways to convert them directly to  rtf, from there
you know how to proceed. :-)

sgml2rtf (for linuxdoc)
db2rtf (for docbook)

For the latex backend you can export your document  to latex and
from there convert it with latex2rtf to rtf.

 See for more information http://www.lyx.org/help/converter.html
 
 Check there the (small) section on latex - others.
 
 One other option is to export the lyx document to html and import
it in word.

   I hope this helps.
   
 Many thanks in advance !
 
 -- 
 Regards,
__  ___ ___   __
   /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED]
  / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
 /_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
___/   www.mysql.com

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)



Re: .lyx to .rtf

2001-12-08 Thread Jose Abilio Oliveira Matos

On Fri, Dec 07, 2001 at 08:42:08PM +0200, Sinisa Milivojevic wrote:
 
 Sorry to bother you and reply to me directly as I am not subscribed to
 the list.
 
 A quick and dirty question. 
 
 How to export .lyx to .rtf or even better to .doc (any M$ Word
 format).
 
 I guess  it goes through SGML, but I truly forgot how . ;o)

  That depends on lots of issues:
  
If the backend that you use in lyx is linuxdoc or docbook then you
are done, both have ways to convert them directly to  rtf, from there
you know how to proceed. :-)

sgml2rtf (for linuxdoc)
db2rtf (for docbook)

For the latex backend you can export your document  to latex and
from there convert it with latex2rtf to rtf.

 See for more information http://www.lyx.org/help/converter.html
 
 Check there the (small) section on latex - others.
 
 One other option is to export the lyx document to html and import
it in word.

   I hope this helps.
   
 Many thanks in advance !
 
 -- 
 Regards,
__  ___ ___   __
   /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED]
  / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
 /_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
___/   www.mysql.com

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)



Re: .lyx to .rtf

2001-12-08 Thread Jose Abilio Oliveira Matos

On Fri, Dec 07, 2001 at 08:42:08PM +0200, Sinisa Milivojevic wrote:
> 
> Sorry to bother you and reply to me directly as I am not subscribed to
> the list.
> 
> A quick and dirty question. 
> 
> How to export .lyx to .rtf or even better to .doc (any M$ Word
> format).
> 
> I guess  it goes through SGML, but I truly forgot how . ;o)

  That depends on lots of issues:
  
If the backend that you use in lyx is linuxdoc or docbook then you
are done, both have ways to convert them directly to  rtf, from there
you know how to proceed. :-)

sgml2rtf (for linuxdoc)
db2rtf (for docbook)

For the latex backend you can export your document  to latex and
from there convert it with latex2rtf to rtf.

 See for more information http://www.lyx.org/help/converter.html
 
 Check there the (small) section on latex <-> others.
 
 One other option is to export the lyx document to html and import
it in word.

   I hope this helps.
   
> Many thanks in advance !
> 
> -- 
> Regards,
>__  ___ ___   __
>   /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
>  / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
> /_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
><___/   www.mysql.com

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)



Re: Lyx to RTF

2000-06-29 Thread Herbert Voss

 The problem is that I have to present it for a contest and the
 organization only accepts formats that can be read with MS Word :-((
 Is there any way to convert my document to RTF (or other format that can
 be read by Word)???

choose lyx-tex-html-rtf

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss




Re: Lyx to RTF

2000-06-29 Thread Jean-Pierre.Chretien


Date: Wed, 28 Jun 2000 13:07:14 +0200
From: Isaac Barona Martínez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Lyx to RTF


Hi all!!

I have just finished my thesis using lyx. It's about 250 pages with lots
of pictures and tables and I haven't had any problem.

The problem is that I have to present it for a contest and the
organization only accepts formats that can be read with MS Word :-((
Is there any way to convert my document to RTF (or other format that can
be read by Word)???

Thanks in advance.

Best regards from Spain,
Isaac.

They don't even accept PS or PDF ? What happen when they want to print ?
Well it can't be helped, I suppose, and everybody has to cope with
it one day or another.

Going through RTF is no good IMHO, I use latex2HTML in the following way:
  - convert with increased resolution for images (display formulas are better
   when printed)
  - postfilter the produced HTML for typical M$ codes (ligatures, guillemets,..)
  and justification (replace P by P ALIGN="JUSTIFY")
  - copy the produced files in Windows
  - open M$ Word
  - open file
  - save as .doc
  - VERY IMPORTANT !!! : in Edit, remove links on all images, otherwise the .doc
  cannot be moved (the links are absolute ones, I suspect).
  
 One (big) drawback: the inline equations (which are all right
 in HTML) are 0.5mm over the baselines in .doc. This comes from the fact 
 that there is no option to deal separately with inline and display
 equations, it would be much better to translate inline equation in MATHML
 or SYMBOL like tth.
 
 Using tth works also, but it looses the very good typography
 of display equations.
 
 I'm currently looking forward hacking the code of latex2html to force
 the translation inside it, but I've no result yet.
 
Perhaps somebody else has a better technique, as Perl motto says:
"There's more than one way to do it."
 
Regards

-- 
Jean-Pierre




Re: Lyx to RTF

2000-06-29 Thread Herbert Voss

 The problem is that I have to present it for a contest and the
 organization only accepts formats that can be read with MS Word :-((
 Is there any way to convert my document to RTF (or other format that can
 be read by Word)???

choose lyx-tex-html-rtf

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss




Re: Lyx to RTF

2000-06-29 Thread Jean-Pierre.Chretien


Date: Wed, 28 Jun 2000 13:07:14 +0200
From: Isaac Barona Martínez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Lyx to RTF


Hi all!!

I have just finished my thesis using lyx. It's about 250 pages with lots
of pictures and tables and I haven't had any problem.

The problem is that I have to present it for a contest and the
organization only accepts formats that can be read with MS Word :-((
Is there any way to convert my document to RTF (or other format that can
be read by Word)???

Thanks in advance.

Best regards from Spain,
Isaac.

They don't even accept PS or PDF ? What happen when they want to print ?
Well it can't be helped, I suppose, and everybody has to cope with
it one day or another.

Going through RTF is no good IMHO, I use latex2HTML in the following way:
  - convert with increased resolution for images (display formulas are better
   when printed)
  - postfilter the produced HTML for typical M$ codes (ligatures, guillemets,..)
  and justification (replace P by P ALIGN="JUSTIFY")
  - copy the produced files in Windows
  - open M$ Word
  - open file
  - save as .doc
  - VERY IMPORTANT !!! : in Edit, remove links on all images, otherwise the .doc
  cannot be moved (the links are absolute ones, I suspect).
  
 One (big) drawback: the inline equations (which are all right
 in HTML) are 0.5mm over the baselines in .doc. This comes from the fact 
 that there is no option to deal separately with inline and display
 equations, it would be much better to translate inline equation in MATHML
 or SYMBOL like tth.
 
 Using tth works also, but it looses the very good typography
 of display equations.
 
 I'm currently looking forward hacking the code of latex2html to force
 the translation inside it, but I've no result yet.
 
Perhaps somebody else has a better technique, as Perl motto says:
"There's more than one way to do it."
 
Regards

-- 
Jean-Pierre




Re: Lyx to RTF

2000-06-29 Thread Herbert Voss

> The problem is that I have to present it for a contest and the
> organization only accepts formats that can be read with MS Word :-((
> Is there any way to convert my document to RTF (or other format that can
> be read by Word)???

choose lyx->tex->html->rtf

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss




Re: Lyx to RTF

2000-06-29 Thread Jean-Pierre.Chretien


>>Date: Wed, 28 Jun 2000 13:07:14 +0200
>>From: Isaac Barona Martínez <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Lyx to RTF
>>
>>
>>Hi all!!
>>
>>I have just finished my thesis using lyx. It's about 250 pages with lots
>>of pictures and tables and I haven't had any problem.
>>
>>The problem is that I have to present it for a contest and the
>>organization only accepts formats that can be read with MS Word :-((
>>Is there any way to convert my document to RTF (or other format that can
>>be read by Word)???
>>
>>Thanks in advance.
>>
>>Best regards from Spain,
>>Isaac.

They don't even accept PS or PDF ? What happen when they want to print ?
Well it can't be helped, I suppose, and everybody has to cope with
it one day or another.

Going through RTF is no good IMHO, I use latex2HTML in the following way:
  - convert with increased resolution for images (display formulas are better
   when printed)
  - postfilter the produced HTML for typical M$ codes (ligatures, guillemets,..)
  and justification (replace  by )
  - copy the produced files in Windows
  - open M$ Word
  - open file
  - save as .doc
  - VERY IMPORTANT !!! : in Edit, remove links on all images, otherwise the .doc
  cannot be moved (the links are absolute ones, I suspect).
  
 One (big) drawback: the inline equations (which are all right
 in HTML) are 0.5mm over the baselines in .doc. This comes from the fact 
 that there is no option to deal separately with inline and display
 equations, it would be much better to translate inline equation in MATHML
 or SYMBOL like tth.
 
 Using tth works also, but it looses the very good typography
 of display equations.
 
 I'm currently looking forward hacking the code of latex2html to force
 the translation inside it, but I've no result yet.
 
Perhaps somebody else has a better technique, as Perl motto says:
"There's more than one way to do it."
 
Regards

-- 
Jean-Pierre