https://bugzilla.wikimedia.org/show_bug.cgi?id=35188
Derk-Jan Hartman <hart...@videolan.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hart...@videolan.org --- Comment #5 from Derk-Jan Hartman <hart...@videolan.org> 2012-03-26 19:24:26 UTC --- Nageh said something about this that is relevant when he detailed his changes: https://en.wikipedia.org/wiki/User_talk:Nageh#MathJax_integration_into_stock_MediaWiki Heuristic detection of inline vs. display maths. Heuristic used: parent HTML element is "DD" and maths element is the only child, then interpret as "display maths", otherwise as "inline maths". Also, if the maths element is classified as "inline maths" but the element is the first child in the parent "DD", precede the maths with "\displaystyle": this effectively treats the maths as a display-style formula but without the newline of ordinary display maths formulas. See ConvertMath() function in User:Nageh/mathJax/config/TeX-AMS-texvc_HTML.js. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l