“Keep with next” not working reliably

Please post all questions relating to using Help+Manual version 10 here.

Moderators: Alexander Halser, Tim Green

Post Reply
Johanna_M
Posts: 17
Joined: Thu Jun 02, 2022 10:32 am

“Keep with next” not working reliably

Unread post by Johanna_M »

For the TopicHeadingX styles, the “Keep with next” option is enabled. Unfortunately, this does not always work in the output. Attached you will find an example.

I hope this is understandable, and thank you in advance for looking into this issue.
Kind regards
You do not have the required permissions to view the files attached to this post.
User avatar
Tim Green
Site Admin
Posts: 7818
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: “Keep with next” not working reliably

Unread post by Tim Green »

Hi Johanna,

This is a little strange. There must be some other factor preventing it in this case. As far as I can see there are no conditional IF / END tags in the way, and no large images creating an unbreakable block of text. Is it possible that the paragraph directly after the heading als has "Keep with next" activated? If not, I need to have a look at a small demo project. Please send a small, single-file HMXZ demo project with which you can reproduce this to support AT ec-software.com (replace the AT with @). You can create this project as follows:

​1: Select Save As.. in the File menu and save the project in the single-file HMXZ format (first option, single file storage).
2: Delete any topics not needed for the demo.
3: Go to Configuration > Common Properties > Miscellaneous. Turn off "Automatically create history files" and delete the history in the project with the "Purge xx history files" button. Then save again.
4: Go to Project Files > Baggage Files and delete any files that are stored there, unless they are used in the affected topics.
​4: Perform a test to make sure you can still reproduce the issue with the demo project.​
​5​: Send us the resulting .hmxz file and the graphics files used in the demo ​topics.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Alexander Halser
EC-Software Support
Posts: 1101
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Re: “Keep with next” not working reliably

Unread post by Alexander Halser »

The issue has been solved. It was a mismatch of style definitions for Screen and Print.

If someone is facing a similar issue, please use the [Screen/Print] button at the bottom of the main window, to quickly test the text formatting in screen and print mode.
screen-print-mode.png
You do not have the required permissions to view the files attached to this post.
Alexander Halser
Senior Software Architect, EC Software GmbH
Post Reply