Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting Glossary items from A to Z? #6

Open
unfa opened this issue May 10, 2018 · 5 comments
Open

Sorting Glossary items from A to Z? #6

unfa opened this issue May 10, 2018 · 5 comments
Labels
question Further information is requested

Comments

@unfa
Copy link
Collaborator

unfa commented May 10, 2018

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 fundamental added the question Further information is requested label May 10, 2018
@fundamental
Copy link
Member

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

@unfa
Copy link
Collaborator Author

unfa commented May 10, 2018

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

@fundamental
Copy link
Member

Yeah, that should be possible as well.

@bratpeki
Copy link

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
Copy link

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 #22, after which this could be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants