use popen for blahtex