Commit Graph

35 Commits

Author SHA1 Message Date
Martin Haug f78a8f5d48
Add IDs and creation date to PDFs (#2374) 2023-10-27 18:33:23 +02:00
7sDream b80382b216
Use fontdb to search fonts, with basic fontconfig support (#2472) 2023-10-25 18:38:08 +02:00
frozolotl 01b14ff316
Clear screen instead of resetting the terminal (#2431)
Resetting the terminal can change color themes and other settings.
This commit changes the behavior to just clear the screen.
2023-10-19 10:11:22 +02:00
Sébastien d'Herbais de Thun c0dbb900e8
Cached export for incremental (#2400) 2023-10-17 20:53:01 +02:00
Laurenz 2a19e7f4dc Bump ecow 2023-10-09 15:00:07 +02:00
T0mstone cf9bde3245
Add capability to get current compiler version (#2016) 2023-10-02 20:28:19 +02:00
Laurenz 9ff9615208 Fix warning when compiling without embedded fonts 2023-09-25 12:38:57 +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
frozolotl 14d28dbf4e
Gracefully handle error if field was not defined (#2110) 2023-09-12 11:26:35 +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
Zicklag 6483d3035b
Support proxy and custom certificate configuration. (#2006) 2023-09-11 12:03:47 +02:00
jimvdl aea20670d8
Display download progress for self-updating and packages (#2031) 2023-08-31 10:02:53 +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
jimvdl 7bdf1f57b0
Let the CLI `typst update` itself without a package manager (#1887) 2023-08-26 20:44:58 +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 8f19b49afa Fix some typos in CLI help 2023-08-22 01:09:19 +02:00
Laurenz 522708b9df Set new minimum serde version
1.0.184 does not ship with a precompiled binary anymore
2023-08-21 21:49:14 +02:00
Laurenz 3ab179ebd3 Restrict serde version 2023-08-19 20:06:01 +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
Laurenz b8b0137504 Bytes type
- Moves `Bytes` from `util` to `eval` module
- Accepts bytes in `str` function for bytes -> str conversion
- Adds `bytes` function for str | array -> bytes conversion
- Adds `array` function for bytes -> array conversion
- Adds `len`, `at`, and `slice` methods for bytes
- Adds `encoding` parameter to `read` function
2023-08-04 15:46:46 +02:00
Luke Chambers 02d981ed1c
Search additional font paths before system/embedded (#1847) 2023-08-03 13:55:00 +02:00
Wenzhuo Liu 733c5c9913
fix(cli): include export in compile time (#1816) 2023-08-03 00:31:28 +02:00
Beiri22 77cc05b121
Fix datetime offset (#1845) 2023-08-01 23:54:37 +02:00
Laurenz 1c7105ba82 Change package search and caching path
Brings local packages in line with changes to the package repository. See also: https://github.com/typst/packages/issues/61
2023-08-01 00:59:40 +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
Trévis Morvany 0e8492eac1
Fix `typst watch` not working with some text editors (#1680) 2023-07-10 12:21:59 +02:00
Laurenz 5fdd62141f Reword CLI docs 2023-07-04 16:47:57 +02:00
Laurenz ebfdb1dafa Move everything into `crates/` directory 2023-07-02 20:07:43 +02:00