Ancient print caption issues - still pending...

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Niels
Propeller Head
Posts: 89
Joined: Thu Dec 15, 2016 8:41 am
Location: Köln

Ancient print caption issues - still pending...

Post by Niels »

Why on Earth - although it would be the perfect feature, can't Flare offer a feature to avoid this? Some will claim that CSS can't do it. But Flare would be able to, if they just tried...
With tables there is a "manual" workaround at least, but having to apply this for each and every table is annoying. For captions of images there also is a partial solution but again, why do millions of writers have to take manual action to solve this each day to produce acceptable print?

I still do not understand, why we should be looking forward to any new features, while we still must apply manual "patches" for a trivial need to avoid unprofessional layout in print :-)
You do not have the required permissions to view the files attached to this post.
robdocsmith
Sr. Propeller Head
Posts: 248
Joined: Thu May 24, 2018 3:11 pm
Location: Queensland, Australia

Re: Ancient print caption issues - still pending...

Post by robdocsmith »

Hi Niels,

Can you show us the styles you are using? Have you included "page-break-before:avoid;" in your table caption style? Have you tried that in combination with "page-break-after:avoid;" on the table (or using the tried and tested generic .keepwithnext class that includes that style)? My css would include the following:

Code: Select all

p.tablecaption {
   page-break-before: avoid;
}
.keepwithnext {
   page-break-after: avoid;
}
The page would include:

Code: Select all

<table class="keepwithnext">
...
</table>
<p class="tablecaption">Table caption</p>
Assuming the page is large enough to contain both table and caption, the two should stick together.

Cheers,
Rob
Post Reply