Johannes Neyer
47e9597aec
cli: Allow setting an output directory
...
This allows setting an output directory with a new `--output-path` argument.
The following command writes the output file to `build/test.pdf`. If the `build`
directory does not exist yet, it is created.
```sh
typst compile -fpdf --output-path build test.typ
```
The following also writes the output file to `build/test.pdf`.
```sh
typst compile -fpdf --output-path build src/test.typ
```
When an absolute path to an output file is specified the `--output-path`
argument is ignored:
```sh
typst compile -fpdf --output-path build test.typ /tmp/test.pdf
```
2025-02-19 14:58:22 +01:00
Matthew Toohey
3de3813ca0
--make-deps fixes ( #5873 )
2025-02-18 18:04:40 +00:00
ᡥᠠᡳᡤᡳᠶᠠ ᡥᠠᠯᠠ·ᠨᡝᡴᠣ 猫
74e4f78687
HTML export: Use <code>
for inline RawElem
( #5884 )
2025-02-18 10:16:19 +00:00
Laurenz
25c86accbb
More robust SVG auto-detection ( #5878 )
2025-02-17 10:56:00 +00:00
Laurenz
5fc679f3e7
Remove Linux Libertine warning ( #5876 )
2025-02-16 13:18:39 +00:00
Ana Gelez
19a12f379f
Lazy parsing of the package index ( #5851 )
2025-02-12 15:50:48 +00:00
+merlan #flirora
02cd43e27f
Gradient::repeat
: Fix floating-point error in stop calculation (#5837 )
2025-02-12 12:38:40 +00:00
+merlan #flirora
83ad407d3c
Update documentation for float.{to-bits, from-bits}
( #5836 )
2025-02-12 12:35:03 +00:00
Laurenz
a0cd89b478
Fix autocomplete and jumps in math ( #5849 )
2025-02-11 10:30:30 +00:00
Laurenz
89e71acecd
Respect par
constructor arguments ( #5842 )
2025-02-10 14:37:19 +00:00
TwoF1nger
ee47cb8469
Add smart quotes for Bulgarian ( #5807 )
2025-02-10 10:42:16 +00:00
Malo
25e27169e1
Add warning for pdf.embed
elem used with HTML ( #5829 )
2025-02-10 10:39:32 +00:00
PgBiel
3fba256405
Don't crash on image with zero DPI ( #5835 )
2025-02-10 10:39:04 +00:00
Laurenz
e4f8e57c53
Fix unnecessary import rename warning ( #5828 )
2025-02-06 21:10:43 +00:00
Malo
ca702c7f82
Documentation fixes and improvements ( #5816 )
2025-02-06 10:18:10 +00:00
Laurenz
d897ab5e7d
Autocomplete content methods ( #5822 )
2025-02-06 09:34:28 +00:00
Laurenz
029ae4a5ea
Export target docs ( #5812 )
...
Co-authored-by: Martin Haug <3874949+reknih@users.noreply.github.com>
2025-02-05 13:24:10 +00:00
Eric Biedert
85b0318158
Fix small copy-paste oversight ( #5811 )
2025-02-05 12:40:54 +00:00
Laurenz
0ea668077d
Bump codex to 0.1.0 ( #5805 )
2025-02-04 10:08:43 +00:00
Ryan Chua
b25cf22018
Fix typo in page documentation ( #5804 )
2025-02-04 09:40:10 +00:00
Laurenz
50ccd7d60f
Scope deprecations ( #5798 )
2025-02-04 09:38:31 +00:00
Laurenz
eee903b0f8
Refactor Scope
( #5797 )
2025-02-03 16:04:54 +00:00
Laurenz
12dbb012b1
Revert adding flatten-text
to image
( #5789 )
2025-02-02 19:25:58 +00:00
Malo
f239b0a6a1
Change the default math class of U+22A5 ⊥ UP TACK to Normal ( #5714 )
2025-01-31 10:05:03 +00:00
Hong Jiarong
46727878da
Disable cjk_latin_spacing in raw by default ( #5753 )
2025-01-31 10:02:42 +00:00
Laurenz
a1f263862c
Change type repr to short name ( #5788 )
2025-01-31 09:56:49 +00:00
frozolotl
3eb6e87af1
Include images from raw pixmaps and more ( #5632 )
...
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-31 09:56:25 +00:00
Laurenz
be1fa91a00
Modular, multi-threaded, transitioning plugins ( #5779 )
2025-01-30 13:36:15 +00:00
Laurenz
1b2719c94c
Resolve bound name of bare import statically ( #5773 )
2025-01-29 14:20:30 +00:00
Andrew Voynov
9665eecdb6
Fixed typo in the new outline docs ( #5772 )
2025-01-28 10:08:12 +00:00
Laurenz
85d1778974
Support first-line-indent for every paragraph ( #5768 )
2025-01-27 13:15:20 +00:00
Laurenz
176b070c77
Fix space collapsing for explicit paragraphs ( #5749 )
2025-01-24 12:31:03 +00:00
Laurenz
26e65bfef5
Semantic paragraphs ( #5746 )
2025-01-24 12:11:26 +00:00
Laurenz
467968af07
Tweak HTML pretty printing ( #5745 )
2025-01-24 11:15:09 +00:00
Laurenz
cd044825fc
Handle boxes and blocks a bit better in HTML export ( #5744 )
...
Co-authored-by: Martin Haug <3874949+reknih@users.noreply.github.com>
2025-01-23 22:18:02 +00:00
Ian Wrzesinski
6fe1e20afb
Update math TextElem layout to separate out SymbolElem
2025-01-23 16:30:29 -05:00
Ian Wrzesinski
7838da02ec
Add SymbolElem to realization
2025-01-23 16:28:29 -05:00
Ian Wrzesinski
fecdc39846
Use SymbolElem in more places and add char
cast for content
2025-01-23 16:28:29 -05:00
Ian Wrzesinski
c47b71b435
Basic SymbolElem addition
2025-01-23 16:28:29 -05:00
Ian Wrzesinski
0b8b7d0f23
Just add MathText SyntaxKind
2025-01-23 16:28:29 -05:00
Malo
2d33393df9
Add support for c2sc
OpenType feature in smallcaps
( #5655 )
2025-01-23 18:24:35 +00:00
T0mstone
b7546bace7
Ignore shebang at start of file ( #5702 )
2025-01-23 13:05:12 +00:00
wznmickey
ce299d5832
Support syntactically directly nested list, enum, and term list ( #5728 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-23 12:52:20 +00:00
SekoiaTree
58dbbd48fe
Add lcm as an operator in math mode ( #5718 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-23 12:35:29 +00:00
Ian Wrzesinski
f7bd03dd76
Fix delimiter unparen syntax ( #5739 )
2025-01-23 12:27:38 +00:00
Michael Färber
b3fb6c2326
Support quotes in HTML output ( #5673 )
2025-01-23 12:21:34 +00:00
Michael Färber
e61cd6fb9e
Support start
attribute for enum
in HTML export ( #5676 )
2025-01-23 12:18:46 +00:00
Michael Färber
dda486a412
HTML tables ( #5666 )
2025-01-23 12:08:48 +00:00
Laurenz
52ee33a275
Rework outline ( #5735 )
2025-01-23 11:50:51 +00:00
Laurenz
1bd8ff0e0f
Methods on elements ( #5733 )
2025-01-23 10:16:04 +00:00