1455 Commits

Author SHA1 Message Date
Laurenz Stampfl
cb436f9650 Reformat 2025-07-21 20:09:42 +02:00
Laurenz Stampfl
6e6c7d8514 Merge branch 'main' into pdf_embed
# Conflicts:
#	crates/typst-library/src/visualize/image/mod.rs
#	crates/typst-svg/src/image.rs
2025-07-21 20:08:01 +02:00
Laurenz
b036fd97ab Reformat with 2024 edition 2025-07-21 15:22:29 +02:00
Laurenz
e81a5a6ef2 Yeet if_chain macro 2025-07-21 15:22:29 +02:00
Laurenz
c9c2315ad3 Fix 2024 clippy warnings 2025-07-21 15:22:29 +02:00
Laurenz
4bbd4e195b Migrate to 2024 edition 2025-07-21 15:22:28 +02:00
pog102
55dad02887
Add Lithuanian translations (#6587) 2025-07-21 10:57:40 +00:00
Laurenz Stampfl
2f72a1f197 Add tests 2025-07-20 15:13:34 +02:00
Laurenz Stampfl
62eab1dc9f Remove outdated comment 2025-07-20 14:50:02 +02:00
Laurenz Stampfl
7791162455 Group imports 2025-07-20 14:49:34 +02:00
Laurenz Stampfl
24d68ba61c Update documentation 2025-07-20 14:48:50 +02:00
Laurenz Stampfl
34d26dc64b
Merge branch 'main' into pdf_embed 2025-07-20 14:41:00 +02:00
Laurenz Stampfl
62daf7d3ef Add proper errors for PDFs that failed to load 2025-07-20 14:40:14 +02:00
Laurenz Stampfl
d9fb17edb3 Embed all fonts 2025-07-20 14:30:08 +02:00
Laurenz Stampfl
1a66c8ebe7 Bump deps 2025-07-20 10:52:12 +02:00
Laurenz Stampfl
c384f6b6c0 Use select_fallback as well 2025-07-20 10:06:33 +02:00
Laurenz Stampfl
f9862eba8d Tweak resolution 2025-07-20 00:40:11 +02:00
Laurenz Stampfl
d19b45784c Reformat & rearrange imports 2025-07-20 00:36:56 +02:00
Laurenz Stampfl
5427645c7a Remove an outdated comment 2025-07-20 00:33:43 +02:00
Laurenz Stampfl
e9421fd16b Improve errors for PDF export 2025-07-20 00:32:34 +02:00
Laurenz Stampfl
a2df88db16 Fix some compiler warnings 2025-07-20 00:16:11 +02:00
Laurenz Stampfl
5ef332caa4 Require the PdfEmbedding feature 2025-07-20 00:13:25 +02:00
Laurenz Stampfl
070a375f3e Add SVG export 2025-07-20 00:02:55 +02:00
Laurenz Stampfl
9bacb89fc8 Extract pdf texture into a method 2025-07-19 23:52:27 +02:00
Laurenz Stampfl
4b733b5f8b First version 2025-07-19 23:46:28 +02:00
Malo
b1c79b50d4
Fix documentation oneliners (#6608) 2025-07-18 13:25:17 +00:00
Lachlan Kermode
627f5b9d4f
Add show rule for smallcaps in HTML (#6600) 2025-07-17 16:09:13 +00:00
Robin
5661c20580
Slightly improve selector docs (#6544) 2025-07-16 16:15:49 +00:00
Laurenz
7897e86bcc
Restore timing scopes for native show rules (#6616) 2025-07-16 09:54:43 +00:00
Laurenz
0a4b72f8f6
Partially automate span assignment in native show rule (#6613) 2025-07-16 08:55:06 +00:00
Laurenz
c58766440c
Support intra-doc links in HTML (#6602) 2025-07-16 08:17:42 +00:00
Y.D.X.
ea5272bb2b
Support setting fonts repeatedly with different covers (#6604) 2025-07-16 08:10:21 +00:00
Malo
cdbf60e883
Change enum.item.number to Smart instead of Option (#6609) 2025-07-16 08:05:52 +00:00
Laurenz
9a6268050f
HTML frame improvements (#6605) 2025-07-15 14:48:31 +00:00
Robin
f51cb4b03e
Rephrase docs for truncation of float/decimal to integer (#6543) 2025-07-14 13:31:27 +00:00
Robin
0c12828c9a
Fix minor typo in text docs (#6589) 2025-07-14 13:26:25 +00:00
Robin
b1a091a236
Use "whitespace" instead of "space" to denote block-level equation in docs (#6591) 2025-07-14 13:26:10 +00:00
Said A.
0264534928
Fix regression in reference autocomplete (#6586) 2025-07-10 15:02:23 +00:00
Said A.
70710deb2b
Deduplicate labels for code completion (#6516) 2025-07-10 13:15:19 +00:00
Laurenz
275012d7c6
Handle lower and upper in HTML export (#6585) 2025-07-10 10:54:06 +00:00
Laurenz
98802dde7e
Complete movement of HTML export code to typst-html (#6584) 2025-07-10 10:42:34 +00:00
Laurenz
ac77fdbb6e
Fix tooltip for figure reference (#6580) 2025-07-09 13:50:54 +00:00
Laurenz
3aa7e861e7
Support images in HTML export (#6578) 2025-07-09 13:48:43 +00:00
Laurenz
a45c3388a6
More consistent Packed<T> to Content conversion methods (#6579) 2025-07-09 13:40:22 +00:00
Max
f9b01f595d
Move math styling to codex and add math.scr (#6309) 2025-07-09 13:08:49 +00:00
Robin
eed3407051
Update Swedish translations based on defaults used for LaTeX and cleveref (#6519) 2025-07-09 12:44:42 +00:00
Jassiel Ovando
1bbb58c43f
Add completions subcommand (#6568) 2025-07-09 12:41:40 +00:00
Malo
1dc4c248d1
Add default argument for str.first and str.last (#6554)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-07-09 12:10:24 +00:00
frozolotl
9e6adb6f45
Ignore spans when checking for RawElem equality (#6560) 2025-07-09 12:04:22 +00:00
Robin
4534167656
Use "displayed" instead of "repeated" to avoid ambiguity in numbering docs (#6565) 2025-07-09 12:02:50 +00:00