3671 Commits

Author SHA1 Message Date
Eric Biedert
bef4e20434 Add test for location of migrated block
Previously, this would result in a position on the first page.
2025-05-28 13:03:17 +02:00
Eric Biedert
811996eb70 Update references of existing tests
In `grid-header-containing-rowspan`, the first region is now correctly
not stroked.

Not sure what happened in `grid-header-orphan-prevention`, but the "B"
in the first header was too bold before.
2025-05-27 15:27:04 +02:00
Eric Biedert
02f07e7912 Don't label empty orphan frames
Adding a label makes a previously empty frame non-empty, but we want to
keep orphans empty.
2025-05-27 15:27:04 +02:00
Eric Biedert
693edb475d Don't break blocks after empty frame
Instead, spill the whole child into the next region to prevent small
leftovers to influence layout. This is not done when all frames are
empty (e.g. for an explicitly sized block without content or fill).

This helps with the following cases:
- Previously, if a sticky block was followed by a leftover frame, the
  stickiness would be ignored, as the leftover was in fact sticking.
  This is not currently a problem, as sticky blocks aren't really
  breakable at the moment, but probably will be in the future.
- When ignoring stroke and fill for a first empty frame, a nested broken
  block would previously make the first frame not be considered empty
  anymore, which would lead to the leftover frame being filled.
- Similarly, when the fill of an explicitly sized block is ignored in
  the first empty frame, the leftover part would still be considered as
  laid out, making the actually visible block too small.
