11 Commits

Author SHA1 Message Date
Y.D.X.
77db88eb98
Document that a where selector is needed to update figure counters
Resolves #6641

It was documented in `figure.counter`, but that field is synthesized and not visible in docs.
https://docs.rs/typst-library/0.13.1/typst_library/model/struct.FigureElem.html#method.counter
2025-07-24 20:21:53 +08:00
Laurenz
b036fd97ab Reformat with 2024 edition 2025-07-21 15:22:29 +02:00
Laurenz
e5e1dcd9c0
Target-specific native show rules (#6569) 2025-07-09 08:16:36 +00:00
Laurenz
0a3c6939dd
Rewrite foundations of native elements (#6547) 2025-07-08 08:52:43 +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
Laurenz
b90ad470d6
Remove redundant doc comments on standard arguments (#5725) 2025-01-21 11:10:06 +00:00
Laurenz
6b9b78596a
Don't generate accessors for required fields (#5680) 2025-01-10 16:54:11 +00:00
Laurenz
ed67220e4b
Remove deprecated things and compatibility behaviours (#5591) 2024-12-17 09:25:15 +00:00
Eric Biedert
51020fcf3c
Get numbering of page counter from style chain (#5589) 2024-12-16 20:23:13 +00:00
Sébastien d'Herbais de Thun
85d3a49a1a
Added warning when explicit return in code (not markup) discards joined content (#5413)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-11-26 20:51:46 +00:00
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00