static void initSections() {
		if (sectionLevelMax == null) {
			if (!includeTexOutputInOtherTexFile) {
				if (docclass.equals("scrreprt") || docclass.equals("report")) {
					sectionLevelMax = CHAPTER_LEVEL;
				} else if (docclass.equals("scrartcl")
						|| docclass.equals("article")) {
					sectionLevelMax = SECTION_LEVEL;
				} else {
					sectionLevelMax = SECTION_LEVEL;
				}
			} else {
				sectionLevelMax = SECTION_LEVEL;
			}
		}

		if (sectionLevelMax.equals(CHAPTER_LEVEL)) {
			sectionLevels[0] = "chapter";
			sectionLevels[1] = "section";
			sectionLevels[2] = "subsection";
		} else if (sectionLevelMax.equals(SECTION_LEVEL)) {
			sectionLevels[0] = "section";
			sectionLevels[1] = "subsection";
			sectionLevels[2] = "subsubsection";
		} else if (sectionLevelMax.equals(SUBSECTION_LEVEL)) {
			sectionLevels[0] = "subsection";
			sectionLevels[1] = "subsubsection";
			sectionLevels[2] = "subsubsection";
		}
	}