45 Commits

Author SHA1 Message Date
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
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
Yip Coekjan
2df138a507
Open with (detached) custom viewers and raise error on failure (#4430) 2024-07-06 09:54:12 +00:00
Laurenz
a68a241570
Remove Tracer (#4365) 2024-06-10 09:00:54 +00:00
PepinhoJp
d360e753bc
Improving error message for invalid file types (#4216) 2024-06-04 15:23:38 +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
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
frozolotl
d4b3ae0925
Read SOURCE_DATE_EPOCH for better reproducibility (#3809) 2024-04-03 10:34:17 +00:00
Ilia
e91baaca82
Support writing document to stdout (#3632) 2024-04-01 19:36:21 +00:00
Laurenz
82617a6a3c
Generate PDF ID automatically unless we really have a stable ID (#3591) 2024-03-09 11:55:03 +00:00
frozolotl
8a2527788c
Fix watches on moves and removes (#3371)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-14 11:50:40 +00:00
spore
70b354e887
Support reading input from stdin (#3339) 2024-02-05 13:05:26 +00:00
frozolotl
6999be9ab0
Use alternate screen and refactor terminal output. (#2665) 2024-01-31 09:19:07 +00:00
Laurenz
6ac71eeaf7 Add Page struct
To get rid of the Meta hack where numbering and things like that are stored in the frame.
2024-01-17 21:53:20 +01:00
Sébastien d'Herbais de Thun
c4d9b0c3d8
New performance timings (#3096)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-30 12:36:15 +00:00
Sébastien d'Herbais de Thun
08225e42d8
Parallel export (#2989) 2023-12-18 12:32:53 +01:00
Laurenz
3b104e2ba8 Move export cache 2023-12-08 19:02:09 +01:00
He Li
3ea2ad6cae
Don't exit watcher on invalid utf-8 (#2795) 2023-11-29 19:57:57 +01:00
Laurenz
7eebafa783 Merge typst and typst-library 2023-11-24 12:30:02 +01:00
Laurenz
46846a337e Extract typst-pdf crate 2023-11-08 15:09:55 +01:00
Laurenz
80b4ca4c04 Extract typst-svg crate 2023-11-08 13:21:47 +01:00
Laurenz
ec04c3de2f Extract typst-render crate 2023-11-08 13:16:13 +01:00
Martin Haug
f78a8f5d48
Add IDs and creation date to PDFs (#2374) 2023-10-27 18:33:23 +02:00
Sébastien d'Herbais de Thun
c0dbb900e8
Cached export for incremental (#2400) 2023-10-17 20:53:01 +02:00
Laurenz
bb59f0e2b2 Incremental parsing in CLI
Reparses files in the CLI incrementally and also uses the file modification timestamp to completely skip reparsing if possible.
2023-09-19 15:19:12 +02:00
LU Jialin
8b465222b2
Use inferred format extension for the output path (#2166) 2023-09-18 14:27:38 +02:00
Laurenz
f9feea3f29 Bump dependencies 2023-09-13 14:44:45 +02:00
Laurenz
921b40cf9c Forward third-party errors
Better to know something even if it isn't always formatted in the prettiest way
2023-09-11 12:04:37 +02:00
Laurenz
0e5c48ad0d Add a bit more docs to compile 2023-08-29 18:01:18 +02:00
Laurenz
a71a2057f2 More type safety for spans 2023-08-29 17:35:35 +02:00
Matt Fellenz
ff5dc9191e
Add format arg to CLI (#1985) 2023-08-23 22:44:03 +02:00
Laurenz
afc95ed19d Virtual path type
Fixes #1937
2023-08-22 14:21:04 +02:00
Laurenz
2ea451b83b Refactor SVG export a bit 2023-08-08 13:00:47 +02:00
Wenzhuo Liu
61e4ad6bba
Add SVG export (#1729) 2023-08-08 12:54:13 +02:00
Beiri22
357bce56f5
Query-System for metadata (#1812)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-08-06 23:49:04 +02:00
Wenzhuo Liu
733c5c9913
fix(cli): include export in compile time (#1816) 2023-08-03 00:31:28 +02:00
lolstork
b37c1e2731
Add infrastructure for compiler warnings (#1731) 2023-07-19 12:52:47 +02:00
Laurenz
f5953887c9 Extract syntax module into typst-syntax crate 2023-07-18 21:04:46 +02:00
Laurenz
ebfdb1dafa Move everything into crates/ directory 2023-07-02 20:07:43 +02:00