Commit Graph

351 Commits

Author SHA1 Message Date
mkorje 810491c9d3
Add missing under/over-delimiters (#4637) 2024-08-05 11:28:17 +00:00
Martin Haug dfdcc197c0
Remove completed items from roadmap (#4647) 2024-08-05 10:05:13 +00:00
Laurenz 0c37a2c233
Support transparent page fill (#4586)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-07-20 12:51:24 +00:00
Myriad-Dreamin a3f3a1a833
Change the signature of `World::main` (#4531)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 13:14:21 +00:00
Laurenz be516867c8
Spans for cross-file go-to-definition (#4539) 2024-07-11 14:24:28 +00:00
Laurenz 0ef672c347
Refactor line building (#4497) 2024-07-04 10:57:40 +00:00
Yip Coekjan ddce645ef0
Add named symbols: `⌈`, `⌉`, `⌊`, `⌋` (#4267) 2024-06-22 08:40:10 +00:00
Yip Coekjan 6f9855a8c3
Make symbols callable like functions & migrate callable accents to callable symbols (#4299)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-13 16:57:34 +00:00
Yip Coekjan 2b064ba197
Add link to `tests` in `docs/dev/architecture.md` (#4353)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-11 09:29:58 +00:00
Laurenz a68a241570
Remove `Tracer` (#4365) 2024-06-10 09:00:54 +00:00
Laurenz 755dd4112d
Show block-level elements as blocks (#4310) 2024-06-03 08:12:52 +00:00
Malo 4929262610
Rephrase the sentence on variable scope in Scripting documentation (#4250) 2024-05-25 15:34:01 +00:00
hettlage a24052cb80
Update 3-advanced.md (#4208) 2024-05-21 16:41:52 +00:00
Laurenz 4f8bbb01ce
Update changelog (#4184) 2024-05-18 13:09:22 +00:00
Laurenz 6a1a58a2d4
Mention that raw and equation syntax works in both markup and code mode (#4164) 2024-05-17 09:39:29 +00:00
Malo 2245e02b4e
Slightly improve tables in `syntax.md` (#4151) 2024-05-16 17:17:10 +00:00
Laurenz aad68ea489
Documentation for literals (#4149) 2024-05-16 13:02:55 +00:00
Laurenz 2d32ac73b6
Replace all `Prehashed` with `LazyHash` (#4127) 2024-05-13 17:54:34 +00:00
Laurenz 95cd6adf24
Factor out `typst-utils` crate (#4125) 2024-05-13 15:25:43 +00:00
Rik Huijzer 33d620ed2e
Mention `fields` function in docs (#3897)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-04-08 10:10:08 +00:00
Leedehai 3d4de954aa
Fix broken links in tables.md on striped rows and columns (#3884) 2024-04-06 11:17:15 +00:00
Laurenz b3615ccd49
A few CI and crate config changes (#3852) 2024-04-02 14:16:44 +00:00
Leedehai bf519162ff
Exclude bots from the doc's contributor list (#3731) 2024-03-23 11:53:17 +00:00
Laurenz 2bf9f95dd8 Version bump 2024-03-15 16:03:45 +01:00
Laurenz faca50a240
Final touches (#3678) 2024-03-15 14:47:41 +00:00
Martin Haug 9bd1451452
Add a guide for the new tables (#3655)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-03-15 14:02:56 +00:00
Laurenz 906637dacb
Fix double slashes in docs links (#3675) 2024-03-15 10:49:20 +00:00
Laurenz 9e507cd9fd
Revert use of alternate screen (#3648) 2024-03-14 09:20:31 +00:00
Malo 54f6ee0e53
Documentation fixes (#3595) 2024-03-11 10:44:46 +00:00
Laurenz a2d097686f
Update changelog and roadmap (#3594) 2024-03-09 16:56:56 +00:00
Laurenz a483321aa0
Remove dependency on unicode_names2 (#3570) 2024-03-07 09:56:37 +00:00
Laurenz e3bd39c9d1
Add support for shortcut links in docs (#3547) 2024-03-04 14:51:22 +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 edf957399c
Enable `cli` feature by default for `typst-docs` (#3527) 2024-02-28 18:13:08 +00:00
Laurenz 8d63b0479c
Make use of `is_some_and` where applicable (#3523) 2024-02-28 14:24:50 +00:00
Laurenz a518e2dd4d
Move docs generation code (#3519) 2024-02-28 10:37:52 +00:00
Laurenz e16d3f5a67
Externalize assets (#3515) 2024-02-28 10:06:54 +00:00
Laurenz 145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Malo 09b364e9a3
Improve documentation on syntactical modes (#3419) 2024-02-15 13:49:29 +00:00
Leedehai c06a71f653
Let for-loop iterate Dict with an iterator (#3318) 2024-02-02 08:52:58 +00:00
Leedehai 42f59af812
Allow for-loop to iterate over bytes (#3317) 2024-02-02 08:51:44 +00:00
Enrico Spinielli 67a0afe9bd
small typo (#3145) 2024-01-08 14:28:53 +00:00
max397574 37863b2f8b
Improve guide for latex users (#2750)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-01-08 14:28:02 +00:00
David Mazarro 2dd3af937a
Removed unnecessary uppercase in the Tutorial welcome page (#3051) 2023-12-28 14:24:21 +00:00
Laurenz 22ba6825db
Key/Value data from CLI (#2894) 2023-12-18 12:18:41 +01:00
Hofer-Julian f17208a5a2
Clarify code mode in "Writing in Typst" (#2928)
It is not optional to remove "#".
You have to remove it in order to compile the document.
2023-12-13 11:58:14 +01:00
oliver 8d7d18c4d6
More consistent spelling of "behaviour" (#2923) 2023-12-12 15:34:46 +01:00
Martin Haug 2ea41007e1 Update roadmap 2023-12-08 17:15:14 +01:00
Laurenz 70ca0d257b Version bump 2023-12-04 15:09:47 +01:00
Laurenz c580a31768 Fix typo 2023-11-29 19:32:58 +01:00
Laurenz 9f55a4ac7d Update changelog again 2023-11-29 19:01:57 +01:00
Leedehai 37614716be
Demo mid() with a new example showing a friction point with auto-scaling (#2783) 2023-11-29 12:29:37 +01:00
Laurenz 0daad6ea63 Fix typos 2023-11-27 21:58:48 +01:00
Laurenz 613456cc61 Update roadmap 2023-11-27 16:22:33 +01:00
Laurenz bf8a3ecec5 Update changelog 2023-11-27 16:04:47 +01:00
Laurenz 1845e7c4f2 Fixed changelog typos
Fixes #2537
2023-11-27 14:13:51 +01:00
Laurenz 7eebafa783 Merge `typst` and `typst-library` 2023-11-24 12:30:02 +01:00
Martin Haug 7cd684f725 Remove bibliography point from LaTeX guide 2023-11-21 11:44:16 +01:00
Dominikus Herzberg 67e87149ab
Link corrected (#2592) 2023-11-06 21:45:20 +01:00
MALO 51d9fe2d02
Documentation fixes (#2543) 2023-11-02 11:01:46 +01:00
Laurenz 4248265bca Some math docs improvements 2023-11-02 10:49:14 +01:00
Curtis Decker 1d7b363aa4
Improved math alignment documentation (#2505) 2023-11-02 10:47:21 +01:00
Laurenz 7bb4f6df44 Version bump 2023-10-31 01:36:21 +01:00
Laurenz 9f96386ad1 Update changelog 2023-10-31 01:33:21 +01:00
Fritz Rehde c3114fa380
Fixed typos (#2524) 2023-10-30 23:25:28 +01:00
Laurenz 9c29dbf84f Docs fixes 2023-10-29 19:35:44 +01:00
Laurenz 7c92ec103e Update changelog
This is preliminary since a few more changes will come before 0.9.
2023-10-25 16:22:49 +02:00
Pierre 9800b9ff30
mehtod to method in page-setup.md (#2412) 2023-10-17 11:15:19 +02:00
Laurenz f474639ebe Hashtag -> Hash 2023-10-09 16:04:10 +02:00
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