|
content block in primary document
* introduce arrange_block helper to handle positioning content block in primary document
* reimplement new dry_run to compute the extent and start position of the content block instead of just the height
* stop rendering at page boundary in scratch document when computing start position of content block to avoid unnecessary work
* ensure that caption stays with start of content block when arranging content block
* prevent arrange_block from starting content block on page when no content from block fits on that page
* avoid converting content that overruns page in AsciiDoc table cell in scratch document
* encapsulate push/pop scratch in arrange_block
* add tests for the arrange_block helper
* prevent nested breakable blocks from flowing beyond first page when performing on single page only
* switch dry_run method to accept keyword arguments
* avoid arrange_block when converting open block when possible
* include negative tests for image taller than page at top of block
* verify borders and backgrounds are not drawn in scratch document
* add test to verify behavior of stop_if_first_page_empty
* include sanity check before drawing background and border over extent
* add rdoc to dry_run and arrange_block help methods
* reuse computed extent as TOC extent
* remove unused code
* raise error if table caption does not fit on single page
* add test that footnotes are not pushed down if height exceeds height of page
|