28 Commits

Author SHA1 Message Date
Josh Soref
ca1f749c08
Spelling (#5020)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-09-26 17:32:55 +00:00
Bruce Mitchener
f283995c3d
Reduce typo count. (#4923) 2024-09-22 12:14:56 +00:00
Max
cefca7a7d8
Fix typos (#4784) 2024-08-20 15:12:12 +00:00
Max
b07607d35e
Split shorthands into math and markup, add tilde shorthand (#4706) 2024-08-09 07:41:01 +00:00
Tulio Martins
06a925a0ee
Add nested import syntax (#4228)
Co-authored-by: LuizAugustoPapa <luiz.papa@aluno.puc-rio.br>
Co-authored-by: PepinhoJp <pepinho.jp@gmail.com>
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2024-05-30 07:56:40 +00:00
Laurenz
54604ccb6b
Fix Default impls for AST nodes (#4288) 2024-05-29 14:32:20 +00:00
Laurenz
a2d097686f
Update changelog and roadmap (#3594) 2024-03-09 16:56:56 +00:00
geekvest
098ef5acbb
Fix some comments (#3541)
Signed-off-by: geekvest <cuimoman@sohu.com>
2024-03-03 14:50:19 +00:00
Myriad-Dreamin
030041466b
Provide more fine-grained spans in raw blocks (#3257)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-03-01 09:17:41 +00:00
tingerrr
5a03c818c8
Add depth and offset field to heading (#3038)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-29 08:51:56 +00:00
Laurenz
8d63b0479c
Make use of is_some_and where applicable (#3523) 2024-02-28 14:24:50 +00:00
Laurenz
145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Laurenz
be49935753
Destructuring improvements (#3463) 2024-02-21 08:38:47 +00:00
Leedehai
a603729336
Remove an unnecessary clone in loop evaluation (#3297) 2024-01-30 09:30:34 +00:00
T0mstone
76c5ca051e
Fix trailing comma of function call in math mode (#2772) 2023-11-27 16:03:11 +01:00
Laurenz
2da619e17c Streamline imports 2023-11-19 16:34:38 +01:00
Matt Fellenz
8fd546760c
Implement dict key interpolation (#2559) 2023-11-02 17:08:08 +01:00
bluebear94
d3b62bd02e
MathAttach::primes: account for possible hash before base (#2363)
Fixes #2358.
2023-10-12 10:19:07 +02:00
Laurenz
f474639ebe Hashtag -> Hash 2023-10-09 16:04:10 +02:00
MALO
0804a9e25d
Use/allow U+2212 MINUS SIGN instead of U+002D HYPHEN MINUS everywhere (#2318) 2023-10-09 15:30:40 +02:00
Laurenz
25613cfaf3 Fix missing capturing of assignments
The previous commit was a bit overambitious. The left-hand side of assignments should actually be fully captured: Argument lists in `at` calls can contain captured variables. And if the assigned variable itself is captured, then the function is faulty anyway. (And we ensure the correct error message by capturing it.)

Fixes #2169
2023-09-16 20:41:44 +02:00
Laurenz
b7430f6da0 Fix incremental compilation by fixing closure capturing
Fixes #1958
2023-09-16 12:37:35 +02:00
KillTheMule
1cc67d5df2
Update ast.rs (#2057)
Rust 1.74 warns about this, noting it will be a hard error soon. Quite annoying when developing on an unstable compiler now already ;)
2023-09-04 11:46:44 +02:00
Pg Biel
19b91d59d1
Allow renaming imports with as (#1923) 2023-08-30 13:36:02 +02:00
Laurenz
5fb5854ed8 Make AST borrowed 2023-08-19 19:44:08 +02:00
sitandr
2f81089995
Fix single prime in subscript (#1909)
* Fix single prime in subscript (a_' producing wrong result)

* Clippy
2023-08-10 21:36:05 +02:00
Laurenz
028d2f5308 Split markup and math shorthands for docs 2023-08-03 16:33:17 +02:00
Laurenz
f5953887c9 Extract syntax module into typst-syntax crate 2023-07-18 21:04:46 +02:00