95 Commits

Author SHA1 Message Date
Malo
c21c1c391b
Use measure width argument in layout doc (#6160) 2025-04-10 09:27:42 +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
Laurenz Stampfl
96dd67e011
Switch PDF backend to krilla (#5420)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-01 14:42:52 +00:00
PgBiel
1f1c133878
Refactor grid header and footer resolving (#5919) 2025-03-24 20:42:48 +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
Andrew Voynov
636eea18bc
Expand page breaks' triggers for page(height: auto) in docs (#6081) 2025-03-24 18:08:39 +00:00
Malo
d6b0d68ffa
Add more methods to direction (#5893) 2025-02-25 14:19:17 +00:00
Laurenz
69c3f95705
Bump MSRV to 1.83 and Rust in CI to 1.85 (#5946) 2025-02-24 12:28:01 +00:00
PgBiel
240f238eee
Fix HTML export of table with gutter (#5920) 2025-02-23 11:26:14 +00:00
Laurenz
029ae4a5ea
Export target docs (#5812)
Co-authored-by: Martin Haug <3874949+reknih@users.noreply.github.com>
2025-02-05 13:24:10 +00:00
Ryan Chua
b25cf22018
Fix typo in page documentation (#5804) 2025-02-04 09:40:10 +00:00
Laurenz
eee903b0f8
Refactor Scope (#5797) 2025-02-03 16:04:54 +00:00
Laurenz
26e65bfef5
Semantic paragraphs (#5746) 2025-01-24 12:11:26 +00:00
Michael Färber
dda486a412
HTML tables (#5666) 2025-01-23 12:08:48 +00:00
Laurenz
52ee33a275
Rework outline (#5735) 2025-01-23 11:50:51 +00:00
Laurenz
6fcc432284
Don't link items if container is already linked (#5732) 2025-01-22 13:24:14 +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
Michael Färber
5c876535cc
Move CellGrid from typst-layout to typst-library (#5585) 2025-01-06 15:20:28 +00:00
Max
bb38a01d06
Fix math size resolving (#5596) 2024-12-20 12:35:57 +00:00
Emmanuel Lesueur
257764181e
New curve element that supersedes path (#5323)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 15:58:57 +00:00
Laurenz
ed67220e4b
Remove deprecated things and compatibility behaviours (#5591) 2024-12-17 09:25:15 +00:00
Laurenz
e0122a5b50 Add HTML export format 2024-12-04 10:12:07 +01:00
Laurenz
f8f2ba6a5f Rename Document to PagedDocument 2024-12-04 10:12:07 +01:00
Max
8d4f01d284
Add support for page references through new ref.form property (#4729) 2024-11-12 12:54:25 +00:00
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Laurenz
7eebafa783 Merge typst and typst-library 2023-11-24 12:30:02 +01:00
Laurenz
36c7301608 Tidy up some imports 2023-11-21 15:20:49 +01:00
Sébastien d'Herbais de Thun
9b5b3b2557
Added ghost attr to elem macro (#2718) 2023-11-19 19:23:00 +01:00
Laurenz
c641044380 Workaround for show set propagation on citations
Fixes #2531
2023-11-19 18:57:28 +01:00
Laurenz
2da619e17c Streamline imports 2023-11-19 16:34:38 +01:00
Sébastien d'Herbais de Thun
f39a8bc015
Add span information to realized ParElem (#2675) 2023-11-15 14:49:29 +01:00
Dimitri Kokkonis
897447e859
Translate local names to Greek (#2684)
Additionally, add support for single and double quotes in Greek.
2023-11-14 15:59:30 +01:00
Wenzhuo Liu
e07275163f
Filter out meta items when adding CJK-Latin (#2655)
spacing.
2023-11-13 12:13:05 +01:00
Anton Wetzel
ba05164bb6
Change rectangle clip to use the inside of the stroke, not the middle. (#2626) 2023-11-08 15:30:00 +01:00
KronosTheLate
3a1e47913d
Make reference to spreading in arguments of grid (#2593)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-11-07 16:56:09 +01:00
Sébastien d'Herbais de Thun
c0f6d2004a
Content rework 2 - Electric Boogaloo (#2504) 2023-11-06 21:37:50 +01:00
Laurenz
c177a63c9b Fix citation grouping bug with spaces 2023-10-31 12:19:30 +01:00
Laurenz
ab5dd2a1cb CSL support 2023-10-31 01:33:06 +01:00
Fritz Rehde
c3114fa380
Fixed typos (#2524) 2023-10-30 23:25:28 +01:00
Laurenz
995fc40363 Remove duplicated lookup 2023-10-29 22:41:28 +01:00
Laurenz
4c75adbb04 Simplify linebreaking
Switches from an iterator to callback style, which significantly increases the clarity of the whole thing.
2023-10-28 23:03:09 +02:00
Laurenz
0f4f37cc09 Bump ICU data 2023-10-28 20:35:38 +02:00
Laurenz
aa62d05453 Fix justification with hanging indent and negative spacing
Fixes #2419
2023-10-28 20:05:51 +02:00
Laurenz
c3b1e32d11 Fix justified linebreaking without justifiables 2023-10-28 18:02:16 +02:00
tingerrr
1603e2df26
Fix trailing mandatory breaks being swallowed (#2502) 2023-10-27 00:17:47 +02:00
Francisco J. Sanchez
c29a31b6c5
Fix pagebreak.to check (#2475) 2023-10-25 17:16:34 +02:00
Wenzhuo Liu
b97ee93b8f
Support adjustment of more CJK punctuation (#2456) 2023-10-22 13:45:51 +02:00
MALO
cf9ca6cb59
Fix compiler panic for float with no vertical alignment (#2437) 2023-10-22 13:43:24 +02:00
Eric Biedert
3ed6462ee0
Don't hyphenate on no-break characters (#2396) 2023-10-22 13:36:33 +02:00