gitbook icon indicating copy to clipboard operation
gitbook copied to clipboard

multiple glossary term, same definition

Open nagim opened this issue 10 years ago • 7 comments

Hi,

Is it possible to assign multiple glossary term to one definition? Like this:

# term1, term2

Definition for term1 and term 2

Also, glossary is not case sensitive now (now if I have a term "IN", all "in" words are indexed and highlighted).

Thanks, Imre

nagim avatar Apr 15 '16 08:04 nagim

See also #969.

I agree this would be useful.

DavidMGross avatar May 15 '16 22:05 DavidMGross

I agree "multiple glossary term for one definition" could be a nice addition.

I'll add to our roadmap for future 3.x.x releases.

Case sensitive may be a more tricky question, it's useful to have highlighting of "hello" for the first word of a sentence for example.

SamyPesse avatar May 24 '16 08:05 SamyPesse

Thanks @SamyPesse. Also, mulitple definition for one term (overloading) is even more important.

For case sensitivity, it would be enough if it would be insensitive by default, and use some config/setting to make some specific terms sensitive (because this usually concerns ~5% of the terms, but that 5% is very annoying).

nagim avatar May 24 '16 08:05 nagim

This seems like a must have feature in order to use the glossary.

I think that terms should be case sensitive by default, and you can enable case insensitivity by simply adding the uppercase/lower case variations to the term matching.

It would be nice to be able to define the "matchers" as well as the display name separately, enabling a single term for plural forms as well.

So you could do something like:

# Foo
## foo, Foo, foos, Foos

A sample name for absolutely anything, especially programs and files 

Not sure if the H1/H2 is the best way to configure it, could also use JSON syntax.

mjrussell avatar Aug 23 '16 05:08 mjrussell

@SamyPesse any outlook on this? We'd love to have # term1, term2 so that plurals of terms are linked as well.

ayush avatar Nov 03 '16 21:11 ayush

+1 this seems to be a duplicate of #969

NicolasRouquette avatar Feb 09 '17 00:02 NicolasRouquette

+1 Multiple Termins would be useful. +1 need for plural feature.

thomas-worm-datev avatar Nov 14 '17 05:11 thomas-worm-datev