Commit Graph

1011 Commits

Author SHA1 Message Date
Eric Biedert 59d65bbdc0
Fix spacing after bibliography heading (#4964) 2024-09-26 09:01:36 +00:00
Sébastien d'Herbais de Thun a5b506c424
Make `jump_from_cursor` return a vector of `Position` (#4886) 2024-09-26 08:53:31 +00:00
ClementMabileau 57895ad725
Fix example in table.rs (#5035) 2024-09-26 08:40:40 +00:00
Jeremie Knuesel 85b45435e0
Fix two doc typos (#5032) 2024-09-26 08:40:29 +00:00
+merlan #flirora 30a301f8ff
`CellGrid::resolve`: Clarify comment about `resolve_breakable` (#5010) 2024-09-26 08:39:52 +00:00
Max 79558f44a0
Clarify syntactical difference in `label` function docs (#4957) 2024-09-26 08:39:39 +00:00
Laurenz e25389a85e
New flow layout, with multi-column floats (#5017) 2024-09-25 08:26:41 +00:00
Bruce Mitchener f283995c3d
Reduce typo count. (#4923) 2024-09-22 12:14:56 +00:00
Laurenz 92ec566018
Fix tags at the start of paragraphs (#4978)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-09-17 15:54:15 +00:00
Laurenz ab8295c07d
Fix repetition of Thai characters (#4977)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-09-17 15:35:56 +00:00
Laurenz 0abd46c379
More robust ratio computation (#4976) 2024-09-17 12:11:57 +00:00
Laurenz c145e05f01
Fix bad bound in forcibly overflowing optimal paragraph layout (#4975) 2024-09-17 11:56:23 +00:00
Laurenz ea145ff33b
Do not surface warnings from non-last layout iterations (#4970) 2024-09-16 16:17:24 +00:00
Malo d48293f1c6
Add `copyleft`, `trademark`, and `registered` symbols (#4883) 2024-09-14 10:40:17 +00:00
Laurenz a2f91c4bc6
Extract page layout from flow layout (#4937) 2024-09-11 16:46:33 +00:00
Laurenz Stampfl 8501a65566
Add warning when SVG with foreign object is included (#4932)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-09-10 17:18:40 +00:00
Andrew Voynov ac982f5856
Unified and fixed `Duration` formatting in the CLI (#4587)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2024-09-10 13:49:37 +00:00
Laurenz a82256c585
Flow collection phase (#4931) 2024-09-10 13:47:22 +00:00
Yip Coekjan 40fcd97d58
Make `QuoteElem` locatable (#4909) 2024-09-08 08:29:58 +00:00
inferiorhumanorgans 4cddb48584
Fix a few doc typos. (#4914)
Co-authored-by: Alex Zepeda <srht@inferiorhumanorgans.com>
2024-09-08 08:28:49 +00:00
Jacob Garm 8a8c4cec77
Fix typo in `block.clip` documentation (#4895) 2024-09-04 11:11:25 +00:00
Nixon 4fda03abdc
Animation-friendly export (#4822) 2024-09-03 12:05:20 +00:00
Laurenz cfde809feb
New realization / Text show rules now work across elements (#4876) 2024-09-02 18:43:59 +00:00
Malo 9fd796e0e2
Add `at` method to `arguments` (#4864) 2024-09-02 16:22:43 +00:00
Sébastien d'Herbais de Thun 1ccfaba88e
Better hint for non-zero em length (#4873)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-09-02 13:33:43 +00:00
Sébastien d'Herbais de Thun 1997db00f3
Parenthesized imports (#4869)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-09-02 13:27:33 +00:00
Sébastien d'Herbais de Thun ecad396cc8
Nuked custom PDF Oklab colorspace code (#4871) 2024-09-02 13:16:33 +00:00
Florent Michel 51df7aee76
Add Devanagari numbering (#4850) 2024-09-02 13:12:57 +00:00
Max c644dce81b
Add warnings when labels are ignored or unattached (#4783) 2024-09-02 12:58:33 +00:00
Daniel Fleischer a2628ac970
Hebrew Translation + Smart Quotes (#4842)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-09-02 12:56:19 +00:00
Bzero 95740ac2ab
Add a skew function (#4803) 2024-09-02 12:56:08 +00:00
tingerrr 799eb8004e
Improve unknown variable diagnostics (#4858) 2024-09-02 12:45:50 +00:00
Sébastien d'Herbais de Thun 39b47060cc
Added example to `box.clip` & `block.clip` (#4870) 2024-09-02 12:43:07 +00:00
ssotoen 89521c2066
Add two-em and three-em dash symbols (#4874) 2024-09-02 12:39:44 +00:00
PgBiel e6cdcc53f3
Line numbers (#4516) 2024-08-29 14:32:18 +00:00
Laurenz ef4482ce4b
Better smartquotes (#4849) 2024-08-28 08:21:21 +00:00
Laurenz 4e4c5175e5
Merge the two realization functions (#4852) 2024-08-27 23:50:45 +00:00
Laurenz b5ef9244eb
Bump dependencies (#4846) 2024-08-27 09:56:19 +00:00
Laurenz 92f2c7b470
Refactor depth checks and apply them in math (#4845) 2024-08-27 08:43:12 +00:00
Laurenz 4365e18454
Improve realization and page layout (#4840) 2024-08-26 17:17:58 +00:00
Malo cb98eec609
Add more `angle` symbol variants (#4827) 2024-08-26 17:10:00 +00:00
Max 373163dba4
Implement math kerning and fix various `math.attach` bugs (#4762) 2024-08-26 17:04:02 +00:00
Malo c38d01e4c5
Add new variants to `parallel` symbol (#4834) 2024-08-26 17:03:52 +00:00
Malo 307b8a5c72
Add more `emptyset`/`nothing` symbol variants (#4826) 2024-08-26 16:39:10 +00:00
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