Re: enumerating lines of code

2007-05-11 Thread Daniel Lohmann
Richard Heck schrieb: 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. Cool! Cool, cool, cool, co

Re: enumerating lines of code

2007-05-11 Thread Richard Heck
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

Re[2]: enumerating lines of code

2007-05-11 Thread Alan G Isaac
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

Re: enumerating lines of code

2007-05-11 Thread Daniel Lohmann
pol wrote: > I would like to automatically enumerate blocks of lines of code, > that is lines formatted as 'lyx code'. > > Enumeration should be carried through all the blocks in the document. > > Any hints? I recommend to use the listings package to typeset your code instead of "Lyx Code". Thi

enumerating lines of code

2007-05-11 Thread pol
I would like to automatically enumerate blocks of lines of code, that is lines formatted as 'lyx code'. Enumeration should be carried through all the blocks in the document. Any hints? thank you Pol