RPE unwanted page break before first heading in module
I am publishing 2 DNG modules using the same DTA for each module.
There are 2 template instances in the DSX. each one references the same DTA file.
The URI is different and each URI references its relevant module.
There is no stylesheet.
The default Heading 1 style does not have a page break before so the content of each module is published with no page breaks at all.
However RPE is inserting a single page break immediately before the first heading in the 2nd module.
Note that if the 2nd module contains some text objects before the first heading then these text objects appear before the page break.
i.e. the page break is before the 1st heading, not the 1st artifact.
Is this a bug?
Accepted answer
4 other answers
Hi Prasad,
Thanks for your time.
No it is not to do with styles.
I know about setting the 'page break before' option in the stylesheet.
I can reproduce this problem using a stylesheet with heading styles set to have no 'page break before'.
I can also reproduce this problem using no stylesheet (i.e.the default styles in normal.dot - which again do not have page breaks on the headings).
The problem is specific to the first heading in the 2nd module (and subsequent modules)
The rest of the headings in the 1st and 2nd modules do not have page breaks. Only the 1st heading in the 2nd module.
It must be the masterpage that is causing a page break before the first heading.
There is a masterpage in the template and it gets updated with a new header and footer (passed in as external variable parameters from the DSX) for each new module.
This is a problem since I need to be able to print a line of text above the first heading in the 2nd module (It is a section title which is not a numbered heading and not part of the numbered heading sequence) and then have the first heading in the 2nd module appear below this line of text on the same page with no page break but this does not seem to be possible.