Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Support bookmap metadata in FO plug-in #1254

jelovirt opened this Issue May 6, 2012 · 4 comments


None yet
2 participants

jelovirt commented May 6, 2012

Converted from SourceForge issue 3508689, submitted by cnahr

DITA 1.5.4 ships with DITA 1.2 schemas whose bookmap uses the bookmeta element to specify metadata (author, publisher, copyright...).

However, the FO plug-in still only supports the obsolete bkinfo element to specify bookmap metadata. bookmeta is tolerated but generates no output except for the author tag. All other metadata tags are ignored, in my (limited) testing.

The FO XSLs should be updated to change all bkinfo transformations into the equivalent bookmeta transformations.


jelovirt commented May 6, 2012

Duplicate of #1198


jelovirt commented May 6, 2012

Reopening as this request deals with outputting metadata in the output, not in PDF metadata. Marking as pending until further information is added on what the metadata output should be.


jelovirt commented May 6, 2012

Submitted by cnahr

Okay, here's some additional information. The bookmeta elements that should definitely appear in output include:

  • authorinformation, as an alternative to simple author tags
  • source, indicating another source for the book (e.g. ISBN or download URL)
  • publisherinformation, naturally enough
  • bookrights, for copyright information

critdates (creation & revision dates) and bookchangehistory (longer version with author annotation) would be nice but I think they would have to go on a separate page with list or table formatting since they can be quite long. That's probably too much for now.

The two currently supported bookmeta elements are author and (as I just discovered) shortdesc. However, I found some problems with them as well:

  • shortdesc is not correctly centered, but somewhat offset to the right. Also, it appears at the bottom of the page, right above the author, whereas I think it should appear below the title or centered between title and author.
  • author can carry href and scope attributes (e.g. for e-mail or website) but they are ignored in the PDF output. Fortunately DITA-OT autodetects links so I currently work around this one by adding another author tag that contains the mailto link in plain text.

robander commented May 4, 2016

Related: pull request #1722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment