# Description

Author: maxhawkins

Description:
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:
$\ce{H+ + OH- <=>> H2O}$

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

which gives the wrong output.

Version: unspecified
Severity: normal
https://bugzilla.wikimedia.org/show_bug.cgi?id=20902

Reference
bz10186

# Related Objects

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz10186.
bzimport created this task.Jun 7 2007, 1:43 PM

maxhawkins wrote:

*** Bug 9022 has been marked as a duplicate of this bug. ***

maxhawkins wrote:

Maybe the solution is to allow exceptions for certain packages in the configuration file.

physik wrote:

How and where is \ce defined.

Pkra added a comment.Oct 22 2013, 8:31 PM

How and where is \ce defined.

These commands are (probably) from the mhchem package, http://www.ctan.org/pkg/mhchem.

Peter

Pkra added a comment.Feb 10 2014, 2:56 PM

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.

physik wrote:

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.