I've read the help on page templates and can see that we can hardcode a logo, other image, of background image into the design. I know that we can define text variables and display these on the page template. But what do we do if we have images that vary by publication, and we want to display one of...
I want to keep the page numbers in the TOC except for what is in Backmatter.I do want the Headings in Backmatter to appear in TOC... but again, not the "...... " and not the page number. How to accomplish this? Something to go into CSS like this? .toc-level-1.back-matter { ?????????}
Using Native PDF in Guides in Cloud. I have page numbering working fine in footer.Bookmap has: Frontmatter, renders to 5 pages Body, renders to 10 pages Backmatter. renders to 5 pagesI restart page numbering after Frontmatter, so on page 6. Paging in footer shows page 6 of 20, 7 of 20, etc.Las...
I have an image in the resources folder in AEM called 'warning_triangle.png'.I want to include this using JavaScript.In the temporary files folder, the image is exported to:publish\templates\dita-templates\pdf\PRESET_NAME\warning_triangle.pngThe JavaScript runs on ‘mergedHTML.htm’ which exists at th...
Using JavaScript I would like to find out what the 'lang' attribute variable is set to. I have used:document.getAttribute('lang').value;document.head.parentNode.getAttribute('lang').value;document.body.parentNode.getAttribute('lang').value;document.querySelector('html').getAttribute('lang').value;wi...
For the standard note types the language variable text is set successfully so it appears in the prefix-content: <div class="note note" data-attr-type="note"><span class="prefix-content">Note: </span>This is a note of type 'note'</div> But for @TyPe=other @othertype I get: <div class="other note" da...
My 2 appendices are <topicref>'s in backmatter. <backmatter> <topicref href="A.dita" type="topic"></topicref> <topicref href="B.dita" type="topic"></topicref></backmatter> Appendix A I want the page numbering to show in the footer "A-1, A-2, A-3..." for appendix AAppendix B and "B-...
Open in FrameMaker" option exists when a a dita asset is check marked. We don't want that option to be enabled, so we have unchecked this option in configMgr. I have also tried cycling the setting on my instance but it has no impact on the behavior. Do we have any other workaround to get this option...
Where PDFs will be printed there is a requirement to generate output PDFs with a page count which is a multiple of 4. Is there a way to count and add pages, if required? I know we can run a JavaScript script post pagination - does this give us access to the page information which would allow us to ...
One of our customer requirements is to construct a ‘Contact Information’ block of addresses on the back page.They don’t want to hardcode this in a table in a topic. We'll have a template with an empty, single row, table and we'd dynamically expand the table based on the required number of address bl...