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:
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 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
4
gen.py
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user