Angus Leeming wrote:
Nirmal Govind wrote:


Hi... I have a figure float in my document and this float is
commented... so it doesn't show up in the ouput.. but when LyX tries
to view pdflatex then it tries to convert this eps figure to pdf and
gives me an error saying epstopdf couldn't convert the eps to pdf..
this file was created in Adobe Illustrator and for some reason
epstopdf can't convert it to pdf (and hence I get the error) but the
question is - should LyX *try* to convert this figure which is in a
comment? The pdf output shows up fine though (w/o the figure i.e.)
so that's not a problem, just that the error box pops up... I'm not
sure if this can be called a bug or if this is something
intentional...

Sounds like a bug to me.


When you mean "comment", do you mean that the latex file contains

%% This is the code in a comment
%% with a \includegraphics{foobar}

No, if he uses the comment environment, it will be \begin{comment} \begin{figure} [...] \end{figure} \end{comment}

I think this is a restriction of the verbatim package (which provides the comment environment).

You could either use a note inset instead of the comment environment or try an ERT % just before the float.


Could you file a bug report?

I don't think this is LyX related.


J�rgen.





Reply via email to