Skip to content

Fix invisibles on final page - #2141

Merged
laurmaedje merged 1 commit into
mainfrom
weak-meta-fix
Sep 14, 2023
Merged

laurmaedje merged 1 commit into
mainfrom
weak-meta-fix

Conversation

@laurmaedje

@laurmaedje laurmaedje commented Sep 14, 2023 •

Copy link
Copy Markdown
Member

Weak pagebreaks currently make invisible metadata vanish on the last page (#2134). This PR changes how final pages are handled to fix that.

@Beiri22

Beiri22 commented Sep 14, 2023

Copy link
Copy Markdown
Contributor

When you put another invisible element at the end of the document, let's say metadata (which in contrast will not generate any visible content in the document), will that result in an empty page then?

@laurmaedje

Copy link
Copy Markdown
Member Author

Yeah it would. But I think that's fine.

@Beiri22

Beiri22 commented Sep 14, 2023

Copy link
Copy Markdown
Contributor

It might be a very rare case though...

@laurmaedje
laurmaedje merged commit 3dd12d1 into main Sep 14, 2023
@laurmaedje
laurmaedje deleted the weak-meta-fix branch September 14, 2023 11:36
Dikluwe pushed a commit to Dikluwe/typst-crystalline that referenced this pull request Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants