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
// Stores the level of the topmost skipped ancestor of the next bookmarked
// heading. A skipped heading is a heading with 'bookmarked: false', that
// is, it is not added to the PDF outline, and so is not in the tree.
// Therefore, its next descendant must be added at its level, which is
// enforced in the manner shown below.
I think it is a designed feature that B.2 in level 2 will be added as a level 1 bookmark.
Since the webapp is not opensource, not sure how the web outline is designed.
I'm not sure if the web app's outline feature already existed when #1566 was merged, but either way that PR has further discussion. I think the current behavior is more in line with what is expected of PDFs, especially when e.g. a heading is orphaned, so a promotion is forced. But there could be some change in the behavior to make it at least slightly more uniform with outline, if we decide that to be desired.
Description
REPREX:
Heading B.2 should be inside Heading A.1
Here's the output file.
Test.pdf
Reproduction URL
No response
Operating system
No response
Typst version
The text was updated successfully, but these errors were encountered: