OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Embed a PDF document into DocBook book?


Scott Hudson wrote:

> I have a situation where I need to include a set of preformatted PDF in
> my DocBook book (e.g., a case study). What is the best method to
> integrate this? I tried the mediaobject route, but that only gives me
> the first page.

You have to extract each page of PDF document into separate file and
then include page by page. Of course you don't have to do this manually.
You can specify special role to mediaobject with PDF document to embed
and then use some library like itext to extract pages into individual
pages and at the same time to repleace original mediaobject with several
mediaobjects pointing to separe pages.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]