now does multiple main tex sources