Commit Graph

314 Commits

Author SHA1 Message Date
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
Sébastien d'Herbais de Thun 1198e0cd38
Selector rework (#640) 2023-04-12 12:47:51 +02:00
Laurenz fe2640c552 Version bump 2023-04-11 22:34:25 +02:00
Laurenz 2cfbf3e823 Update changelog 2023-04-11 22:01:51 +02:00
Laurenz 12be8fe070 Let dictionaries respect insertion order 2023-04-11 21:59:02 +02:00
Laurenz 6dcb65e3a3 Improve documentation 2023-04-11 21:54:13 +02:00
Marmare314 72d8785abe
fix parenthesized binding (#707) 2023-04-11 18:44:17 +02:00
Marmare314 894a78a426
add documentation for enumerate function (#664) 2023-04-11 13:56:43 +02:00
Michael Lohr f096b7b544
Remove waitlist reference from tutorial (#705) 2023-04-11 13:55:40 +02:00
Daniel Csillag a8087a9dbb
Array sorting by key (#584) 2023-04-11 12:48:17 +02:00
Marmare314 0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
Laurenz b3faef4b80 Bump version 2023-04-05 01:41:15 +02:00
Laurenz 72c7c04a9d Update changelog 2023-04-05 00:15:54 +02:00
Laurenz 5b0297464e Rename bibliography styles 2023-04-04 18:29:18 +02:00
Laurenz bfec777542 Bump hayagriva
Fixes #287
Fixes #304
Fixes #459
Fixes #506
2023-04-04 18:21:09 +02:00
Laurenz 5637a1693c Allow labels and reference with ',' and '.' 2023-04-04 18:19:17 +02:00
Laurenz 8284db9000 Fix autocompletion after non-hashtag expression 2023-04-04 18:18:10 +02:00
Laurenz 4b0db52920 Update changelog 2023-04-04 18:00:59 +02:00
Laurenz 570c528b3e Integers with different bases 2023-04-04 15:46:09 +02:00
Zhan Rongrui 5f1513edcc
fix typos (#544) 2023-04-03 13:05:35 +02:00
user202729 100e9d6085
Add documentation on how to access math functions in code (#458) 2023-04-02 11:14:45 +02:00
Sebastian Zivota 0c33a64481
docs: Mention single-letter variables more prominently (#508) 2023-04-01 18:07:59 +02:00
Laurenz 72fb155403 Link to label 2023-03-29 20:10:23 +02:00
Laurenz d1ff94a3b5 A bit more polygon docs 2023-03-28 17:00:02 +02:00
Laurenz e84df1a036 Fix tests on Windows
Fixes #386.
2023-03-28 14:30:21 +02:00
Laurenz 056d15aa49 New release 2023-03-28 09:42:23 +02:00
Laurenz 862d3b7684 Methods can be impure
Fixes #385.
2023-03-27 22:54:21 +02:00
Laurenz e83e05d541 Term list separator changes 2023-03-27 22:31:29 +02:00
Laurenz 66de90437f Update fibonacci example and add `round` function 2023-03-27 20:23:37 +02:00
Laurenz f33103cf58 Add note about arrays of length one 2023-03-27 17:27:52 +02:00
Laurenz b0f87077cc Fix hovering over comments 2023-03-27 17:25:01 +02:00
Laurenz e724d04253 Update changelog 2023-03-27 16:51:03 +02:00
Rafael Oliveira 52905cf77f
Fix typos in docs (#315) 2023-03-27 16:20:22 +02:00
user202729 477275c030
Fix a typo in documentation (#339) 2023-03-27 15:53:43 +02:00
Laurenz d71c933cca Bump dependencies 2023-03-27 15:49:04 +02:00
百地 希留耶 d0782b1853
Document behaviour of dictionary.insert() when key exists (#282) 2023-03-25 15:26:57 +01:00
Laurenz Stampfl 25e8520a4e
Added return type to methods of colors in docs (#291) 2023-03-25 13:38:32 +01:00
Laurenz a253b47e7c Simplify heading block example 2023-03-24 09:52:21 +01:00
Easyoakland e927486970
Fixed Typo (#227) 2023-03-24 09:14:24 +01:00
Sebastian Zivota c9a945f9a0
Fix descriptions of some types (#206) 2023-03-24 09:13:34 +01:00
Sebastian Zivota 23de492eea
Fix import syntax in tutorial (#205) 2023-03-24 09:12:49 +01:00
Roland Fredenhagen d3377649a2
Make alignment actually centered (#176) 2023-03-24 09:11:17 +01:00
Dave Purdum e0699ce4f3
Fix year in community.md (#135) 2023-03-24 09:07:58 +01:00
JD Matthews 085a7658f2
fix a couple of typos / apostrophes in the README and tutorials (#128) 2023-03-24 09:07:01 +01:00
vinícius x 045a109600
Fix mistake in tutorial (#107)
subscript was mistaken for superscript
2023-03-22 09:04:42 +01:00
Kian-Meng Ang 25acefeb5b
Fix typos (#115)
Found via `codespell -S target -L
crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant`
2023-03-22 09:02:51 +01:00
Laurenz 4428646c99 Documentation changes 2023-03-21 18:20:15 +01:00
Laurenz c8b0be21f5 A few tutorial improvements 2023-03-21 00:41:20 +01:00
Laurenz 2d16f9434f Documentation for citation, bibliography, and content 2023-03-20 22:09:10 +01:00
Laurenz 188e64fa30 Documentation for counters 2023-03-20 14:52:33 +01:00
Laurenz 5a32f33fb3 Write changelog 2023-03-20 12:23:06 +01:00
Laurenz ab43bd802e Renaming and refactoring 2023-03-19 22:39:19 +01:00
Laurenz 0ba99ab8aa Measurement and introspection rework 2023-03-19 10:19:34 +01:00
Laurenz a69b587455 Rename formula to equation 2023-03-18 19:27:31 +01:00
Laurenz af7fe4d760 Hover and autocomplete in show rules 2023-03-17 18:18:47 +01:00
Laurenz 312197b276 Counters 2023-03-17 11:45:57 +01:00
Laurenz c38d72383d Make all optional fields settable 2023-03-09 14:42:14 +01:00
Laurenz d7a65fa26d Rework style chain access 2023-03-08 14:35:33 +01:00
Laurenz e5eab73374 Streamline field names 2023-03-08 11:02:27 +01:00
Laurenz 1b2b53ecb9 Require font to be a named argument 2023-03-08 10:44:24 +01:00
Laurenz 6ab7760822 Split up `model` module 2023-03-01 16:33:28 +01:00
Laurenz aa8a5bf42f Documentation fixes 2023-02-26 23:07:50 +01:00
Laurenz 7597b99789 New default style 2023-02-25 20:04:30 +01:00
Laurenz 7845f34e2b Changelog 2023-02-24 16:14:38 +01:00
Laurenz affb353453 Merge main back 2023-02-23 14:38:45 +01:00
Laurenz 2acc17a6f5 Fix summation in math docs 2023-02-18 17:15:04 +01:00
Laurenz dd5f07eb91 Add `clusters` and `codepoints` methods 2023-02-17 10:53:47 +01:00
Laurenz 80e73979f3 Fix template tutorial examples 2023-02-16 22:37:56 +01:00
Laurenz 67b4540397 Dissolve utility category 2023-02-16 14:43:38 +01:00
Laurenz f60d344621 Fix tutorial previews 2023-02-15 23:32:13 +01:00
Laurenz 310c229c61 Changelog 2023-02-15 23:22:00 +01:00
Laurenz 618beb1ac1 Fix links 2023-02-14 14:39:19 +01:00
Laurenz b1b4e52af9 Block sizing 2023-02-13 16:04:25 +01:00
Laurenz dca478182b Update changelog 2023-02-12 23:12:22 +01:00
Laurenz 10b17a04bc Fix docs 2023-02-12 22:39:20 +01:00
Laurenz 7b2cdb9d95 Require colon in show rule 2023-02-12 20:25:24 +01:00
Laurenz 669f9707c3 Fix import in tutorial 2023-02-08 23:17:36 +01:00
Laurenz 1d5bf56e58 Remove basics section 2023-02-07 12:10:52 +01:00
Laurenz ef44c3848a Add missing `.op` modifiers 2023-02-06 17:55:06 +01:00
Laurenz 149e2b055b Custom link callback 2023-02-06 17:40:08 +01:00
Laurenz 7d28e6499e Set Typst versions to `0.0.0` 2023-02-06 11:53:49 +01:00
Laurenz d4d702017c Documentation provider 2023-02-06 11:52:31 +01:00
Laurenz 0bb0f1c98f Import documentation
Co-Authored-By: Martin Haug <mhaug@live.de>
2023-02-06 11:50:03 +01:00