Moritz Schubotz
05fe60e8fa
Add missing symbols
...
Not all symbols from the class other_literals2 were supported
cf mathjax#1236
2015-11-06 16:52:54 +01:00
Martin von Gagern
5ecbcf6808
Check screenshots on Travis using Docker and Selenium
...
Thanks to the docker service provided by Travis CI, we should be able to
download and use the Selenium docker images in order to run our
screenshotter and check whether all the screenshots match the images from
the repository.
2015-11-06 13:02:53 +01:00
Davide P. Cervone
ea98a6e562
Make height/depth of horizontal stretchy characters be maximum of the height/depth of the component parts, rather than TeX's approach of using the extender's height and depth. Also, make over-brace and other over macros not set accent=false so they match TeX and the under versions better. Resolves #1255 .
2015-11-02 09:22:36 -05:00
Davide P. Cervone
7c39f064d0
Handle scriptlevel set on arrays via an mstyle node (affects smallmatrix). Resolves issue #1295 .
2015-11-01 19:22:11 -05:00
Davide P. Cervone
abab9db28e
Merge pull request #1292 from mathjax/pkra-eqreset
...
Update test/sample-dynamic.html
2015-10-28 14:48:25 -04:00
Peter Krautzberger
70a78850a3
Update sample-dynamic.html
...
Address review comments
2015-10-28 16:09:59 +01:00
Peter Krautzberger
5bed91bbcd
Update sample-dynamic.html
...
Add reset for equations counters.
2015-10-28 15:35:57 +01:00
Kevin Barabash
c20b8f8456
Merge pull request #369 from utensil/master
...
Add a link to symbol/function support preview page
2015-10-20 08:21:12 -07:00
utensil
dcc3214527
Add a link to symbol/function support preview page
2015-10-20 16:25:02 +08:00
Kevin Barabash
c6800749ab
Merge pull request #372 from Newman101/Issue370
...
Resolved Issue #370
2015-10-19 10:29:26 -07:00
newman101
f039068fae
Updated link label
2015-10-19 18:18:18 +01:00
newman101
bc4693a71b
Resolved Issue #370
2015-10-19 16:57:04 +01:00
Piotr Migdał
69130d6a19
Readme - set recent version (0.5.1) for CDN links
2015-10-19 16:53:05 +02:00
Davide P. Cervone
04bb13e932
Lookup stack container for stretchy operators for msubsup in CHTML. Resolves issue #1287 .
2015-10-18 07:33:24 -04:00
Davide P. Cervone
ecbfb344c3
Move event handler to maction element rather than duplication it in two places (for HTML-CSS output).
2015-10-17 23:36:13 -04:00
Davide P. Cervone
415be7eaf7
Add explicit table border-spacing since Firefox seems to need this to avoid too large a space around the math when focusing. If the spacing is too small, it seems that Firefox fails to treat the inlein-table as a table, so use 3px and use the margin to remove it so there is no change in position.
2015-10-17 23:35:24 -04:00
Davide P. Cervone
83b482f4b4
Fix typo in bbox for mfrac, and add ability to draw debugging bounding box for a given element.
2015-10-17 22:19:54 -04:00
Davide P. Cervone
4c85dc09b9
Make mactions nest properly in SVG output
2015-10-17 06:01:15 -04:00
Davide P. Cervone
c68c690468
Make sure CHTML zoom has access to the proper container
2015-10-17 06:01:03 -04:00
Kevin Barabash
d87ee4f78f
Merge pull request #366 from Khan/add_width_to_font_metrics
...
Add a build step to generate extended metrics that additionally contain glyph widths
2015-10-16 14:41:31 -07:00
Kevin Barabash
1573e1eed6
Add a build step to generate extended metrics that additionally contain glyph widths
...
Summary:
The ability to use pre-determined character widths will benefit alternative
layout engines such as gagern's canvas layout engine. I would also like to
experiment would using CSS transforms to absolutely position each glyph. This
diff adds a new make rule, make extended_metrics, which generates metrics that
also containing glyph widths.
Test Plan:
- run `make extended_metrics`
- verify that fontMetricsData.js contains entries with 5 numbers instead of 4
Reviewers: emily alpert
2015-10-16 14:31:08 -07:00
Davide P. Cervone
b679e7e4df
Merge branch 'issue1279' into develop. Issue #1279 .
2015-10-14 09:09:35 -04:00
Davide P. Cervone
48e3ed1047
Merge branch 'issue1283' into develop. Issue #1283 .
2015-10-14 08:01:41 -04:00
Davide P. Cervone
169d08bcd7
Merge branch 'issue1285' into develop. Issue #1285 .
2015-10-14 08:00:38 -04:00
Davide P. Cervone
c8d09126b5
Make table frame and lines respect the scaling factor for the table (so they get thicker if the table is scaled). Issue #1279
2015-10-13 06:23:17 -04:00
Davide P. Cervone
c8ea88e195
Make horizontal lines have minimum lickness of 1px so they don't disappear. Issue #1279 .
2015-10-13 06:15:32 -04:00
Davide P. Cervone
3b8ab2e5c1
Round em's to nearest pixel to avoid WebKit alignment issues. Resolves issue #1283 .
2015-10-11 18:57:38 -04:00
Davide P. Cervone
7c3fbd95cc
Mark CHTML output so that tex2jax won't re-process it. Resolves issue #1285 .
2015-10-11 14:31:41 -04:00
Davide P. Cervone
0c77e8c880
Repack and recombine for 2.6-beta.1
2015-10-08 20:54:21 -04:00
Davide P. Cervone
225ac4680f
Update version numbers of changed files
2015-10-08 20:52:14 -04:00
Davide P. Cervone
974b5d34c8
Merge branch 'issue1281' into develop. Issue #1281 .
2015-10-08 20:46:10 -04:00
Davide P. Cervone
74c7898fca
Merge branch 'issue1279' into develop. Issue #1279 .
2015-10-08 20:45:59 -04:00
Davide P. Cervone
015c36ef84
Merge branch 'issue1278' into develop. Issue #1278 .
2015-10-08 20:45:41 -04:00
Davide P. Cervone
bd5c6d7496
Scale pixels by the scaling factor in effect for node (since they are not relative units and won't be scaled automatically). Issue #1279
2015-10-08 08:35:59 -04:00
Davide P. Cervone
4765effa5f
Make sure horizontal lines have units in pixels rather than ems so they are less likely to disappear
2015-10-08 08:19:05 -04:00
Davide P. Cervone
9da8bc6fdb
Have non-token elements get the correct scaling factor (using the proper mathsize) rather than setting it to 1. This resolves issue #1281 .
2015-10-08 08:12:29 -04:00
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