PierreSenellart / apxproof

LaTeX package for automatically putting proof environments in appendix
LaTeX Project Public License v1.3c
23 stars 8 forks source link

Modify apx@VerbatimOut to deal with commands using @ as delimiters #37

Closed komorin95 closed 4 years ago

komorin95 commented 4 years ago

To make use of some internal machinery, \makeatletter is written to the beginning of the auxiliary file. However, this causes some difficulties if one uses commands using @ as delimiters. This pull request solves the issue by modifying apx@VerbatimOut so that it writes \makeatother and \makeatletter each time. This version has passed almost all existing regression tests (except the one for acmart which is treated in another pull request). A new test case is also added.

PierreSenellart commented 4 years ago

Thanks a lot for this fix. This indeed seems to solve the issue, I have integrated it into the develop branch.