Sort function for DITA maps

Are you missing a feature? Request it's implementation here.
susannecm
Posts: 60

Sort function for DITA maps

Thu Dec 14, 2017 9:35 pm

In several cases, we have topics in certain parts of our DITA maps that are sorted alphabetically by the topic title. Examples include:
  • Glossary lists
  • Command line references
  • Reference information about specific object types
Our documentation is multilingual. After document translation (and after every update), we have to adopt the sort order manually. Could this be automated? I am thinking of a new command in the shortcut menu of the DITA maps manager.
Kind regards,
Susanne Muris
Radu
Posts: 5585

Re: Sort function for DITA maps

Fri Dec 15, 2017 11:31 am

Hi Susanne,

So you want to select a couple of sibling topics in the DITA Map and then sort them in the same DITA Map depending on each topic title, right?
Interesting idea, I will add an internal issue to look into this.
Maybe as a workaround this could be done with an XML refactoring operation, if you can provide a sample DITA project to work with (support@oxygenxml.com) I could try to look into it and possibly try to create such an operation.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
susannecm
Posts: 60

Re: Sort function for DITA maps

Thu Dec 21, 2017 4:27 pm

Hi Radu,
my idea was to select the parent topic, but it might actually be better (more flexible) to select the siblings.
I've prepared two sample maps (German and English version) and will now send them to support.
Thank you very much for your help
Susanne Muris
Radu
Posts: 5585

Re: Sort function for DITA maps

Wed Jan 03, 2018 3:48 pm

Hi Susanne,

Thanks for the samples. I blogged here about how an Oxygen XML Refactor operation which sorts a <glossarylist> could be constructed:

http://blog.oxygenxml.com/2018/01/sorting-glossary-lists-in-dita-bookmap.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Miriam2
Posts: 7

Re: Sort function for DITA maps

Fri Feb 23, 2018 12:47 am

Hi Radu,

I wanted to add a note to thank you for developing this and writing it up on your blog. I made a few minor tweaks to use this for a glossgroup-based Glossary, and so far it's working perfectly.
Radu
Posts: 5585

Re: Sort function for DITA maps

Mon Feb 26, 2018 9:12 am

Hi,

Thanks for the kind words.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 1 guest