编译前提示文件名

This commit is contained in:
weiye.wang 2024-01-17 20:37:29 +08:00
parent 9a2fa0151f
commit f5ed5ab6b8
1 changed files with 1 additions and 0 deletions

View File

@ -1317,6 +1317,7 @@ def GenerateSingleLessonNote(id,notesdict,metadict,templatepath,outputfilepath,c
SaveTextFile(latex_data,outputfilepath) #保存.tex文件
outputdir,filename = os.path.split(outputfilepath)
print(f"{filename}编译中...")
if XeLaTeXCompile(outputdir,filename):
print("编译成功")
return latex_data # 返回0