Commit Graph

184 Commits

Author SHA1 Message Date
Nicolas Guillot
11f57f7c6e add a fallback font system to render CJK text in the \text command 2025-10-01 14:11:00 +02:00
Nicolas Guillot
b67cc8fd38 [Test] fix MathFontTests on mac 2025-10-01 10:36:11 +02:00
Nicolas Guillot
fe00c5a96e add iiiint LaTeX command support 2025-10-01 10:30:03 +02:00
Nicolas Guillot
7a40cd704a pmatrix/bmatrix/vmatrix LaTeX command support 2025-10-01 10:22:56 +02:00
Nicolas Guillot
80db8c66fb smallmatrix LaTeX command support 2025-10-01 10:09:56 +02:00
Nicolas Guillot
e9ab64d844 substack LaTeX command support 2025-10-01 10:04:06 +02:00
Nicolas Guillot
7bd6ef660b [Test] add skipped tests to show what can be implemented 2025-09-30 20:20:59 +02:00
Nicolas Guillot
fc7e96acf5 [Test] increase LaTeX command coverage 2025-09-30 19:40:26 +02:00
Nicolas Guillot
61ef8dc4f8 supports all standard LaTeX math delimiters for both inline and display modes 2025-09-30 19:17:56 +02:00
Nicolas Guillot
6a5f64e402 fixup! [MTMathListBuilder] enhanced \begin{cases} environment support 2025-09-30 13:07:59 +02:00
Nicolas Guillot
7c9766f825 [MTMathListBuilder][MTTypesetter] add \cfrac support 2025-09-30 10:17:08 +02:00
Nicolas Guillot
225948c725 [MTMathListBuilder] enhanced \begin{cases} environment support
No Need to use the & character at line end. The previous notation is still supported.
2025-09-30 10:03:17 +02:00
Nicolas Guillot
5530f3910f [MTMathListBuilder] add support for some \not operators 2025-09-30 09:51:01 +02:00
Nicolas Guillot
4dcc7800d5 [MTMathAtomFactory] add support for /mod and /pmod 2025-09-30 09:35:29 +02:00
Nicolas Guillot
7f6cb02371 [MTMathAtomFactory] add support for /implies, /iint, /iiint, /nexists 2025-09-29 16:26:48 +02:00
mgriebling
fa8244ed03 Merge pull request #50 from raskavil/main
49: mathColor was used instead of mathColorbox
2025-08-03 08:48:30 -04:00
Vilém Raška
5011e4dd79 Fixed wrong reference
mathColor was used instead of mathColorbox
2025-08-02 15:09:03 +02:00
mgriebling
bc7fcfcab8 Merge pull request #46 from Lakr233/main
Fix a crash at cell spacer insertion loop
2025-07-31 15:21:37 -04:00
mgriebling
2398fdd42a Merge pull request #47 from jumhyn-browser/patch-1
Avoid crashing on unexpected color strings
2025-07-31 15:21:18 -04:00
Freddy Kellison-Linn
c7dcf78d11 Avoid crashing on unexpected color strings 2025-07-30 14:55:15 -04:00
Lakr
cfd646dcac Fix spacer insertion condition in table cell loop
Changed the condition to insert a spacer only when a table row has at least two cells, preventing out-of-bounds errors when accessing the second cell.
2025-07-03 15:13:23 +09:00
mgriebling
1e49ab4e85 Merge pull request #44 from trilorez/image-layout-info
Add layout info to MathImage
2025-05-22 10:22:16 -04:00
Daniel Resnick
a73bf8d3f1 Add layout info to MathImage
This makes it possible to align images generated by MathImage alongside text, in an AttributedString for example.
2025-05-16 18:36:32 -06:00
mgriebling
28184a044c Merge pull request #39 from lbioser/fix_color_crash
fix crush when {color}
2025-04-22 10:02:40 -04:00
mgriebling
cc9d806298 Merge pull request #43 from trilorez/optional-fixes
Fix crashes due to forced unwrapping.  Thanks for fixing this.
2025-04-22 09:58:44 -04:00
Daniel Resnick
f6f4ebfa89 Fix crashes due to forced unwrapping 2025-04-16 18:10:56 -06:00
mgriebling
f73b8a1f73 Merge pull request #41 from risasim/main
Added support for VisionOS
2025-04-07 08:40:15 -04:00
Richard
1c3bf9129a Added support for visionOS by adding to #if os(iOS) || os(visionOS) 2025-03-27 11:19:51 +01:00
libing
d84db07ef3 2025-02-12 06:15:06 +00:00
Michael Griebling
606f9be66d Fix Ø command. 2024-12-18 14:50:44 -05:00
Michael Griebling
5c251ad218 Added comments to the accents. 2024-12-18 09:17:40 -05:00
Michael Griebling
1708b07bc9 Restore original `i's. 2024-12-17 16:18:00 -05:00
Michael Griebling
c73dc863b8 Try better accented 'i'. 2024-12-17 15:39:17 -05:00
Michael Griebling
872fa0b2bf Update \cc and \CC definitions. 2024-12-17 15:24:56 -05:00
Michael Griebling
653fe396de Fixed the ç and Ç commands, \cc and \CC, respectively. 2024-12-17 11:29:42 -05:00
Michael Griebling
3f8a358984 Added special symbols. 2024-12-17 11:08:14 -05:00
Michael Griebling
d0b1ff94df Added support for accented and special characters in the input text stream. (e.g., áéíóúýàèìòùâêîôûäëïöüÿãñõçøåæœß'ÁÉÍÓÚÝÀÈÌÒÙÂÊÎÔÛÄËÏÖÜÃÑÕÇØÅÆŒ)
Also added some new commands to support special characters like \aa (å), etc.
2024-12-17 10:21:27 -05:00
Michael Griebling
07b110d07f Update internal changes. 2024-12-15 12:21:08 -05:00
mgriebling
3d07349901 Merge pull request #33 from a-lebedev/feature/fix_crash_for_getting_fonts 2024-12-10 06:49:46 -05:00
Andrew Lebedev
1dbbaddbff Add thread safety for fonts cache via read-write lock in MTFontManager 2024-11-20 17:57:37 +01:00
mgriebling
71da5ae960 Merge pull request #32 from petersktang/main
Add NSLock to protect lazily loaded tables in multithread setting
2024-10-26 10:29:53 -04:00
Peter Tang
25938db765 Add NSLock to protect lazily loaded tables in multithread concurrent setting 2024-10-26 22:20:25 +08:00
Michael Griebling
55b539b74e Updated MathView examples. 2024-10-08 19:45:30 -04:00
Michael Griebling
7799485428 Added fonts and provided previews. 2024-10-08 19:35:42 -04:00
Michael Griebling
de4484382d Updated some fonts and added python script to create plist files. 2024-10-06 17:56:24 -04:00
Michael Griebling
99dc4ad8de Update to README.md and graphic files. 2024-10-06 16:29:28 -04:00
Michael Griebling
9fecdcf563 Fix Mac version crashes on TextColor. Need at least v12. 2024-10-05 13:52:35 -04:00
Michael Griebling
428537b8d9 Put back Color code in place of txetcolor due to crashes. 2024-10-05 11:29:31 -04:00
Michael Griebling
a87d4b5a3c Remove Chinese support again 2024-10-05 11:03:29 -04:00
Michael Griebling
2809379401 Removed Chinese support (messed with root). Fixed tests. 2024-10-05 10:45:03 -04:00