Changing from glossarium 0.5.9 to 0.5.10 results in error message 'dictionary does not contain key “styles”'

When using the modification 0.5.10 of glossarium I get following error:

~/.cache/typst/packages/preview/glossarium/0.5.10/themes/default.typ

dictionary does not contain key “styles”
and no default value was specified
typst [Ln 402, Col 41]

default.typ [Ln 413, Col 28]:
error occurred in this call of function “__get_attribute”

default.typ [Ln 719, Col 20]:
error occurred in this call of function “get_styles”

default.typ [Ln 839, Col 13]:
error occurred in this call of function “gls”

Replacing 0.5.10 with 0.5.9 everything works correctly.

Seems there is a problem in default.typ in 0.5.9.

Kind regards,
Florian

Hi Florian,

Your problem will get a lot more traction if you make some changes to this post:

  1. This seems to be a request for help. These types of posts should go into the Questions category.
  2. If this does get moved to the questions category then the title should be in the form of a question:

The title of your question should make clear what your post is about. Good titles are questions you would ask your friend about Typst.

  1. The error messages you posted seem to be copy/pasted. These will stand out more from text that you have typed by placing them in a code block (surrounding them with triple back ticks like this:
```
  Your pasted text
```

These are all covered here:

4. Please consider what tags this post should have. This helps with discoverability of your post, as well as making it clear what exactly you are trying to say or ask.


In case I misunderstood the intent of your post and you are simply trying to raise awareness of this issue and don’t actually need it to be resolved, then I think creating an issue on the package source page or contacting one of its authors would create this awareness in a more fitting place. Both of these are listed on the Glossarium page of Typst Universe.

In addition to @gezepi comment, it helps a lot if you attach a Minimal Working Example (MWE). Do you have a reproducible document, we could take a look at?