Last modified: 2014-10-19 19:09:00 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 T12186, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10186 - texvc strips whitespace required to render certain macros
texvc strips whitespace required to render certain macros
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: physikerwelt
:
: 9022 (view as bug list)
Depends on:
Blocks:
  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: ---


Attachments

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, http://www.ctan.org/pkg/mhchem. 

See also http://docs.mathjax.org/en/latest/tex.html#mhchem.

Peter
Comment 5 Peter Krautzberger 2014-02-10 14:56:48 UTC
Just a quick update. There's a fix available at https://github.com/mathjax/MathJax/issues/377 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.


Navigation
Links