Commit Graph

3512 Commits

Author SHA1 Message Date
Laurenz 9473aface1
Fix memory size of `TextElem` (#5674) 2025-01-09 13:00:18 +00:00
Max be6629c7cb
Better math argument parsing (#5008) 2025-01-09 10:49:06 +00:00
Laurenz e2b37fef33
Revamp data loading and deprecate `decode` functions (#5671) 2025-01-09 09:34:16 +00:00
Laurenz dacd6acd5e
More flexible and efficient `Bytes` representation (#5670) 2025-01-08 10:57:56 +00:00
Niklas Eicker 0a374d2380
Embed files associated with the document as a whole (#5221)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-08 09:38:34 +00:00
Laurenz 265df6c29f
Remove closing slashes from img tags (#5665) 2025-01-07 13:13:15 +00:00
Malo e09b55f00f
Allow adding and joining `arguments` (#5651) 2025-01-06 15:41:58 +00:00
Michael Färber 5c876535cc
Move `CellGrid` from `typst-layout` to `typst-library` (#5585) 2025-01-06 15:20:28 +00:00
bbb651 🇮🇱 ce7f680fd5
Avoid stripping url prefixes multiple times or multiple prefixes (#5659) 2025-01-06 15:13:17 +00:00
Laurenz cb8d862a55
Terminate pretty-printed HTML with trailing newline (#5661) 2025-01-06 13:55:34 +00:00
Myriad-Dreamin e8bbf3794f
Select items by import paths (#5518) 2025-01-06 13:31:42 +00:00
Andrew Voynov ec1e8f9e8d
Added precise definition for "character" in the docs for `str.split` (#5616) 2025-01-06 13:15:11 +00:00
Johann Birnick 3a1503154f
Basic HTML `heading` test (#5619) 2025-01-06 13:13:53 +00:00
Malo 36508c66db
Fix French text in example (#5635) 2025-01-06 13:00:44 +00:00
Jie Wang 39eeb116a4
Fix typos in scripting reference (#5660) 2025-01-06 12:58:36 +00:00
Malo a2f685483a
Improve `repr` for `arguments` (#5652) 2025-01-06 12:43:41 +00:00
Max bb38a01d06
Fix math size resolving (#5596) 2024-12-20 12:35:57 +00:00
Malo 39706fe42f
Error on duplicate symbol variant with modifiers in different orders (#5587)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-20 11:15:14 +00:00
Joshua Gawley 6953685358
Document result of splitting string with empty string as separator (#5572) 2024-12-20 10:18:52 +00:00
Max c3334a55fe
Fix arbitrarily nested equations in the base of `math.attach` (#5613) 2024-12-20 10:15:18 +00:00
PgBiel 6c2d54bbe3
Fix crash when block or text have negative sizes (#5610) 2024-12-20 10:03:12 +00:00
Ian Wrzesinski 370aa5929f
Remove unused single quote shorthand (#5609) 2024-12-20 10:00:09 +00:00
Michael Färber df4e6715cf
HTML tests (#5594)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-20 09:48:17 +00:00
Laurenz db06dbf976
Further improve IDE tests (#5602) 2024-12-18 19:26:39 +00:00
Yifan Song 45c866fbb9
Fix autocompletion of half-completed import item (#5531)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 18:11:13 +00:00
PgBiel 9b697d59ae
Fix infinite loop with footnote which never fits (#5498) 2024-12-18 16:54:14 +00:00
Joshua Gawley 21e608e6e9
Change error when accessing non-existant label (#5571) 2024-12-18 16:52:37 +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
Malo 24c08a7ec0
Mention the `calc` module in the operator list (#5595) 2024-12-18 13:37:32 +00:00
wznmickey 05559a6638
Bump `unicode-bidi` (#5598)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 11:15:38 +00:00
Peng Guanwen 73253d4651
Support for defining which charset should be covered by a font (#5305)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-17 14:07:45 +00:00
Zhuofeng Wang 54cee16c31
Add timezone to PDF's default timestamp. (#5564)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-17 09:43:01 +00:00
PgBiel 60f246ece2
Fix sticky blocks at the top of blocks and pages (#5581)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-17 09:41:18 +00:00
Laurenz 1346385255
Rename `pattern` to `tiling` (#5590) 2024-12-17 09:25:27 +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
Johann Birnick 75273937f7
Transform high level headings to HTML (#5525) 2024-12-16 18:22:00 +00:00
Malo 8b1e0d3a23
Improve `symbol` `repr` (#5505) 2024-12-16 14:10:42 +00:00
Myriad-Dreamin 1b10d19d76
Consider parameters when iterating items in scope (#5517) 2024-12-16 14:09:38 +00:00
+merlan #flirora d3620df4c6
Add reversed numbering (#5563) 2024-12-16 13:45:57 +00:00
Andrew Voynov 7f139517b9
Derivation comment for calculation in `repeat` (#5575) 2024-12-16 12:18:34 +00:00
Joshua Gawley a3ad0a0bba
Document new counting symbols (#5568) 2024-12-13 11:26:52 +00:00
Laurenz 521ceae889
Fix crash due to consecutive weak spacing (#5562) 2024-12-11 15:46:10 +00:00
Ian Wrzesinski 5e0e58d26e
Add number-syntax edge case tests (#5560) 2024-12-11 11:33:59 +00:00
Ian Wrzesinski ef4fc040b2
Improve raw trimming (#5541) 2024-12-11 11:31:04 +00:00
Ian Wrzesinski a5ade167dd
More `CapturesVisitor` tests (#5506) 2024-12-11 11:28:24 +00:00
Michael Färber 17f20c6944
Basic HTML pretty-printing (#5533)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-10 09:57:22 +00:00
wznmickey bb0c814095
Forbid base prefix for numbers with a unit (#5548)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-09 10:56:42 +00:00
Laurenz f960fe6012
Bump hashbrown (#5552) 2024-12-09 10:43:48 +00:00
PgBiel c2cc09e71a
Forbid footnote migration in pending floats (#5497)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-09 09:55:58 +00:00