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:
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.
Preview and output are different ... WHY?
Preview and output are different ... WHY?
You do not have the required permissions to view the files attached to this post.
Inge____________________________
"I need input! - Have you got input?"
"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?
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.
Looks like that is set in your case.
Margaret Hassall - Melbourne
Re: Preview and output are different ... WHY?
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: 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?
But the page-breaks still behave erratically. - In the style sheet only H1 has a page-break-before: always;. the result is this: 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?"
"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?
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"?
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
Re: Preview and output are different ... WHY?
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 ...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"?
Inge____________________________
"I need input! - Have you got input?"
"I need input! - Have you got input?"