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

Deprecate state.final() and query(..., loc) + add missing panic for empty attribute + formatting #52

Merged
merged 11 commits into from
Oct 6, 2024

Conversation

quachpas
Copy link
Collaborator

@slashformotion What do you think about deprecating usage of state.final with a new user function register-glossary? Could be a step towards management of multiple glossaries at the same time.

 #import "@preview/glossarium:0.4.0": make-glossary, register-glossary, print-glossary, gls, glspl
 #show: make-glossary
+ #let entry-list = (...)
+ #register-glossary(entry-list)
... // Your document body
 #print-glossary(
- (
-   ...
- )
+  entry-list
 )

@quachpas quachpas changed the title Deprecate state.final() and query(..., loc) + add missing panic for empty attribute + formatting [WIP] Deprecate state.final() and query(..., loc) + add missing panic for empty attribute + formatting Aug 12, 2024
@quachpas quachpas marked this pull request as draft August 12, 2024 10:57
@quachpas quachpas changed the title [WIP] Deprecate state.final() and query(..., loc) + add missing panic for empty attribute + formatting Deprecate state.final() and query(..., loc) + add missing panic for empty attribute + formatting Oct 6, 2024
@quachpas quachpas marked this pull request as ready for review October 6, 2024 08:53
@quachpas quachpas merged commit 322d866 into typst-community:master Oct 6, 2024
2 checks passed
@quachpas quachpas deleted the deprecation branch October 6, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant