From: Walter Cazzola Date: 2003-03-22T02:38:39+09:00 Subject: Re: Ruby & LaTeX On Fri, 21 Mar 2003, ahoward wrote: > > 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. > > Of course inside LaTeX documents, do you know a script that do that > > without writing it by myself? > vim can export ruby code to html - doing all of the above. i'm > guessing that there is something which could convert html to latex. > for f in *.rb; do gvim -f +"syn on" +"run! syntax/2html.vim" +"wq" +"q" $f; done > the results are really nice. this one looks as the better solution to my problem. thanks a lot to you and to Jim that gives me analogous answer and to the other that tried to help me. Walter -- Walter Cazzola, PhD - Assistant Professor, DICo, University of Milano E-mail cazzola@disi.unige.it Ph.: +39 010 353 6637 Fax: +39 010 353 6699 � � � --------------------------- � � � --------------------------- � � � ... recursive: adjective, see recursive ... � � � --------------------------- � � � --------------------------- � � �