LaTeX export now supports escaping, with a warning if it fails
This commit is contained in:
@@ -24,6 +24,7 @@ class LaTeXFile(TextFile):
|
||||
def __init__(self, theProject, theParent):
|
||||
TextFile.__init__(self, theProject, theParent)
|
||||
self.theConv = ToLaTeX(self.theProject, self.theParent)
|
||||
self.texCodecFail = False
|
||||
return
|
||||
|
||||
##
|
||||
@@ -50,6 +51,8 @@ class LaTeXFile(TextFile):
|
||||
self.outFile.write("\\end{document}\n")
|
||||
self.outFile.close()
|
||||
|
||||
self.texCodecFail = self.theConv.texCodecFail
|
||||
|
||||
return True
|
||||
|
||||
# END Class LaTeXFile
|
||||
|
||||
Reference in New Issue
Block a user