Commit Graph

144 Commits

Author SHA1 Message Date
Davide P. Cervone
302e28cd38 Fix incorrect TeX class for \buildrel. Resolves issue #900. 2014-08-28 19:04:33 -04:00
Davide P. Cervone
d5d1fbdf50 Merge branch 'issue375' into develop. Issue #375. 2014-08-24 09:57:04 -04:00
Davide P. Cervone
6d283451fd Add support for \{, \} and \\ inside \text{}, since {, }, and \ are used by MathJax in determining the extent of the \text box. This helps with issues #375 and #790. 2014-08-22 15:44:03 -04:00
Davide P. Cervone
89c6f10cea Use \bigg or \big for the delimiters for \binom and other such constructs, rather than stretchy delimiters, as is done in TeX. Resolves isue #776. 2014-08-22 11:47:04 -04:00
Davide P. Cervone
6ba49d616e Merge branch 'issue856' into develop. Issue #856. 2014-08-19 09:04:05 -04:00
Davide P. Cervone
4fb5c5e4e5 Allow commas in place of decimals in TeX dimensions. Resolves issue #856. 2014-08-18 14:09:05 -04:00
Davide P. Cervone
4db6b017ee Make px-per-inch configurable and use 72dpi (pt = px in this case) 2014-08-18 11:29:21 -04:00
Davide P. Cervone
72a6a670bf Add ability to process units of px in \\[...] (not particularly accurate, however). Issue #890 2014-08-18 11:09:09 -04:00
Davide P. Cervone
d24b750cbf Don't add stretchy=dalse if it is not needed 2014-05-30 12:25:01 -04:00
Davide P. Cervone
7a9833becd Add semantics annotation to NativeMML output. This is done in the NativeMML output jax rather than the input jax so that it can be done for any input format (that provides an encoding for it). Also, it avoids having the Show As MathML output include the annotation. Resolves issue #814. 2014-05-28 10:30:03 -04:00
Davide P. Cervone
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
1424afb792 Fix up variable issues identified by packer 2014-05-07 16:01:13 -04:00
Davide P. Cervone
7f509db1b5 Remove extra space in width (Firefox doesn't process it correctly). 2014-04-25 12:32:58 -04:00
Davide P. Cervone
21282b683f Merge branch 'issue794' into develop. Issue #794. 2014-04-21 19:23:38 -04:00
Davide P. Cervone
521e6c9fda Remove extra level of nesting from \textit, \textbf, etc. 2014-04-21 15:24:30 -04:00
Davide P. Cervone
04295783bc Make sure \bmod gets space even in scripts. Resolves issue #794. 2014-04-21 05:57:10 -04:00
Davide P. Cervone
25bab8f05c Make \newenvironment perform the end substitution BEFORE testing if \end matches the corresponding \begin. This allows \newcommand to use \begin and \end in the substititions. Resolves issue #793. 2014-04-20 14:45:54 -04:00
Davide P. Cervone
f6bc6fa129 Make \\left...\\right be of TeX class INNER. Resolves issue #746. 2014-02-19 19:17:28 -05:00
Davide P. Cervone
4cf38304ac Remove unneeded comment 2014-02-14 09:04:51 -05:00
Davide P. Cervone
8cd2eec33d Merge branch 'issue707' into develop. Issue #707. 2014-02-14 08:33:22 -05:00
Davide P. Cervone
cce9256bf9 Change mo to mspace (and remove extra mo) to avoid being an embellished operator more naturally. Issue #707. 2014-02-14 07:58:01 -05:00
Davide P. Cervone
d28ab8b766 Forced explicit linebreak between text elements to not look like an embellished operator. Resolves issue #707. Note however, that Firefox treats this differently (it seems not to treat mtext as space-like in this case). 2014-02-13 20:08:49 -05:00
Davide P. Cervone
5e3fe17461 Allow \Big and its brethren to have the delimiter in braces. Resolves issue #632. 2014-02-13 12:58:51 -05:00
Davide P. Cervone
8fb4157eb1 Make U+00A0 act as space in math mode. Resolves issue #377. 2014-02-10 09:34:59 -05:00
Davide P. Cervone
bcceb08590 Add \texttt and \textsf macros, and make them work with mtextFontInherit. Resolves issue #459. 2014-02-09 13:45:58 -05:00
Frédéric Wang
3fee31b7e4 Address review comments #627 2013-10-21 10:04:39 +02:00
Frédéric Wang
932b7e8f7c Experimental Bidi branch. #474, #/610, #627 2013-10-18 10:04:47 +02:00
Frédéric Wang
f42ac43cd4 Fix more localization errors and update the test/localization.html accordingly ; Also force all menu items to display in the test. #529 2013-08-08 10:32:51 +02:00
Frédéric Wang
227aebed65 Fix some places where localization strings are wrongly used. #504 2013-08-02 14:26:55 +02:00
Frédéric Wang
30cb4b3961 Remove debug logging. Address review comment of issue #485. 2013-06-12 16:11:30 +02:00
Davide P. Cervone
2b1948f252 Force cases environment to use textstyle rather than displaystyle. Resolves issue #485. 2013-05-29 12:32:01 -04:00
Davide P. Cervone
4e01303dee Rename mfenced() to fenced() since the mrow is not really equivalent (the mo's are forced to have stretchy=true). Resolves Fred's concerns for issue #475 for now. 2013-05-22 14:03:38 -04:00
Davide P. Cervone
a147a9ac32 Make sure mfenced delimiters are stretchy. Resolves issue #475. 2013-05-21 19:53:28 -04:00
Davide P. Cervone
084385b640 Update Safe.js to filter mathsize and not throw error for \mmlToken attributes that are filtered. 2013-05-11 17:02:59 -04:00
Davide P. Cervone
4053d7acab Set versions to 2.2 and update copyright notice 2013-05-01 14:37:39 -04:00
Davide P. Cervone
5fb89ab1bc Remove extra comma that is confusing IE. 2013-04-30 18:37:14 -04:00
Davide P. Cervone
f6d716b444 Add error message for when an evironment closes with unbalanced braces. Resolves issue #454. 2013-04-30 08:49:25 -04:00
Davide P. Cervone
b8561b07bf Merge branch 'localization' into develop 2013-04-29 19:25:03 -04:00
Davide P. Cervone
9b485668e1 Test value for boolean using toLowerCase() 2013-04-29 16:13:04 -04:00
Davide P. Cervone
05c93de747 Merge branch 'issue451' into develop
Resolves issue #451.
2013-04-29 16:10:54 -04:00
Davide P. Cervone
0891402b88 Merge branch 'issue359' into develop. Improves MathML rendering for mfenced and mlabeldtr elements. 2013-04-29 15:57:29 -04:00
Davide P. Cervone
9d9fc3d063 Convert true and fals attributes to booleans. Resolves issue #451. 2013-04-26 14:41:42 -04:00
Davide P. Cervone
9d7ff33bd2 Use a single routine to construct the mrow that replaces mfenced. Fix up some uses of var (not using it twice for the same variable in a function). Fix up some spacing and comments. Don't use .trim(). Use firstChild rather than firstElementChild (not supported by all browsers), etc. 2013-04-26 07:01:28 -04:00
Davide P. Cervone
9e5fbb7e6f Merge branch 'issue402' into develop
Resolves issue #402.
2013-04-19 09:11:42 -04:00
Davide P. Cervone
779be27960 Process \$ in \text arguements. Resolves issue #349. 2013-04-17 07:36:28 -04:00
Davide P. Cervone
3367b54c3e Remap ` to back-quote. Resolves issue #402. 2013-04-16 19:20:21 -04:00
Davide P. Cervone
173c501eae Fixed localization issues pointed out by fred (this creates some new messages that need to be translated). 2013-04-10 10:16:14 -04:00
Davide P. Cervone
7cd9180b0b Fix a number of message ID's and message texts. Add menuTitle to fr.js file. 2013-04-09 13:13:25 -04:00
Davide P. Cervone
660f38959a Make constant messages be translated when they are used rather than when they are defined. Rework About box, add menu ID's. Make TeX.Error() and MathML.Error() handle localization. Break up Fred's French data into separate files. Make localization data load on demand. Other miscellaneous updates. 2013-04-03 17:24:14 -04:00
Davide P. Cervone
a9c65c3d28 Remove commented out code and bump version number 2013-04-01 08:51:20 -04:00