Commit Graph

1404 Commits

Author SHA1 Message Date
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
Eric Biedert 59374f7370
Avoid spaces around ignorant and invisible elements in math (#4348) 2024-07-06 13:45:19 +00:00
Laurenz 3b32aa7929
Add regression test for #3355 (#4499) 2024-07-04 15:28:23 +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
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
+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
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
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
Laurenz a68a241570
Remove `Tracer` (#4365) 2024-06-10 09:00:54 +00:00
Laurenz f91cad7d78
Pure location assignment (#4352) 2024-06-09 13:23:56 +00:00
Wenzhuo Liu 681badf76a
Pad matrix cell to make matrix have a consistent height (#4153) 2024-06-04 15:42:02 +00:00
Yip Coekjan ada0f5da65
Hint for labels in code mode (#4319) 2024-06-04 15:33:08 +00:00
Leedehai df6e347bc5
Align point and linebreak should not increase math row height (#4306) 2024-06-04 15:30:43 +00:00
PgBiel 9adcd9a1f8
Refactor casts to use `HintedStrResult` (#4229) 2024-06-04 15:24:39 +00:00
+merlan #flirora 99b393110e
Align corner brackets to the top and bottom when scaling (#4200) 2024-06-04 15:22:56 +00:00
Laurenz 1e2e07adff
Add regression test for #2631 (#4328) 2024-06-04 15:05:37 +00:00
Laurenz 755dd4112d
Show block-level elements as blocks (#4310) 2024-06-03 08:12:52 +00:00
+merlan #flirora 23746ee189
Add flush element (#4141) 2024-05-30 15:40:01 +00:00
+merlan #flirora b15aa664f2
Allow `measure` to accept available size (#4264) 2024-05-30 07:58:07 +00:00
Yip Coekjan 702271dacb
Allow setting `raw.theme` to `none` to disable syntax highlighting (#4256) 2024-05-30 07:57:12 +00:00
Tulio Martins 06a925a0ee
Add nested import syntax (#4228)
Co-authored-by: LuizAugustoPapa <luiz.papa@aluno.puc-rio.br>
Co-authored-by: PepinhoJp <pepinho.jp@gmail.com>
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2024-05-30 07:56:40 +00:00
Eric Biedert 5f6d942519
Make block equations breakable (#4226)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-05-30 07:52:48 +00:00
Laurenz e6739ecc2f
Fix figure centering (#4276)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2024-05-29 13:17:05 +00:00
LU Jialin b73b3ca335
Trim weak spacing at line start/end in paragraph layout (#4087) 2024-05-27 15:36:41 +00:00
Yip Coekjan 485aa2e1ff
Hint for language-region pair on `text.lang` (#4183) 2024-05-25 15:31:04 +00:00
Yip Coekjan 374b82f8ca
Set default value of `raw.theme` to `auto`, and allow setting `raw.theme` to `auto` (#4186) 2024-05-24 23:14:56 +00:00
Laurenz 34f1a23246
Do layout short-circuit in flow instead of realization (#4231) 2024-05-23 09:55:00 +00:00
Malo a6cf584ee9
Allow somewhat arbitrary characters as `mat`, `vec` and `cases` `delim` (#4211) 2024-05-22 19:36:53 +00:00
Leedehai 53c306e32c
Fix equation resizing when adding the equation number (#4179) 2024-05-22 17:04:46 +00:00
Tobias Schmitz b0306785d5
Add `windows` method to array (#4136)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-05-22 15:58:06 +00:00
Laurenz a52987a8c2
Refactor frame metadata into tags (#4212) 2024-05-22 09:26:03 +00:00
Laurenz 7f2b28ae2a
Fix mention of current version in test (#4169) 2024-05-17 13:12:10 +00:00
Laurenz ad598f559e
Fix show rules on queried elements (#4166) 2024-05-17 10:59:31 +00:00
Laurenz 2188a4bf48
Fix equations in RTL text (#4150) 2024-05-17 08:36:07 +00:00
Wenzhuo Liu 4ae376f2c7
Fix raw block has extra space when end with backtick (#4162)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-05-17 08:35:51 +00:00
Laurenz 5f5a8f0f3f
Bump hayagriva (#4144) 2024-05-16 10:37:13 +00:00
Gabriel Araújo 017f2f4566
Fix hyphen duplication rule for some languages (#4058) 2024-05-15 13:42:13 +00:00
Leedehai 484a0e60d8
`show math.equation: set align(..)` shall not break alignment points (#4094) 2024-05-15 07:48:35 +00:00
Laurenz 2d32ac73b6
Replace all `Prehashed` with `LazyHash` (#4127) 2024-05-13 17:54:34 +00:00
Laurenz 95cd6adf24
Factor out `typst-utils` crate (#4125) 2024-05-13 15:25:43 +00:00