Helge Hafting
Fri, 05 Feb 2010 03:26:41 -0800
After applying lots of such settings over and over, a grouping wouldbe useful, in the same manner as for graphics. When several listings belong to the same group, changing settings for one changes the settings for all in that group. And new code snippets just need to be added to the correct group, so the user won't have to re-apply several settings each time.
These "listing groups" should ideally work both for code snippets in the document, as well as code included from external files. In lyx 1.6 they don't have the same settings dialog, which is is unfortunate. (For code from a file, I need to type "language=C", for code inside the document, I can select "C" from a pulldown menu.)
I understand that this might be some work. It'd be nice if the lyx 2.0 file format includes this change - even if it doesn't get implemented in the user interface. That way, the user interface can come when someone finds the time, because the file format is in place. (Just a group setting for internal and external code listings.)
Helge Hafting