Matt Fellenz
823fc5e5c4
Fix incomplete line endings ( #1866 )
2023-08-06 00:15:29 +02:00
Laurenz
fa9e2c6237
Resolve `place` deltas relative to real container size
2023-07-19 12:59:34 +02:00
Laurenz
3dcd8e6e6b
Positions placed elements relative to real container size ( #1745 )
...
This positions placed elements relative to the real container size instead of relative to the base size of the region. This makes its usage more versatile.
Fixes #82
Fixes #685
Fixes #1705
2023-07-19 12:53:36 +02:00
Laurenz
78f96f844b
Basic floating placement
2023-07-10 18:16:59 +02:00
Laurenz
04bffc4f12
Reintroduce `--root`
2023-06-28 10:36:53 +02:00
Zachary Capalbo
19bf1f5894
Clear page to Even Or Odd ( #1427 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-12 14:28:25 +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
Peng Guanwen
a54cde71cb
Bugfix of CJK punctuation adjustment ( #1384 )
2023-06-01 15:14:56 +02:00
Sung Jeon
08b49291bc
Add NumberingKind variants for Korean ( #1360 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-05-30 18:42:24 +02:00
Peng Guanwen
e2bf2327b5
Use icu4x for linebreaking algorithm ( #1355 )
2023-05-30 17:53:10 +02:00
Peng Guanwen
659f27bf6a
Do not hang CJK punctuation ( #1211 )
2023-05-15 08:57:17 +02:00
jassler
fd84d23ade
Support for align parameter in table to take an array ( #1087 ) ( #1149 )
2023-05-12 12:26:14 +02:00
Pg Biel
1a6224f566
Default enum number alignment to 'end' ( #1042 )
2023-05-11 16:36:41 +02:00
Peng Guanwen
d19a4124de
Implement sophisticated CJK punctuation adjustment ( #954 )
2023-05-11 15:02:52 +02:00
Pg Biel
f88ef45ee6
Function scopes ( #1032 )
2023-05-03 14:20:53 +02:00
Leedehai
605b0b5f73
Remove trailing blankspaces ( #1001 )
2023-04-27 11:27:38 +02:00
Alexander Seiler
c941baa7ee
Correct some typos ( #987 )
2023-04-27 11:26:43 +02:00
Pg Biel
ae4accc071
Fix alignment of list markers & enum numbers ( #988 )
2023-04-26 10:03:34 +02:00
HarmoGlace
42b93b7b53
Add `quo`, `trunc` and `fract` calculation methods and rename `mod` to `rem` ( #890 )
2023-04-20 16:09:41 +02:00
Peng Guanwen
480ad7670b
More Chinese punctuation adjustment ( #836 )
...
and also general linebreak improvements
2023-04-17 18:20:59 +02:00
Peng Guanwen
ff16f3fb37
Refine linebreak algorithm for better Chinese justification ( #701 )
2023-04-13 10:44:39 +02:00
Pg Biel
ca71081d05
Add 'layout' function to obtain the size of the outer container ( #557 )
2023-04-06 15:36:36 +02:00
Marmare314
0f8219b392
Unpacking syntax ( #532 )
...
Closes #341
2023-04-06 15:26:09 +02:00
Laurenz
a73149767c
Fix block child spacing
2023-04-06 15:13:26 +02:00
Laurenz
4f4af02ace
Fix path and polygon strokes
2023-04-06 12:58:27 +02:00
Laurenz
f9b9be16f9
Fix box and block sizing
2023-04-06 12:26:39 +02:00
Laurenz
e13c72b301
Fix first line indent with styled text
2023-04-05 00:15:51 +02:00
Laurenz
b469f30c83
Fix block spacing
2023-04-02 19:47:42 +02:00
Birk Tjelmeland
ed79ecbb44
Add support for cliping content in `block` and `box` ( #431 )
2023-04-01 16:04:38 +02:00
Chris Ohk
418bd89ba4
Correct minor typos ( #474 )
2023-03-31 16:51:12 +02:00
Laurenz
e724d04253
Update changelog
2023-03-27 16:51:03 +02:00
Laurenz
a5c88c19b3
Fix enum parsing and allow zero in numberings
...
Fixes #353 .
2023-03-27 12:12:57 +02: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
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
312197b276
Counters
2023-03-17 11:45:57 +01:00
Laurenz
2bacbaf2bd
Hanging indent
2023-03-14 22:30:21 +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
7597b99789
New default style
2023-02-25 20:04:30 +01:00
Laurenz
cc9b52ddd4
Better table lines
2023-02-14 12:08:05 +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
8f68bc7a8e
Dissolve basics folder
2023-02-13 16:50:57 +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
fd90736fb6
Support fractional width for `box`
2023-02-12 22:04:27 +01:00
Laurenz
3ffa7393f0
Make all nodes block-level
2023-02-12 19:57:28 +01:00
Laurenz
01a62a690b
Make grid RTL aware
2023-02-12 12:57:40 +01:00
Laurenz
ebe919220d
Fix flow bugs
2023-02-11 13:30:55 +01:00
Laurenz
ec05ed7e06
Move assets
2023-01-31 15:05:42 +01:00
Martin Haug
0287b98ef3
Add calc module
2023-01-30 21:04:34 +01:00
Laurenz
a8fd64f928
Hashtags everywhere!
2023-01-27 11:54:30 +01:00
Laurenz
4653ffebb4
Math module
2023-01-23 15:23:52 +01:00
Laurenz
f70cea508c
Remove index syntax in favor of accessor methods
2022-12-30 16:45:41 +01:00
Laurenz
31f904a2c4
Split up and document shapes
2022-12-21 16:19:46 +01:00
Laurenz
ee732468c7
Document text category
2022-12-21 00:26:20 +01:00
Laurenz
b6202b646a
Reflection for castables
2022-12-15 23:11:20 +01:00
Laurenz
cd089b6194
Align set rule
2022-12-09 10:21:11 +01:00
Laurenz
bdf06c9c61
Fix auto column shrinking behaviour
2022-11-30 14:49:55 +01:00
Laurenz
0efe669278
Reorganize library and tests
2022-11-29 14:18:13 +01:00
Laurenz
836692e73c
Widow and orphan prevention
2022-11-28 17:57:16 +01:00
Laurenz
6bafc63910
Document metadata
2022-11-26 23:52:01 +01:00
Laurenz
8eeb4ad8f6
Rename `margins` to `margin`
2022-11-19 23:33:33 +01:00
Laurenz
010cc2effc
New block spacing model
2022-11-09 18:20:02 +01:00
Laurenz
33928a00dc
Tidy up library
2022-11-03 16:50:26 +01:00
Laurenz
4ec3bcee48
Remove pins and memoization
2022-09-19 11:16:05 +02:00
Laurenz
90be79dc86
Page background and foreground
2022-05-28 00:26:24 +02:00
Laurenz
736289b064
Ensure me is always contained in all
2022-05-27 14:20:05 +02:00
Laurenz
806d9f0d9a
Pure functions!
2022-05-26 17:14:44 +02:00
Laurenz
22214a1e0a
Test groups
2022-05-27 14:23:05 +02:00
Laurenz
66d8f4569a
Locate me!
2022-05-26 11:59:53 +02:00
Laurenz
a741bd6b83
Absolute paths
2022-05-16 17:56:36 +02:00
Laurenz
ba5622b7b9
Move smallcaps into separate function
2022-05-04 13:21:31 +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
84a4961a5d
Outset; fix folding
2022-05-01 14:56:07 +02:00
Laurenz
f9e115daf5
New block spacing model
2022-04-30 14:12:28 +02:00
Laurenz
7163b4a6c5
Soft pagebreak
2022-04-24 21:58:45 +02:00
Laurenz
a302105b9f
Fix duplicate RTL text and alignment + fr bugs
2022-04-18 12:37:22 +02:00
Laurenz
34fa8df044
Move language-related properties from `par` to `text`
...
Closes #67
2022-04-10 23:36:36 +02:00
Laurenz
712c00ecb7
Em units
2022-04-08 15:45:14 +02:00
Laurenz
977ac77e6a
Start & end alignment
2022-04-08 15:01:55 +02:00
Laurenz
1192132dc0
Rename length-related types
...
`Fractional` => `Fraction`
`Relative` => `Ratio`
`Linear` => `Relative`
2022-04-07 16:19:51 +02:00
Laurenz
23d108c8e0
Font fallback
2022-04-03 13:55:58 +02:00
Laurenz
e6b532391d
More restructuring
2022-03-11 11:58:56 +01:00
Laurenz
3ca5b23823
Reorganize library
2022-02-28 23:54:34 +01:00
Laurenz
05ec0f993b
Headers and footers
2022-02-18 01:07:50 +01:00
Laurenz
68503b9a07
Redesigned template layout
2022-02-07 20:00:21 +01:00
Laurenz
5d05c3f68a
Refactor and fix style folding
2022-02-05 12:41:42 +01:00
Martin Haug
fe70db1f4c
New color stuff
...
- CMYK function
- More default colors
- Interpret RGB values as sRGB
2022-02-08 21:12:09 +01:00
Laurenz
44ebefbec2
Add `hide` class
2022-01-29 22:32:01 +01:00
Laurenz
36cae88799
Fix table panic
2022-01-18 13:46:56 +01:00
Laurenz
0c5243fa80
Basic tables
2022-01-17 16:01:01 +01:00
Laurenz
e74ae6ce70
Make all nodes into classes
2022-01-08 00:20:48 +01:00
Martin Haug
7f7e14d95f
Minor changes to columns
2021-12-28 00:23:42 +01:00
Martin Haug
37328f11ed
Adjust column size and expansion handling
2021-12-27 19:01:36 +01:00
Martin
7efdcdf247
Apply simple suggestions from code review
...
Co-Authored-By: Laurenz <laurmaedje@gmail.com>
2021-12-27 12:33:53 +01:00