[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 27 Mar 2009 23:30:56 +0100
On Fri, 27 Mar 2009 13:25:10 -0700 (PDT)
Volkan YAZICI <address@hidden> wrote:
> I've been looking for a syntax highlighter to integrate into texinfo
> to be able to colorize @lisp ... @end blocks. Actually, not just a
> syntax highlighting tool, I also want to be able to supply links to
> certain commands. (E.g. CLHS and MOP links to related Common Lisp
> commands.) Below are some of my experiences during my research.
> - I first tried my luck with Syntax::Highlight::Engine::Kate module.
> (Hey, texi2html is also written in Perl, should be easy to integrate.)
> But it doesn't take long to figure out that it is quite broken for
> Lisp family of programming languages.
> - You know that flashy http://paste.lisp.org/ pastebin, and it's code
> is a F/OSS. Despite it took a half of a day to decouple lisppaste from
> its unnecessary dependencies (e.g. araneida web server!), at the end
> I'm disappointed by the fact that I need to implement my own parsing
> routines for every other programming language.
Well, you probably could've used Pygments. It has a (LaTeX) interface
called Texments, maybe that would help you?
It supports Common Lisp, Scheme (to some extent, some things are
missing yet) and Clojure.
- htmlize.sh, Volkan YAZICI, 2009/03/27
- Re: htmlize.sh,
Marek Kubica <=