make1tex 264 B

12345678910
  1. #!/bin/csh
  2. set texfile="all.tex"
  3. echo '\documentclass{article}' >$texfile
  4. echo '\usepackage{fpk}' >>$texfile
  5. echo '\usepackage{a4}' >>$texfile
  6. echo '\\begin{document}' >>$texfile
  7. foreach f ( $* )
  8. echo "\input{$f}" >>$texfile
  9. end
  10. echo "\end{document}" >>$texfile