Sorting packages/templates in universe

Is there an initiative aimed at sorting a bit more the packages/template in universe?
It’s really hard to find/discover the package you need, or to compare different packages (eg : there are 85 packages in the layout category covering very different use case).

We could have something more hierarchical. Eg:

  • Sciences
    • Math
      • Theorem
      • Layout
    • Chemistry
    • General
      • Units
    • Linguistic
  • Layout
    • Figures
    • box

If this seems too static, we could have something with tags, or a “similar package” field in the description.

Is there someone working at this ?
Is there someone wanting to dive into this ?
Is there a way to have a dump of the list of packages/templates description to start working on this and make a proposal ?
Is there any ideas ?

4 Likes

Typst Universe with Stars (unofficial) is a project in this direction. Not quite what you described, though.

The current manifest has a keywords field, but it’s used only as search keywords at present.

1 Like

if u ever make a package or template, there are 3 categories in typst/packages github repo:

  • Functional: what a package does on a technical level
    • component, visual, layout…
  • Publication: which kind of deliverable a package may be used
    • book, report, paper…
  • Disciplines: defining the target audience for which the package is useful
    • agriculture, computer, math…

But in typst univverse, only F P not D. I do agree to add that.

Thanks for your reply.

I played really quickly with a LLM, it gave me this result
typst-packages-classification.txt (9.9 KB)
It’s far from perfect, but could be a starter for future thinking.

When I’ll have some times, I’ll play around with the “category”, “discipline”, “keyword” field from the typst.toml

@Maxwell, I have made personnal package for my specfic needs (not sure my lesson template worth reaching universe). I tried to look at an example GitHub - Typsium/alchemist: A package to render skeletal formulae using a human-readable format using cetz · GitHub (the first in the packages list) but did not find the Functionnal/publication fields.

2 Likes