Commit Graph

232 Commits

Author SHA1 Message Date
Laurenz df4beb6e15 Fix typo in page setup guide
Fixes #2315
2023-10-05 10:36:39 +02:00
Daniel F 07e3fde54c
Added information on page setup guide (#2275) 2023-10-02 12:09:37 +02:00
Laurenz 0198429e63 Remove unnecessary heading ID 2023-09-30 12:05:40 +02:00
Laurenz c97fc5eb55 Fix dead links 2023-09-30 11:49:02 +02:00
Laurenz 0ed84797e8 Update README 2023-09-30 11:30:44 +02:00
Laurenz acb8dcc143 Link to CetZ 2023-09-30 11:10:53 +02:00
Laurenz 6378bb1754 Add missing changelog item 2023-09-18 11:36:47 +02:00
Laurenz 961d70dade Fix multiplication table 2023-09-16 11:44:39 +02:00
Laurenz de902d8775 Minor docs fixes 2023-09-14 14:59:16 +02:00
Laurenz 9036444c8c Simplify page setup examples
Fixes #2132
2023-09-14 13:41:50 +02:00
Laurenz f90701e132 Update LaTeX guide 2023-09-14 13:27:24 +02:00
Laurenz 360cc9b957 Version bump 2023-09-13 16:57:27 +02:00
Laurenz fb8d3dd6eb Changelog 2023-09-13 15:55:50 +02:00
Laurenz 88404e924b Mention import renaming in the docs 2023-09-13 15:42:35 +02:00
MALO 976abdfe7d
Add `figure.caption` element (#1704)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-09-12 14:47:36 +02:00
Laurenz 3a979e88da Docs generation for types 2023-09-11 15:53:20 +02:00
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
Laurenz 1321862cd5 Footnotes 2023-05-20 21:36:24 +02:00
Martin Haug 35b883cfd9 Add web app changelog 2023-05-20 19:20:29 +03:00
Laurenz 2d498817b0 Update changelog 2023-05-20 12:13:03 +02:00
Leedehai 8d4f9304c0
Update string doc: index can be negative (#1198) 2023-05-19 14:41:58 +02:00
multisn8 9e1aeab3cd
Fix broken link for "Let binding" (#1242) 2023-05-19 14:38:34 +02:00
Laurenz 56a96881a5 Doc links for function scopes 2023-05-19 11:04:20 +02:00
Laurenz 551ea99d05 Show default values in documentation
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Laurenz 46aace78ac Search keywords 2023-05-17 14:39:47 +02:00
Laurenz 42afa410ae Better documentation outlines 2023-05-17 14:38:03 +02:00
Laurenz 8971588486 Externalize contributor fetching 2023-05-17 14:31:55 +02:00
Laurenz 88cb8c2626 Bump comemo 2023-05-16 16:43:35 +02:00
maxwell-thum 0fcac6d27e
Small typo in 1-writing.md (#1189) 2023-05-15 08:58:05 +02:00
Kevin Stevens cb33b96426
Minor grammar mistake in Guide for LaTeX Users (#1209)
Co-authored-by: Kevin Stevens <stevenskevin@users.noreply.github.com>
2023-05-15 08:54:46 +02:00
Martin Haug d1dec299a7
Guide for users switching from LaTeX (#1103) 2023-05-11 17:08:44 +02:00
Laurenz 47dff3765d Remove 'static bound on `World`
Thanks to improvements in comemo, tracked types don't need to be 'static anymore. This means that the 'static bound on the `World` is now lifted and that the `Route` doesn't need to use unsafe code anymore to manage its lifetime.
2023-05-11 10:50:30 +02:00
Michael Lohr ffad8516af
Implement default values for at() (#995) 2023-05-03 12:34:35 +02:00
Laurenz 519e8a7b4c Refactor string replacement 2023-05-03 11:44:08 +02:00
dvdvgt be3c4d7876
[Feature] Allow function as argument for string.replace (#944) 2023-05-03 11:41:50 +02:00
HarmoGlace 856557353b
Add rust minimum version in `Cargo.toml` (#902) 2023-05-03 10:37:44 +02:00
Laurenz ad347632ab Make ligatures copyable and searchable
Fixes #479
Fixes #1040
2023-05-03 10:33:18 +02:00
Laurenz 4c4bee9845 Fix two things in docs 2023-05-01 13:28:43 +02:00
Martin Haug 86d7ac881b Add sponsorship section to community page 2023-04-27 13:13:52 +02:00
Martin Haug a810ae64bf Amend changelog 2023-04-26 18:41:58 +02:00
Laurenz b1e0de0078 Version bump 2023-04-26 15:54:05 +02:00
Laurenz 3680c854a2 Touch up docs 2023-04-26 15:37:21 +02:00
Laurenz Stampfl f38989358e
Add a zip method to arrays (#947) 2023-04-25 11:22:20 +02:00
SekoiaTree efad1e71fa
Add sum and product to arrays (#966) 2023-04-25 11:18:27 +02:00
Laurenz 2fbb14f712 Deterministic order of contributors 2023-04-21 12:27:47 +02:00
Laurenz c117e2dc27 List contributors in changelog
Co-Authored-By: Martin Haug <mhaug@live.de>
2023-04-20 14:23:36 +02:00
Alex Saveau b285bea41d
Make `dot` be multiplication and add `dot.period` for periods (#747) 2023-04-19 19:08:59 +02:00
Laurenz d10b53df0b Clippy 2023-04-18 19:16:13 +02:00
Laurenz 4613739748 Merge file and image asset directories 2023-04-18 11:33:11 +02:00
Laurenz b51cb131bd Bump comemo 2023-04-17 19:59:45 +02:00
Laurenz 89cf4054d6 Reduce amount of hashing 2023-04-13 14:23:46 +02:00