diff --git a/source/java/writer2latex/xhtml/TextConverter.java b/source/java/writer2latex/xhtml/TextConverter.java index dd42881..24f438a 100644 --- a/source/java/writer2latex/xhtml/TextConverter.java +++ b/source/java/writer2latex/xhtml/TextConverter.java @@ -291,6 +291,7 @@ public class TextConverter extends ConverterHelper { getTableCv().handleTable(child,hnode); } else if (nodeName.equals(XMLString.TEXT_SECTION)) { + breakBeforeNextNode = processPageBreaks(child, hnode,null, breakBeforeNextNode); hnode = maybeSplit(hnode,null); nDontSplitLevel--; hnode = handleSection(child,hnode);