1#!/bin/sh 2 3TEXINPUTS=".:../../hyph-utf8/tex//:../TL/texmf/tex/generic/config:$TEXINPUTS" 4export TEXINPUTS 5 6set -e 7 8# this will actually output the formats here 9fmtutil --byfmt luatex --fmtdir .. 10fmtutil --byfmt lualatex --fmtdir .. 11 12for f in *.tex; do 13 case $f in 14 latex-*) lualatex $f 15 ;; 16 plain-*) luatex $f 17 ;; 18 esac 19done 20 21echo "" 22echo "Formats and test files compiled successfully." 23echo "You should check the logs of the test files." 24