asciidoctor / asciidoctor-pdf

:page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
https://docs.asciidoctor.org/pdf-converter/latest/
MIT License
1.15k stars 500 forks source link

Column layout is lost after importing PDF page #2253

Closed mojavelinux closed 2 years ago

mojavelinux commented 2 years ago

If page columns are enabled, and the content uses the image macro to import a page from a PDF, the column layout is lost following the imported page. After importing a page from the PDF, the converter should restore the column layout. It should also ensure that the column index is reset and that the columns start at the top of the content area of the new page.

Example:

= Document Title

left column

<<<

right column

image::imported-page.pdf[]

left column

<<<

right column