Respect TeX control boundaries and verbatim ranges - #305
Merged
Conversation
1sgtpepper
force-pushed
the
fix/latex-control-and-verbatim
branch
from
August 6, 2026 21:02
577fe16 to
03bcd0e
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
1sgtpepper
force-pushed
the
fix/latex-control-and-verbatim
branch
3 times, most recently
from
August 9, 2026 05:43
8c73d79 to
39a5ca1
Compare
1sgtpepper
force-pushed
the
fix/latex-control-and-verbatim
branch
4 times, most recently
from
August 10, 2026 19:29
f2dce70 to
3ce5ee2
Compare
1sgtpepper
marked this pull request as ready for review
August 10, 2026 19:35
1sgtpepper
force-pushed
the
fix/latex-control-and-verbatim
branch
3 times, most recently
from
August 11, 2026 13:18
844ca7d to
cb3d8ea
Compare
1sgtpepper
force-pushed
the
fix/dollar-math-boundaries
branch
from
August 11, 2026 15:39
bd20027 to
a9c59f8
Compare
1sgtpepper
force-pushed
the
fix/latex-control-and-verbatim
branch
4 times, most recently
from
August 11, 2026 17:39
b57c035 to
474fd48
Compare
1sgtpepper
force-pushed
the
fix/latex-control-and-verbatim
branch
from
August 11, 2026 19:08
474fd48 to
8b16179
Compare
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.
Summary
LaTeX scanning now honors active TeX control boundaries and source-ordered ownership of
comments and verbatim regions. Controls inside comments or verbatim text remain opaque;
live controls, newline and EOF comments, matched closers, and mismatched verbatim
closers retain their required behavior. Markdown math labels use the same active-control
boundary rule.
Linked issues
Fixes #264.
Fixes #268.
Fixes #269.
Validation
Exact-head GitHub Actions passed on
8b161799bfbd0f12dd0a12215c0756183c4c14d0:CI run 31526368893 and
Docs run 31526368929.
quality,docs,package,public regression replay,self-check, Python 3.11–3.13,aggregate
test,build-docs, andcodecov/patchall passed.