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.
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.