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.
On Tue, 23 Mar 2010 13:24:09 +0100
luigi scarso scribit:
> On Tue, Mar 23, 2010 at 1:17 PM, R. Bastian 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 ...}
> >
On Tue, Mar 23, 2010 at 1:17 PM, R. Bastian 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 pretty-p
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
Thanks
--
René Bastian
www.pythoneon.org
www.musiques-rb.org
http://www.soundsurvey.org.uk/