On 5 Feb 2008, at 18:01, W. Martin Borgert wrote:
On Tue, Feb 05, 2008 at 03:40:33PM +0000, Chris Ridd wrote:
On 5 Feb 2008, at 13:33, W. Martin Borgert wrote:
is there a way to get DocBook XML metadata into the PDF
metadata? Information such as Title, Author, Keywords? Or is it
all lost in the FO stage? TIA!
It depends on the FO processor - they usually support PIs that let
you
include PDF metadata; the docbook xsl stylesheets already know to
write
the correct PIs for FOP and XEP. (Maybe other processors, but I've
tried
those two.)
How would I activate those PIs for use with FOP? I tried
fop.extensions and fop1.extensions w/o success. TIA!
Looking again at one of the docs we generate with fop, and while it
has the PDF outline it doesn't have the title/author stuff set after
all. Sorry to mislead you.
Apparently fop doesn't support doing that directly, according to <http://xmlgraphics.apache.org/fop/faq.html#pdf-doc-properties
>.
You either have to post-process your PDF file, or use a different
processor. XEP has worked very well for me in the past, though
produces larger files than fop.
Cheers,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]