Added some more options to the export GUI and the ability to skip scene and section titles

This commit is contained in:
Veronica K. B. Olsen
2019-10-28 20:36:38 +01:00
parent 0bb5a37414
commit f1e8f2e321
8 changed files with 106 additions and 55 deletions
+5 -1
View File
@@ -90,6 +90,10 @@ class ToLaTeX(Tokenizer):
self.theResult += "%s\n" % self._escapeUnicode(tText)
self.theResult += endText
elif tType == self.T_SKIP:
self.theResult += "\\bigskip\n"
self.theResult += "\\bigskip\n\n"
elif tType == self.T_TEXT:
thisPar.append(self._escapeUnicode(tText))
@@ -99,7 +103,7 @@ class ToLaTeX(Tokenizer):
elif tType == self.T_COMMENT and self.doComments:
self.theResult += "%s\n\n" % tText
elif tType == self.T_COMMAND and self.doCommands:
elif tType == self.T_KEYWORD and self.doKeywords:
self.theResult += "%% @%s\n\n" % tText
return