Server Guide PDF
Adam Sommer
asommer70 at gmail.com
Thu Jan 22 02:39:58 UTC 2009
Hey all,
I wanted to get some feedback for a patch I've worked up that will re-enable
creating a PDF file for the Server Guide. I say "re-enable" because most of
the code in the Makefile is already there, it just needed a little
tweaking. There has been multiple instances of user's requesting a PDF
version of the Server Guide, and the rest of the Ubuntu docs for that
matter. It was on my list for Intrepid, but I didn't get around to working
on it.
Anyway, attached is a patch for the Makefile and debian/rules to create the
PDF file. If there is any way the code can be improved please let me know.
Also, the fop utility is used to create the PDF, and the version in Interpid
and Jaunty has a bug [1]. So if you want to test out the PDF:
1. install fop: sudo apt-get install fop
(not sure if that's 100% needed, but that's what I did :-)
2. Download the latest fop:
http://archive.apache.org/dist/xmlgraphics/fop/binaries/fop-0.95beta-bin.zip
3. unzip
4. Rename the packaged fop binary: sudo mv /usr/bin/fop /usr/bin/fop
5. Symlink the downloaded binary: sudo ln -s
/path/to/unzipped/fop-0.95beta/fop /usr/bin/
6. get the latest ubuntu-docs from LP and apply the attached patch
7. from the ubuntu-doc directory: make serverguide-pdf
8. If all goes well you should have a
build/serverguide-pdf/C/serverguide.pdf file
I'll file a bug about the fop issue and hopefully get the packaged updatd
for Jaunty.
[1]
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200701.mbox/%3C8315716.post@talk.nabble.com%3E
--
Party On,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20090121/4f66b795/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serverguide-pdf.patch
Type: text/x-patch
Size: 2152 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20090121/4f66b795/attachment.bin>
More information about the ubuntu-doc
mailing list