From b298c51aaae2d65f70ac90720069f092b36e37df Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Tue, 5 Mar 2024 20:29:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E5=88=97=E8=AE=B2=E4=B9=89=E7=94=9F?= =?UTF-8?q?=E6=88=90=E4=B8=AD=E5=8F=96=E6=B6=88=E5=9C=A8=E7=BB=88=E7=AB=AF?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=98=AF=E5=90=A6=E7=BC=96=E8=AF=91=E5=90=88?= =?UTF-8?q?=E9=9B=86=E7=9A=84=E5=8A=9F=E8=83=BD(=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E4=B8=8A=E6=9C=89)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/系列讲义生成.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/工具v2/系列讲义生成.py b/工具v2/系列讲义生成.py index 028c2dca..b148109e 100644 --- a/工具v2/系列讲义生成.py +++ b/工具v2/系列讲义生成.py @@ -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)