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

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

It's a \begin{comment} as Juergen pointed out..


rather than just a LyX-note that outputs nothing at all?

Nope.. it's there in the tex file alright..


Could you file a bug report?

Yes, I'll do that...


Juergen Spitzmueller wrote:
> 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.

It has to be though -- since the LaTeX file compiles nicely.. it's just that LyX decides to convert a figure that has been commented out ... and still produces the correct output... so as Angus, pointed out, a check to ensure that commented figures are not processed would do it..

Thanks folks..
nirmal



Reply via email to