Closed SebastianJL closed 7 months ago
I've tried compiling this MWE using typst's official 0.9 release without seeing any errors:
Snippet of page:
Is it possible you have >= 4 overlapping notes? This is a known scenario that produces the compiler warning due to typst limitations:
@ntjess Could this be the offending page?
Is there any way you could emit a warning in the console when this happens?
Unfortunately, until https://github.com/typst/typst/issues/1322 or a similar mechanism is provisioned in typst, warnings are not possible to modify at the package level
@ntjess Could this be the offending page?
My thought is "no", since there is only a problem when 4 notes overlap -- you should easily be able to place notes on the same page. However, if you include a reproducible example I can check, I will be able to give a definite answer.
I'm closing this issue for now since the posted MWE no longer shows compiler warnings, and there have been a few improvements in the main branch. I will submit another release PR to typst/packages
in the next week or two that hopefully resolves most easy warning scenarios. In the meantime, if you encounter another situation that warns without containing overlapping notes or nested locate()
calls, feel free to reopen this issue or submit a new one.
typst --version: typst 0.9.0 (b5ef7893) drafting version: 0.1.1
When I include notes I get the following compiler warning:
To check if
drafting
is the culprit I quickly redefinedand now the warning doesn't show up anymore.
This is my `drafting setup
It is part of a larger template