Re: lyx to latex

2017-08-03 Thread Guenter Milde
On 2017-08-03, Patrick Dupre wrote:

> When I generate the pdf file from lyx, every thing is OK.
> If I generate a tex file (plain latex), and then, if I compile it
> with latex, I get:

> ! LaTeX Error: File `Pictures/17ubar_pub.eps.bb' not found.
...
> l.1163 ...raphics[scale=0.51]{Pictures/17ubar_pub}

> The issue is with the pictures.

Yes. Different latex "flavours" accept different graphics formats:

`latex` accepts EPS but no PDF
`pdflatex` accepts PDF, JPEG, PNG, ... but no EPS

What is the original format of the picture 17ubar_pub?

If it is PDF or PNG, then try to export to "LaTeX (pdflatex)" and compile
with pdflatex.


> What does lyx, that latex does not do?

* LyX runs latex and, if required auxiliary commands like bibtex,
  makeindex, ... and again latex (up to three times).

* LyX converts pictures so it is accepted by the converter program
  (latex, pdflatex, xelatex, or lualatex).

* LyX runs postprocessors like ps2pdf to get a PDF from the Postscript
  document generated by "plain" latex.

* ...

In short, everything required to generate the output document.
There are advanced LaTeX editors that do the same.



Günter



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" 
To: "Patrick Dupre" , lyx 
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



lyx to latex

2017-08-03 Thread Patrick Dupre
Hello,

When I generate the pdf file from lyx, every thing is OK.
If I generate a tex file (plain latex), and then, if I compile it
with latex, I get:

! LaTeX Error: File `Pictures/17ubar_pub.eps.bb' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...  
  
l.1163 ...raphics[scale=0.51]{Pictures/17ubar_pub}


The issue is with the pictures.

What does lyx, that latex does not do?

Thank for your help.


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


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