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

Function for resetting glossary entry behavior #65

Open
JKRhb opened this issue Oct 14, 2024 · 2 comments
Open

Function for resetting glossary entry behavior #65

JKRhb opened this issue Oct 14, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@JKRhb
Copy link
Contributor

JKRhb commented Oct 14, 2024

First of all, thank you for providing this very great package :)

In a document I am currently writing, I would like to reset the behavior of the referenced glossary entries once a new chapter begins so that entries are initially printed as they have not been used before. For that purpose, it would be great to have a function that resets the state that keeps track of whether a glossary entry has already been used before.

Would it be possible to add such a function to the package? Or is that already possible to achieve with what the package is exposing?

@hbierlee
Copy link

I also have this specific feature request. I made a fork which implements this for me, although I'm sure in general the design needs to be thought out more:

https://github.com/hbierlee/glossarium/tree/feature/reset-glossary

@quachpas quachpas self-assigned this Oct 24, 2024
@quachpas quachpas added the enhancement New feature or request label Oct 24, 2024
@quachpas quachpas added this to the 0.5.1 milestone Oct 24, 2024
@quachpas
Copy link
Collaborator

I also have this specific feature request. I made a fork which implements this for me, although I'm sure in general the design needs to be thought out more:

https://github.com/hbierlee/glossarium/tree/feature/reset-glossary

thanks, that works out fine for this specific chapter behaviour, but probably need to implemented differently if the user needs more control over when/how the state resets

@quachpas quachpas modified the milestones: 0.5.1, 0.6.0 Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants