Commit Graph

947 Commits

Author SHA1 Message Date
Eric Biedert 4853726e5b
Add `gap` and `justify` parameters to `repeat` (#4644)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-08-15 20:21:42 +00:00
Leedehai d221a89a40
Adjust the baseline of root radicand frame (#4736) 2024-08-15 20:08:40 +00:00
Malo c43997de0a
Move `calc.nan` to `float.nan` and add `float.inf` (#4733) 2024-08-15 20:04:50 +00:00
Lingkang 0edd8ec93d
Improve `repr` for `type(none)` and `type(auto)` (#4730)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-08-15 19:53:59 +00:00
Yip Coekjan ccd4524106
Fix lexer on sth followed by comments (#4739) 2024-08-15 19:53:15 +00:00
Laurenz 351bac8b68
Turn `repeat` into a single layouter (#4758) 2024-08-15 14:00:15 +00:00
ssotoen d84a7e423b
Document exact sizes of mathematical spaces (#4738) 2024-08-12 11:37:55 +00:00
Yip Coekjan 3dbaf3a4ca
Check cyclic-import when importing package (#4737) 2024-08-12 08:16:56 +00:00
Malo 324c937dcd
Improve documentation for `float` and `int` types (#4725) 2024-08-12 08:12:06 +00:00
Malo 79fb2c3689
Fix `calc.inf`, `-calc.inf`, and `calc.nan` reprs and displays (#4724) 2024-08-11 20:18:57 +00:00
Florent Michel 70931ac1f6
Fix crash when local package is missing and make OpenSSL optional in typst-kit (#4720) 2024-08-11 20:16:40 +00:00
Jakob Peters d06f3f180c
Implement math mode language for `raw` (#4687) 2024-08-11 20:15:30 +00:00
Laurenz 831062a588
Fix system font loading (#4714) 2024-08-09 14:44:18 +00:00
Max b07607d35e
Split shorthands into math and markup, add tilde shorthand (#4706) 2024-08-09 07:41:01 +00:00
Max a6a8cdaa28
Make under/overlines behave the same as accents in attach base (#4695) 2024-08-09 07:40:29 +00:00
+merlan #flirora a88899ed75
Bail out of reparse in `expr_with_paren` if we land on a different char (#4577) 2024-08-08 16:06:22 +00:00
Laurenz cd02ae709f
Move roadmap and community pages out of this repository (#4688) 2024-08-06 08:37:15 +00:00
+merlan #flirora 6856d5e672
Support multiple stylistic sets in text (#4685) 2024-08-05 19:19:56 +00:00
Eric Biedert 18ce3f111d
Automatically get footnote numbering in counter display (#4686) 2024-08-05 19:03:45 +00:00
tingerrr 672f6e5f97
Add typst-kit crate (#4540) 2024-08-05 18:49:02 +00:00
mkorje 810491c9d3
Add missing under/over-delimiters (#4637) 2024-08-05 11:28:17 +00:00
Johann Birnick 211b546e4e
Fixes counter stepping behavior (#4631)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-08-05 11:02:04 +00:00
Laurenz 9909f12d4f
Bump to Rust 1.80 (#4681) 2024-08-05 10:54:30 +00:00
Malo 6fbba6d73f
Better document numbering functions (#4648) 2024-08-05 10:43:15 +00:00
Eric Biedert ed247797ac
Fix alignment of gradients and patterns on strokes in PNG (#4634) 2024-08-05 10:24:22 +00:00
Johann Birnick 51102da926
Fixed docs typo (#4628) 2024-08-05 10:04:49 +00:00
Leedehai 1f81281118
Fix the show rule effect for bibliography heading level (#4622) 2024-08-05 10:04:35 +00:00
Leedehai d06a26e3d8
Export `ty` and `scope` macros before mod decls to sidestep a rust-analyzer issue (#4619) 2024-08-05 10:03:23 +00:00
Leedehai 5e187a5d05
Add font exceptions for Kaiti SC and Kaiti TC (#4616) 2024-08-05 10:02:48 +00:00
ssotoen d769b21356
Add Latin translation (#4609) 2024-08-05 10:01:57 +00:00
Leedehai 33f13d7881
Fix historical ligatures for texts (#4603) 2024-08-05 10:00:33 +00:00
Florent Michel c4dd6fa062
Adjust the number of color components written to the pdf according to the color space (#4568) 2024-07-22 15:05:22 +00:00
HydroH 1d74c8e8bf
Add `non-zero` and `even-odd` fill rules to `path` and `polygon` (#4580)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-22 14:24:29 +00:00
Yip Coekjan 684efa2e0e
Raise error when failing to load & parse the specified certificate (#4554) 2024-07-22 13:37:33 +00:00
Jiří Cihelka b037c19ccb
Explanation of void return in the functions documentation (#4590)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-22 13:37:13 +00:00
chico ferreira bd72b95d9e
Conversion from int to bytes and back (#4490)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-22 12:10:59 +00:00
Y.D.X. 9b001e2112
Use texts of the first occurrences for `/ToUnicode` CMap (#4585) 2024-07-20 14:13:06 +00:00
Laurenz 46ef8e1dfa
Deprecate some things (#4562) 2024-07-20 12:52:17 +00:00
Leedehai 96d456e267
Move matrix layout logic's early exit upward (#4583) 2024-07-20 12:51:51 +00:00
Laurenz 0c37a2c233
Support transparent page fill (#4586)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-07-20 12:51:24 +00:00
shinyfelix 3aa18beacf
Fix approximated size of `reflow: true` transformations (#4462)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-20 12:26:57 +00:00
Laurenz 3ef0991fbb
Tune hyphenation (#4584) 2024-07-19 11:47:51 +00:00
Laurenz 4275447788
Fix panic in link linebreaking (#4579) 2024-07-18 08:49:08 +00:00
+merlan #flirora df56a2d20d
Allow absolute lengths in `scale` (#4271)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-17 08:27:46 +00:00
Leedehai 993e7a45a9
Move the early exit inside `stretch_glyph()` upward (#4570)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-17 08:19:08 +00:00
Laurenz 09e0464e87
Fix duplicate completions (#4563) 2024-07-15 18:01:51 +00:00
Leedehai f3863f14af
Remove an unnecessary mutable specifier (#4557) 2024-07-15 10:00:37 +00:00
Leedehai f0407d4949
Wrapping with parens should not push superscripts higher (#4545)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-15 09:54:54 +00:00
Eric Biedert ac322e342b
Save and restore graphics state for every frame (#4496)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 14:02:50 +00:00
+merlan #flirora 17ee3df1ba
Wrap outline entry body in LRE/RLE + make smart quotes ignore directional control characters (#4491)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 13:48:40 +00:00
Myriad-Dreamin a3f3a1a833
Change the signature of `World::main` (#4531)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 13:14:21 +00:00
Yip Coekjan 4d8976b619
Fix lexer behavior on non-whitespace before ref (#4553) 2024-07-14 12:54:51 +00:00
Leedehai 98d98a4bfd
Short-circuit on None's when laying out AttachElem (#4546) 2024-07-14 09:55:23 +00:00
Matthias Vogelgesang 5c71ad7fe7
Do not conflate Archivo Narrow and Archivo (Black) fonts (#4478) 2024-07-14 09:53:32 +00:00
Laurenz be516867c8
Spans for cross-file go-to-definition (#4539) 2024-07-11 14:24:28 +00:00
Laurenz 36042ff222
Remove `place.flush` from global scope (#4537) 2024-07-11 09:30:06 +00:00
tingerrr 3c22902d6c
Add missing keys to manifest types (#4494) 2024-07-10 09:44:13 +00:00
Yip Coekjan 3b382cbd45
Refactor `impl Eval for ast::FuncCall<'_>` (#4435)
Co-authored-by: Ian Wrzesinski <133046678+wrzian@users.noreply.github.com>
2024-07-10 09:43:46 +00:00
Myriad-Dreamin 46ab4edea6
Basic Definition Finder for IDE (#4309)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-09 15:46:38 +00:00
Leedehai 79b77d5669
Mark synthesized prime symbol frame text-like (#4525) 2024-07-09 15:23:44 +00:00
shinyfelix b1219395b1
Fix suggestions for '.' after code mode has exited. (#4470) 2024-07-09 15:22:08 +00:00
Laurenz 34990f7f0e
Bump dependencies (#4523) 2024-07-08 20:41:38 +00:00
Leedehai d1c7d08893
Primes should not further raise next superscript's position (#4492)
Co-authored-by: Ian Wrzesinski <133046678+wrzian@users.noreply.github.com>
2024-07-08 19:32:58 +00:00
T0mstone 86af5b5f61
Allow non-utf8 values for `input` and `output` (#4517) 2024-07-08 19:32:35 +00:00
Eric Biedert 59374f7370
Avoid spaces around ignorant and invisible elements in math (#4348) 2024-07-06 13:45:19 +00:00
Yip Coekjan 394ba50fa6
Rename `notes.*` to `note.*` & Add some music symbols (#4488) 2024-07-06 13:44:14 +00:00
Yip Coekjan 2df138a507
Open with (detached) custom viewers and raise error on failure (#4430) 2024-07-06 09:54:12 +00:00
AnarchistHoneybun 82f13d9a38
Reword docs for `math.cancel` (#4444) 2024-07-06 09:40:12 +00:00
Yip Coekjan 8c3002897a
Add metadata for `cargo-binstall` (#4458) 2024-07-06 08:36:24 +00:00
Adrian Freund 4c22ffa612
Statically link xz2 (#4463) 2024-07-06 08:33:29 +00:00
Laurenz 906de589ce
Clean up flow a bit (#4505) 2024-07-05 12:38:05 +00:00
Sébastien d'Herbais de Thun b847cccba4
Go from `String` to `&str` when passing font names to SVG code (#4500) 2024-07-04 18:27:34 +00:00
Laurenz 129a4d600c
Fix hyphenation outside of words (#4498) 2024-07-04 13:27:43 +00:00
Laurenz 0ef672c347
Refactor line building (#4497) 2024-07-04 10:57:40 +00:00
Yip Coekjan 75246f930b
Fix footnote-reference numbering (#4456) 2024-07-02 14:46:25 +00:00
Mattes Bieniarz 728fb7e475
fix(array.slice): Clarify and correct function description (#4446) 2024-07-02 14:44:57 +00:00
Leedehai aefc506424
Use a clearer match pattern (#4437) 2024-07-02 14:41:41 +00:00
Laurenz 6d835ecb92
Optimize optimized paragraph layout (#4483) 2024-07-01 13:04:58 +00:00
Laurenz 45366c0112
Bump Rust in CI (#4445) 2024-06-24 20:11:11 +00:00
Laurenz e6b5314870
Split up paragraph layout into more files (#4443) 2024-06-24 18:33:41 +00:00
Yip Coekjan e90c30903d
Better error message when package version not exists (#4429) 2024-06-22 10:33:33 +00:00
Eric Biedert 09e3bbd3b4
Fix luma to CMYK conversion (#4425) 2024-06-22 09:09:36 +00:00
Eric Biedert 381a82e764
Fix color mixing and gradients in luma space (#4424)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-22 09:09:28 +00:00
Yip Coekjan 0fbec82035
Hint for shadowed std functions (#4402)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-22 09:02:53 +00:00
JPichel 49f1c85c18
Add Galician & catalan translations (#4414) 2024-06-22 09:02:38 +00:00
+merlan #flirora 781eea632f
Add message when trying to access a field that is not set (#4399)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-22 08:59:52 +00:00
Clemens Koza 3d3489fbae
Allow "imprecise" bounds for the compiler version (#4394) 2024-06-22 08:41:19 +00:00
Yip Coekjan ddce645ef0
Add named symbols: `⌈`, `⌉`, `⌊`, `⌋` (#4267) 2024-06-22 08:40:10 +00:00
Laurenz a2c9807159
Fix backlinks (#4409) 2024-06-17 12:15:24 +00:00
Laurenz 0d93ccd4bf
Compress CMaps (#4406) 2024-06-16 10:05:13 +00:00
Laurenz Stampfl feedfe80cb
Improve subsetting (#4373)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-16 09:38:33 +00:00
Malo 34550220ae
Add hints to array destructuring error messages (#4400) 2024-06-16 09:35:18 +00:00
Laurenz f25308d1eb
Tight lists only attach to preceding paragraphs, not blocks anymore (#4396) 2024-06-16 07:48:03 +00:00
Laurenz Stampfl 1110b93564
Add support for COLRv1 emojis (#4371) 2024-06-16 07:47:13 +00:00
Laurenz 9a45d948f9
Paragraph spacing property (#4390) 2024-06-14 08:49:44 +00:00
Yip Coekjan 6f9855a8c3
Make symbols callable like functions & migrate callable accents to callable symbols (#4299)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-13 16:57:34 +00:00
astrale-sharp ad4ef68a11
Lexer hint (#4346)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-12 12:00:22 +00:00
Laurenz Stampfl 20b8d2c121
Don't change DPI in resvg (#4354) 2024-06-11 11:12:03 +00:00
+merlan #flirora a10e3324c2
interrupt_styles: Check all potential style matches (#4345) 2024-06-11 09:14:26 +00:00
+merlan #flirora 20475ab0bf
Add hint when string is used in place of label (#4330) 2024-06-11 09:08:30 +00:00