Last modified: 2010-05-04 04:42:38 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 T25397, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23397 - texvc renders sim relation as tilde in html
texvc renders sim relation as tilde in html
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-03 22:44 UTC by CBM
Modified: 2010-05-04 04:42 UTC (History)
1 user (show)

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


Attachments

Description CBM 2010-05-03 22:44:41 UTC
In HTML output, Texvc renders the \sim character as a tilde. This leads to output like that at the bottom of the section 'Simple example' in the following link (make sure your preferences are set so the math shows up as HTML)

http://en.wikipedia.org/w/index.php?title=Random_effects_model&oldid=359908724#Simple_example 

This looks bad because the tilde in many text fonts is set very high above the baseline, not in the middle of the line like a binary operator should be. 

Examining the HTML output shows that the \sim really is rendered as a tilde there.

The TeX "sim" operator should be rendered as the "sim" entity, ∼. This is an HTML 4.0 entity and so it should be supported pretty much everywhere.
Comment 1 CBM 2010-05-04 00:06:41 UTC
I was incorrect: when I checked the actual bytes, I found Texvc is currently rendering the tilde as Unicode U+02DC, "small tilde". No wonder it looks so bad.
Comment 2 Bawolff (Brian Wolff) 2010-05-04 04:42:38 UTC
Actually it used the entity ˜ where it should of used ∼ Both are HTML 4 entities according to wikipedia.

Fixed in r65893

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


Navigation
Links