debug
This commit is contained in:
parent
3dbbd23883
commit
aaf94cd648
2 changed files with 5 additions and 6 deletions
|
@ -58,12 +58,11 @@ public class DocumentSeparator {
|
|||
if (headingSeparation.equals(SECTIONS)){
|
||||
closeCommentHeadings(hnode, curLevel);
|
||||
}
|
||||
//System.out.println("before split " + curLevel + " Has content? " + converter.getOutFileIndex());
|
||||
//System.out.println(hnode.getNodeName());
|
||||
/*if (splitLevel >= curLevel && (converter.outFileHasContent() || converter.getOutFileIndex() == 1)) {
|
||||
System.out.println("Split happened");
|
||||
// TODO: If split then move page div to new document. Dont split in text. Make option in menu
|
||||
if (splitLevel >= curLevel && (converter.outFileHasContent() || converter.getOutFileIndex() == 1)) {
|
||||
System.out.println("Split happened");
|
||||
hnode = converter.nextOutFile();
|
||||
}*/
|
||||
}
|
||||
//Place to split headings
|
||||
|
||||
if (headingSeparation.equals(SECTIONS)){
|
||||
|
|
|
@ -257,7 +257,7 @@ public class XhtmlConfig extends writer2latex.base.ConfigBase {
|
|||
nValue = Misc.getPosInteger(sValue,0);
|
||||
}
|
||||
};
|
||||
options[REPEAT_LEVELS] = new IntegerOption("repeat_levels","5") {
|
||||
options[REPEAT_LEVELS] = new IntegerOption("repeat_levels","0") {
|
||||
@Override public void setString(String sValue) {
|
||||
super.setString(sValue);
|
||||
nValue = Misc.getPosInteger(sValue,0);
|
||||
|
|
Loading…
Add table
Reference in a new issue