POD to PDF translator

pudge on 2000-04-07T14:04:36

jon peterson writes "This utility reads embedded 'POD' text and translates it into a 'PDF' (Portable Document Format) file suitable for viewing on-screen or printing on most (including non PostScript) printers using Adobe's "Acrobat Reader".

The program provides documents with a Table of Contents, headers and footers, numbered pages and supports PDF 'Bookmarks' (on-screen) maintaining a reasonable standard of typography with fully justified text.

The software comes from http://www.afco.demon.co.uk/xplat.html "

Alan Fry is my hero.


This kicks ASS

jjohn on 2000-04-07T15:30:38

I've been looking for an all Perl PDF solution. This worked with tweaking (see below) on Linux like a champ. I hope that his could be modularized on thrown on to CPAN, but I'm certain Adobe will have kittens.

1) There was a call to MacPerl which I put on
a ($^O =~ /mac/i) switch.

2) this script might have used some POD itself ;-)

Overall, this is a real nice beginning.

Re:This kicks ASS

pudge on 2000-04-07T15:39:42

You are evil! Evil, I say! That will make the script fail on machten. :-)

You can just do if $^O eq 'MacOS', or even better yet, if defined &MacPerl::SetFileInfo.

Re:This kicks ASS

Bumppo on 2000-04-07T21:12:11

I hope that his could be modularized on thrown on to CPAN, but I'm certain Adobe will have kittens.

Why? PDF is a published specification. Useful implementations are the natural, desirable outcome of published specifications, and this is one heck of a useful implementation.

Re:This kicks ASS

jjohn on 2000-04-08T02:40:45

Pudge-daddy, I did mention that I made just some quick hacks to get the script to work on Linux, right?

MachTen. Jeez...

How about a full manpage set?

chip on 2000-04-09T09:00:35

I'd love to see a full, printable Perl manpage set based on pod/*.pod. Maybe this is the way....