Re: How to insert colored program listing in LYX

2008-11-05 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Title: MEUNIER-GUTTIN-CLUZEL Hello, Yes, if you first insert the Listings inset and after, you paste your code ( special paste and plain text ... or something like that ... my LyX speaks french ! ). On the screen it was OK and the tree wasn't affected. Remember I'm on Windows XP with LyX

Re: How to insert colored program listing in LYX

2008-11-05 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Hello, Yes, if you choose a fixed length font like Courrier, the layout of the listing is left as in your text editor, with the possibility of syntax highlighting, line numbering and a lot of other possibilities. For me it works very well : I teach Fortran and I use a lot of program extracts

Re: How to insert colored program listing in LYX

2008-11-05 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Title: MEUNIER-GUTTIN-CLUZEL Hello, Yes, if you first insert the Listings inset and after, you paste your code ( special paste and plain text ... or something like that ... my LyX speaks french ! ). On the screen it was OK and the tree wasn't affected. Remember I'm on Windows XP with LyX

Re: How to insert colored program listing in LYX

2008-11-05 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Hello, Yes, if you choose a fixed length font like Courrier, the layout of the listing is left as in your text editor, with the possibility of syntax highlighting, line numbering and a lot of other possibilities. For me it works very well : I teach Fortran and I use a lot of program extracts

Re: How to insert colored program listing in LYX

2008-11-05 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Title: MEUNIER-GUTTIN-CLUZEL Hello, Yes, if you first insert the Listings inset and after, you paste your code ( special paste and plain text ... or something like that ... my LyX speaks french ! ). On the screen it was OK and the tree wasn't affected. Remember I'm on Windows XP with LyX

Re: How to insert colored program listing in LYX

2008-11-05 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Hello, Yes, if you choose a fixed length font like Courrier, the layout of the listing is left as in your text editor, with the possibility of syntax highlighting, line numbering and a lot of other possibilities. For me it works very well : I teach Fortran and I use a lot of program extracts

Re: How to insert colored program listing in LYX

2008-11-04 Thread Robert Orr
I have used this Highlight converter with good results. http://www.andre-simon.de/ Output in Latex and then import into your LyX document. --- On Tue, 11/4/08, Ernesto Posse [EMAIL PROTECTED] wrote: From: Ernesto Posse [EMAIL PROTECTED] Subject: Re: How to insert colored program listing

Re: How to insert colored program listing in LYX

2008-11-04 Thread Paul A. Rubin
Md. Golam Parvez wrote: Hi I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert colored program listing. Thanks in advanced. Golam Parvez First, make sure you have the listings LaTeX package (listings.sty) installed, as well as one of the color packages (color.sty or

Re: How to insert colored program listing in LYX

2008-11-04 Thread Guenter Milde
Md. Golam Parvez schrieb: I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert colored program listing. Thanks in advanced. a) use the listings package http://dante.ctan.org/CTAN/help/Catalogue/entries/listings.html with InsertListing or InsertFileListing (names may

Re: How to insert colored program listing in LYX

2008-11-04 Thread Keith Roberts
On Tue, 4 Nov 2008, Siegfried MEUNIER-GUTTIN-CLUZEL wrote: To: Md. Golam Parvez [EMAIL PROTECTED] From: Siegfried MEUNIER-GUTTIN-CLUZEL [EMAIL PROTECTED] Subject: Re: How to insert colored program listing in LYX Hello, You can use the listings package ( Insert Listings ). If you right-clic

Re: How to insert colored program listing in LYX

2008-11-04 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Hello, You can use the listings package ( Insert Listings ). If you right-clic on the listing insert box, you can choose the language you use and the syntax will be highlighted. In the listings manual there are many options, so I suppose you can change the colors if you really want. Hope it

Re: How to insert colored program listing in LYX

