From: Carl Youngblood Date: 2005-02-08T10:22:48+09:00 Subject: Re: [ANN] SQLite3/Ruby 1.0.0 Jamis Buck wrote: >>Isn't this really just a matter of turning off syntax highlighting and >>changing the font to monospace? Or is it more complicated than that? >> >> > >Well, part of it is that I don't WANT to turn off syntax highlighting. >So... > >Writing PDF's is more complicated than you'd think, really. For grins, >go to the RAA and grab one of the pdf library's (I'm playing with the >ClibPDF bindings). It can be pretty fun to dynamically generate >a nice-looking PDF. > Sounds cool. Actually I totally expected creating a PDF to be difficult, but I figured that including source code in a PDF would be no more difficult than any other type of object you might want to put in a PDF. Now that you've explained you want to keep syntax highlighting, I see your point. That would certainly increase the complexity of the problem. Perhaps a rough version of textile->PDF conversion could start with basic uncolored monospace text and get more fancy later on. Carl