Only show topic title in the output page
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 19
- Joined: Wed Aug 24, 2022 7:20 am
Only show topic title in the output page
Hi there,
Is it possible to only show topic titles in the output page without the content?
The following figure shows the current ditamap:
Is it possible to only show topic titles in the output page without the content?
The following figure shows the current ditamap:
image.png
However, each topic has its own content which expands the output page, I was wondering if there's a way to accomplish the purpose with the topicref element?You do not have the required permissions to view the files attached to this post.
Last edited by luodan on Wed Nov 02, 2022 1:07 pm, edited 1 time in total.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Only show topic title in the output page
Post by chrispitude »
Hi luodan,
Normally this is what the TOC (PDF) or navigation (WebHelp) is for.
However, if you are trying to add just a local "mini-TOC" list of links to your parent introduction topic, you could try the following plugin:
https://github.com/chrispy-snps/DITA-mini-toc-element
although I see you are using the @chunk attribute and I haven't tried it with that.
Normally this is what the TOC (PDF) or navigation (WebHelp) is for.
However, if you are trying to add just a local "mini-TOC" list of links to your parent introduction topic, you could try the following plugin:
https://github.com/chrispy-snps/DITA-mini-toc-element
although I see you are using the @chunk attribute and I haven't tried it with that.
-
- Posts: 145
- Joined: Mon Jun 12, 2017 10:50 am
Re: Only show topic title in the output page
Post by cosmin_andrei »
Hello,
Could you please let us know the output type do you want to achieve? It would be great if you could provide us more details about your use-case and a screenshot.
Could you please let us know the output type do you want to achieve? It would be great if you could provide us more details about your use-case and a screenshot.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
-
- Posts: 19
- Joined: Wed Aug 24, 2022 7:20 am
Re: Only show topic title in the output page
Hi Cosmin,
I used another workaround for this case:
I moved the topicrefs to the parent topic (.dita file) and orgnized them into li tags, the output file looks like this:
I used another workaround for this case:
I moved the topicrefs to the parent topic (.dita file) and orgnized them into li tags, the output file looks like this:
image.png
You do not have the required permissions to view the files attached to this post.
Last edited by luodan on Mon Nov 07, 2022 1:01 pm, edited 1 time in total.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Only show topic title in the output page
Post by chrispitude »
Hi Luodan,
You might want to try the "DITA-mini-toc-element" plugin I mentioned earlier. I think it automatically does what you are doing manually.
You might want to try the "DITA-mini-toc-element" plugin I mentioned earlier. I think it automatically does what you are doing manually.
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