You can also convert POD to
Docbook SGML using
Pod::DocBook tool
pod2docbook and then produce lovely PDF using
OpenJade. On RH Linux this is really just a few RPMs (docbook and jade RPMs) plus the CPAN install of pod2docbook.
Basically
% pod2docbook myfile.pod > myfile.sgml
If you want to avoid a bunch of error messages you need to make two small edit depending on where your docbook is installed and what version you are using. I show the 1-liner to convert to 4.1 here YMMV. It is actually not necessary to do this, but you'll get a screenful.
% perl -e 'while(<>){unless($f++){s/Davenport/OASIS/;s/2\.4\.1/4.1/;s/
+\"\/opt.+\"//;}print}'
Now convert to TeX
% openjade -t tex -d /usr/share/sgml/docbook/dsssl-stylesheets/print/d
+ocbook.dsl mfile.sgml
% pdfjadetex myfile.tex
If you wanted RTF you would just replace
-t tex with
-t rtf. HTML also available. When you get fancy you can make up your own stylesheets so you can have a custom layout/fontsets/etc.
Update, its easier than that...
% docbook2pdf myfile.sgml
Other Sites:
I hope that is helpful, I'm finding myself rather fond of docbook suddenly, thought I'd share.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.