Hard-Coded Page Breaks

Due to text expansion, content blocks marked to avoid or force page breaks dynamically (soft-coded) sometimes cause odd page breaks when translated. To tell those apart from fixed hard-coded page breaks –also known as manual page breaks– set during content creation, it can be useful to reveal such hard-coded page breaks in debug outputs. This technique makes it easier to identify and correct them in the Flare project when needed.

The built-in Flare MadCap|pageBreak selector is another exception when it comes to displaying proprietary styles in the resulting output. So, as with snippets, styling hard‑coded page breaks for debugging purposes does not require supporting tags.

Debug.css includes the following selectors to expose hard‑coded page breaks:

Copy
Hard-coded page break style
    MadCap|pageBreak {
        display: inline;
    }

        MadCap|pageBreak::before {
            content: "--PgBrk--";
            color: coral;
            font-size: .6em;
        }

The generated output would look like this:

Debug output page-break