2008-11-04 Thread Ernesto Posse
And if your language is not on the list, and you know a little Python, I recommend Pygments (http://pygments.org) a very nice syntax colouring package that generates, among other things, LaTeX which you then can include as a file in your LyX document. On Tue, Nov 4, 2008 at 7:54 AM, Siegfried

Re: How to insert colored program listing in LYX

2008-11-04 Thread Robert Orr
I have used this Highlight converter with good results. http://www.andre-simon.de/ Output in Latex and then import into your LyX document. --- On Tue, 11/4/08, Ernesto Posse [EMAIL PROTECTED] wrote: From: Ernesto Posse [EMAIL PROTECTED] Subject: Re: How to insert colored program listing

Re: How to insert colored program listing in LYX

2008-11-04 Thread Paul A. Rubin
Md. Golam Parvez wrote: Hi I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert colored program listing. Thanks in advanced. Golam Parvez First, make sure you have the listings LaTeX package (listings.sty) installed, as well as one of the color packages (color.sty or

Re: How to insert colored program listing in LYX

2008-11-04 Thread Guenter Milde
Md. Golam Parvez schrieb: I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert colored program listing. Thanks in advanced. a) use the listings package http://dante.ctan.org/CTAN/help/Catalogue/entries/listings.html with InsertListing or InsertFileListing (names may

Re: How to insert colored program listing in LYX

2008-11-04 Thread Keith Roberts
On Tue, 4 Nov 2008, Siegfried MEUNIER-GUTTIN-CLUZEL wrote: To: Md. Golam Parvez [EMAIL PROTECTED] From: Siegfried MEUNIER-GUTTIN-CLUZEL [EMAIL PROTECTED] Subject: Re: How to insert colored program listing in LYX Hello, You can use the listings package ( Insert Listings ). If you right-clic

Re: How to insert colored program listing in LYX

2008-11-04 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Hello, You can use the listings package ( Insert Listings ). If you right-clic on the listing insert box, you can choose the language you use and the syntax will be highlighted. In the listings manual there are many options, so I suppose you can change the colors if you really want. Hope it

Re: How to insert colored program listing in LYX

2008-11-04 Thread Ernesto Posse
And if your language is not on the list, and you know a little Python, I recommend Pygments (http://pygments.org) a very nice syntax colouring package that generates, among other things, LaTeX which you then can include as a file in your LyX document. On Tue, Nov 4, 2008 at 7:54 AM, Siegfried

Re: How to insert colored program listing in LYX

2008-11-04 Thread Robert Orr
I have used this Highlight converter with good results. http://www.andre-simon.de/ Output in Latex and then import into your LyX document. --- On Tue, 11/4/08, Ernesto Posse <[EMAIL PROTECTED]> wrote: > From: Ernesto Posse <[EMAIL PROTECTED]> > Subject: Re: How to inse

Re: How to insert colored program listing in LYX

2008-11-04 Thread Paul A. Rubin
Md. Golam Parvez wrote: Hi I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert colored program listing. Thanks in advanced. Golam Parvez First, make sure you have the listings LaTeX package (listings.sty) installed, as well as one of the color packages (color.sty or

Re: How to insert colored program listing in LYX

2008-11-04 Thread Guenter Milde
Md. Golam Parvez schrieb: > I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert > colored program listing. Thanks in advanced. a) use the listings package http://dante.ctan.org/CTAN/help/Catalogue/entries/listings.html with Insert>Listing or Insert>File>Listing (names

Re: How to insert colored program listing in LYX

2008-11-04 Thread Keith Roberts
On Tue, 4 Nov 2008, Siegfried MEUNIER-GUTTIN-CLUZEL wrote: To: Md. Golam Parvez <[EMAIL PROTECTED]> From: Siegfried MEUNIER-GUTTIN-CLUZEL <[EMAIL PROTECTED]> Subject: Re: How to insert colored program listing in LYX Hello, You can use the listings package ( Insert > Listings

Re: How to insert colored program listing in LYX

2008-11-04 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
Hello, You can use the listings package ( Insert > Listings ). If you right-clic on the listing insert box, you can choose the language you use and the syntax will be highlighted. In the listings manual there are many options, so I suppose you can change the colors if you really want. Hope

Re: How to insert colored program listing in LYX

2008-11-04 Thread Ernesto Posse
And if your language is not on the list, and you know a little Python, I recommend Pygments (http://pygments.org) a very nice syntax colouring package that generates, among other things, LaTeX which you then can include as a file in your LyX document. On Tue, Nov 4, 2008 at 7:54 AM, Siegfried

How to insert colored program listing in LYX

2008-11-03 Thread Md. Golam Parvez
Hi I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert colored program listing. Thanks in advanced. Golam Parvez

How to insert colored program listing in LYX

2008-11-03 Thread Md. Golam Parvez
Hi I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert colored program listing. Thanks in advanced. Golam Parvez

How to insert colored program listing in LYX

2008-11-03 Thread Md. Golam Parvez
Hi I am using lyx-1.5.6 in UBUNTU 8.04. Can anybody tell me how to insert colored program listing. Thanks in advanced. Golam Parvez