1316 Commits

Author SHA1 Message Date
Laurenz
15ef72cca4 Fix empty heading 2022-05-04 23:34:02 +02:00
Laurenz
1bca9ccecb Improve diagnostics 2022-05-04 23:26:15 +02:00
Laurenz
2a45650dcc Keyed pairs 2022-05-04 23:12:31 +02:00
Laurenz
e674fd7e90 New raw theme & nicer debug representation 2022-05-04 22:14:57 +02:00
Laurenz
75472fee1a Division for lengths 2022-05-04 22:14:51 +02:00
Laurenz
ba5622b7b9 Move smallcaps into separate function 2022-05-04 13:21:31 +02:00
Laurenz
507c5fc925 Text replacement show rules 2022-05-04 00:14:31 +02:00
Laurenz
e18a896a93 Test recursive show rules 2022-05-03 16:43:44 +02:00
Laurenz
d59109e8ff Support recursive show rules 2022-05-03 15:58:15 +02:00
Laurenz
f77f1f61bf Split up style module 2022-04-30 16:47:43 +02:00
Laurenz
aa10ea8470
Merge pull request #69 from typst/shapeees
Advanced shapes
2022-05-03 23:56:57 +02:00
Martin Haug
51d0de09c6 Code Review: Relax, it's much worse than you think 2022-05-03 23:43:56 +02:00
Martin Haug
6a8a0ec6ec Code Review: Heap is Stack. Unsafe is Good.
Spaghetti Code is Style.
2022-05-03 12:59:41 +02:00
Martin Haug
33213abe7d New page margins API 2022-05-02 18:48:32 +02:00
Martin Haug
9b4397cdab Tests for the new shape API 2022-05-02 18:25:53 +02:00
Martin Haug
f07395f9a4 Move rounding logic out of exporters 2022-05-02 17:20:47 +02:00
Martin Haug
7b6f3a0ab9 A new Cast implementation for Sides
Reinstate circle
2022-05-02 16:35:11 +02:00
Martin Haug
84a4961a5d Outset; fix folding 2022-05-01 14:56:07 +02:00
Martin Haug
5f1499d380 Add round corners and change arguments 2022-05-01 11:50:34 +02:00
Laurenz
f9e115daf5 New block spacing model 2022-04-30 14:12:28 +02:00
Laurenz
f7c67cde72 New document & flow building 2022-04-26 13:26:31 +02:00
Laurenz
09aabc3a21 Public style entry enum 2022-04-25 15:50:13 +02:00
Martin Haug
649c101f07 Add blind text function 2022-04-25 14:20:47 +02:00
Laurenz
7163b4a6c5 Soft pagebreak 2022-04-24 21:58:45 +02:00
Laurenz
2f33ad0e0a Rename soft linebreak to justified linebreak 2022-04-24 21:38:23 +02:00
Laurenz
2791f59ce2 Clean up the parser a bit 2022-04-24 18:00:36 +02:00
Laurenz
89927d7de0 StyleSlot, KeyId and NodeId 2022-04-24 16:42:19 +02:00
Laurenz
8fbb11fc05 Extract model module 2022-04-24 15:47:42 +02:00
Laurenz
e4ee14e54f Extract methods into separate module 2022-04-24 15:27:06 +02:00
Laurenz
50e4002a2a Split show into realize and finalize 2022-04-24 14:53:43 +02:00
Laurenz
04fb8b288a Show rules with type ascribed object 2022-04-23 21:55:58 +02:00
Laurenz
7a2cc3e7d2 Field access 2022-04-19 16:37:16 +02:00
Laurenz
255d4c620f Automatic frame merging 2022-04-19 13:54:04 +02:00
Laurenz
f27f7a05ab Tidy paragraph layout 2022-04-18 13:10:40 +02:00
Laurenz
a302105b9f Fix duplicate RTL text and alignment + fr bugs 2022-04-18 12:37:22 +02:00
Laurenz
db820ae9aa Repeat function 2022-04-17 12:11:00 +02:00
Laurenz
4494b443bb Ellipsis 2022-04-16 23:06:47 +02:00
Laurenz
c5b3f8ee98 Switch to unscanny 2022-04-16 22:23:57 +02:00
Laurenz
2db4b603db Fix bug with enums starting at zero 2022-04-14 13:24:48 +02:00
Laurenz
b274155c6d Improve language and add region controls 2022-04-13 16:01:24 +02:00
Laurenz
d025854457 Make language non-optional with english as default 2022-04-13 15:01:19 +02:00
Laurenz
67e9313b91 Soft breaks and shy hyphens 2022-04-13 14:48:19 +02:00
Laurenz
2279c26543 Smart quotes
Co-Authored-By: Martin Haug <mhaug@live.de>
2022-04-13 13:08:46 +02:00
Laurenz
e8dd842c66 Fix bug with basically empty paragraph 2022-04-13 11:59:05 +02:00
Laurenz
f7875032b7 Small highlighting improvement 2022-04-13 11:34:44 +02:00
Laurenz
002b6c5b3e Don't hang quotes 2022-04-13 11:24:42 +02:00
Martin Haug
072543fc59 Introduce NodeKind::Quote 2022-04-12 22:35:04 +02:00
Laurenz
c3a387b8f7 Segment by script 2022-04-12 22:23:08 +02:00
Laurenz
56968bc0d6 Merge text runs during paragraph layout 2022-04-12 17:49:22 +02:00
Laurenz
1101a8370f Negative array indexing 2022-04-11 16:30:34 +02:00