Page MenuHomePhabricator

texvc strips whitespace required to render certain macros
Closed, DeclinedPublic


Author: maxhawkins

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.

Version: unspecified
Severity: normal
See Also:



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:53 PM
bzimport added a project: Math.
bzimport set Reference to bz10186.

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.

(In reply to comment #3)

How and where is \ce defined.

These commands are (probably) from the mhchem package,

See also


Just a quick update. There's a fix available at 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.