Steve Litt wrote:
On Monday 28 July 2008 03:22, Abdelrazak Younes wrote:
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.
Thanks Abdel,
Several months ago I made a policy decision not to use the listings inset, and
I don't remember why I made that decision :-)
Hum... I have a strong feeling of "déjà vu": me suggesting the very same
advice and you answering with the very same answer... getting old :-)
Abdel.