AmerMathSoc / texml-to-html

Converting AmerMathSoc/texml output to raw HTML
Apache License 2.0
3 stars 2 forks source link

support disp-formula with content-type="text" #413

Closed pkra closed 1 year ago

pkra commented 1 year ago

https://github.com/AmerMathSoc/texml/issues/158 is proposing a new way to handle the old "thingy" problem.

We need to support it here (and see what issues might arise downstream).

pkra commented 1 year ago

First publication trying out the new markup is https://github.com/AmerMathSoc/mcom/pull/638

pkra commented 1 year ago

First draft looks like it will be relatively straight forward. Yet another case within label.js -- it probably deserves a refactoring.

pkra commented 1 year ago

One point we might want to revisit:

So far, formulas were turned into spans but our new "text formulas" should be divs (since they can contain paragraphs).

Perhaps every disp-formula should be a div.

pkra commented 1 year ago

Looks like we'll go with a new data-ams-doc value of "math text" -- needs platform documentation.