Make DocBook support more coherent.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / docbook / ui / TextSection.java
index d7fe97994532e503dba1aaa2006aaea72edb2a99..76ba661c3fd00461c962f023bd19fe7cff7f9c5d 100644 (file)
@@ -60,8 +60,8 @@ public class TextSection extends Section {
                        return titleStyle;
                // TODO make base H styles configurable
 //             Integer relativeDepth = getRelativeDepth();
-//             System.out.println("Level: "+getLevel());
-               return getLevel() == 0 ? TextStyles.TEXT_TITLE : "h" + getLevel();
+//             System.out.println("Level: " + getLevel());
+               return "h" + (getLevel() + 1);
        }
 
        public void setDefaultTextStyle(String defaultTextStyle) {