2025-05-27 15:21:15 +02:00
Eric Biedert
606183cd30 Add tests 2025-05-27 15:21:15 +02:00
Tobias Schmitz
2a258a0c38
Remove unused Marginal type (#6321) 2025-05-23 07:31:26 +00:00
Malo
df89a0e85b
Use the right multiplication symbol in expression tooltip (#6163) 2025-05-20 16:27:14 +00:00
Patrik Simic
ca8d223fde
Removing unused warnings in nightly (#6169) 2025-05-20 16:25:26 +00:00
frozolotl
d42d2ed200
Error if an unexpected named argument was received (#6192) 2025-05-20 16:24:46 +00:00
Max
e90c2f74ef
Fix text overhang example in docs (#6223) 2025-05-20 16:20:40 +00:00
frozolotl
300a782451
Always run tests from workspace directory (#6307) 2025-05-20 13:54:49 +00:00
Tobias Schmitz
91cadbf307
Underline file path of failed test (#6281) 2025-05-20 12:57:19 +00:00
Tobias Schmitz
d204a28818
Expand text link boxes vertically by half the leading spacing (#6252) 2025-05-12 18:12:35 +00:00
Tobias Schmitz
22a117a091
Prohibit some line break opportunities between LTR-ISOLATE and OBJECT-REPLACEMENT-CHARACTER (#6251)
Co-authored-by: Max <max@mkor.je>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-05-12 09:16:38 +00:00
Tobias Schmitz
26c19a49c8
Use the infer crate to determine if pdf embeds should be compressed (#6256) 2025-05-12 08:07:43 +00:00
Tobias Schmitz
54c5113a83
Catch indefinite loop in realization due to cycle between show and grouping rule (#6259) 2025-05-12 08:06:18 +00:00
Tobias Schmitz
9b09146a6b
Use list spacing for attach spacing in tight lists (#6242) 2025-05-06 14:03:48 +00:00
Tobias Schmitz
b322da930f
Respect RTL cell layouting order in grid layout (#6232)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2025-05-06 08:26:55 +00:00
Malo
14241ec1aa
Use the right field name for figure.caption.position (#6226) 2025-05-01 15:43:07 +00:00
Andrew Voynov
3e6691a93b
Fix frac syntax section typo (#6193) 2025-04-18 14:27:07 +00:00
Max
7e072e2493
Add test for flattened accents in math (#6188) 2025-04-17 14:10:27 +00:00
Malo
c21c1c391b
Use measure width argument in layout doc (#6160) 2025-04-10 09:27:42 +00:00
Approximately Equal
94a497a01f
Add HTML meta tags for document authors and keywords (#6134) 2025-04-07 20:18:52 +00:00
alluring-mushroom
9829bd8326
Document exceptions and alternatives to using type (#6027)
Co-authored-by: Zedd Serjeant <Zedd.Serjeant@PumpkinEng.com.au>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:56:20 +00:00
Andrew Voynov
43c3d5d3af
Improved ratio and relative length docs (#5750)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:47:02 +00:00
+merlan #flirora
14a0565d95
Show warnings from eval (#6100)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 18:42:29 +00:00
Laurenz
bd2e76e11d
Bump OpenSSL (#6153) 2025-04-07 18:20:27 +00:00
Andrew Voynov
14928ef962
Fix typo in module docs (#6146)
Co-authored-by: Alberto Corbi <alberto_corbi@icloud.com>
2025-04-07 17:47:29 +00:00
Laurenz
d55abf0842
Update community section in README (#6150) 2025-04-07 17:46:46 +00:00
Markus Langgeng Iman Saputra
ea336a6ac7
Add Indonesian translation (#6108)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2025-04-04 15:50:13 +00:00
Malo
387a8b4895
Display color spaces in the order in which they are presented in the doc (#6140) 2025-04-04 11:53:14 +00:00
Laurenz
bf8751c063
Switch to released krilla version (#6137) 2025-04-04 08:35:51 +00:00
Malo
ed2106e28d
Disallow empty font lists (#6049) 2025-04-02 11:47:42 +00:00
Malo
417f5846b6
Support comparison functions in array.sorted (#5627)
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:41:45 +00:00
Ian Wrzesinski
12699eb7f4
Parse multi-character numbers consistently in math (#5996)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:30:04 +00:00
Laurenz Stampfl
96dd67e011
Switch PDF backend to krilla (#5420)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-01 14:42:52 +00:00
Max
012e14d40c
Unify layout of vec and cases with mat (#5934) 2025-03-31 09:38:04 +00:00
Max
4f0fbfb7e0
Add dotless parameter to math.accent (#5939)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-31 09:17:49 +00:00
+merlan #flirora
a64af130dc
Add default parameter for array.{first, last} (#5970) 2025-03-31 09:06:18 +00:00
Malo
1082181a6f
Improve french smartquotes (#5976) 2025-03-31 09:01:01 +00:00
+merlan #flirora
e60d3021a7
Add env setting for ignore_system_fonts (#6092) 2025-03-31 08:17:37 +00:00
Astra3
326bec1f0d
Correcting Czech translation in typst-library (#6101) 2025-03-31 08:16:47 +00:00
Myriad-Dreamin
758ee78ef5
Make World::font implementations safe (#6117) 2025-03-31 08:08:55 +00:00
Matt Fellenz
efdb75558f
IDE: complete jump-to-cursor impl (#6037) 2025-03-28 17:33:16 +00:00
frozolotl
20ee446eba
Fix descriptions of color maps (#6096) 2025-03-28 15:30:30 +00:00
Philipp Niedermayer
b7a4382a73
Fix typo (#6104) 2025-03-28 15:28:03 +00:00
Laurenz Stampfl
838a46dbb7
Test all exif rotation types and fix two of them (#6102) 2025-03-27 10:59:32 +00:00
PgBiel
1f1c133878
Refactor grid header and footer resolving (#5919) 2025-03-24 20:42:48 +00:00
Laurenz
1e591ac8dc
Bump zip (#6091) 2025-03-24 18:17:29 +00:00
Eduardo Sánchez Muñoz
38213ed534
Use u64 instead of usize to store counter and enumeration item numbers, so behavior does not vary from 64-bit to 32-bit platforms (#6026) 2025-03-24 18:16:33 +00:00