From: Jim Menard Date: 2003-03-22T02:43:48+09:00 Subject: Re: [Ruby] Re: Ruby & LaTeX Walter, > Unfortunately, I'm looking for syntax highlighting and not for > keywordis/blocks alignment. I want something that automatically prints > ruby keywords in boldface, comments in italics and so on. What I did is keep the Ruby in a separate file. I then wrote a script to read the Ruby and generate LaTeX, surrounding the code with verbatim tags, key words with \keyword{}, etc. The main LaTeX file included the generated file and defined those commands so that keywords were bolded, etc. Jim -- Jim Menard, jimm@io.com, http://www.io.com/~jimm/ "Abraham Lincoln didn't die in vain. He died in Washington, D.C." -- Firesign Theatre