Commit Graph

414 Commits

Author SHA1 Message Date
Laurenz 23715e813e Refactor and document figures 2023-04-04 23:15:03 +02:00
Sébastien d'Herbais de Thun f347ed4314
Improved figure numbering, labelling and referencing (#491) 2023-04-04 19:21:25 +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
Martin Haug 8aca3ca3c1
Add double bracket and laplace operator (#570) 2023-04-04 15:47:40 +02:00
Laurenz c2d88989a7 Format code 2023-04-04 14:36:25 +02:00
Laurenz e77abf842d Make error messages a bit more consistent 2023-04-04 14:33:43 +02:00
HarmoGlace 4aa5e0a4a3
Make behavior of calculation functions consistent (#515) 2023-04-04 14:33:26 +02:00
Alex Sayers 2c735294cd
Improve justification of Chinese/Japanese text (#542) 2023-04-03 15:56:23 +02:00
Johannes Wolf 0b4dc6758e
transform: Fix documentation (#538) 2023-04-03 13:05:56 +02:00
Mateus Felipe C. C. Pinto 2dbbeaeb60
Provide support for portuguese language (#525) 2023-04-03 12:59:13 +02:00
Laurenz 37eededc9d Revise counter documentation 2023-04-02 20:18:22 +02:00
Sébastien d'Herbais de Thun cca9ea8249
Make all counters start at zero (#533) 2023-04-02 20:01:19 +02:00
SekoiaTree c799421879
Fix a copy-paste typo in CircleElem's docs (#534) 2023-04-02 19:55:25 +02:00
Laurenz b469f30c83 Fix block spacing 2023-04-02 19:47:42 +02:00
samlich fa4878f7d0
replace deprecated angle brackets (#237) 2023-04-02 11:15:36 +02:00
Laurenz e1ecb8cabe Simplify `pow` function 2023-04-01 23:31:23 +02:00
Laurenz 7ef687ec53 Fix underflows in counter 2023-04-01 23:04:26 +02:00
HarmoGlace f94bc9a13f
Fix zero power (#511) 2023-04-01 19:45:44 +02:00
Laurenz 10a3fbd174 Documentation for regex from raw element
Fixes #266.
2023-04-01 19:34:49 +02:00
Laurenz 2d6a79ba32 Don't display empty counters and state
Fixes #338.
2023-04-01 19:04:06 +02:00
Naim A 66a22b5555
Hebrew numbering (#446) 2023-04-01 16:05:06 +02:00
Birk Tjelmeland ed79ecbb44
Add support for cliping content in `block` and `box` (#431) 2023-04-01 16:04:38 +02:00
Marek Barvíř 5e5b1bba51
Needless clone, borrows, casts and lifetimes (#504) 2023-04-01 15:53:13 +02:00
Marek Barvíř 9eb6174b22
Unreachable pattern (#501) 2023-04-01 14:58:33 +02:00
Yi Chen Chong 90e7d18f26
Fixed extraneous spacing in sign operators (#500) 2023-04-01 14:45:54 +02:00
P-Andersson 387bcc3879
add support for loading data from yaml files (#447) 2023-04-01 14:33:42 +02:00
Sébastien d'Herbais de Thun 9e69a7b161
Allows negative pow (#486) 2023-04-01 14:24:43 +02:00
Sébastien d'Herbais de Thun cc67e53099
Added FR language support (#483) 2023-03-31 19:56:41 +02:00
Lars Wrenger 631ba40e57
Support for multiple bib files in a bibliography (#296) 2023-03-31 18:41:17 +02:00
1bitbool 6c979e554b
Added ZH language support (#481) 2023-03-31 16:43:14 +02:00
Laurenz 5f97e0a773 Make `Paint` not implement `Copy` 2023-03-31 16:33:33 +02:00
Daniil Berezin 00f11ae56d
Added RU language support (#467) 2023-03-31 12:52:40 +02:00
Marek Barvíř 5aa2ba1490
FIX "data.typ" test (#412) 2023-03-30 11:52:27 +02:00
Laurenz 81c5568aec Make label on styled and sequence elements locatable 2023-03-30 11:38:33 +02:00
Naim A 2ed4212c76
bail! when #symbol is called without parameters (#440) 2023-03-29 23:07:08 +02:00
Laurenz 72fb155403 Link to label 2023-03-29 20:10:23 +02:00
Marco Radocchia 9737d3b754
Added IT language support (#413) 2023-03-29 19:34:18 +02:00
Laurenz 24e26b8c77 Fix styling of text operators 2023-03-29 19:21:01 +02:00
Laurenz d1ff94a3b5 A bit more polygon docs 2023-03-28 17:00:02 +02:00
Olle Lögdahl 44165d09a9
Add polygon drawing primitive (#314) 2023-03-28 16:43:16 +02:00
Laurenz a0249d2309 Switch to crates.io version of `lipsum` 2023-03-28 11:36:26 +02:00
oskgo 1e9d6b4aaa
typo: `childfren` -> `children` (#381) 2023-03-27 22:41:51 +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 d71c933cca Bump dependencies 2023-03-27 15:49:04 +02:00
Laurenz 13ece5ec26 Allow disabling vector and matrix delimiters 2023-03-27 14:52:25 +02:00
Laurenz 5020f62195 Respect link style in bibliography 2023-03-27 12:31:01 +02:00
Laurenz dd33a21188 Documentation for location methods
Fixes #308.
2023-03-27 12:26:24 +02:00
Laurenz a5c88c19b3 Fix enum parsing and allow zero in numberings
Fixes #353.
2023-03-27 12:12:57 +02:00
David Voigt 6545620891
change page numbering for outline (#284) 2023-03-25 13:35:32 +01:00
Alexander Ekdahl 766d1be72b
Newton's notation for derivatives (#281) 2023-03-25 13:32:25 +01:00
jakobrs a25a691549
Use correct smart quotes for Norwegian Bokmål language code (#278) 2023-03-25 13:30:33 +01:00
Florian Kothmeier 238f64327c
Fix fill color obstructing page header and background (#277) 2023-03-25 13:30:19 +01:00
Ryan Pitasky 8b1852cffb
Replace infinite repeat layout panic with error (#235)
When a page has auto width and there were no other constraints on the repetition width, this would previously panic. Now, there is an explicit check with a new error and test case.
2023-03-24 09:15:24 +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 ff8cd46c50 Fix typo 2023-03-21 20:23:53 +01:00
Laurenz 2d16f9434f Documentation for citation, bibliography, and content 2023-03-20 22:09:10 +01:00
Laurenz 22bf0117a0 Documentation for measure, locate, and style 2023-03-20 18:21:05 +01:00
Laurenz 420eebe191 Documentation for query 2023-03-20 17:46:10 +01:00
Laurenz c8bf331c94 Documentation for state 2023-03-20 17:03:53 +01:00
Laurenz 188e64fa30 Documentation for counters 2023-03-20 14:52:33 +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 c7f4d6b12e Equation numbering 2023-03-18 19:54:00 +01:00
Laurenz a69b587455 Rename formula to equation 2023-03-18 19:27:31 +01:00
Laurenz a16726ae66 Architecture description 2023-03-18 18:27:22 +01:00
Laurenz f2b0c5e08d Fix page counter 2023-03-18 16:28:39 +01:00
Laurenz af7fe4d760 Hover and autocomplete in show rules 2023-03-17 18:18:47 +01:00
Laurenz 6d64d3e8e9 Query 2023-03-17 16:04:14 +01:00
Laurenz c47e4cb496 State 2023-03-17 16:04:12 +01:00
Laurenz 312197b276 Counters 2023-03-17 11:45:57 +01:00
Laurenz e8435df5ec More jump targets 2023-03-17 11:30:58 +01:00
Laurenz ecb5543985 Node links 2023-03-15 12:33:38 +01:00
Laurenz 8567811808 Simplify stable id handling 2023-03-15 10:09:17 +01:00
Laurenz 89f44f220d Bibliography and citations 2023-03-14 22:53:54 +01:00
Laurenz 2a86e4db0b Reference supplements 2023-03-14 22:34:43 +01:00
Laurenz 2bacbaf2bd Hanging indent 2023-03-14 22:30:21 +01:00
Laurenz 724e9b140c Locatability and synthesis improvements 2023-03-13 21:41:33 +01:00
Laurenz 880b1847bd Derive `Cast` for enums 2023-03-13 21:40:06 +01:00
Laurenz cb3c263c4a More accurate logarithm for base 2 and 10 2023-03-13 20:10:29 +01:00
Laurenz 74ab0309f0 Make figure block unbreakable 2023-03-12 23:39:30 +01:00
Laurenz 1283f6b20f Don't set none fields for syntax-created nodes 2023-03-12 23:26:28 +01:00
Laurenz ad05ba5925 Spans in math 2023-03-12 13:20:36 +01:00
Martin Haug 2720a44b96 Merge branch 'main' into ng 2023-03-12 09:58:47 +01:00
Laurenz ca6edf5283 Jump to source and preview 2023-03-11 23:29:32 +01:00
Laurenz 1a390deaea Figures 2023-03-11 20:01:56 +01:00
Laurenz 529d3e10c6 Section references 2023-03-11 18:29:48 +01:00
Laurenz 8e5f446544 Autocompletion for raw language tags 2023-03-11 11:46:12 +01:00
Laurenz a9fdff244a Expose content representation more 2023-03-10 21:19:50 +01:00
Laurenz 902c2ea121 Fix y offset in shaper 2023-03-10 14:25:04 +01:00
Laurenz 62f35602a8 New #[func] macro 2023-03-10 12:55:21 +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 25b5bd1175 Fully untyped model 2023-03-07 15:17:13 +01:00
Laurenz 6ab7760822 Split up `model` module 2023-03-01 16:33:28 +01:00
Laurenz ab841188e3 Bump `ecow` 2023-03-01 11:27:10 +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 87991b81d6 Better font autocompletion 2023-02-24 16:03:58 +01:00
Laurenz 448844d66c Allow multiple authors 2023-02-24 14:09:38 +01:00
Laurenz affb353453 Merge main back 2023-02-23 14:38:45 +01:00
Laurenz 457ce95436 More EcoVec usage
Frame unfortunately can't use it because splice is missing.
2023-02-23 14:36:40 +01:00
Laurenz a1d47695a2 Switch to ecow 2023-02-23 12:20:47 +01:00
Laurenz 6e65ebf236 Panic function 2023-02-19 21:08:01 +01:00
Laurenz 1e681b35c7 Fix typos 2023-02-18 20:18:15 +01:00
Laurenz 028632a3a1 Fix error handling after hashtag 2023-02-17 16:32:48 +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 942fa6636d Fix raw block highlighting 2023-02-15 09:52:08 +01:00
Laurenz b9c0fd87d3 Fix grid sizing 2023-02-14 12:34:16 +01:00
Laurenz cc9b52ddd4 Better table lines 2023-02-14 12:08:05 +01:00
Laurenz 17e9805b34 Let `eval` take code instead of markup 2023-02-13 17:45:08 +01:00
Laurenz 5233b1c50a Better examples for spacing functions 2023-02-13 17:25:36 +01:00
Laurenz 28b5c55cd5 Configurable markers for nested lists 2023-02-13 17:15:20 +01:00
Laurenz 05c8c6045c Configurable numbering for nested enums 2023-02-13 16:54:05 +01:00
Laurenz b1b4e52af9 Block sizing 2023-02-13 16:04:25 +01:00
Laurenz 72b60dfde7 Fill and stroke properties for containers 2023-02-13 12:18:34 +01:00
Laurenz db49b628f7 Remove dumb `field` functions 2023-02-13 11:00:11 +01:00
Laurenz dca478182b Update changelog 2023-02-12 23:12:22 +01:00
Laurenz a8f2e85f96 Add delimiter setting for `cases` 2023-02-12 22:43:37 +01:00
Laurenz 10b17a04bc Fix docs 2023-02-12 22:39:20 +01:00
Laurenz fd90736fb6 Support fractional width for `box` 2023-02-12 22:04:27 +01:00
Laurenz d99359dede Add `baseline` argument to `box` 2023-02-12 21:14:21 +01:00
Laurenz d689d706ea Vertically center non-math content in math by default 2023-02-12 21:14:12 +01:00
Laurenz e70fbf5372 Support `auto` as sizing for box 2023-02-12 21:00:23 +01:00
Laurenz b6ee82c7e8 Remove block around outline 2023-02-12 20:31:13 +01:00
Laurenz 78072c99eb Add `tg` and `ctg` operators 2023-02-12 20:28:17 +01:00
Laurenz 3ffa7393f0 Make all nodes block-level 2023-02-12 19:57:28 +01:00
Laurenz f4856c18b9 Remove base width 2023-02-12 17:28:17 +01:00
Laurenz 697ae1f925 Extract regions into separate module 2023-02-12 16:40:00 +01:00
Laurenz ebbee6274c Fix square base 2023-02-12 16:38:18 +01:00
Laurenz 6260878245 Let line have an extent 2023-02-12 15:01:40 +01:00
Laurenz 2b26e08128 Fix set document bug 2023-02-12 13:23:48 +01:00
Laurenz 8cbc2ac483 Fix place base 2023-02-12 13:23:40 +01:00
Laurenz fea238921f Fast path for gutter-less grid 2023-02-12 13:04:46 +01:00
Laurenz 01a62a690b Make grid RTL aware 2023-02-12 12:57:40 +01:00
Laurenz 8951b1923a Skip grid region if one cell is empty 2023-02-12 12:57:35 +01:00
Laurenz e873468ea7 Change grid base for auto columns 2023-02-12 11:38:42 +01:00
Laurenz ebe919220d Fix flow bugs 2023-02-11 13:30:55 +01:00
Laurenz 924a27bc37 Move `Fragment` into library 2023-02-09 14:11:00 +01:00
Laurenz 1d5bf56e58 Remove basics section 2023-02-07 12:10:52 +01:00
Laurenz a0674990d3 Don't hyphenate link 2023-02-07 12:01:31 +01:00
Laurenz ef44c3848a Add missing `.op` modifiers 2023-02-06 17:55:06 +01:00
Laurenz 7d28e6499e Set Typst versions to `0.0.0` 2023-02-06 11:53:49 +01:00
Laurenz ea8edfa821 Make Rust happier about the inline documentation 2023-02-06 11:52:09 +01:00
Laurenz 93138e2d4b Fix font switch in math 2023-02-03 17:47:05 +01:00
Laurenz fd7b629f67 Keep font directly in `GlyphFragment` 2023-02-03 17:46:30 +01:00