mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 15:18:51 -05:00
update build scripts to reflect operational reality
This commit is contained in:
parent
f291286ae5
commit
f0e2c027d0
1
all.sh
1
all.sh
@ -38,6 +38,7 @@ do
|
||||
xsltproc xep.xsl xep-$f.xml > $xeppath/xep-$f.html
|
||||
xsltproc ref.xsl xep-$f.xml > $xeppath/refs/reference.XSF.XEP-$f.xml
|
||||
xsltproc examples.xsl xep-$f.xml > $xeppath/examples/$f.xml
|
||||
./gen.py $f
|
||||
cp xep-$f.xml $xeppath/
|
||||
./gen.py $f
|
||||
done < nums.txt
|
||||
|
4
gen.py
4
gen.py
@ -281,7 +281,7 @@ def buildPDF( file, nr ):
|
||||
if not checkError(error, desc):
|
||||
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):
|
||||
return False
|
||||
|
||||
@ -310,7 +310,7 @@ def buildPDF( file, nr ):
|
||||
# os.chdir(olddir)
|
||||
# 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):
|
||||
# os.chdir(olddir)
|
||||
# return False
|
||||
|
Loading…
Reference in New Issue
Block a user