Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #259 - Sidebars now render on multiple pages #780

Closed
wants to merge 1 commit into from
Closed

Fixes #259 - Sidebars now render on multiple pages #780

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 20, 2017

This adds code to render sidebars over multiple pages correctly. It does result in text existing in the document twice (as the last fix did - #735), which is a bit annoying, but it only really affects text searches and document size afaict.

A better fix is theoretically possible, but it would require significant reworking of the pdf renderer - the using the "dry_run" attribute, for instance.

Fix refactors convert_sidebar to mirror behaviour of convert_quote_or_verse, such that multiple pages draw correctly. Requires drawing the block content twice.

Fixes #259

…sort of hack (which my last attempted fix *did* do).
@ghost
Copy link
Author

ghost commented Mar 20, 2017

Gah, false alarm, accidentally looking at the wrong spec build... getting closer though!

@ghost ghost closed this Mar 20, 2017
@ghost ghost deleted the 259_multi_page_sidebar2 branch March 27, 2017 10:46
This pull request was closed.
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.

Sidebar doesn't render more than 1 page
0 participants