Command \makeproof will fail for appendix mode if hyperref is loaded#6
Open
piotr-semenov wants to merge 2 commits into
Open
Command \makeproof will fail for appendix mode if hyperref is loaded#6piotr-semenov wants to merge 2 commits into
\makeproof will fail for appendix mode if hyperref is loaded#6piotr-semenov wants to merge 2 commits into
Conversation
Owner
|
@piotr-semenov this looks great, thank you for fixing! Mind adding a comment to the code to explain the exception case for I'm happy to merge this and cut a new release once you've done so. |
Contributor
Author
|
Hi Daniel @thisisdhaas, First of all, sorry for my long silence on this PR. The last couple of years have been quite difficult for me personally (for entire world as well I guess), and I had to step away for much longer than I expected. I’ll comment as you requested, re-check the PR against a current TeX Live setup, and update the PR if needed. Thank you for your patience, and sorry again for the delay. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If user uses both of
moveproofsandhyperrefpackages together then pdflatex will fail to process TOC for appendix subsections containing proofs. Please, find the minimal non-working example namedmnwe.texbelow.If user tries to render
mnwe.texto PDF then will get the error because TOC wants strings for subsection titles rather than TeX code.This PR extends the
moveproofpackage's command\appendixproofto handle this case.This PR was tested with
TeX Live 2024andlatexmk v4.85.