Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-06-07 Thread Manveru
2011/5/17 Gunnar gun...@taljaren.se:
 On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
 On 14/05/2011 2:47 AM, Gunnar wrote:
  How can I make LyX work with ERT and pdf? (Yes, I need ERT)

 I'm curious what is your use case which requires ERT for includegraphics
 ? Since LyX supports inclusion of any graphics format and does the
 conversion for me, I dare not go back to plain latex, unless I need
 really high quality eps and pdf.

 When the document was first written, a long time ago, images with wrap-around
 text was giving awful results. I haven't tried without ERT and specific
 graphics placement commands for a long time, but things might have changed?


They had changed. Insterting images works really well.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-06-07 Thread Manveru
2011/5/17 Gunnar gun...@taljaren.se:
 On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
 On 14/05/2011 2:47 AM, Gunnar wrote:
  How can I make LyX work with ERT and pdf? (Yes, I need ERT)

 I'm curious what is your use case which requires ERT for includegraphics
 ? Since LyX supports inclusion of any graphics format and does the
 conversion for me, I dare not go back to plain latex, unless I need
 really high quality eps and pdf.

 When the document was first written, a long time ago, images with wrap-around
 text was giving awful results. I haven't tried without ERT and specific
 graphics placement commands for a long time, but things might have changed?


They had changed. Insterting images works really well.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-06-07 Thread Manveru
2011/5/17 Gunnar :
> On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
>> On 14/05/2011 2:47 AM, Gunnar wrote:
>> > How can I make LyX work with ERT and pdf? (Yes, I need ERT)
>>
>> I'm curious what is your use case which requires ERT for includegraphics
>> ? Since LyX supports inclusion of any graphics format and does the
>> conversion for me, I dare not go back to plain latex, unless I need
>> really high quality eps and pdf.
>
> When the document was first written, a long time ago, images with wrap-around
> text was giving awful results. I haven't tried without ERT and specific
> graphics placement commands for a long time, but things might have changed?
>

They had changed. Insterting images works really well.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-17 Thread Gunnar
On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
 On 14/05/2011 2:47 AM, Gunnar wrote:
  How can I make LyX work with ERT and pdf? (Yes, I need ERT)
 
 I'm curious what is your use case which requires ERT for includegraphics
 ? Since LyX supports inclusion of any graphics format and does the
 conversion for me, I dare not go back to plain latex, unless I need
 really high quality eps and pdf.

When the document was first written, a long time ago, images with wrap-around 
text was giving awful results. I haven't tried without ERT and specific 
graphics placement commands for a long time, but things might have changed?


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-17 Thread Gunnar
On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
 On 14/05/2011 2:47 AM, Gunnar wrote:
  How can I make LyX work with ERT and pdf? (Yes, I need ERT)
 
 I'm curious what is your use case which requires ERT for includegraphics
 ? Since LyX supports inclusion of any graphics format and does the
 conversion for me, I dare not go back to plain latex, unless I need
 really high quality eps and pdf.

When the document was first written, a long time ago, images with wrap-around 
text was giving awful results. I haven't tried without ERT and specific 
graphics placement commands for a long time, but things might have changed?


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-17 Thread Gunnar
On Monday 16 May 2011 18.15.43 Julien Rioux wrote:
> On 14/05/2011 2:47 AM, Gunnar wrote:
> > How can I make LyX work with ERT and pdf? (Yes, I need ERT)
> 
> I'm curious what is your use case which requires ERT for includegraphics
> ? Since LyX supports inclusion of any graphics format and does the
> conversion for me, I dare not go back to plain latex, unless I need
> really high quality eps and pdf.

When the document was first written, a long time ago, images with wrap-around 
text was giving awful results. I haven't tried without ERT and specific 
graphics placement commands for a long time, but things might have changed?


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-16 Thread Julien Rioux

On 14/05/2011 2:47 AM, Gunnar wrote:

How can I make LyX work with ERT and pdf? (Yes, I need ERT)



I'm curious what is your use case which requires ERT for includegraphics 
? Since LyX supports inclusion of any graphics format and does the 
conversion for me, I dare not go back to plain latex, unless I need 
really high quality eps and pdf.


--
Julien



Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-16 Thread Julien Rioux

On 14/05/2011 2:47 AM, Gunnar wrote:

How can I make LyX work with ERT and pdf? (Yes, I need ERT)



