bare text in an md?

26 views
Skip to first unread message

Alex Jordan

unread,
Feb 23, 2026, 3:23:44 PM (14 days ago) Feb 23
to pretext...@googlegroups.com
There is message on -announce "[DEPRECATE] Excess math elements", and I think it is meant to tell me (among other things) that the following is legal:

<md>2x+5=7x</md>

I think this is the modern replacement for "me", putting bare text into an "md". But when I run jing-trang on a project, this comes up as an error:

error: text not allowed here; expected element "mrow"

Can I check in if I understand the new intent right, to allow bare text in an "md"? If that's right, there may be something out of alignment with the schema.


Rob Beezer

unread,
Feb 23, 2026, 9:40:50 PM (14 days ago) Feb 23
to pretext...@googlegroups.com
Dear Alex,

You understand the new #md construction correctly.

Deprecation warnings and schema updates will come after the semester ends. I
have a plan. Less chaos for those working on books while they teach.

*Adding* the new construction could happen now - but just #md without #mrow, and
the addition of md/@number="yes|no" (w/ or w/o #mrow). I think that is
everything new.

Rob
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-suppo...@googlegroups.com <mailto:pretext-
> support+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-support/
> CA%2BR-jreaJBU71Vsc_2rm1Jhh4oh0OiGwTNpa9hFz5jvt_Qoc9w%40mail.gmail.com <https://
> groups.google.com/d/msgid/pretext-support/CA%2BR-
> jreaJBU71Vsc_2rm1Jhh4oh0OiGwTNpa9hFz5jvt_Qoc9w%40mail.gmail.com?
> utm_medium=email&utm_source=footer>.

Oscar Levin

unread,
Feb 24, 2026, 10:22:38 AM (13 days ago) Feb 24
to PreTeXt support
Three weeks ago there was a PR that should have made the schema allow bare #md (but not disallow #me, yet).  Were you testing against this updated schema?  If so, there must be something wrong with it.

Alex Jordan

unread,
Feb 27, 2026, 2:15:46 PM (10 days ago) Feb 27
to pretext...@googlegroups.com
I was up to date before, but just pulled now to e5ff949...  and I still get this from running jing:
/Users/alex.jordan/palladium/src/chapter-linear-equations-and-inequalities.ptx:12:75: error: text not allowed here; expected element "mrow"

The lines of source in question are like this:

<chapter>
  <title>...</title>
  <introduction>
    <p>
      Text text <md>2x+5=7</md> text text.
    </p>
  </introduction>
  ...
</chapter>


To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/9c8460dd-5a0d-4d71-945b-ef0638e6d38bn%40googlegroups.com.

Rob Beezer

unread,
Feb 27, 2026, 4:52:31 PM (10 days ago) Feb 27
to pretext...@googlegroups.com
Looks like recent changes are in the "-dev" versions of the schema.

Give that a try, and perhaps we can migrate the right stanza.
> pretext-support/ <https://groups.google.com/d/msgid/pretext-support/>
> > CA%2BR-
> jreaJBU71Vsc_2rm1Jhh4oh0OiGwTNpa9hFz5jvt_Qoc9w%40mail.gmail.com
> <http://40mail.gmail.com> <https://
> > groups.google.com/d/msgid/pretext-support/CA%2BR- <http://
> groups.google.com/d/msgid/pretext-support/CA%2BR->
> > jreaJBU71Vsc_2rm1Jhh4oh0OiGwTNpa9hFz5jvt_Qoc9w%40mail.gmail.com
> <http://40mail.gmail.com>?
> > utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> support/9c8460dd-5a0d-4d71-945b-ef0638e6d38bn%40googlegroups.com <https://
> groups.google.com/d/msgid/pretext-support/9c8460dd-5a0d-4d71-945b-
> ef0638e6d38bn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> CA%2BR-jrcDUrvGERXx78GzfjjLZd5u-6VZKQx5JE_TvoEWtW3uQg%40mail.gmail.com <https://
> groups.google.com/d/msgid/pretext-support/CA%2BR-
> jrcDUrvGERXx78GzfjjLZd5u-6VZKQx5JE_TvoEWtW3uQg%40mail.gmail.com?
> utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages