Commit Graph

1151 Commits

Author SHA1 Message Date
Laurenz 565b1977ae Rename `RawKind` to `RawFields` 2022-11-19 23:12:23 +01:00
Laurenz 1937d746ab Show everything! 2022-11-19 22:40:42 +01:00
Laurenz 9b8c1dc19f Pass text node to text show rule instead of string 2022-11-18 14:31:51 +01:00
Laurenz 92f2c56203 Reorganize style module 2022-11-18 12:49:27 +01:00
Laurenz c3895cbd66 Remove `Target` enum 2022-11-18 11:23:56 +01:00
Laurenz ddb617390c Simplify layout_inline's signature 2022-11-17 23:04:02 +01:00
Laurenz d9ce194fe7 Remove role applications 2022-11-09 22:49:25 +01:00
Laurenz 010cc2effc New block spacing model 2022-11-09 18:20:02 +01:00
Laurenz 12a59963b0 Reduce style chain bloat 2022-11-08 16:37:07 +01:00
Laurenz 0a41844cc4 Selectors 2022-11-07 14:43:13 +01:00
Laurenz efd1853d06 Show it!
- New show rule syntax
- Set if syntax
- Removed wrap syntax
2022-11-07 12:46:05 +01:00
Laurenz eb951c008b Style changes 2022-11-04 11:38:09 +01:00
Laurenz 37a7afddfa Split crates 2022-11-03 13:35:39 +01:00
Laurenz 56342bd972 Move layout traits into library 2022-11-02 14:48:51 +01:00
Laurenz 37ac5d966e More dynamic content representation 2022-11-02 09:18:33 +01:00
Laurenz f547c97072 Reduce usage of `finalize` 2022-10-31 15:47:49 +01:00
Laurenz 671ce3dedd Replace `encode` with `field` 2022-10-31 13:49:10 +01:00
Laurenz 636bdb9e43 Rename `RoleMap` to `LangItems` 2022-10-31 09:11:56 +01:00
Laurenz 237feda063 Remove semantic role handling 2022-10-31 09:05:50 +01:00
Laurenz 66ad023519 Split up some files 2022-10-31 08:57:44 +01:00
Laurenz 95e9134a3c Refactor `geom` module 2022-10-28 16:43:38 +02:00
Laurenz 66030ae5d7 Small fixes 2022-10-27 15:56:03 +02:00
Laurenz c0e972b91a Reduce dependencies from compiler on library 2022-10-18 00:04:12 +02:00
Laurenz e218226655 Merge some modules 2022-10-17 20:04:22 +02:00
Laurenz 4fd031a256 More spans in AST 2022-10-17 17:11:01 +02:00
Laurenz 86990d2287 Also hash syntax tree in source 2022-10-14 13:25:49 +02:00
Laurenz 0a0feb75fe Add `NotSource` variant to `FileError` 2022-10-05 13:20:46 +02:00
Laurenz fd8160f374 Remove `SpanPos` in favor of `ErrorPos` 2022-10-05 13:15:02 +02:00
Laurenz ec884ec1d8 Refactor syntax module 2022-10-05 12:49:39 +02:00
Laurenz 5a8534a395 Parse basic math syntax 2022-10-04 13:45:16 +02:00
Laurenz 7ef6cb31df Bump ttf-parser 2022-09-30 11:23:09 +02:00
Laurenz 9db89b376d Refresh TextMate grammar 2022-09-27 16:40:17 +02:00
Laurenz abafb39041 Fix bad list interaction
Fixes #87
2022-09-26 16:25:40 +02:00
Laurenz 704f2fbaf1 Description lists, link syntax, and new enum syntax 2022-09-26 16:12:57 +02:00
Laurenz 2661f1a506 Round to nearest `u8` instead of flooring 2022-09-25 21:46:54 +02:00
Martin Haug 680cc9aa93 Do not upset Acrobat 2022-09-25 21:37:22 +02:00
Martin Haug b14274d1e4 Methods to modify colors 2022-09-25 20:04:33 +02:00
Laurenz f6adc45638 XML reading 2022-09-25 18:20:39 +02:00
Laurenz fffb55f79a JSON reading 2022-09-25 17:37:16 +02:00
Laurenz ddd3b6a82b Tracked memoization 2022-09-21 20:25:57 +02:00
Laurenz 3760748fdd Refactor error handling 2022-09-20 19:49:47 +02:00
Laurenz 757a701c1a A New World 2022-09-20 16:37:15 +02:00
Laurenz e29f55bb29 Remove font store 2022-09-19 17:44:40 +02:00
Laurenz 59f67b79c7 Remove image store 2022-09-19 12:49:36 +02:00
Laurenz 30be75c668 Renaming
`Face` -> `Font`
`FaceId` -> `FontId`
`SourceFile` -> `Source`
2022-09-19 11:36:59 +02:00
Laurenz 4ec3bcee48 Remove pins and memoization 2022-09-19 11:16:05 +02:00
Laurenz e5f958b921 Handle line comments nested in block comments
Fixes #76
2022-09-19 11:05:25 +02:00
Laurenz e5615ce02d Fix cost if last line is justified 2022-09-19 10:42:54 +02:00
Laurenz 65c4ee42e7 Underline only Typst headings in code blocks 2022-09-19 10:29:08 +02:00
Laurenz b98004330b Handle non-breaking spaces during justification 2022-09-19 10:28:06 +02:00