DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion TOPLEAF: Populating PDF document properties

  • jlm05

    TOPLEAF: Populating PDF document properties

    Participants 2
    Replies 3
    Last Activity 10 years, 8 months ago

    In 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”.

    Reply

    jlm05

    Reply to: TOPLEAF: Populating PDF document properties

    Never mind. My coworker did a better job of searching the Mapping Guide and found the answer.

    Reply

    TripleDoh

    Reply to: TOPLEAF: Populating PDF document properties

    Hey jlm05.
    I have the same issue. Can you explain your solution, maybe with an exapmle.
    Thanx.

    Reply

    tonys

    Reply to: TOPLEAF: Populating PDF document properties

    There 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.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support