134 Commits

Author SHA1 Message Date
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
+merlan #flirora
781eea632f
Add message when trying to access a field that is not set (#4399)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-22 08:59:52 +00:00
Laurenz
7fa86eed0e
Basic multi-threading (#4366) 2024-06-10 13:28:40 +00:00
Laurenz
a68a241570
Remove Tracer (#4365) 2024-06-10 09:00:54 +00:00
LuizAugustoPapa
cc3e9c8602
Add more environment control parameters to CLI (#4227)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Tulio Martins <tulioml240@gmail.com>
Co-authored-by: PepinhoJp <pepinho.jp@gmail.com>
2024-06-06 17:22:54 +00:00
PgBiel
9adcd9a1f8
Refactor casts to use HintedStrResult (#4229) 2024-06-04 15:24:39 +00:00
PepinhoJp
d360e753bc
Improving error message for invalid file types (#4216) 2024-06-04 15:23:38 +00:00
Yip Coekjan
023b8068f7
Improve CLI help doc about input & output (#4282) 2024-05-30 08:00:10 +00:00
Ilia
6d07f702e1
Add ability to choose between minified and pretty-printed JSON (#4161) 2024-05-29 11:06:27 +00:00
Laurenz
2d32ac73b6
Replace all Prehashed with LazyHash (#4127) 2024-05-13 17:54:34 +00:00
Laurenz
95cd6adf24
Factor out typst-utils crate (#4125) 2024-05-13 15:25:43 +00:00
PgBiel
7905de67bc
Add parameter to select pages to be exported by CLI (#4039) 2024-05-10 14:47:02 +00:00
Karthik Nishanth
b9457421de
CLI: Support more page number templates in output file name (#3933) 2024-04-19 14:32:06 +00:00
Laurenz
020294fca9
Better test runner (#3922) 2024-04-13 08:39:45 +00:00
Matthew Toohey
72dd792106
Add --make-deps CLI argument (#2877) (#3890) 2024-04-09 11:50:41 +00:00
frozolotl
ffc9570c64
Remove SOURCE_DATE_EPOCH CLI argument (#3859) 2024-04-04 15:00:02 +00:00