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

Patch restricted horizontal again #2232

Merged
merged 4 commits into from
Oct 13, 2023

Conversation

brucemiller
Copy link
Owner

minipage (and \parbox) act in vertical mode, which (should have) overrides the (fake) restricted horizontal mode of \hbox. This fixes that.
Fixes #1994

The underlying issue is that $ should look for a second $ only when not in restricted-horizontal mode. We really need to upgrade to the proper 6 processing modes, but that should be in the next release.

@brucemiller brucemiller requested a review from dginev October 12, 2023 14:18
Copy link
Collaborator

@dginev dginev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious - looks good!

I only wish the dollar.tex tests used \mathrm{displaymath} to minimize the XML size.

@brucemiller
Copy link
Owner Author

Funny; I found it annoying while testing, but needed prodding to change it.

@brucemiller brucemiller merged commit 28e1985 into master Oct 13, 2023
26 checks passed
@brucemiller brucemiller deleted the patch-restricted-horizontal-again branch October 13, 2023 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tcolorbox and double dollar signs
2 participants