Carl Youngblood
2/8/2005 1:23:00 AM
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