Last modified: 2014-10-20 09:49:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37189, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35189 - MathJax treats double \underline differently as texvc
MathJax treats double \underline differently as texvc
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 70207
  Show dependency treegraph
 
Reported: 2012-03-13 09:12 UTC by Michael M.
Modified: 2014-10-20 09:49 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael M. 2012-03-13 09:12:02 UTC
In \underline{\underline a} MathJax makes the second underline to long, the PNG shows both correctly with equal length.

By the way: You can have a look the examples for all my bugs at http://leuksman.com/mw/index.php/User:Schnark
Comment 1 Derk-Jan Hartman 2012-03-25 20:08:00 UTC
Actually, if you look carefully, the 2nd line is actually two lines made up from overlapping −
span 86 was the first underline under a, the 2nd underline is span 87, which looks like this:

<span style="position: absolute; clip: rect(2.318em 1000em 2.839em -0.572em); top: -1.998em; left: 0em; "><span class="mo" id="MathJax-Span-87" style=""><span style="display: inline-block; position: relative; height: 0px; width: 0.89em; "><span style="position: absolute; font-family: MathJax_Main; top: -4em; left: -0.084em; display:none;">−<span style="display: inline-block; width: 0px; height: 4em; "></span></span><span style="position: absolute; font-family: MathJax_Main; top: -4em; left: 0.196em; display:none;">−<span style="display: inline-block; width: 0px; height: 4em; "></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.778em; "></span></span>

I suspect that it is interpreting 'underline a' as two elements and thus underlining both of those elements or something.
Comment 2 Derk-Jan Hartman 2012-03-25 20:08:32 UTC
confirmed
Comment 3 Frédéric Wang 2013-09-10 16:00:32 UTC
It seems that something like \uuline (from the ulem package) would be more appropriate for a MathML conversion.
Comment 4 physikerwelt 2014-10-19 18:12:55 UTC
Seems to be a problem within MathJax
https://www.mediawiki.org/wiki/Extension:Math/bug/35189
Comment 5 Peter Krautzberger 2014-10-20 09:49:10 UTC
Filed upstream at https://github.com/mathjax/MathJax/issues/937

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links