Preview and output are different ... WHY?

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
i-tietz
Propellus Maximus
Posts: 1219
Joined: Wed Oct 24, 2007 4:13 am
Location: Fürth, Germany

Preview and output are different ... WHY?

Post by i-tietz »

For test reasons I set the heading levels 1 to 4 to page-break-before: always;
The relevant text in the picture is that of just ONE topic. Paragraph number 1 is a h1 and the other three are h2.
Then I see this difference between preview and real output pdf:
print-output_print-preview.png
It's not only the pagination, but also the STYLES: In the preview everything is as expected. In the output it the actual h1 is formatted as h2 and the three h2 elements are formatted as h3 ...
In the TOC that topic is on the second level. This sort of mykes me understand where the downshift of the headings comes from (although still hard to accept), but where the heck does the page-break vanish to?

Actual problem I tried to solve by the test:
The page-break styles don't behave as expected and that even in the same PDF.
E.g. some topics start on a new page - leaving a big white space on the page before (it would actually fit on that page), another topic in the same folder with the same topic heading level (h1) and in the same TOC book directly follows the last text of the topic before - without a page-break ...
And: The same applies to topics assigned to TOC books on the same level ...

I just don't know where to look anymore.
You do not have the required permissions to view the files attached to this post.
Inge____________________________
"I need input! - Have you got input?"
wclass
Propellus Maximus
Posts: 1238
Joined: Mon Feb 27, 2006 5:56 am
Location: Melbourne, Australia

Re: Preview and output are different ... WHY?

Post by wclass »

Look in your target on the Advanced tab and check the setting for the option "Use TOC depth for heading levels".
Looks like that is set in your case.
Margaret Hassall - Melbourne
i-tietz
Propellus Maximus
Posts: 1219
Joined: Wed Oct 24, 2007 4:13 am
Location: Fürth, Germany

Re: Preview and output are different ... WHY?

Post by i-tietz »

That helps for formatting, thanx a lot!

But the page-breaks still behave erratically. - In the style sheet only H1 has a page-break-before: always;. the result is this:
print-output.png
Each arrow indicates a H1 which means: a separate topic.

And page-break-inside and paeg-break-after don't work at all. - I've never seen it working as expected. There are headings at the end of a page and the following text on the next or a picture on one page and the caption on the next, ...
Is it working for anybody? Am I just too stupid?
You do not have the required permissions to view the files attached to this post.
Inge____________________________
"I need input! - Have you got input?"
wclass
Propellus Maximus
Posts: 1238
Joined: Mon Feb 27, 2006 5:56 am
Location: Melbourne, Australia

Re: Preview and output are different ... WHY?

Post by wclass »

I can get an OK output, but I tend to generate Word rather than going straight to PDF - and the processing from Flare is not always the same.

Here's some things to check ...

For all my headings, I set the "page-break-after" to "avoid" to make sure they keep with the text they are a heading for.
For H1s that I want to start on a new page, I set "page-break-before" to "always" - this is essential to get the new page, and it does work in Word. All other headings should have this set to "avoid".

The "page-break-inside" option I usually only use for table rows - is your body text in the examples in a table? If it is and the row has "inside" set to "avoid" then it will keep the row together - this can cause large blank spaces. Generally I would leave the "inside" setting not set (or auto).
Next I'd check that the body text or bullets don't have a "break-after" setting - if they are set to avoid it might interfere with the following heading. If the text is in a div then this setting might have an effect. And also, make sure all the settings are in the correct medium.

In your example, where the new TOC Book starts - that could be affected by the setting on the Advanced tab (just under the Use TOC depth one) - have you set "Inject headings for unlinked books in TOC"?
Margaret Hassall - Melbourne
i-tietz
Propellus Maximus
Posts: 1219
Joined: Wed Oct 24, 2007 4:13 am
Location: Fürth, Germany

Re: Preview and output are different ... WHY?

Post by i-tietz »

wclass wrote:In your example, where the new TOC Book starts - that could be affected by the setting on the Advanced tab (just under the Use TOC depth one) - have you set "Inject headings for unlinked books in TOC"?
No. All the TOC books have topics assigned to them - they contain a short introduction and a miniTOC. Talking about it: Where are those? I have four books in the TOC and get only one table of contents on page 1 ... yet another quirk ...
Inge____________________________
"I need input! - Have you got input?"
Post Reply