Remove latex dependencies