Beautiful! just the result I was hoping for. Thanks again for quick and 
effective support.

N

-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com]
Sent: donderdag 22 juni 2017 15:05
To: Grundtvig Nielsen Niels
Cc: 'xmleditor-support@xmlmind.com'; ditac-supp...@xmlmind.com
Subject: Re: [XXE] dangerous mix of content and presentation, but ...

On 06/22/2017 11:34 AM, Grundtvig Nielsen Niels wrote:
> ... I've seen allusions to a 'keep with next' option in the release
> notes and wonder whether it's available in DITA tasks: the more tasks
> I write, the more I see conversion to .pdf leaving the single-line
> <cmd> on one page and the related <info> on another. I am of course
> reluctant to invent extra content just to push the <cmd> to the next
> page and keep the elements together :-}
>
>
>
> Hints welcome! or, even, confirmation it can't be done - just so that
> I know.
>

This is a bug in our XSLT stylesheets. An omission to be more precise.

The workaround is to add attribute:

keep-together.within-column = always

to the attribute-sets called:

step
compact-step
unordered-step
compact-unordered-step

(depending on which kind of step you use in your documents.)



This can be done from within XXE using  XMLmind XSL Customizer. See

- 8.1. "Customize Configuration" menu,
http://www.xmlmind.com/xmleditor/_distrib/doc/help/customizeConfigurationMenu.html#editConversionStylesheetsAction

- 14.3. The "XMLmind XSL Customizer" application, 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xslcustom.Customizer.html




IMPORTANT: If after doing that, you still have <cmd> on one
page and the related <info> on another, then this means that Apache FOP
does not support keep-together.within-column = always (which would be a
surprise).

We have purchased RenderX XEP to generate our PDFs and it works with
that commercial XSL-FO processor. (I'm pretty sure there is no problem
with Antenna House too.)




*********************************************************************************************
Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to