Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We should check subtitle for illegal macros #265

Open
kmccurley opened this issue Nov 17, 2024 · 0 comments
Open

We should check subtitle for illegal macros #265

kmccurley opened this issue Nov 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kmccurley
Copy link
Member

The subtitle attribute of the \title macro is written to metadata, and therefore it should not contain user-defined macros. At the present time we do not check this. The title itself is allowed to contain math and accents, but not macros. We should apply the same check to subtitle. Otherwise the subtitle may not be meaningful in the captured metadata since it could contain something like \protect \LaTeX \
if the original subtitle contains the macro \LaTeX. This is but one example.

@kmccurley kmccurley added the bug Something isn't working label Nov 17, 2024
kmccurley added a commit that referenced this issue Nov 17, 2024
@jwbos jwbos self-assigned this Nov 27, 2024
kmccurley added a commit that referenced this issue Nov 27, 2024
Add a check on subtitle for #265
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants