Not breaking a list (with image) on multiple pages when generating pdf

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Not breaking a list (with image) on multiple pages when generating pdf

momobel
Hi,

I am generating a pdf with asciidoctor (docbook output) and dblatex. ascidoctor-pdf may be an option.

I have a list such as below where images are attached to sub list elements.
The element text may be at the end of a page and the image at the beginning of the other. Is there a way to customize this?

* elem 1
* elem 2
** elem 2 sub 1.
+
image::image_2_1.png[]
** elem 2 sub 2.
+
image::image_2_2.png[]
* elem 3
* elem 4

Thanks in advance for your help!