Commit Graph

967 Commits

Author SHA1 Message Date
Malo c57593c94c
Add checkmark ballot symbols (#4825) 2024-08-26 16:18:34 +00:00
Malo 3d980fe4a3
Add miscellaneous symbols from Miscellaneous Mathematical Symbols-B (#4831) 2024-08-26 16:17:33 +00:00
Malo cd62a19344
Add U-shaped arrows (#4807) 2024-08-26 15:59:50 +00:00
Eric Biedert 326fd33801
Don't number empty regions of broken block equations (#4836) 2024-08-26 15:26:50 +00:00
Malo d926e8c17d
Add double parentheses, braces and shell variants (#4830) 2024-08-26 15:25:17 +00:00
Max 0b31f6039f
Fix nested attachments when the base in `math.attach` has attachments (#4832) 2024-08-26 14:49:24 +00:00
Max 77b6c8481f
Add back release targets `aarch64-pc-windows-msvc` and `riscv64gc-unknown-linux-gnu` (#4821) 2024-08-26 13:39:39 +00:00
Yip Coekjan b85217ef14
Improve documents for the `--font-path` arg & `TYPST_FONT_PATHS` env (#4776)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-08-26 13:37:21 +00:00
Yip Coekjan 88325d7d01
Add `clap::ValueHint` for input & output CLI arguments (#4765) 2024-08-23 21:37:03 +00:00
Baldur Kristinsson 4dc2034eee
Add Icelandic translation (#4799) 2024-08-22 10:48:49 +00:00
PgBiel 238f1fad49
Fix docstring in package manifest code (#4801) 2024-08-22 10:38:54 +00:00
Andrew Voynov 0facb75e6d
Fixed typo in docs for `ProgressSink` (#4785) 2024-08-20 15:12:22 +00:00
Max cefca7a7d8
Fix typos (#4784) 2024-08-20 15:12:12 +00:00
Laurenz 986d624b3a
Share allocations for singletons (#4794) 2024-08-20 10:56:54 +00:00
Laurenz a30b681251
Move columns handling directly into `FlowLayouter` (#4792) 2024-08-19 15:06:59 +00:00
Laurenz eb0e0fec00
Split behaved building and StyleVec building (#4782) 2024-08-18 10:22:23 +00:00
Laurenz 2ba59e8c5f
Move column layout into flow (#4774) 2024-08-16 15:22:47 +00:00
Laurenz b0687198b1
Consolidate flow layout (#4772) 2024-08-16 14:00:25 +00:00
Laurenz d97d71948e
Fix document set rules (#4768) 2024-08-16 10:53:12 +00:00
Laurenz feb0c91395
Move paragraph widow and orphan prevention into flow (#4767) 2024-08-16 09:18:45 +00:00
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