Commit Graph

364 Commits

Author SHA1 Message Date
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
Laurenz 15bc932ec1 Rename infinity symbol 2023-02-02 22:34:53 +01:00
Laurenz 255044e04e Ignore accent when positioning superscript 2023-02-02 21:21:04 +01:00
Laurenz 3f85d005bb Fix root index placement again 2023-02-02 19:50:14 +01:00
Laurenz 10675cd6d5 Merge text and math symbols 2023-02-02 19:50:06 +01:00
Laurenz e9ff2d6463 More robust automatic math spacing 2023-02-02 16:47:10 +01:00
Laurenz e6400861ab Matrix baseline alignment 2023-02-02 14:40:34 +01:00
Laurenz 5f5c659279 Math tests 2023-02-02 14:13:56 +01:00
Laurenz 21dd99926a Allow arbitrary math directly in content 2023-02-02 14:13:05 +01:00
Laurenz aa0f03fe04 Treat italics correction differently 2023-02-01 15:43:23 +01:00
Laurenz 8377159e21 Fix root index placement 2023-02-01 15:04:20 +01:00
Laurenz 6ca6f43703 Fix sub- and superscript ascent/descent 2023-02-01 14:57:52 +01:00
Laurenz 137d2ab317 Always apply math italics corrections 2023-02-01 13:32:46 +01:00
Laurenz 2315b5d3cc Math char style exceptions 2023-02-01 13:32:29 +01:00
Laurenz afa344f33d Fix raw show rule 2023-02-01 13:32:05 +01:00
Laurenz c2bd114914 Symbol improvements 2023-01-31 13:00:20 +01:00
Laurenz 69985e59bc Make lowercase greek italic 2023-01-31 02:05:53 +01:00
Laurenz 60ef41cef4 Fix calc doc comments 2023-01-31 00:20:53 +01:00
Laurenz 0ef1b02ee0 Add calc constants 2023-01-30 21:29:03 +01:00
Laurenz 53844b5a87 Simplify `calc` functions 2023-01-30 21:19:01 +01:00
Martin Haug 0287b98ef3 Add calc module 2023-01-30 21:04:34 +01:00
Laurenz 1ea0a93325 User-defined symbols 2023-01-30 19:45:10 +01:00
Laurenz 3a4c5ae4b9 Highlighting and docs fixes 2023-01-30 18:29:09 +01:00
Laurenz 1d86f41831 Remove more blocks 2023-01-29 23:41:54 +01:00
Martin Haug c3b3bbb9f2 Update remaining examples 2023-01-29 23:26:31 +01:00
Laurenz 196d9594fb Math documentation improvements 2023-01-29 23:15:00 +01:00
Laurenz d9d2c021d6 Fix inline math bounding box 2023-01-29 20:44:33 +01:00
Laurenz 9d715fd11c Respect alignment in math formulas 2023-01-29 19:42:30 +01:00
Laurenz f7458f9533 Matrices 2023-01-29 19:11:44 +01:00
Laurenz e4e888b9ce Fix `lr` with already matched body 2023-01-29 17:53:25 +01:00
Laurenz 17f8939f86 Fix math alignment points 2023-01-29 17:44:58 +01:00
Laurenz 60dfe8f893 Fix math styling 2023-01-29 17:44:50 +01:00
Martin Haug 8fbfa594e0 Update docs so that the reference builds again 2023-01-29 12:43:44 +01:00
Laurenz 76048a8ef4 Overline, Underline, Overbracket, Underbracket 2023-01-28 23:15:03 +01:00
Laurenz 2d56e3c5e2 Fix typos 2023-01-28 16:56:28 +01:00
Laurenz 4809e685a2 More capable math calls 2023-01-28 15:36:32 +01:00
Laurenz 28c554ec21 Rework math attachments and accents 2023-01-28 12:14:03 +01:00
Laurenz 23238d4d44 Assertions with custom message 2023-01-27 19:53:04 +01:00
Laurenz 33013af37a Error message when font doesn't support math 2023-01-27 19:27:32 +01:00
Laurenz 2e039cb052 Fix math spacing bugs 2023-01-27 15:32:05 +01:00
Laurenz 9d962c5c40 More `track_caller` annotations 2023-01-27 12:16:54 +01:00
Laurenz 43ef60c09c Tracing-based expression tooltips 2023-01-27 12:05:12 +01:00
Laurenz 1de53730bc Symbol values and modules 2023-01-27 12:04:36 +01:00
Laurenz 13efa128c8 Macro for math operators 2023-01-27 11:57:00 +01:00
Laurenz a8fd64f928 Hashtags everywhere! 2023-01-27 11:54:30 +01:00
Laurenz 33585d9a3f Small fixes 2023-01-27 11:38:04 +01:00
Laurenz 4653ffebb4 Math module 2023-01-23 15:23:52 +01:00
Laurenz 7e295d84b5 Math delimiter grouping 2023-01-22 13:32:58 +01:00
Laurenz 953bdc1859 Vector and case layout 2023-01-22 13:32:44 +01:00
Laurenz a0146b5b9b Math operator functions 2023-01-22 13:32:32 +01:00
Laurenz c5ef350cce Under- and overbraces 2023-01-22 13:31:44 +01:00