zynaddsubfx / user-manual

User manual (this may or may not get merged into zynaddsubfx/zynaddsubfx's doc dir)
30 stars 10 forks source link

Sorting Glossary items from A to Z? #6

Open unfa opened 6 years ago

unfa commented 6 years ago

I've started a Glossary.adoc file for terminological reference.

However - I guess that should be sorted alphabetically. I have no idea how to achieve that in Asciidoc.

fundamental commented 6 years ago

As far as I know you just have to put them in the text document in order.

unfa commented 6 years ago

Maybe we could use a shell or Python script to sort them?

fundamental commented 6 years ago

Yeah, that should be possible as well.

bratpeki commented 2 months ago

If using (Neo)Vim, :sort can be used. Since I'm working on a PR right now, I'll see to making a glossary as well.

bratpeki commented 1 month ago

A glossary can easily be defined as

Term:: Definition
Another term:: Definition

and thus, sorting would imply taking all the lines and sorting them. This is easily achievable in most editors (VSCode, Vim and Emacs for example). I'm currently working on the glossary over at https://github.com/zynaddsubfx/user-manual/pull/22, after which this could be closed.