Commit Graph

48 Commits

Author SHA1 Message Date
Davide P. Cervone
e4982cb703 Fix unneeded variable (noted by YUI compression) 2015-01-29 10:32:36 -05:00
Davide P. Cervone
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -05:00
Davide P. Cervone
31fcf19d92 Update file versions to 2.5.0. Ready for release! 2015-01-28 14:49:36 -05:00
Davide P. Cervone
5b232c93e8 Fix problem with width of equations with line breaking. 2015-01-27 08:17:00 -05:00
Davide P. Cervone
dac51a9f69 Fix problem with empty scripts in SVG output. Issue #949. 2015-01-14 11:12:22 -05:00
Davide P. Cervone
88a96372c0 Update version numbers for 2.5.0-beta 2014-12-30 18:27:01 -05:00
Davide P. Cervone
a9c66b5cee Fix the alignment function so that it handles overlapping on the left and right better, and so we don't have to do it in the linebreaking directly. 2014-09-09 19:22:02 -04:00
Davide P. Cervone
ea42f427f6 Fix multiple problems with indentshift and indentalign in HTML-CSS and SVG output. (Negative values not handled properly, shift not applied to centering, SVG not handling shift past edges well, percentage shifts now in relation to container, etc.) Resolves issues #769 and #768. 2014-09-09 10:28:25 -04:00
Davide P. Cervone
1a895e2a7c Update version numbers, repack, and recombine 2014-06-12 05:53:13 -04:00
Davide P. Cervone
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
214a230504 Make sure svg is defined before using its width 2014-05-06 07:00:29 -04:00
Davide P. Cervone
cb04ee618c Fix problems with linebreaks in fractions (scaling of lineleading, proper detection of auto indentalign, etc.) 2014-04-21 18:16:31 -04:00
Davide P. Cervone
f54a8ebaaa Fix problem where forced linebreaks could cause lines to disappear (due to recent changes to the linebreaking algorithm). 2014-04-21 09:52:59 -04:00
Davide P. Cervone
662023bed4 Merge branch 'issue703' into develop. Issue #703. 2014-04-11 07:55:31 -04:00
Davide P. Cervone
c33e0f06b8 Fix scaling for SVG (similar to HTML-CSS fixes). Issue #703 2014-04-09 16:00:10 -04:00
Davide P. Cervone
a47b1fa009 Merge remote-tracking branch 'dpvc/issue687' into develop. Issue #687. 2014-03-23 05:48:38 -04:00
Davide P. Cervone
309dbc5a4a If a break occurs at a space or operator that has non-zero width, don't remove next element's initial spacing. 2014-03-21 16:54:10 -04:00
Davide P. Cervone
12f969593d Remove initial space after a linebreak properly. Resolves #687. 2014-03-21 06:58:46 -04:00
Davide P. Cervone
2bb627844f Added support for linebreaking of mmultiscripts. Resolves issue #617. 2014-03-21 06:13:34 -04:00
Davide P. Cervone
92c1a891dd Merge branch 'issue391' into develop. Issue #391. 2014-02-15 12:35:07 -05:00
Davide P. Cervone
c52f0dff76 Don't use info.embellished if the SVGdata isn't available (avoids Math Processing Error). Issue #707. 2014-02-14 10:35:56 -05:00
Davide P. Cervone
3d68051118 Only set width to full for top-level math elements, and make svg.Align() handle expanding the box to accommodate larger lines. Resolves issue #391. 2014-02-14 10:02:06 -05:00
Davide P. Cervone
1f013d76b3 Merge pull request #644 from dpvc/issue523
Resolves issue #523
2013-10-30 10:03:01 -07:00
Davide P. Cervone
08ec41cd86 More checks to make sure nesting level doesn't go below zero. Issue #523. 2013-10-28 18:45:21 -04:00
Davide P. Cervone
cd0b88e524 Don't let nesting count go below zero. Resolves issue #523. 2013-10-28 18:30:59 -04:00
Frédéric Wang
b73eafd431 Bump version numbers. #534 2013-10-21 13:58:46 +02:00
Davide P. Cervone
4053d7acab Set versions to 2.2 and update copyright notice 2013-05-01 14:37:39 -04:00
Frédéric Wang
8803b00446 Ignore linebreak attribute on mspace when dimensional attributes are set. Fix issue #388. 2013-03-25 16:57:05 +01:00
Davide P. Cervone
b1abd818bd Fix problem with adding widths when child node is empty that causes linebreaking to produce math processing errors. (Reported by StackExchange community.) 2012-10-03 06:22:19 -04:00
Davide P. Cervone
ca34855b25 Fix a problem with SVG linebreaking where the lines would get farther and farther apart when there are multiple breaks within an equation. 2012-10-01 16:56:20 -04:00
Davide P. Cervone
aa5829849f Update version numbers to v2.1 2012-09-24 21:06:28 -04:00
Davide P. Cervone
8ef21276b4 Merge issue 'issue296' into develop 2012-09-10 19:14:49 -04:00
Davide P. Cervone
544f16042a Bump version number and repack previous commit 2012-09-09 07:05:38 -04:00
Davide P. Cervone
af2ae01e9b Fix problem with SVG output disappearing during line breaks when equation numbers are also present. Resolves issue #296 2012-09-09 07:04:19 -04:00
Davide P. Cervone
064e053140 Fix problem with potential infinite loop when an mspace is an embellished operator that causes a linebreak to occur. Also fix alignment problem in msubsup where svg.y wasn't taken into account (after a removeable group is removed). Might need similar treatment in moverunder and perhaps others as well. Issue #305. 2012-09-09 00:19:35 -04:00
Davide P. Cervone
0ed7629df9 Fix an undeclared variable (notices by the packer). 2012-09-08 21:32:24 -04:00
Davide P. Cervone
5d69614718 Allow linebreaks within the base of msubsup to work so that the super and subscripts stay with the last line of the base. Resolves issue #235. 2012-09-08 21:29:29 -04:00
Davide P. Cervone
5b698c20c2 Restore the use of scanW that was removed in an earlier commit (it turns out to be needed after all, as info.scanW is changed in the recursive calls). Issue #255. 2012-08-30 14:35:03 -04:00
Davide P. Cervone
dc9e4a760e Allow line breaks at delimiters and separators in mfenced elements, and fix up some issues with lines going over the maximum width (due to forgetting to add width of first element after a split). Resolves issue #255. 2012-08-30 13:54:32 -04:00
Davide P. Cervone
34a9af5180 Fix mfenced so that when it contains a line break the delimiters and separators are not lost. Resolves issue #255 (but separators currently aren't able to be breakpoints, so more needs to be done). 2012-08-29 23:28:20 -04:00
Davide P. Cervone
93e68cc254 Fix problem with linebreaking where the incorrect width was being used to determine breakpoint penalties, so some long lines were not being broken 2012-03-06 10:04:09 -05:00
Davide P. Cervone
f3ed39a9ad Don't use borders on background colors; fix error with recent changes to linebreaking (spacelimit was in em's but should be in em's*1000) 2012-02-16 09:16:13 -05:00
Davide P. Cervone
1f5b1854e5 Prevent breaks right before a closing fence or right after an open fence. 2012-02-08 18:05:07 -05:00
Davide P. Cervone
5968ef8b74 Improve linebreaking to work better when the equation doesn't have nesting to help group terms that shouldn't be broken. Also make breaks at large spaces more desireable. 2012-02-08 17:37:07 -05:00
Davide P. Cervone
77c52073b1 Fix centering for forced linebreaks in SVG output when linebreaking isn't specified. Still need to work out how to make this work better ifor in-line math, and for parts of equations (like fraction numerators, etc.) 2012-02-05 14:13:25 -05:00
Davide P. Cervone
db4640d1f4 Fix problem with forced linebreaks in SVG mode, and a typo in one of the variable names 2012-02-04 17:33:31 -05:00
Davide P. Cervone
02909ecba4 Update copyright dates and set version numbers to 2.0; repack and recombine 2012-01-25 09:23:45 -05:00
Davide P. Cervone
8ca97d2f39 Add new SVG output jax 2011-11-04 20:16:13 -04:00