Jean-Marc Lasgouttes wrote:
"Bo Peng" <[EMAIL PROTECTED]> writes:
I just added 4182: Caption in listings inset produce invalid latex code.
This has to be fixed, and I do not understand why JMarc does not like
the trivial "if language != 'latex'" solution.
Because (IIRC) you add it at one particular place of the code without
explaining why it is not done elsewhere.
Could you show the patch again?
JMarc
I actually sent a patch for this, which starts to solve the problem in a
more correct way, IMO. But it's only the beginning (although it does
solve the problem), and at this point it also doesn't apply cleanly. But
it's definitely the way to go --- the Listings inset is doing things
that it should be in terms of encodings and languages. See
http://permalink.gmane.org/gmane.editors.lyx.devel/91323