Alan G Isaac wrote:
> On Fri, 11 May 2007, Daniel Lohmann apparently wrote: 
>   
>> I recommend to use the listings package to typeset your 
>> code instead of "Lyx Code". This basically means that you 
>> have to insert the code in an ERT box. However, the 
>> benefits are numerous: You not only get beautiful listings 
>> (with syntax highlighting etc.), but also can assign 
>> labels to lines that can later be used to refer to the 
>> line number. 
>>     
> The listings package is **wonderful**. Note that it can import specified 
> lines from a source file.
>   
And LyX 1.5.0 will support the listings package directly via a listings
inset (like the ERT inset). This was committed to svn a few days ago.

Richard


-- 
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to