Davide P. Cervone
2fbc393e1a
Merge branch 'issue1272' into develop. Issue #1272 .
2015-10-02 12:48:04 -04:00
Davide P. Cervone
f6b72dda3a
Merge branch 'issue1271' into develop. Issue #1271 .
2015-10-02 12:47:55 -04:00
Davide P. Cervone
1f758f1110
Merge branch 'issue1273' into develop. Issue #1273 .
2015-10-02 12:47:43 -04:00
Kevin Barabash
95e2f1c8d7
Merge pull request #356 from gagern/callingConvention
...
New calling convention for functions and environments
2015-10-01 08:42:52 -07:00
Martin von Gagern
30f7a1c5bf
New calling convention for functions and environments
...
Fixes issue #255 .
Mixing the variable number of arguments a function receives from TeX code
with the fixed arguments which the parser provides can cause some confusion.
After this change, a handler will receive exactly two arguments: one is a
context object from which things provided by the parser can be accessed by
name, which allows for simple extensions in the future. The other is the
list of TeX arguments, passed as an array.
If we ever switch to EcmaScript 2015, we might want to use its destructuring
features to name the elements of the args array in the function head. Until
then, destructuring that array manually immediately at the beginning of the
function seems like a useful convention to easily find the meaning of these
arguments.
2015-10-01 13:15:44 +02:00
Davide P. Cervone
fe5d05f07b
Fix spacing of eqnarray environment. Resolves issue #1272
2015-09-30 21:51:36 -04:00
Kevin Barabash
a81c4fe78d
Merge pull request #362 from Khan/array_font_metrics
...
Use an array of values instead of object literals to save space in fontMetricsData.js
2015-09-30 10:00:23 -07:00
Kevin Barabash
6a10237017
Use an array of values instead of object literals to save space in fontMetricsData.js
...
Test Plan: make test
Reviewers: emily
2015-09-29 22:16:03 -07:00
Davide P. Cervone
7200c2e9a5
Add support for PreviewHTML and CommonHTML to noErrors extension. Resolves issue #1271
2015-09-29 23:10:12 -04:00
Davide P. Cervone
90fdfd4783
Fix isMathJaxNode() to work with NativeMML output and don't worry about tagName starting with 'mjx-' since CHTML doesn't do that anymore. Fix isJax() to call isMathJaxNode() properly. Remove isMathJaxNode() call from HashCheck(), since that is taken care of in getJaxFor() automatically. Resolves issue #1273 .
2015-09-29 22:01:11 -04:00
Kevin Barabash
fdbdb28617
Merge pull request #346 from gagern/splitSymbols
...
Reformat symbol table
2015-09-25 14:56:18 -07:00
Kevin Barabash
f25829df58
Redirect people to gitter instead of freenode
2015-09-25 14:35:23 -07:00
Kevin Barabash
8e54d6e365
Merge pull request #360 from gitter-badger/gitter-badge-1
...
Add a Gitter chat badge to README.md
2015-09-25 14:32:23 -07:00
The Gitter Badger
b9b8396b6f
Add Gitter badge
2015-09-25 21:28:31 +00:00
Kevin Barabash
3203959b96
Merge pull request #352 from Khan/fix_font_greediness
...
Set the greedines of font functions to 2 so that e^\mathbf{x} will parse
2015-09-25 14:20:23 -07:00
Kevin Barabash
b98670b8ed
Set the greedines of font functions to 2 so that e^\mathbf{x} will parse
...
Test Plan: make test
Reviewers: emily
2015-09-25 14:17:23 -07:00
Emily Eisenberg
961e1caba9
Merge pull request #359 from xymostech/fix-zero-rule-padding
...
Remove 3px border around rules.
2015-09-22 13:16:18 -07:00
Emily Eisenberg
252f6320ef
Remove 3px border around rules.
...
Summary: For some reason, adding `border-style: solid` also adds a 3px
border around elements, which means that all of the rules that we
created are 3px too large. This sets the default size to 0 for all the
edges, which makes them correct.
Test plan:
- See that `a\rule{0em}{0em}b` produces no visible rule.
- See the new screenshots look reasonable.
2015-09-22 10:21:33 -07:00
Davide P. Cervone
60c69e1d1f
Combine updated files
2015-09-19 17:27:41 -04:00
Davide P. Cervone
c83db737ec
Fix problems found during packing of files
2015-09-19 17:26:48 -04:00
Davide P. Cervone
ce99625de7
Repack files
2015-09-19 17:26:13 -04:00
Davide P. Cervone
2557ccedae
Update version number to 2.6-beta for beta release
2015-09-19 10:08:08 -04:00
Davide P. Cervone
358e79765c
Added support for \mathchoice now that the old CommonHTML is named PreviewHTML.
2015-09-18 15:58:50 -04:00
Davide P. Cervone
65d9ee1160
Change MJXf-* to MJXp-* (since we renamed FastHTML to PreviewHTML)
2015-09-18 15:49:41 -04:00
Davide P. Cervone
f0c93c2d98
Fix problem with fractions in quirks mode in Safari and IE. Resolves issue #1035
2015-09-18 15:43:01 -04:00
Davide P. Cervone
245b847abc
Merge pull request #1267 from mathjax/fix_separator_bug
...
Fixes the menu bug introduced by giving separators a role.
2015-09-17 06:13:56 -04:00
Davide P. Cervone
b2a53ac6bc
Merge pull request #1262 from dpvc/more-menu
...
A few menu display tweaks
2015-09-17 06:13:23 -04:00
zorkow
90f77e33a5
Fixes the menu bug introduced by giving separators a role.
2015-09-16 11:31:56 +01:00
Davide P. Cervone
1af1680715
Update configurations and add new ones
2015-09-15 08:46:25 -04:00
Davide P. Cervone
dd2ba79883
Change dialog close button text to be more specific
2015-09-15 08:27:42 -04:00
Kevin Barabash
d7d1367558
Merge pull request #347 from gagern/splitEnvironments
...
Split up environments list into calls to defineEnvironment
2015-09-14 22:51:04 -06:00
Kevin Barabash
0fc77e2f40
Merge pull request #345 from gagern/splitFunctions
...
Split up functions list into calls to defineFunction
2015-09-14 22:44:21 -06:00
Davide P. Cervone
45817c1519
merge branch 'develop' into more-menu (fix conflicts with Volker's changes)
2015-09-14 07:27:21 -04:00
Davide P. Cervone
980091128a
Merge pull request #1265 from mathjax/add_more_aria
...
Add some more ARIA
2015-09-14 07:20:48 -04:00
Davide P. Cervone
1c0597b921
Merge pull request #1257 from mathjax/issue1250
...
Improve RTL support in HTML-CSS (fixes #1250 )
2015-09-14 07:00:51 -04:00
Davide P. Cervone
54854f88c1
Merge pull request #1263 from dpvc/issue1250
...
Use less-aggressive CSS for ltr and inline-block, and do Edge check within the extension.
2015-09-14 06:59:40 -04:00
Davide P. Cervone
00af8c161e
Use isEdge for MSEdge detection
2015-09-14 06:57:01 -04:00
zorkow
7c870b6d93
Cleaned code.
2015-09-14 11:55:50 +01:00
Davide P. Cervone
6a7fe67146
Merge branch 'develop' into issue1250. (Bring in detect-edge changes)
2015-09-14 06:55:05 -04:00
Davide P. Cervone
253c5a7b04
Merge branch 'detect-edge' into develop
2015-09-14 06:53:16 -04:00
zorkow
3b099e971a
Fixes labelling for close buttons.
2015-09-14 02:03:21 +01:00
zorkow
e3a62c0dfe
Fixes the menu role.
2015-09-14 01:43:57 +01:00
zorkow
3e190fc5f4
Adds additional aria elements for the menu items.
2015-09-14 01:28:13 +01:00
Davide P. Cervone
6f461fdb5c
Make keyboard menus work with [Math Processing Error] elements.
2015-09-13 18:59:08 -04:00
Davide P. Cervone
031dccee98
Fix CHTML issues due to change from custom tags to span-with-class approach (i.e., replace uses of getElementsByTagName). Also fix some issues found by running the test suite.
2015-09-13 17:48:29 -04:00
Davide P. Cervone
31992363fd
Fix problems found during the running of the testsuite. (First, make sure event is non-null, but I think that was already the case. So we don't need the later tests for it. Then use clientX and clienY even if they are zero.)
2015-09-13 17:44:11 -04:00
Davide P. Cervone
104434c674
Add mobile detection for Chrome and enable alternate context menu trigger (double-tap and hold)
2015-09-13 11:27:54 -04:00
Davide P. Cervone
79bd8996ed
Add warning when switching to NativeMML in Edge
2015-09-13 11:09:55 -04:00
Davide P. Cervone
620e303b10
Detect Microsoft Edge, and also set isMobile for Window Phone
2015-09-13 10:57:34 -04:00
Davide P. Cervone
d7f946e5cb
Handle keyboard events and menu placement better in IE < 9
2015-09-12 17:35:41 -04:00