Added some more options to the export GUI and the ability to skip scene and section titles
This commit is contained in:
@@ -37,6 +37,7 @@ class LaTeXFile(TextFile):
|
||||
self.outFile = open(filePath,mode="wt+",encoding="utf8")
|
||||
self.outFile.write("\\documentclass[12pt]{report}\n")
|
||||
self.outFile.write("\\usepackage[utf8]{inputenc}\n")
|
||||
self.outFile.write("\\usepackage[T1]{fontenc}\n")
|
||||
self.outFile.write("\n")
|
||||
self.outFile.write("\\begin{document}\n")
|
||||
except Exception as e:
|
||||
|
||||
@@ -39,7 +39,7 @@ class TextFile():
|
||||
self.makeAlert = self.theParent.makeAlert
|
||||
|
||||
self.setComments(False)
|
||||
self.setMeta(False)
|
||||
self.setKeywords(False)
|
||||
self.setWordWrap(80)
|
||||
|
||||
return
|
||||
@@ -60,8 +60,8 @@ class TextFile():
|
||||
self.theConv.setComments(doComments)
|
||||
return
|
||||
|
||||
def setMeta(self, doMeta):
|
||||
self.theConv.setCommands(doMeta)
|
||||
def setKeywords(self, doKeywords):
|
||||
self.theConv.setKeywords(doKeywords)
|
||||
return
|
||||
|
||||
def setWordWrap(self, wordWrap):
|
||||
@@ -83,12 +83,12 @@ class TextFile():
|
||||
self.theConv.setUnNumberedFormat(fmtUnNum)
|
||||
return
|
||||
|
||||
def setSceneFormat(self, fmtScene):
|
||||
self.theConv.setSceneFormat(fmtScene)
|
||||
def setSceneFormat(self, fmtScene, hideScene):
|
||||
self.theConv.setSceneFormat(fmtScene, hideScene)
|
||||
return
|
||||
|
||||
def setSectionFormat(self, fmtSection):
|
||||
self.theConv.setSectionFormat(fmtSection)
|
||||
def setSectionFormat(self, fmtSection, hideSection):
|
||||
self.theConv.setSectionFormat(fmtSection, hideSection)
|
||||
return
|
||||
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user