There are various properties in the CSS which control the page
breaks if you are using CSS to produce PDF:
and combined with that Nick said, with the possibility to use a
custom outputclass attribute either on the image or on its parent
step you may be able to achieve what you want.
On 2/7/21 18:15, Nicholas Mucks via
You’ll probably want an outputclass. We do something similar
with tables in PDF. The outputclass will also become a class
attribute value in the CSS if you’re relying on the HTML5 plugin
as your base for customizations.
For example, if a writer sets outputclass=keep-together on
their table then we add keep-together.within-page to the table
in the XSL-FO attributes. (It’s just a choose statement in the
attribute declaration.) This then forces the table to render
within one PDF page.
Is there a way within
Dita to force an image to stay with the previous or next
steps in a task?
I googled and saw ways
to do this with xslt, but I was wondering if there is an
attribute within Dita, or can I achieve the same thing
I am using Oxygen.
Oxygen XML Editor