You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to try out mantys for a new package I was working on and ran into an issue, the following code complained about the labels for the functions being defined multiple times:
#import"@preview/mantys:0.1.1": *
#import"/src/lib.typ"assubpar#letpackage=toml("/typst.toml")
#show: mantys.with(
..package,
title: [subpar],
date: datetime.today().display(),
abstract: [
Subpar provides easy to use subfigures with sensible default numbering and related features like chapter-relative numbering in mind.
],
example-scope: (subpar: subpar)
)
#tidy-module(read("/src/lib.typ"))
You can see the full repository at this point here.
The text was updated successfully, but these errors were encountered:
mantys and tidy both create labels for the functions and without a namespace for the tidy module, those labels collide. I will look into that.
For now, you can simply set a name when calling tidy-module:
I wanted to try out mantys for a new package I was working on and ran into an issue, the following code complained about the labels for the functions being defined multiple times:
You can see the full repository at this point here.
The text was updated successfully, but these errors were encountered: