Martin von Gagern
414f9dd248
Reformat symbol table
...
Using function calls instead of one big object literal for the symbols makes
the notation far more concise and readable. Having the actual symbol name
in the last position helps aligning the preceding columns, making the list
easier to read.
Another benefit is that all symbol definitions now pass through a single
function, where additional processing (e.g. for Unicode input) might take
place in a future commit.
2015-09-10 10:22:42 +02:00
Martin von Gagern
3e055f84e9
Reindent
...
Since the previous commit deliberately avoided reindenting, this one here
does just that: reindenting the existing code. There are no other changes.
Notice how the new indentation leaves more room to function handlers.
2015-09-10 09:52:00 +02:00
Martin von Gagern
d553353204
Split up functions list into calls to declareFunction
...
Having one long array literal to contain the code of all function
implementations is problematic. It makes it difficult to add auxiliary
functions or data close to the function inside the list where it is needed.
Now the functions are no longer defined using such a literal, but instead
using calls to a "declareFunction" function which receives all the relevant
data. Since each function call is independent from the others, anything can
go in between.
This commit deliberately avoided reindenting existing code to match the new
surroundings. That way it is easier to see where actual changes happen,
even when not performing a whitespace-ignoring diff.
2015-09-10 09:45:02 +02:00
Martin von Gagern
5539226f4b
Strip one level of indirection from functions module exports
2015-09-10 09:22:24 +02:00
Peter Krautzberger
bbdbe19eda
update mml3.js
...
Extend Microsoft Edge workaround to Internet Explorer.
2015-09-09 17:33:59 +02:00
Peter Krautzberger
2c79bd4090
Update mml3.js
...
Fixes #1252 .
* Add workaround for MS Edge bug.
* Prettify xslt string.
2015-09-09 11:45:59 +02:00
Peter Krautzberger
98a8deecf6
Update MathJax.js: add UA detection for MS Edge
...
Cf. https://msdn.microsoft.com/en-us/library/hh869301.aspx
2015-09-09 11:40:23 +02:00
Davide P. Cervone
27bae487e6
Merge pull request #1242 from mathjax/integrate_keyboard_events
...
Integrate keyboard events. Resolves issue #939
2015-09-07 06:18:36 -04:00
zorkow
d3a4535ec8
Merge branch 'develop' into integrate_keyboard_events
2015-09-04 15:00:59 +01:00
Peter Krautzberger
593a393bfc
Improve RTL support in HTML-CSS
...
Add CSS to prevent browser interference
2015-09-04 10:21:34 +02:00
Davide P. Cervone
2639c8fd44
Merge branch 'fast-preview' into develop
2015-09-03 09:48:30 -04:00
Davide P. Cervone
3253d39fc9
Merge branch 'issue1247' into develop. Issue #1247 .
2015-09-03 09:41:13 -04:00
Davide P. Cervone
3fdbe03b2a
Update AsciiMath to current version. Issue #1247 .
2015-09-03 09:39:55 -04:00
Davide P. Cervone
936f85b537
Merge branch 'issue1251' into develop. Issue #1251 .
2015-09-03 09:36:11 -04:00
Davide P. Cervone
184e8860de
Merge pull request #1249 from mathjax/issue1248
...
update locales for v2.6
2015-09-03 09:18:46 -04:00
Davide P. Cervone
748b9b26f8
Merge pull request #1254 from mathjax/issue1253
...
Update html files in /test
2015-09-03 08:53:05 -04:00
Peter Krautzberger
0906dea8f1
update html files in /test: update meta tags; improve sample-dynamic2.html to include asciimath notation
2015-09-02 15:42:24 +02:00
zorkow
03e761dafe
Makes if/return statements uniform to codebase.
2015-09-02 14:08:50 +01:00
zorkow
03c0aac634
Changed single quotes to double quotes for styling.
2015-09-02 13:52:21 +01:00
zorkow
b81019676f
Fixes focusing on first and last element when moving between Maths elements.
2015-09-02 13:36:00 +01:00
Emily Eisenberg
e859c53852
Update katex to v0.5.1
2015-09-01 19:54:02 -07:00
Kevin Barabash
8accf0f18a
Merge pull request #342 from xymostech/rename-breakOnUnsupportedCmds
...
Rename breakOnUnsupportedCmds to throwOnError.
2015-09-01 18:49:33 -06:00
Emily Eisenberg
d6cec8a861
Rename breakOnUnsupportedCmds to throwOnError.
...
Also, the MathBb-chrome test changed, to what I believe is the correct
result? Not sure why it looked wrong before.
Test plan:
- `make test`
- take screenshots, see nothing changed.
2015-09-01 16:51:03 -07:00
Davide P. Cervone
78e9737b21
Rename FastHTML to PreviewHTML and FHTML-preview.js to fast-preview.js
2015-09-01 18:45:20 -04:00
zorkow
74c2b46da5
Consistently places menu on maths elements by adding scroll offset.
2015-09-01 23:12:46 +01:00
zorkow
0922aa2ebc
Moves keyboard menu to centroid.
2015-09-01 21:27:25 +01:00
zorkow
0e1a33263f
Adds to keyboard driven menus to FastHTML.
2015-09-01 21:16:29 +01:00
zorkow
7867707d5b
Fixes deactivation problem in last submenu.
2015-09-01 21:16:07 +01:00
zorkow
a7e4c1a14c
Adds final submenu closing and opening on left/right key.
2015-09-01 21:05:49 +01:00
zorkow
56deff3a7d
Resets focus on last Maths element when closing popup windows.
2015-09-01 19:42:18 +01:00
zorkow
7054f37677
Integrates and moves improved CSS for outline.
2015-09-01 19:34:50 +01:00
zorkow
db2869a2d3
Increase in minimum width of source window to fix problem on Chrome.
2015-09-01 19:08:08 +01:00
zorkow
516874b50c
Corrects keys and focusing on popup boxes.
2015-09-01 18:52:45 +01:00
zorkow
94b0d7d1ee
Merge branch 'develop' into integrate_keyboard_events
...
Conflicts:
unpacked/jax/output/CommonHTML/jax.js
2015-09-01 18:30:46 +01:00
Peter Krautzberger
4a1aaf6097
locales: add newly added locales to MathJax.js
2015-09-01 18:11:53 +02:00
Kevin Barabash
c428abca1e
Merge pull request #292 from kevinb7/fonts-p3_mathml
...
Adds MathML support for math font commands.
2015-09-01 09:00:16 -06:00
Peter Krautzberger
42403dc869
i18n: add newly added locales
2015-09-01 16:01:45 +02:00
Davide P. Cervone
07eb553f8d
Merge branch 'chtml' into develop. Issue #1051 .
2015-09-01 08:13:11 -04:00
Davide P. Cervone
c812f8909d
Merge branch 'chtml-spans' into chtml
2015-09-01 08:08:34 -04:00
Davide P. Cervone
bc360cd262
Make sure primes are taken from the correct variant font (now that we have more than one to work with). Resolves issue #1251
2015-09-01 08:02:02 -04:00
zorkow
afdd671999
Proper keyhandling for popup windows.
2015-09-01 03:46:07 +01:00
zorkow
6cc308b5d0
Enables to untrigger menu with space.
2015-09-01 02:40:41 +01:00
zorkow
f73453512b
Hides math element walking behind shift.
2015-09-01 02:21:06 +01:00
zorkow
faeae3e105
Fixes interference problems with submenu timer.
2015-09-01 01:58:38 +01:00
zorkow
c890d8183d
Removes occurrence of elementsbyclassname.
2015-09-01 01:29:55 +01:00
zorkow
ad8a8704d4
Fixes scroll position and involuntary mouse interaction.
2015-09-01 00:58:53 +01:00
zorkow
2143219d9b
Adds navigation role to main menu.
2015-08-31 21:08:27 +01:00
zorkow
0895c284d3
Passes through unused key events.
2015-08-31 19:56:07 +01:00
zorkow
f73d5f0094
Caches focused node.
2015-08-31 19:50:55 +01:00
zorkow
fbb70fb658
Removes logging and prototype addition.
2015-08-31 14:41:07 +01:00