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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Embedding docbook XML into PDF


Hi Jeff,
I don't know of a mapping from DocBook to the PDF tag set. I have seen tags being added to a PDF generated from DocBook, though. In Acrobat Pro, you can do

1.  View > Navigation Panels > Tags

2. In the dialog box that pops up, you can click on the "gears" dropdown menu and select "Add tags to document". That will generate a set of tags based on the content. If you browse that, you could create a mapping back to the matching docbook elements.

You can instead use the gears menu to select "Create Tags Root" and then use "New Tag" to add tags manually. There is also an "Edit Role Map" option. I don't know much more about it, though.

I'm most curious about how you will get the DocBook XML embedded into the PDF file. FOP doesn't support PDF tags, and the XEP and Antenna House docs say they can generate standard tags, but not custom tags with role mapping.

--
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

On 12/11/2013 12:27 AM, Jeferson Sese wrote:
Hi,

Anybody here have experience embedding Docbook XML into a structured
PDF? I know that PDF has a set of standard markup/tags that you can use
to tag the content, but it's not docbook and according to
http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7cd8.w.html,
you would need to map your custom tags into this standard markup. Can
anybody point me to the right direction in doing this automated or if
manually, is there a guide that can help me map the standard PDF markup
to Docbook?

Thanks,
-- Jeff






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