Steve Litt wrote:
Hi all,

I'm not calling this a bug because maybe it was never intended to work this
way, but if I create and use two LyX styles, Code1 and Code2, each of them
with CopyStyle LyX-Code, then on conversion to PDF I get the following error
message:

Hi Steve,

Not directly related to this bug but, FYI, you might want to try the listings inset instead of lyxcode; you would get syntax highlightting for free thanks to the listings LateX package if that's what you are intented to do with your tailored lyxcode styles.

As a side note, the lyxcode environment is a hack and a fragile one. You'd better off using the listings inset, really.

Abdel.

Reply via email to