Skip to content

Md schema updates#2783

Closed
oscarlevin wants to merge 1 commit intoPreTeXtBook:masterfrom
oscarlevin:md-schema
Closed

Md schema updates#2783
oscarlevin wants to merge 1 commit intoPreTeXtBook:masterfrom
oscarlevin:md-schema

Conversation

@oscarlevin
Copy link
Copy Markdown
Member

Since the simplification of display math environments, pretext-tools has been suggesting md instead of me for display math. But this is displaying errors since the change has not made its way to the schema.

This PR fixes that. It also removes the "experimental" status of an Xref inside a displayed equation (this was just in the dev schema for me and men). That can easily be brought back if we don't think this should be "standard" for bare md.

Second commit build the derived formats.

@rbeezer
Copy link
Copy Markdown
Collaborator

rbeezer commented Feb 5, 2026

I merged this, and only then did I remember why I didn't do this before.

Validation will be an absolute mess for anybody who uses these still and who has not done a global search/replace. I have a new warning type ("bulk") that just says how many deprecated instances you have and does not list each and every one, or perhaps just a few (configurable). But I understand your need here.

  • Is there some sort of stopgap you can implement?
  • I can turn on warnings, and maybe I will ratchet up how many instances get reported over time?

Merged, and immediately reverted at 35cba44. :-(

As part of merging, I consolidated the two commits - that's my usual practice, to include changes to derived products on the same commit as the source edits.

Sorry for the mess. Replaying the new (orginal) commit will be easy. Ideally I might hold it for the end of Spring term???

Comments or ideas?

@oscarlevin
Copy link
Copy Markdown
Member Author

How about we get the best of both worlds by adding the bare #md as valid schema, but not yet remove the other constructs?

@rbeezer
Copy link
Copy Markdown
Collaborator

rbeezer commented Feb 5, 2026

Aaha! I knew you would have a good idea. I hadn't realized it was the bare-md replacment for me that was the rub.

Yes! Can you work it up, and later we can go full-bore? I'll make a note to myself for mid-May.

@oscarlevin oscarlevin marked this pull request as draft February 6, 2026 18:06
@oscarlevin oscarlevin marked this pull request as ready for review February 6, 2026 22:02
@oscarlevin
Copy link
Copy Markdown
Member Author

Done, and ready for review.

rbeezer pushed a commit that referenced this pull request Feb 7, 2026
@rbeezer
Copy link
Copy Markdown
Collaborator

rbeezer commented Feb 7, 2026

Thanks. Merged as-is. I hope that won't make the deprecations too painful.

I'm going to close this, but we can always mine the commits for a new PR later this spring.

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.

2 participants