Last modified: 2013-07-25 07:05:25 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 T38855, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36855 - MathJax treats percent sign (%) as start of a comment
MathJax treats percent sign (%) as start of a comment
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-15 09:00 UTC by Michael M.
Modified: 2013-07-25 07:05 UTC (History)
3 users (show)

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


Attachments

Description Michael M. 2012-05-15 09:00:55 UTC
texvc translates all % to \%, but MathJax doesn't, so every formula with a % sign fails.
Comment 1 Derk-Jan Hartman 2012-06-02 11:37:36 UTC
Hmm texvc does that ? I'm not sure we should support it. We have been adding quite a bit of non-tex compliancy into texvc it seems. It's giving me second thoughts because it's a lot of compatibility issues that we are opening ourselves up to.
Comment 2 Derk-Jan Hartman 2012-07-03 07:42:40 UTC
"LaTeX use the percent sign ( % ) to indicate comments; everything from % to the end of the line is ignored."
Comment 3 Derk-Jan Hartman 2012-07-03 07:43:10 UTC
char	 literal	special meaning (unescaped)	  	  	 char	 literal	special meaning (unescaped)
%	 \%	 introduces a comment	  	  	 ^	 \^	 introduces a superscript in math mode
#	 \#	 introduces macro's formal parameters	  	  	 _	 \_	 introduces a subscript in math mode
$	 \$	 math-mode delimiter	  	  	 {	 \{	 begin a group
&	 \&	 data separator in tables	  	  	 }	 \}	 end of group
~	 \~	 non-breakable space in text	  	  	 \	 \backslash	 begins a command
Comment 4 Derk-Jan Hartman 2012-09-07 12:58:22 UTC
https://gerrit.wikimedia.org/r/23063
Comment 5 Gerrit Notification Bot 2013-04-27 14:10:33 UTC
https://gerrit.wikimedia.org/r/23063 (Gerrit Change I0cb026d749733ed3dbba8faacb163be4438fc6bb) | change APPROVED and MERGED [by jenkins-bot]

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


Navigation
Links