Related information in the HTML output
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 33
- Joined: Tue Feb 20, 2018 2:51 pm
Related information in the HTML output
Post by anna_craneo »
When using a relationship table to create links, by default links are organized by topic type and contain heading such as Related tasks, Related references, Related Concepts. I want all the topics to be grouped together under "Related information" title.
Example of Default Behavior:
Related Tasks
Topic 1
Topic 2
Related Concepts
Topic 3
Related References
Topic 4
Topic 5
Example of what I want to produce:
Related information
Topic 1
Topic 2
Topic 3
Topic 4
Topic 5
I have already done what is recommended here - topic12781.html
And added properties to my reltable
It works great but only for linking the source with targets, but not vice versa. Is there any chance to have two-way linked topics in one list?
Example of Default Behavior:
Related Tasks
Topic 1
Topic 2
Related Concepts
Topic 3
Related References
Topic 4
Topic 5
Example of what I want to produce:
Related information
Topic 1
Topic 2
Topic 3
Topic 4
Topic 5
I have already done what is recommended here - topic12781.html
And added properties to my reltable
Code: Select all
<reltable>
<relheader>
<relcolspec linking="sourceonly">
<title>Related information</title>
</relcolspec>
<relcolspec>
<title>Related information</title>
</relcolspec>
</relheader>
<relrow>
<relcell>
<topicref href="topic.dita"/>
</relcell>
<relcell>
<topicref href="relactedConcept.dita"/>
<topicref href="relatedTopic.dita"/>
<topicref href="relatedTask.dita"/>
</relcell>
</relrow>
</reltable>
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Related information in the HTML output
Hi Anna,
Maybe you can remove that linking="sourceonly" attribute from the relcolspec.
https://www.oxygenxml.com/dita/1.3/spec ... butes.html
Regards,
Radu
Maybe you can remove that linking="sourceonly" attribute from the relcolspec.
https://www.oxygenxml.com/dita/1.3/spec ... butes.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 33
- Joined: Tue Feb 20, 2018 2:51 pm
Re: Related information in the HTML output
Post by anna_craneo »
Radu,
If I remove linking="sourceonly", my topics become like this again:
Related Tasks
Topic 1
Topic 2
Related Concepts
Topic 3
Related References
Topic 4
Topic 5
If I remove linking="sourceonly", my topics become like this again:
Related Tasks
Topic 1
Topic 2
Related Concepts
Topic 3
Related References
Topic 4
Topic 5
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Related information in the HTML output
Hi Anna,
I cannot reproduce this problem using a sample project I created with DITA OT 2.5.4 bundled with Oxygen 20.
If you are using a similar DITA OT version can you put together a small sample DITA project exhibiting the problem and maybe attach it to an email (support@oxygenxml.com)?
Regards,
Radu
I cannot reproduce this problem using a sample project I created with DITA OT 2.5.4 bundled with Oxygen 20.
If you are using a similar DITA OT version can you put together a small sample DITA project exhibiting the problem and maybe attach it to an email (support@oxygenxml.com)?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Related information in the HTML output
Hi,
Just to update this topics, based on Anna's feedback I updated this opened issue here:
https://github.com/dita-ot/dita-ot/issues/2966
As a workaround you can make the relheader look like this:
this will avoid specifying titles for each category and because we have the "type" attribute distinct from the usual topic/task/concept values you will get the "Related information" category label automatically used. The publishing will issue some warnings because you set a @type value which is not in the regular set of allowed values but you can probably ignore them.
Regards,
Radu
Just to update this topics, based on Anna's feedback I updated this opened issue here:
https://github.com/dita-ot/dita-ot/issues/2966
As a workaround you can make the relheader look like this:
Code: Select all
<relheader>
<relcolspec type="other">
</relcolspec>
<relcolspec type="other">
</relcolspec>
<relcolspec type="other">
</relcolspec>
</relheader>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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