Copy link to clipboard
Copied
I'm working on a document with many large tables that I want to automatically rotate to landscape orientation in my PDF output using master page maps. When I generate the PDF, I can see that my templates are being used, but only the left and right pages get applied- never the landscape page that I want.
I have a set of templates for this document and I've determined that ChapterOutputTpl.fm is the one that gets used for this table. In ChapterOutputTpl, I've added the landscape master page. I've also edited the structured and unstructured master page maps in the reference pages so that the table element (structured map) and table cell and body paragraph tags (unstructured map) use the landscape master page. I know that the right template file is used because I put a visible time stamp in it.
I'm generating the PDF through the Publish panel using "Save PDF via Book with components route" and "Apply Output Templates". I've tried "Print" and "Save as PDF" with similar results.
I'm new to structured FM so I might be making a basic error here, but I've spent hours trying to figure this out and getting nowhere. Any help is appreciated!
Copy link to clipboard
Copied
Sorry, I should have added that I'm using Structured FrameMaker 17.0.8.853.
Thanks!
Copy link to clipboard
Copied
Please post a screen shot of the beginning of your table structure in the Structure View. Thanks.
Copy link to clipboard
Copied
Thanks for the quick reply. Here it is...
Copy link to clipboard
Copied
I've had trouble getting ditamaps to publish to PDF...
Is your project organized with a ditamap or a bookmap?
If ditamap, try saving the project as a bookmap first, then publish to PDF.
Copy link to clipboard
Copied
Top suspect:
I've never been able to get AMP (Apply Master Pages) to trigger from content in Table cells. It has to be some other content on the page (which could be hidden meta for the purpose). I haven't challenged this in a while, so newer FMs may have enhanced to implement it.
Next suspect:
I don't work in struc, but I suspect that Struc FM has the same pagination limitations as unstruc.
It's always been my understanding that FM can't mix page sizes in a single document (.fm file), and this probably extends to same-size pages that are rotated in the output. Exception pages have to be separate .fm files in a .book.
I have done portrait-orientation pages with rotated (landscape) content, and those Master Pages do map correctly.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now