I'm curious what is your use case which requires ERT for includegraphics 
? Since LyX supports inclusion of any graphics format and does the 
conversion for me, I dare not go back to plain latex, unless I need 
really high quality eps and pdf.


--
Julien



Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-16 Thread Julien Rioux

On 14/05/2011 2:47 AM, Gunnar wrote:

How can I make LyX work with ERT and pdf? (Yes, I need ERT)



I'm curious what is your use case which requires ERT for includegraphics 
? Since LyX supports inclusion of any graphics format and does the 
conversion for me, I dare not go back to plain latex, unless I need 
really high quality eps and pdf.


--
Julien



Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-15 Thread Guenter Milde
On 2011-05-14, Gunnar wrote:
 On Saturday 14 May 2011 08.47.45 Gunnar wrote:

 Then I add an ERT

 {\includegraphics{venn5.eps}

 and it works when displaying as ps file but viewing as pdf file gives me
 the error

 ! LaTeX Error: Unknown graphics extension: .eps.

 Well, I exported a LaTeX file and the difference was really just the  four 
 letters:

 .eps

 I removed them and, voilá, problem solved!

But only, if you also have a *.pdf version of the same file.

 So I'd like to re-phrase  my original question:

 why isn't the filename extension .eps  allowed?

The 'pdftex' engine in PDF output mode (command `pdflatex`) does not
support EPS graphics. 

The 'pdftex' engine in DVI output mode (command `latex`) does not support
PDF graphics.

If the argument to \includegraphics has no extension, it is added by the
graphics package depending on the output format and available graphic files.

LyX converts graphics to the required format in a pre-processing step -
but not for ERT (using ERT you are on your own, this is a feature).

 How can I solve that problem?

a) do not use ERT for the graphic input command

b) provide both, EPS and PDF versions and leave out the extension in the
   ERT.
   
Günter   



Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-15 Thread Guenter Milde
On 2011-05-14, Gunnar wrote:
 On Saturday 14 May 2011 08.47.45 Gunnar wrote:

 Then I add an ERT

 {\includegraphics{venn5.eps}

 and it works when displaying as ps file but viewing as pdf file gives me
 the error

 ! LaTeX Error: Unknown graphics extension: .eps.

 Well, I exported a LaTeX file and the difference was really just the  four 
 letters:

 .eps

 I removed them and, voilá, problem solved!

But only, if you also have a *.pdf version of the same file.

 So I'd like to re-phrase  my original question:

 why isn't the filename extension .eps  allowed?

The 'pdftex' engine in PDF output mode (command `pdflatex`) does not
support EPS graphics. 

The 'pdftex' engine in DVI output mode (command `latex`) does not support
PDF graphics.

If the argument to \includegraphics has no extension, it is added by the
graphics package depending on the output format and available graphic files.

LyX converts graphics to the required format in a pre-processing step -
but not for ERT (using ERT you are on your own, this is a feature).

 How can I solve that problem?

a) do not use ERT for the graphic input command

b) provide both, EPS and PDF versions and leave out the extension in the
   ERT.
   
Günter   



Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-15 Thread Guenter Milde
On 2011-05-14, Gunnar wrote:
> On Saturday 14 May 2011 08.47.45 Gunnar wrote:

>> Then I add an ERT

>> {\includegraphics{venn5.eps}

>> and it works when displaying as ps file but viewing as pdf file gives me
>> the error

>> ! LaTeX Error: Unknown graphics extension: .eps.

> Well, I exported a LaTeX file and the difference was really just the  four 
> letters:

> .eps

> I removed them and, voilá, problem solved!

But only, if you also have a *.pdf version of the same file.

> So I'd like to re-phrase  my original question:

> why isn't the filename extension .eps  allowed?

The 'pdftex' engine in PDF output mode (command `pdflatex`) does not
support EPS graphics. 

The 'pdftex' engine in DVI output mode (command `latex`) does not support
PDF graphics.

If the argument to \includegraphics has no extension, it is added by the
graphics package depending on the output format and available graphic files.

LyX converts graphics to the required format in a pre-processing step -
but not for ERT (using ERT you are on your own, this is a feature).

> How can I solve that problem?

a) do not use ERT for the graphic input command

b) provide both, EPS and PDF versions and leave out the extension in the
   ERT.
   
Günter   



eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-14 Thread Gunnar
Hello,

I'm having problem in LyX 2.0.0rc3 (ubuntu has some lag) with a very simple 
test document.

I insert an eps file with Insert - Graphics and I can display the document as 
a pdf file (pdflatex) and as a ps file.
That works fine,
Then I add an ERT

