Copy link to clipboard
Copied
FM 11
DITA: 1.2
OS: Windows 7
We save our ditamap/xml documents as "Book 11 with fm components (*.book)" to create .fm files from the .xml using the ouputTemplates in the C:\Program Files (x86)\Adobe\AdobeFrameMaker11\Structure\xml\DITA\outputTemplates directory. I modified the original template files that we need, using the original's variable (Chapter Title Name <$chaptertitlename> for populating the title in the bookTitletpl.fm template file. This works great--whichever document I'm publishing, the correct title appears in that variable.
The template book cover page looks like this:
Logo (hard coded)
bookTitleTpl.fm (variable)
Version 2.0 (hard coded)
Thanks for any suggestions!
I don't think you'll be able to do this without some custom scripting. I don't think that the default book build process provides for the ability to pull in content from other map elements .. just the title. You could write some ExtendScript code to process the book after the initial build to add/update variables based on map metadata.
DITA-FMx does provide this feature. The book build process will import any map element or attribute into a variable.
Cheers,
…scott
Copy link to clipboard
Copied
I don't think you'll be able to do this without some custom scripting. I don't think that the default book build process provides for the ability to pull in content from other map elements .. just the title. You could write some ExtendScript code to process the book after the initial build to add/update variables based on map metadata.
DITA-FMx does provide this feature. The book build process will import any map element or attribute into a variable.
Cheers,
…scott
Copy link to clipboard
Copied
Thanks, Scott. I had a feeling that scripting was the answer, but I wanted to be thorough before going there. We don't have DITA-FMx, unfortunately, but it does sound like a great plug-in. I'll try and script for our solution for now. Thanks!
Diana