系列讲义生成中取消在终端输入是否编译合集的功能(面板上有)
This commit is contained in:
parent
379cb012b0
commit
b298c51aaa
|
|
@ -136,9 +136,9 @@ class MyWindow(QWidget,Ui_Form):
|
|||
|
||||
SaveTextFile(mergedtext,os.path.join(self.outputpath,f"合集{GetDate()}.tex"))
|
||||
|
||||
if not "编译合集" in configjson or configjson["编译合集"] == False:
|
||||
tocompile = input("需要编译合集吗?(Y/[N]):")
|
||||
if configjson["编译合集"] == True or tocompile[0].upper() == "Y":
|
||||
# if not "编译合集" in configjson or configjson["编译合集"] == False:
|
||||
# tocompile = input("需要编译合集吗?(Y/[N]):")
|
||||
if configjson["编译合集"] == True:
|
||||
XeLaTeXCompile(self.outputpath,f"合集{GetDate()}.tex")
|
||||
os.startfile(self.outputpath)
|
||||
|
||||
|
|
|
|||
Reference in New Issue