#!/bin/sh

from=$1
case $from in
  *.tex) ;;
  *.ltx) 
   to=`basename $from .ltx`.tex
   (echo; echo; echo "\\SourceFile{$from}\\Setlineno 3"; cat $from) > $to
   ;;
esac




