first stab at text extraction from latex file