DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › TOPLEAF: Populating PDF document properties
-
jlm05 January 19, 2012 at 7:45 pm
TOPLEAF: Populating PDF document properties
January 19, 2012 at 7:45 pmParticipants 2Replies 3Last Activity 11 years agoIn the PDFs generated from XMetal using the “XMetal Enhanced PDF via RenderX XEP” option, the document properties for the PDF (from within the PDF, select File –> Properties) have values populated from the document.
Title – mainbooktitle and first booktitlealt
Author – name of the company (from the bookmap bookmeta/bookowner/organization tag)
Subject – shortdescription from the first topic
Keywords – name of the product (from the bookmap bookmeta/keyword tag)Is there any way to replicate any of this in a PDF generated using a TopLeaf stylesheet?
Currently the Title is “Template” and the Author is “Turn-Key Systems Pty Ltd”.
jlm05 January 19, 2012 at 7:58 pm
Reply to: TOPLEAF: Populating PDF document properties
January 19, 2012 at 7:58 pmNever mind. My coworker did a better job of searching the Mapping Guide and found the answer.
TripleDoh March 7, 2013 at 3:18 pm
Reply to: TOPLEAF: Populating PDF document properties
March 7, 2013 at 3:18 pmHey jlm05.
I have the same issue. Can you explain your solution, maybe with an exapmle.
Thanx.tonys March 8, 2013 at 8:54 pm
Reply to: TOPLEAF: Populating PDF document properties
March 8, 2013 at 8:54 pmThere are a number of meta data properties that you can set within TopLeaf. The ones with names beginning with “pdf.” control PDF creation.
For example, the following will set the Title field in the PDF:
(the variable name is not important, but needs to be present). In practice you would probably use a value that had been extracted from the source content. You can add this to the custom content of any mapping.
For a full list of the meta data values see section 11.4.8 of the Mapping Guide.
-
AuthorPosts
- You must be logged in to reply to this topic.