pod2pdf 0.41 released

brian_d_foy on 2007-09-11T17:04:00

jj writes " I've finally got pod2pdf (used to create the PDF files on perldoc.perl.org) updated for compatibility with the latest version of PDF::API2, and packaged up into a proper CPAN release.

It is available from http://perl.jonallen.info/projects/pod2pdf or http://search.cpan.org/dist/pod2pdf."


pod2pdf

rahed on 2007-09-11T17:15:09

Does it allow some encoding? I encoded my pod in utf-8 and non-ascii characters are garbled after the conversion. It's a pity, I also have problems with pod2html encoding.

Radek

Re:pod2pdf

jj on 2007-09-11T17:53:42

Could you send me one of your utf-8 encoded Pod files (to jj@jonallen.info) please and I'll have a look into it.

Re:pod2pdf

TorgoX on 2007-09-12T21:57:39

You might want to look at all .txt files in: here as a stress-test for it your stuff (because they're certainly a stress-test for Pod::Simple.)

BTW, I'm not on intimate terms with PDF internals, but I think you wouldn't be having these problems (at least not quite so, uh, problematically) if you were using Pod::Simple. From day one, I wrote Pod::Simple to understand arbitrary encodings because, you know, it's not 1994 anymore.

You can look at Pod::Simple::HTML (or just about of the Pod::Simple::* renderers, including RTF, which is another of the Lovecraftian Old Ones from about day two of me writing Pod::Simple) for examples of how to do the deed of writing another renderer based on Pod::Simple. And I'm crossing my fingers the PDF module you're dealing with merrily understands Unicode characters.

If not, 1) ouch, and 2) do the best you can, "progress not perfection", and "good is the enemy of done". Etc etc.

And thank you, a huge thank you, for doing what I had been meaning to do for ages but never ever found enough time to even begin to look into presumably considerable backstory for it all. (I did once do a half-rewrite of HTML::FormatPS, and that was SCARY! It was the first and only time I've dealt with an output format where you need to actually go down a page laying out text, and turn to the the next page, etc; instead of just pouring blobs of text into the output format and letting some application deal with it.)