1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-23 17:52:15 -05:00

update build scripts to reflect operational reality

This commit is contained in:
Matthew A. Miller 2014-04-09 15:55:07 -06:00
parent f291286ae5
commit f0e2c027d0
2 changed files with 3 additions and 2 deletions

1
all.sh
View File

@ -38,6 +38,7 @@ do
xsltproc xep.xsl xep-$f.xml > $xeppath/xep-$f.html xsltproc xep.xsl xep-$f.xml > $xeppath/xep-$f.html
xsltproc ref.xsl xep-$f.xml > $xeppath/refs/reference.XSF.XEP-$f.xml xsltproc ref.xsl xep-$f.xml > $xeppath/refs/reference.XSF.XEP-$f.xml
xsltproc examples.xsl xep-$f.xml > $xeppath/examples/$f.xml xsltproc examples.xsl xep-$f.xml > $xeppath/examples/$f.xml
./gen.py $f
cp xep-$f.xml $xeppath/ cp xep-$f.xml $xeppath/
./gen.py $f ./gen.py $f
done < nums.txt done < nums.txt

4
gen.py
View File

@ -281,7 +281,7 @@ def buildPDF( file, nr ):
if not checkError(error, desc): if not checkError(error, desc):
return False return False
error, desc = executeCommand("texml -e utf8 /tmp/xepbuilder/xep-" + nr + ".tex.xml /tmp/xepbuilder/xep-" + nr + ".tex") error, desc = executeCommand("./texml -e utf8 /tmp/xepbuilder/xep-" + nr + ".tex.xml /tmp/xepbuilder/xep-" + nr + ".tex")
if not checkError(error, desc): if not checkError(error, desc):
return False return False
@ -310,7 +310,7 @@ def buildPDF( file, nr ):
# os.chdir(olddir) # os.chdir(olddir)
# return False # return False
error, desc = executeCommand("xelatex -interaction=batchmode xep-" + nr + ".tex") #error, desc = executeCommand("xelatex -interaction=batchmode xep-" + nr + ".tex")
#if not checkError(error, desc): #if not checkError(error, desc):
# os.chdir(olddir) # os.chdir(olddir)
# return False # return False