Transfor tex files to IPF format