[Zope] Python code beautifier

eric.n.dunn@bankofamerica.com eric.n.dunn@bankofamerica.com
Tue, 23 Jul 2002 08:41:47 -0400


Can this be configured for Windoze environment?




Florent Guillaume <fg@nuxeo.com> on 07/23/2002 07:23:26 AM

To:   zope@zope.org
cc:
Subject:  Re: [Zope] Python code beautifier



Milos Prudek  <milos.prudek@tiscali.cz> wrote:
> Martin Gebert wrote:
> > Hi together!
> >
> > The GNU tool source-highlight, a code beautifier by Lorenzo Bettini that
> > produces syntax highlighted HTML and XHTML documents from source code,
> > now recognizes Python, too. You can get it here:
> >
> > http://www.gnu.org/software/src-highlite/
>
> As a batch tool it would be useful. But if you use 'gvim' (graphical
> frontend for vim), you don't need this. You can just edit the file, and
> click Syntax - Convert to HTML. Gvim will automatically create a new
> color-highlighted HTML file from the currently edited file. Gvim
> supports syntax highlighting for over 100 languages, Python included.

In emacs, use htmlize-buffer to do that. It's in 'htmlize.el', in
package emacs-goodies-el in Debian.

Florent
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )