add latex chapter support