Last modified: 2012-02-22 12:40:27 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 T21159, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19159 - \overleftrightarrow incorrectly parsed
\overleftrightarrow incorrectly parsed
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Manual:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-11 14:45 UTC by Joshua Gay
Modified: 2012-02-22 12:40 UTC (History)
1 user (show)

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


Attachments
A check for other broken commands (501 bytes, application/x-sh)
2009-11-12 02:28 UTC, Conrad Irwin
Details

Description Joshua Gay 2009-06-11 14:45:29 UTC
The overleftrightarrow is an ams-math function. However, Texvc treats it like it is a TeX function. 

For example, <math>\overleftrightarrow{AB}</math> will throw the error " Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert): \overleftrightarrow{A B}

Whereas, <math>\mathit{i}\overleftrightarrow{AB}</math> works. 

I believe that the parser/tokenizer just needs to specify amsmath when it comes across \overleftrightarrow in the code. My workaround right now is dumb, such that I just force ams-math to be used in all latex processing.
Comment 2 Conrad Irwin 2009-11-12 02:28:32 UTC
Created attachment 6769 [details]
A check for other broken commands

The other commands that are still found by the test script are only listed because they are context-sensitive - with the exception of \cal and \bf, which seem to be part of the tokenizer, but not the parser.

648488a2946a4f3112bfeaf653e80ab0 @@ \limits
b9e24e3904043fa24da642569a97ac5f @@ \nolimits
5f48c2734fafcb1ec3de8b818abb1e6c @@ \hline
b9182c3919f2fd6c300ff250b06d26ae @@ \sideset
S @@ \cal
S @@ \bf
S @@ \big
S @@ \Big
S @@ \bigg
S @@ \Bigg
S @@ \bigl
S @@ \bigr
S @@ \Bigl
S @@ \Bigr
S @@ \biggl
S @@ \biggr
S @@ \Biggl
S @@ \Biggr
19f579d6a075ffa791abeb7cffcac76c @@ \color

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


Navigation
Links