Page MenuHomePhabricator

Complete MathML output mode for texvc
Closed, ResolvedPublic

Description

Right now only painfully simple things like "y=x+2" are output as MathML without
rasterization. It would be nice to support more constructs...


Version: unspecified
Severity: enhancement
URL: http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/math/mathml.ml

Details

Reference
bz672

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
DeclinedAklapper

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:59 PM
bzimport added a project: Math.
bzimport set Reference to bz672.
bzimport added a subscriber: Unknown Object (MLST).

xmlizer wrote:

Link to the source to improve

avarab wrote:

Isn't this useless unless the wiki is sending application/xhtml+xml,
application/xhtml or text/xml as its mimetype?

Yes, which is probably why there's not been much movement on it. ;)

j.niesen wrote:

Patch to enable MathML

This patch (against SVN revision 13633) enables MathML.

It needs another program, called blahtex, to actually generate the MathML. This
program can be downloaded at http://www.blahtex.org/ . As a side effect,
blahtex can handle more LaTeX and gives clearer error messages.

The pages are sent as application/xhtml+xml if the user has enabled MathML in
the user preferences.

See http://meta.wikimedia.org/wiki/Blahtex/Embedding_Blahtex_in_MediaWiki for
more details.

attachment blahtex-patch ignored as obsolete

j.niesen wrote:

Patch to enable MathML

This patch has more comments for doxygen in Math.php and it is updated against
r14294.

Attached:

j.niesen wrote:

Patch to add MathAfterTexvc hook

This patch adds a hook to Math.php to hang Blahtex as an extension on

attachment add-MathAfterTexvc-hook.txt ignored as obsolete

robchur wrote:

Comment on attachment 2012
Patch to add MathAfterTexvc hook

Applied to SVN trunk, r15068.

happy.melon.wiki wrote:

(In reply to comment #8)

(From update of attachment 2012 [details])
Applied to SVN trunk, r15068.

Gonna mark as resolved FIXED on that basis: per c2 and c3 this can't really be done in core; extension support is all we should provide, which is now done.

Aklapper changed the status of subtask T2213: XHTML mime-type autodetect from Resolved to Declined.Mar 4 2015, 5:41 PM