https://bugzilla.wikimedia.org/show_bug.cgi?id=12223

Frédéric Wang <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
            Summary|Add a tag for inline math   |Allow distinction between
                   |                            |inline and display math

--- Comment #10 from Frédéric Wang <[email protected]> ---
This blocks bug 35479, which would allow to optimize a bit the MathJax mode by
dropping the preprocessing phase. Currently the wiki2jax preprocessor has
heuristics to guess inline or display mode (with more or less success).

The LaTeXML mode does not have this preprocessing phase and directly outputs
<script type="math/mml"> for MathJax. However, it does not distinguish between
inline or display mode, which is a serious issue atm.

Since all the formulas are currently in inline mode, what should be done
instead is to add something to distinguish display equations. So for example
keep

<math>...</math>

for inline math and allow something like

<math display="block">...</math> or <displaymath>...</displaymath>

to specify display mode.

(Of course, that would mean that people will have to reedit all the Math pages
to explicitly specify display equations)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to