316 Commits

Author SHA1 Message Date
Laurenz
b76e8d5db9 Interpret vertical page number alignment differently
The vertical alignment of `number-align` now selects header or footer instead of aligning within the footer. This is a minor breaking change because
- top behaves differently now
- horizon is now forbidden
- bottom (the new default) behaves differently, too
Typical number-align usage will likely not use the vertical component at all, though.

Fixes #645
2023-09-06 10:32:54 +02:00
Laurenz
7c42c9bab0 Docs fixes
Fixes #2059
Fixes #1946
Fixes #1936
Fixes #1862
Fixes #1820
Fixes #1383
2023-09-04 13:18:35 +02:00
Martin Haug
ba043a8d70
Add a page setup guide (#1911) 2023-09-04 11:43:11 +02:00
Sébastien d'Herbais de Thun
8a0dd88f10
Make zip variadic (#2041) 2023-08-30 13:31:37 +02:00
Laurenz
3c508737d9 Docs for discarding a return value
Fixes #2043
2023-08-30 12:36:35 +02:00
Beiri22
f616302496
Duration type, simple date-duration-calculations and comparisons (#1843) 2023-08-30 12:28:53 +02:00
Matt Fellenz
35c785ea11
Add tau (#2033) 2023-08-30 11:56:00 +02:00
Kevin K
45bd58fbaa
Implement rev() method on string (#2013) 2023-08-26 17:35:52 +02:00
Pavel Zwerschke
3c47a7795c
Fix typo (#1969) 2023-08-21 22:31:44 +02:00
Gokul Soumya
5c6434d4ce
Add intersperse() method for arrays (#1897) 2023-08-21 16:01:27 +02:00
Tobias Rapp
16855121b6
docs: Update guidelines within Advanced Styling tutorial (#1915)
Update the header alignment of the conference guidelines from "left" to "right" to match the actual code examples.
2023-08-19 15:31:03 +02:00
Raik Rohde
88bcb8769a
fix(docs): correct function name in types.md (#1894)
Corrected the function name from `float` to `int` in the documentation.
2023-08-08 23:53:33 +02:00
Laurenz
da8367e189 Version bump 2023-08-07 17:19:41 +02:00
Laurenz
e0cc269959 Update changelog 2023-08-07 17:18:02 +02:00
Laurenz
07c80e9a81 Touch up docs 2023-08-07 15:58:16 +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
bluebear94
66df130ca4
Add start parameter to array enumerate (#1818) 2023-07-29 23:11:21 +02:00
Pg Biel
8c6addeb9b
fix content::fields in types.md (#1754) 2023-07-26 22:19:52 +02:00
Adrián Delgado
7341bdf2d1
Cleanup docs (#1797) 2023-07-26 22:18:06 +02:00
Laurenz
f5953887c9 Extract syntax module into typst-syntax crate 2023-07-18 21:04:46 +02:00
Sébastien d'Herbais de Thun
0c94d2b34e
Adding dedup to array (#1738) 2023-07-18 15:23:56 +02:00
Laurenz
ed15e1062a Overview over directory structure in architecture file
Fixes #1736
2023-07-17 10:52:04 +02:00
Pg Biel
9b1a2b41f0
Add fields and methods to several primitives (#790) 2023-07-11 16:11:18 +02:00
Greg Shuflin
076ef3d5f2
Change "behind the colon" to "after the colon" (#1670)
Change "behind the colon" to "after the colon", which is more natural English usage.
2023-07-06 10:48:11 +02:00
Laurenz
8bf0bb5da9 Improve sink and spreading docs 2023-07-05 11:42:23 +02:00
Laurenz
615b1eacc7 Move roadmap into this repository 2023-07-03 17:32:29 +02:00
Laurenz
ebfdb1dafa Move everything into crates/ directory 2023-07-02 20:07:43 +02:00
Laurenz
2dfd44fedd Version bump 2023-06-30 16:21:57 +02:00
Laurenz
33a3607dea Update changelog 2023-06-30 16:19:12 +02:00
Laurenz
c4d11dc3fb More package documentation 2023-06-30 16:18:44 +02:00
Laurenz
d1a7a6dbab Non-Typst highlighting in documentation 2023-06-30 16:17:52 +02:00
Laurenz
04bffc4f12 Reintroduce --root 2023-06-28 10:36:53 +02:00
Laurenz
7b92bd7c34 Basic package management 2023-06-27 18:40:17 +02:00
Luis David Licea Torres
3284e7fac7
Support for inside and outside margins (#1308)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-12 12:46:34 +02:00
Laurenz
3a8b9cce47 Version bump 2023-06-09 16:24:34 +02:00
Laurenz
622c1d747e Final tweaks 2023-06-09 16:24:27 +02:00
Laurenz
03286f73be Update changelog 2023-06-09 16:00:44 +02:00
Laurenz
e923d0e4da Touch up docs 2023-06-09 16:00:39 +02:00
jassler
735e810825
Latex guide sentence changes (#1297)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-09 11:04:31 +02:00
Laurenz
6ea98dd940 Small refactorings 2023-06-06 22:25:55 +02:00
Laurenz
fd417da04f Improve value casting infrastructure 2023-06-06 22:06:16 +02:00
Laurenz
168bdf35bd Add note to groups.yml 2023-06-06 19:10:16 +02:00
Laurenz
219f14355b Rename into_u16 to as_u16 2023-06-06 19:06:56 +02:00
Martin Haug
78c615b25f Fix 404 links 2023-05-31 18:17:36 +02:00
Laurenz
25e94cef03 Fix doc links 2023-05-30 14:50:43 +02:00
MALO
644bbf9914
Add fields method to content (#1340) 2023-05-30 10:13:27 +02:00
Eric Biedert
ff903674f9
Fix tests on windows (#1222) 2023-05-23 12:36:54 +02:00
sitandr
5dbc15ef0c
Forced size command in math (#1128) 2023-05-23 11:22:27 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling (#435) 2023-05-23 10:41:20 +02:00
Laurenz
f692a5efc6 Version bump 2023-05-20 22:05:55 +02:00