Feature Request Tracker

ID:26 🔗
Status:Closed (Implemented)
Date:2014-10-09 09:58:30
Summary:create link, but no link target by \gls macros


I have the problem with dual entries (p 106 in manual) but it may be a feature in other places, too.

I have reverences from the list of acroyms to glossary and vice versa. These appear in the numberlist, which is not very clever.

It is possible to kill the hyper feature for a \gls macro completely, but ist is not possible to shut down one of the two aspects (for my problem, the second):

I think it would be very neat to being able to define

\gls[hyper=true, innumberlist=false]{OMG}
Or even make this the standard whilst being in the \begin{theglossary} environment



This feature is now available with glossaries-extra.sty where you can use the boolean key noindex within the optional argument of commands like \gls to suppress indexing.


Comment from Stefan
Date: 2014-10-10 05:21:55 CDT

after fiddeling around with my example**, I figured out, that it is vital that innumberlist=false is the standard option in \begin{theglossary}, because the targets are placed, even if there are no links in the name-items (name=#4 in glos and #3 in acr)

\newcommand*{\newacroglossentry}[5][]{ %
  \newglossaryentry{#2__}{ %
    name={#4}, %
    text={#3\glsadd{#2}}, %
    description={(#2) #5}, %
    #1} %
  \newacronym[text=#3\glsadd{#2__}]{#2}{#3}{\glsname{#2__}} %

\newacroglossentry{N}{N}{a number}{precessor of \glsname[innumberlist=false]{NPO}}

\newacroglossentry{NPO}{N+1}{another number}{successor of \glsname[innumberlist=false]{N}}

** desired link structure is (works despite of the nonumberlist-issue):
first to glos
next to acr

acrdesc to glos (no numberlist item)
acrnumberlist to first and next

glosdesc-usedacr to acr (no numberlist item)
glosdesc-usedglos to glos (no number list item)
glosnumberlist to first and next

Comment from Nicola Talbot

It sounds as though you just need to use \glshyperlink, which creates a hyperlink but doesn't add a line to the glossary file. If this is the case, then I can close this as already implemented.

Comment from Stefan
Date: 2016-01-03 14:31:28 CST


thanks for watching over my request. I now accidentally found it again after failing to find it while searching.

I helped myself by creating macros using \glshyperlink as you wrote here.

the full code was in the end:

\newcommand*{\newacroglossentry}[5][]{ %
  \newglossaryentry{#2__}{ %
    name={#4}, %
    text={#3\glsadd{#2}}, %
    description={(#3) #5}, %
    #1} %
  \newacronym[text=#3\glsadd{#2__}, #1]{#2}{#3}{\glsname{#2__}} %






still, using macros other than \gls is a bit a pain

Comment from Nicola Talbot
Date: 2016-01-05 09:53 GMT

This feature will be added to the pending glossaries-extra package, which is currently only available in the experimental code page.

Add comment or return to search results.

Watch This Report

If you would like to be notified whenever updates are made to this report, please fill in your email address in the box below and click on "Notify Me of Changes" button. (Please ensure the address is valid.) Your details won't be passed on to third parties in line with this site's Privacy Policy.

If you supply your name, it will be used in the email greeting, which provides a more personal message, otherwise you'll just get a generic greeting. If you have previously supplied your name when signing up for notifications, you don't need to resupply it unless you want to change it.

If you have previously subscribed to notifications for this report, you can unsubscribe by clicking on the "Stop Notification" button.

The "Confirm Topic ID" field helps to protect against spambots. Please enter the feature request ID (which you can find at the top of this page).

E mail:
Confirm E mail:
Confirm Topic ID:

To unsubscribe from all notifications use the notifications page.


You can append a comment to this report using the form below. Comments are checked first before being added. Any spam or offensive content will be removed first according to this site's Terms of Website Use. Please bear in mind that I develop and maintain free software in my spare time. If you want commerical level support then you can hire a TeX consultant.

The "Confirm Feature Request ID" field helps to protect against spambots. Please enter the feature request ID (which you can find at the top of this page).

(Optional. If provided, it will be shown with the comment.)
Confirm Feature Request ID:

You can use the following markup:

[pre]Displayed verbatim[/pre]
[tt]monospace text[/tt]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url]

Ordered list:
[li]first item[/li]
[li]second item[/li]

Unordered list:
[li]first item[/li]
[li]second item[/li]

Click on the Preview button to preview the message.

Return to search results.