Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support bookmap metadata in FO plug-in #1254

Closed
jelovirt opened this issue May 6, 2012 · 5 comments
Closed

Support bookmap metadata in FO plug-in #1254

jelovirt opened this issue May 6, 2012 · 5 comments
Labels
feature New feature or request plugin/pdf Issue related to PDF plug-in stale No recent activity. May be closed soon.

Comments

@jelovirt
Copy link
Member

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
Copy link
Member Author

jelovirt commented May 6, 2012

Duplicate of #1198

@jelovirt
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member

robander commented May 4, 2016

Related: pull request #1722

@stale
Copy link

stale bot commented Dec 12, 2018

This issue has been automatically marked as stale because it has not been updated recently. It will be closed soon if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No recent activity. May be closed soon. label Dec 12, 2018
@stale stale bot closed this as completed Dec 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request plugin/pdf Issue related to PDF plug-in stale No recent activity. May be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants