Last modified: 2014-10-19 19:09:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10186 - texvc strips whitespace required to render certain macros
texvc strips whitespace required to render certain macros
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Low normal (vote)
: ---
Assigned To: physikerwelt
: 9022 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-06-07 13:43 UTC by Max Hawkins
Modified: 2014-10-19 19:09 UTC (History)
4 users (show)

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


Description Max Hawkins 2007-06-07 13:43:02 UTC
Certain packages require whitespace to render correctly. Texvc strips all whitespace, so the macros don't render properly.

Example using the mhchem package:

If you enter:
<math>\ce{H+ + OH- <=>> H2O}</math>

Texvc passes it to TeX as:
\ce {H-+OH-<=>>H2O}

which gives the wrong output.
Comment 1 Max Hawkins 2007-06-07 13:43:30 UTC
*** Bug 9022 has been marked as a duplicate of this bug. ***
Comment 2 Max Hawkins 2007-06-07 13:46:30 UTC
Maybe the solution is to allow exceptions for certain packages in the configuration file.
Comment 3 physikerwelt 2013-10-22 19:25:52 UTC
How and where is \ce defined.
Comment 4 Peter Krautzberger 2013-10-22 20:31:29 UTC
(In reply to comment #3)
> How and where is \ce defined.

These commands are (probably) from the mhchem package, 

See also

Comment 5 Peter Krautzberger 2014-02-10 14:56:48 UTC
Just a quick update. There's a fix available at which will be in the next MathJax release.
Comment 6 physikerwelt 2014-10-19 19:09:00 UTC
I'm closing all feature requests that are older than one year... It seems unlikely that someone waits more than a year for a new feature. If the bug is reopened, we see that the feature is still important.

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