Skip to content

resilient.tableofcontents: toc-level1 runs of the typeblock and vbreak has no effect. #20

Answered by Omikhleia
no-vici asked this question in Q&A
Discussion options

You must be logged in to vote

That's a bug actually, due to the fact that PDF links (in which we wrap ToC entries) cannot be line-broken yet in SILE...

sile-typesetter/sile#1239 (tentative PR sile-typesetter/sile#1334)

So currently, the ToC line will overflow the page as observed, if PDF links are enabled.

A fix for this issue is not fully sufficient (we'd still have to reserve the space for the page number, i.e. to break line at an earlier point that the frame edge), but for now, until it gets a solution, I've refrained considering it.

In other terms, disabling PDF linking (\tableofcontents[linking=true]) will somewhat work, but is not perfect either.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Omikhleia
Comment options

@Omikhleia
Comment options

@no-vici
Comment options

@no-vici
Comment options

@no-vici
Comment options

Answer selected by no-vici
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants