Davide P. Cervone
47163b5c70
Add missing ':focus' in CSS for handling outline better
2015-10-08 08:07:30 -04:00
Davide P. Cervone
1fa9bbaef0
Force width of mrow if there is negative space within the mrow (to work around WebKit bug). Resolves issue #1278 .
2015-10-07 18:06:49 -04:00
Davide P. Cervone
e3f65aa912
Merge branch 'issue1282' into develop. Issue #1282 .
2015-10-07 17:59:52 -04:00
Davide P. Cervone
4d6190c581
Use inline-table to make focus outline work better for all browsers. Resolves issue #1282
2015-10-06 20:48:15 -04:00
Davide P. Cervone
45853fad3e
Merge branch 'issue1276' into develop. Issue #1276 .
2015-10-06 20:33:51 -04:00
Kevin Barabash
ee88cc3c11
Merge pull request #363 from gagern/modeStateful
...
Make mode part of the internal state of the parser
2015-10-05 16:36:05 +00:00
Kevin Barabash
9aab9c1efe
Merge pull request #361 from crepererum/feature/gt_lt
...
Add \gt and \lt
2015-10-05 16:32:49 +00:00
Marco Neumann
95e568ed6b
Add \gt and \lt
2015-10-05 08:34:03 +02:00
Martin von Gagern
cabc08598b
Make mode part of the internal state of the parser
...
This is the first step towards #266 .
2015-10-04 20:35:43 +02:00
Kevin Barabash
e9f4b07611
Merge pull request #364 from gagern/lexerRewrite
...
Refactor lexer, avoiding some mode-specific distinctions
2015-10-03 13:31:51 -07:00
Davide P. Cervone
6535c031ed
Fix alignment problems with horizontal stretched characters. Resolves issue #1276 .
2015-10-03 08:31:17 -04:00
Martin von Gagern
d423bec089
Rewrote lexer, avoiding some mode-specific distinctions
...
There are two main motivations for this commit. One is unicode input, which
requires unicode characters to get past the lexer. See discussion in #261 .
The second is in preparation for #266 , where we'd deal with one token of
look-ahead but might be lexing that token in an unknown mode in some cases.
The unit test shipped with this commit addresses the latter concern, since
it checks that a math-mode-only token may immediately follow some text mode
content group.
In this new implementation, all the various things that could get matched
have been collected into a single regular expression. The hope is that
this will be beneficial for performance and keep the code simpler.
The code was written with Unicode input in mind, including non-BMP codepoints.
The role of the lexer as a gate keeper, keeping out invalid TeX syntax, has
been abandoned. That role is still fulfilled by the symbols and functions
tables, though, since any input which is neither a symbol nor a command is
still considered invalid input, even though it lexes successfully.
2015-10-02 20:06:03 +02:00
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