Page 1 of 1

Inserting equations within lists

Posted: Mon May 13, 2019 3:19 pm
by nschwartz
I've got a list that contains a MathML equation within one of the middle list items. The XML document invalidates as soon as I try to insert the equation within the <litem> tags, and will only validate if the equation remains entirely outside of the <listing> tags. This causes the list items appearing after the equation to become part of a new list with restarted numbering, when they should be a continuation of the previous list. Any advice on how to keep my equation without messing with the numbering of my list?

Re: Inserting equations within lists

Posted: Mon May 13, 2019 4:03 pm
by Radu
Hi,

You seem to use a custom XML vocabulary so you probably need to modify the schema (DTD, XML or Relax NG Schema) so that the mathml content is allowed in the elements where you want to insert it.

Regards,
Radu

Re: Inserting equations within lists

Posted: Mon May 13, 2019 6:48 pm
by nschwartz
Thank you, that's really helpful!

-N