Conditional behaviour for front matter
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 26
- Joined: Tue Aug 27, 2019 10:55 pm
Conditional behaviour for front matter
Hi there;
I'm looking for a simple way I can use the same map for both PDF and HTML output, but only have the frontmatter (copyright & TOC) appear in the PDF output. I've done a bunch of reading, and have only ended up more confused than when I started. <grin>
Grant
I'm looking for a simple way I can use the same map for both PDF and HTML output, but only have the frontmatter (copyright & TOC) appear in the PDF output. I've done a bunch of reading, and have only ended up more confused than when I started. <grin>
Grant
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Conditional behaviour for front matter
Hi Grant,
Maybe you can add on the bookmap <frontmatter> element a profiling attribute:
and then when publishing the transformation scenario has a "Filters" tab, for the HTML-based transformation scenario you can choose to "Exclude from output" all attributes named deliveryTarget with value pdf.
More about DITA profiling:
https://www.oxygenxml.com/doc/versions/ ... -text.html
Regards,
Radu
Maybe you can add on the bookmap <frontmatter> element a profiling attribute:
Code: Select all
<frontmatter deliveryTarget="pdf">
...........
More about DITA profiling:
https://www.oxygenxml.com/doc/versions/ ... -text.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service