Re: [NTG-context] code with reserved words

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 1:17 PM, R. Bastian rbast...@free.fr wrote: Hello, is there a way to get Python code with reserved words highlighted ? Not colored as in http://wiki.contextgarden.net/Verbatim_with_LuaTeX but {\bf ...} I use context 2010.01.26 Mk IV or texexec well, I'm working to a

Re: [NTG-context] code with reserved words

2010-03-23 Thread R. Bastian
On Tue, 23 Mar 2010 13:24:09 +0100 luigi scarso luigi.sca...@gmail.com scribit: On Tue, Mar 23, 2010 at 1:17 PM, R. Bastian rbast...@free.fr wrote: Hello, is there a way to get Python code with reserved words highlighted ? Not colored as in

Re: [NTG-context] code with reserved words

2010-03-23 Thread Erik Margraf
Based on the pretty printer in the wiki, I wrote my own. If I understood you well, you want a b/w pretty printer with reserved words bold. The pretty printer is capable of doing both. An example is attached. Probably missing is the functionality to control the typesetting of reserved words in TeX.