Hiding shortdesc in related informations
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
			- 
				arnaud
 - Posts: 7
 - Joined: Fri Mar 23, 2018 1:16 pm
 
Hiding shortdesc in related informations
Hello,
Context : XML Author 20.0, build 2018032903, Transformation WYSIWYG with PDF chemistry
I want to hide the shortdesc contained in the links (related informations) created via a relation table.
I found this answer topic6842.html, but it seems to be obsolete.
Thanks in advance,
Arnaud
			
			
									
									
						Context : XML Author 20.0, build 2018032903, Transformation WYSIWYG with PDF chemistry
I want to hide the shortdesc contained in the links (related informations) created via a relation table.
I found this answer topic6842.html, but it seems to be obsolete.
Thanks in advance,
Arnaud
- 
				Dan
 - Posts: 501
 - Joined: Mon Feb 03, 2003 10:56 am
 
Re: Hiding shortdesc in related informations
The link descriptions coming from the DITA relationship tables or from in-topic related links elements are structured in the merged map as:
If you need to hide these descriptions then add in your customization css:
Many regards,
Dan
			
			
									
									
						Code: Select all
<related-links class="- topic/related-links ">
   <linkpool class="- topic/linkpool ">
        <link class="- topic/link " 
            ...
               role="friend" scope="local" type="topic">
                <linktext class="- topic/linktext ">Salvia</linktext>
                <desc class="- topic/desc ">The salvia plant</desc>
          </link>
    </linkpool>
    ...
</related-links>
Code: Select all
*[class ~= "topic/link"] > *[class ~= "topic/desc"] {
  display: none;
}
Dan
			
				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