Laurenz
774d7e819e
Revert to original PDF standards API
...
The PR changed the CLI from just a --pdf-standard flag to a --pdf-version and a --pdf-standard flag and also introduced similar breaking changes to typst_pdf's interface.
I'm not totally opposed to this change, but also not yet certain whether I truly prefer it. For this reason, after discussion with @LaurenzV, I'm reverting this for now. We can still make the change later if we want to. There's no need to couple it with the switch to krilla.
2025-03-26 18:01:41 +01:00
Laurenz Stampfl
ea021a29e3
Reformat
2025-03-10 10:29:47 +01:00
Laurenz Stampfl
c14eeae249
more
2025-03-10 10:29:37 +01:00
Laurenz Stampfl
33199e1c00
Part 2
2025-03-10 10:21:13 +01:00
Laurenz
f31c971624
Deduplicate watcher update call ( #5955 )
2025-02-25 12:47:41 +00:00
aodenis
acd3a5b7a5
Fix high CPU usage due to inotify watch triggering itself ( #5905 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-25 12:41:54 +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
Matthew Toohey
3de3813ca0
--make-deps fixes ( #5873 )
2025-02-18 18:04:40 +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
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
Laurenz
caa72f4ec2
Put HTTP server behind on-by-default feature flag ( #5532 )
2024-12-05 15:25:18 +00:00
Laurenz
79a7a6bf77
Live reloading HTTP server for typst watch
and HTML export ( #5524 )
2024-12-05 09:59:26 +00:00
Laurenz
4f3ba7f8ca
Rename --feature
to --features
and support TYPST_FEATURES
env var ( #5523 )
2024-12-04 17:42:59 +00:00
Laurenz
bf1c7db6fc
Clean up CLI argument parsing ( #5521 )
2024-12-04 13:17:38 +00:00
Laurenz
e0122a5b50
Add HTML export format
2024-12-04 10:12:07 +01:00
Laurenz
2b8dc9b14d
Add HTML feature flag
2024-12-04 10:12:07 +01:00
Laurenz
f8f2ba6a5f
Rename Document
to PagedDocument
2024-12-04 10:12:07 +01:00
wznmickey
3ab131c22c
Handle SIGPIPE ( #5444 )
2024-11-29 09:21:19 +00:00
Yip Coekjan
19bde34876
Remove unused dependencies ( #5379 )
2024-11-07 08:47:27 +00:00
Laurenz
fac7583745
Basic feature flag mechanism ( #5350 )
2024-11-01 20:02:27 +00:00
Yip Coekjan
f0d7f54cbf
More consistent self-update
assets determination ( #5333 )
2024-10-31 11:55:37 +00:00
Abdul-Rahman Sibahi
b969c01b28
Replace once_cell
's Lazy
as much as possible ( #4617 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 11:52:11 +00:00
Laurenz
be7cfc85d0
Split out four new crates ( #5302 )
2024-10-27 18:04:55 +00:00
Laurenz
240b917399
Docs and changelog improvements ( #5147 )
...
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
Co-authored-by: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com>
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Jeremie Knuesel <knuesel@gmail.com>
Co-authored-by: +merlan #flirora <2975203+bluebear94@users.noreply.github.com>
Co-authored-by: Anselm Schüler <mail@anselmschueler.com>
2024-10-15 12:54:16 +00:00
Laurenz
89cecb188d
Greet users who run typst
for the first time ( #5210 )
2024-10-15 11:55:55 +00:00
Laurenz
60f9f66950
Serialize and Deserialize for PdfStandard
( #5108 )
2024-10-03 19:40:42 +00:00
Laurenz
04df1264ef
Fix duration formatting precision ( #5082 )
2024-10-01 12:32:27 +00:00
emilylime
f0ada7ba0c
Check that an output format is available before compiling ( #5080 )
2024-10-01 09:26:12 +00:00
Laurenz
a0093ad8a7
Minimal PDF/A support ( #5075 )
...
Co-authored-by: Martin Haug <mhaug@live.de>
2024-10-01 09:24:18 +00:00
Laurenz
788ae10a07
PDF export diagnostics ( #5073 )
2024-09-30 12:43:29 +00:00
Alex Rawson
ba95baa7e1
Don't include "update" in help output if self-update disabled ( #4940 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-09-27 08:52:52 +00:00
Josh Soref
ca1f749c08
Spelling ( #5020 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-09-26 17:32:55 +00:00
Sébastien d'Herbais de Thun
8d38bd4066
Single thread support ( #4988 )
2024-09-26 09:02:44 +00:00
Andrew Voynov
ac982f5856
Unified and fixed Duration
formatting in the CLI ( #4587 )
...
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2024-09-10 13:49:37 +00:00
Max
77b6c8481f
Add back release targets aarch64-pc-windows-msvc
and riscv64gc-unknown-linux-gnu
( #4821 )
2024-08-26 13:39:39 +00:00
Yip Coekjan
b85217ef14
Improve documents for the --font-path
arg & TYPST_FONT_PATHS
env ( #4776 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-08-26 13:37:21 +00:00
Yip Coekjan
88325d7d01
Add clap::ValueHint
for input & output CLI arguments ( #4765 )
2024-08-23 21:37:03 +00:00
Laurenz
986d624b3a
Share allocations for singletons ( #4794 )
2024-08-20 10:56:54 +00:00
Laurenz
831062a588
Fix system font loading ( #4714 )
2024-08-09 14:44:18 +00:00
tingerrr
672f6e5f97
Add typst-kit crate ( #4540 )
2024-08-05 18:49:02 +00:00
Yip Coekjan
684efa2e0e
Raise error when failing to load & parse the specified certificate ( #4554 )
2024-07-22 13:37:33 +00:00
Laurenz
0c37a2c233
Support transparent page fill ( #4586 )
...
Co-authored-by: Martin Haug <mhaug@live.de>
2024-07-20 12:51:24 +00:00
Myriad-Dreamin
a3f3a1a833
Change the signature of World::main
( #4531 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 13:14:21 +00:00
Laurenz
34990f7f0e
Bump dependencies ( #4523 )
2024-07-08 20:41:38 +00:00
T0mstone
86af5b5f61
Allow non-utf8 values for input
and output
( #4517 )
2024-07-08 19:32:35 +00:00
Yip Coekjan
2df138a507
Open with (detached) custom viewers and raise error on failure ( #4430 )
2024-07-06 09:54:12 +00:00
Yip Coekjan
8c3002897a
Add metadata for cargo-binstall
( #4458 )
2024-07-06 08:36:24 +00:00
Adrian Freund
4c22ffa612
Statically link xz2 ( #4463 )
2024-07-06 08:33:29 +00:00
Yip Coekjan
e90c30903d
Better error message when package version not exists ( #4429 )
2024-06-22 10:33:33 +00:00