Previous: The web form, Up: LaTeX web form creation


6.4 Use of tth

The files created in the previous step have to be processed by tth. Since there may be a lot of file to process, a script to process them in batch mode could prove useful, for instance:

     #!/usr/bin/bash
     
     for m in exam*.tex
     do
      tth -p/home/wgarcia/sources/devel_question/webtry/ $m
     done
     
     for m in answer*.tex
     do
      tth -p/home/wgarcia/sources/devel_question/webtry/ $m
     done