PgBiel
1fed6b09b4
additional footer breakability tests
2025-05-16 03:34:21 -03:00
PgBiel
be12824af2
delete now unused header_height
field
2025-05-16 02:43:00 -03:00
PgBiel
78c87c811d
Merge branch 'main' into table-subheaders
2025-05-16 02:32:14 -03:00
PgBiel
df8e4b1063
use more match
in line layout
2025-05-16 02:30:34 -03:00
PgBiel
e4e4de8733
clippy
2025-05-16 02:18:06 -03:00
PgBiel
7ab1d25c69
may_progress tests
2025-05-16 02:10:07 -03:00
PgBiel
3cbbcaa734
use may_progress_with_repeats for rowspans
2025-05-16 02:10:07 -03:00
PgBiel
915743e6e8
use could_progress_at_top
for footers
2025-05-16 02:09:51 -03:00
PgBiel
3ec699541a
use may_progress_with_repeats
2025-05-16 02:09:51 -03:00
Tobias Schmitz
d204a28818
Expand text link boxes vertically by half the leading spacing ( #6252 )
2025-05-12 18:12:35 +00:00
Tobias Schmitz
22a117a091
Prohibit some line break opportunities between LTR-ISOLATE and OBJECT-REPLACEMENT-CHARACTER ( #6251 )
...
Co-authored-by: Max <max@mkor.je>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-05-12 09:16:38 +00:00
Tobias Schmitz
26c19a49c8
Use the infer crate to determine if pdf embeds should be compressed ( #6256 )
2025-05-12 08:07:43 +00:00
Tobias Schmitz
54c5113a83
Catch indefinite loop in realization due to cycle between show and grouping rule ( #6259 )
2025-05-12 08:06:18 +00:00
PgBiel
2127a9e044
store initial after repeats
2025-05-12 02:21:58 -03:00
PgBiel
6d4e71085d
use const unwrap
...
Stable since 1.83 (our MSRV)
2025-05-09 16:12:06 -03:00
PgBiel
3bd7486362
Merge branch 'main' into table-subheaders
2025-05-09 13:46:34 -03:00
Tobias Schmitz
9b09146a6b
Use list spacing for attach spacing in tight lists ( #6242 )
2025-05-06 14:03:48 +00:00
Tobias Schmitz
b322da930f
Respect RTL cell layouting order in grid layout ( #6232 )
...
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2025-05-06 08:26:55 +00:00
PgBiel
1d217e4019
allow skipping from non-repeated header on lack of space
...
Can lead to orphans, but without enough space, anything goes.
2025-05-06 03:56:21 -03:00
PgBiel
6a12a451fc
test too large edge cases
2025-05-06 03:45:48 -03:00
PgBiel
dafcf8b11e
temp fix for imprecision in may_progress_with_offset
...
better idea: check once at the start of the region
if there are non-header rows, or we could progress at the start of the region, we may progress
2025-05-06 03:45:21 -03:00
PgBiel
07a060a9da
initial html target support
2025-05-05 03:33:13 -03:00
PgBiel
1e3e6167af
update some todos/comments on resolve
2025-05-05 02:42:33 -03:00
PgBiel
db59e3ffcb
fix pending header repetition with may progress = false
2025-05-04 04:07:08 -03:00
PgBiel
1fc15467cd
use next_header counter to not check skipped headers on resolve
2025-05-04 03:43:10 -03:00
PgBiel
4bcf5c11a7
move lrows to Current
2025-05-04 02:29:03 -03:00
Malo
14241ec1aa
Use the right field name for figure.caption.position
( #6226 )
2025-05-01 15:43:07 +00:00
PgBiel
b7c1dba314
improve variable names related to repeating headers
2025-05-01 00:24:55 -03:00
PgBiel
5289bdae50
update some field docs
2025-05-01 00:08:15 -03:00
PgBiel
8045c72d28
switch to only snapshotting for orphan prevention
2025-04-30 21:10:33 -03:00
PgBiel
09e7062b38
create RowState abstraction
...
nicer to use than what that was before
store temp values during row layout
2025-04-30 02:44:56 -03:00
PgBiel
6c42f67b3d
only flush orphans outside of headers and footers
2025-04-30 02:14:47 -03:00
PgBiel
3ef2137619
flush orphans and pending headers at the same time (broken)
...
Goal is to ensure pending headers are flushed before a region break, else non-repeating headers will appear more than once
Must not be called while laying out headers, however, so it's broken
2025-04-30 01:49:43 -03:00
PgBiel
ab852a5151
some additional docs
2025-04-30 01:46:47 -03:00
PgBiel
9c49bd507a
remove redundant check for short-lived footers
...
Now it is all handled at the resolving stage.
2025-04-20 19:22:19 -03:00
PgBiel
03118678b5
tests for short-lived footer
2025-04-20 19:18:48 -03:00
PgBiel
63b34cfe0a
make footer short-lived when there are no regular cells
2025-04-20 19:18:18 -03:00
PgBiel
71ae276071
add Deref to Repeatable
...
honestly, all the unwrapping was just generating noise.
2025-04-20 15:20:07 -03:00
PgBiel
9a01b9bfe8
remove unnecessary short lived header check
2025-04-20 13:38:45 -03:00
PgBiel
6e21eae3eb
mark headers as short-lived during resolve
2025-04-20 13:13:20 -03:00
PgBiel
af0c27cb98
adjust Current visibility
2025-04-19 22:34:58 -03:00
PgBiel
5e572a56f3
rename a few Current fields
2025-04-19 21:16:18 -03:00
PgBiel
9b5c77a3a3
move per-region state to Current
2025-04-19 20:42:41 -03:00
PgBiel
1e3719a9ba
add non-repeating subheader tests
2025-04-18 19:37:54 -03:00
PgBiel
fe75a29488
use vector of maybe repeatable headers when resolving
2025-04-18 19:37:21 -03:00
Andrew Voynov
3e6691a93b
Fix frac syntax section typo ( #6193 )
2025-04-18 14:27:07 +00:00
PgBiel
13b4677270
initial gutter tests
2025-04-17 15:14:32 -03:00
PgBiel
cc19b80449
add several footer tests
2025-04-17 14:37:57 -03:00
Max
7e072e2493
Add test for flattened accents in math ( #6188 )
2025-04-17 14:10:27 +00:00
PgBiel
e76ea64cb0
add test for orphan prevention of alone subheaders
...
Consecutive subheaders can be broken apart in special cases
2025-04-17 03:00:03 -03:00