# runtools mag-0008.rb # # copyright=pragma-ade readme=readme.pdf licence=cc-gpl job = Job.new for i in 1..6 do name = "dem-0008-#{i}" job.execute_command("xsltproc --output #{name}.fx #{name}.xsl #{name}.xml") job.execute_command("texmfstart texexec --pdf --xml --use=fx #{name}.fx") end