summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-17 20:10:44 +0000
committerKarl Berry <karl@freefriends.org>2022-05-17 20:10:44 +0000
commitc5afa218a259da04240dced0cd75453540d88556 (patch)
treefbb0ae6145e6add0fc3c6c80a5fad89e69c570dd /Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py
parentda8cfe6a9657c7273bc3b57ee20a83fa37036e2d (diff)
biblatex-gb7714-2015 (17may22)
git-svn-id: svn://tug.org/texlive/trunk@63322 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py')
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py
index 69cebb85002..99ace839415 100644
--- a/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py
+++ b/Master/texmf-dist/doc/latex/biblatex-gb7714-2015/makeall.py
@@ -3,9 +3,9 @@
import os
import shutil
-import subprocess
import pathlib
import re
+import subprocess
def compileall():
@@ -84,6 +84,7 @@ def compileall():
fileuniset=["test*.tex","cls*.tex","opt*.tex","eg*.tex","tgb*.tex","thesis*.tex","gbt*.tex"]
else:
fileuniset=["test*.tex","cls*.tex","opt*.tex","code*.tex","eg*.tex","tgb*.tex","thesis*.tex","gbt*.tex"]
+
for fileuni in fileuniset:
pf1=pathlib.Path('.').glob(fileuni)
pf=[str(x) for x in pf1]
@@ -106,7 +107,10 @@ def compileall():
if dirname !="tool":
subprocess.run([latexcmd,"-no-pdf",file])
subprocess.run(["biber",jobname])
- subprocess.run([latexcmd,file])
+ subprocess.run([latexcmd,file])
+ else:
+ subprocess.run([latexcmd,file]) # 插入pdf的pdfpages宏包要使用目录,需要两次编译
+ subprocess.run([latexcmd,file])
#根据biber的版本区别编译文档
if dirname=="egfigure":