RolfBremer / in-dexter

Automatically create a handcrafted index in typst.
Apache License 2.0
56 stars 6 forks source link

[Feature Request] LaTeX style hierarchy #12

Closed iandol closed 6 months ago

iandol commented 6 months ago

In LaTeX you can use index{Group!Item} to make a hierarchy. In in-dexter that is done by #index("Group", "Item") but for interoperability it would be nice if you could also add support for a #index[Group!Item] so the index key would be the same between Typst and LaTeX (thinking about ease of converson between formats). You would just split the Group!Item at the ! and then get the group and item...

RolfBremer commented 6 months ago

Support for the LaTeX index grouping syntax is now in the main branch. Release as a typst package will follow soon.