Last modified: 2011-03-13 18:04:26 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 T8284, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6284 - hyphenation (newline) problem with punctuation after <math> (true TeX) formula
hyphenation (newline) problem with punctuation after <math> (true TeX) formula
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Lowest minor with 1 vote (vote)
: ---
Assigned To: STyx
Depends on:
  Show dependency treegraph
Reported: 2006-06-12 15:11 UTC by STyx
Modified: 2011-03-13 18:04 UTC (History)
2 users (show)

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

screen shot (32.96 KB, image/png)
2010-06-25 21:06 UTC, STyx

Description STyx 2006-06-12 15:11:51 UTC
For example, result of :

<math>{hyphenation\over problem}</math>, with punctuation.

sometime is :

, with punctuation.

instead of :

with punctuation.

Comment 1 STyx 2006-06-12 15:13:45 UTC
nb: maybe this is a firebox problem, for it works properly with IE.
Comment 2 Conrad Irwin 2010-06-21 23:02:21 UTC
It renders as expected in my firefox four years later, please re-open this bug with a screen shot if it's still a problem.
Comment 3 STyx 2010-06-25 21:06:36 UTC
Created attachment 7515 [details]
screen shot

preview from
Comment 4 Conrad Irwin 2010-07-01 16:58:16 UTC
Sorry, I misunderstood you; thank you for the screenshot.

I'm marking this as WONTFIX: firstly tag extensions can't detect the surrounding content, and secondly HTML doesn't allow a forceful enough indication that the comma and image are not to be split.

As a 99% solution, the following wikitext seems to work, and you could put that in a template for re-use:

 <span style="display:inline-block;"><math>\frac{hyphenation}{problem}</math>,</span>

This keeps the comma and image linked until the page is narrow enough for only the image, which is likely to be good enough.

The other way would be to put the comma in the math directly, but then it looks different, of course.


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