LaTeX export now supports escaping, with a warning if it fails

This commit is contained in:
Veronica K. B. Olsen committed 2019-10-28 11:18:26 +01:00
1 parent 73951757bb
commit 7eb7fafcbd
3 files changed
+14 -40

No files matched your search

+3
View File
@@ -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