{\includegraphics{venn5.eps}

and it works when displaying as ps file but viewing as pdf file gives me the 
error


! LaTeX Error: Unknown graphics extension: .eps.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.17 {\includegraphics{venn5.eps}
 
Try typing  return  to proceed.
If that doesn't work, type  X return  to quit.



How can I make LyX work with ERT and pdf? (Yes, I need ERT)


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-14 Thread Gunnar
On Saturday 14 May 2011 08.47.45 Gunnar wrote:
 Hello,
 
 I'm having problem in LyX 2.0.0rc3 (ubuntu has some lag) with a very simple
 test document.
 
 I insert an eps file with Insert - Graphics and I can display the document
 as a pdf file (pdflatex) and as a ps file.
 That works fine,
 Then I add an ERT
 
 {\includegraphics{venn5.eps}
 
 and it works when displaying as ps file but viewing as pdf file gives me
 the error
 
 
 ! LaTeX Error: Unknown graphics extension: .eps.


Well, I exported a LaTeX file and the difference was really just the  four 
letters:

.eps

I removed them and, voilá, problem solved!

So I'd like to re-phrase  my original question:

why isn't the filename extension .eps  allowed?
How can I solve that problem?


eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-14 Thread Gunnar
Hello,

I'm having problem in LyX 2.0.0rc3 (ubuntu has some lag) with a very simple 
test document.

I insert an eps file with Insert - Graphics and I can display the document as 
a pdf file (pdflatex) and as a ps file.
That works fine,
Then I add an ERT

{\includegraphics{venn5.eps}

and it works when displaying as ps file but viewing as pdf file gives me the 
error


! LaTeX Error: Unknown graphics extension: .eps.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.17 {\includegraphics{venn5.eps}
 
Try typing  return  to proceed.
If that doesn't work, type  X return  to quit.



How can I make LyX work with ERT and pdf? (Yes, I need ERT)


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-14 Thread Gunnar
On Saturday 14 May 2011 08.47.45 Gunnar wrote:
 Hello,
 
 I'm having problem in LyX 2.0.0rc3 (ubuntu has some lag) with a very simple
 test document.
 
 I insert an eps file with Insert - Graphics and I can display the document
 as a pdf file (pdflatex) and as a ps file.
 That works fine,
 Then I add an ERT
 
 {\includegraphics{venn5.eps}
 
 and it works when displaying as ps file but viewing as pdf file gives me
 the error
 
 
 ! LaTeX Error: Unknown graphics extension: .eps.


Well, I exported a LaTeX file and the difference was really just the  four 
letters:

.eps

I removed them and, voilá, problem solved!

So I'd like to re-phrase  my original question:

why isn't the filename extension .eps  allowed?
How can I solve that problem?


eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-14 Thread Gunnar
Hello,

I'm having problem in LyX 2.0.0rc3 (ubuntu has some lag) with a very simple 
test document.

I insert an eps file with Insert -> Graphics and I can display the document as 
a pdf file (pdflatex) and as a ps file.
That works fine,
Then I add an ERT

{\includegraphics{venn5.eps}

and it works when displaying as ps file but viewing as pdf file gives me the 
error


! LaTeX Error: Unknown graphics extension: .eps.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...  
  
l.17 {\includegraphics{venn5.eps}
 
Try typingto proceed.
If that doesn't work, type  X   to quit.



How can I make LyX work with ERT and pdf? (Yes, I need ERT)


Re: eps graphics fails when displaying in pdf mode if inserted by ERT \includegraphics

2011-05-14 Thread Gunnar
On Saturday 14 May 2011 08.47.45 Gunnar wrote:
> Hello,
> 
> I'm having problem in LyX 2.0.0rc3 (ubuntu has some lag) with a very simple
> test document.
> 
> I insert an eps file with Insert -> Graphics and I can display the document
> as a pdf file (pdflatex) and as a ps file.
> That works fine,
> Then I add an ERT
> 
> {\includegraphics{venn5.eps}
> 
> and it works when displaying as ps file but viewing as pdf file gives me
> the error
> 
> 
> ! LaTeX Error: Unknown graphics extension: .eps.


Well, I exported a LaTeX file and the difference was really just the  four 
letters:

.eps

I removed them and, voilá, problem solved!

So I'd like to re-phrase  my original question:

why isn't the filename extension .eps  allowed?
How can I solve that problem?