Remove xref-link in pdf
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 24
- Joined: Mon Aug 24, 2015 11:37 pm
Remove xref-link in pdf
Post by Glimmerino »
Hi.
I have several dita-topics that I use to publish both pdf and html. The problem is that I only want the html-output to generate links (using the <xref> element) at some occasions. Is there any way to individually set the <xref> element to only generate links for html and not pdf? There does not seem to be any "print" attribute for the <xref> element.
Regards
Kristian
I have several dita-topics that I use to publish both pdf and html. The problem is that I only want the html-output to generate links (using the <xref> element) at some occasions. Is there any way to individually set the <xref> element to only generate links for html and not pdf? There does not seem to be any "print" attribute for the <xref> element.
Regards
Kristian
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Remove xref-link in pdf
Post by radu_pisoi »
Hi,
A possibility to achieve your requirements is to use the DITA Conditional Processing mechanism. For your case, a sample DITA snapshot that uses the deliveryTarget conditional processing attribute is:
Move about DITA conditional profiling could be found in the next links:
* oXygen video demonstration
http://oxygenxml.com/demo/DITA_Profiling.html
* DITA Specification
https://www.oxygenxml.com/dita/1.3/spec ... dproc.html
A possibility to achieve your requirements is to use the DITA Conditional Processing mechanism. For your case, a sample DITA snapshot that uses the deliveryTarget conditional processing attribute is:
Code: Select all
<p>Chrysanthemums, called 'mums', are a
<xref keyref="genus" format="dita" deliveryTarget="html">genus</xref><ph deliveryTarget="pdf">genus</ph> of ...</p>
* oXygen video demonstration
http://oxygenxml.com/demo/DITA_Profiling.html
* DITA Specification
https://www.oxygenxml.com/dita/1.3/spec ... dproc.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 24
- Joined: Mon Aug 24, 2015 11:37 pm
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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