PgBiel
fa45bf8b55
fix row group indices with gutter in resolve
2025-04-06 15:04:53 -03:00
PgBiel
6b133dca3f
fix gutter popping edge case
...
- With a header at the end, decrease the header row count for orphan prevention.
2025-04-06 15:01:39 -03:00
PgBiel
0c6fae92f0
fix orphan prevention
...
- Include new headers at the start as part of the region's header rows
- Check if header rows are all rows
2025-04-06 14:14:16 -03:00
PgBiel
fe08df8ee6
fix consecutive header row check
...
check if there is another header at the end, not if at the next row
2025-04-06 14:12:48 -03:00
PgBiel
e73c561f16
fix header height and rows state calculations
...
- remove non-repeating header height on pending flush
- use lrows
- reset current region dataon orphan prevention row wipe
2025-04-06 13:37:17 -03:00
PgBiel
fbb0306ebc
fix non stopping footer
2025-04-06 04:47:36 -03:00
PgBiel
75403f86a9
flush pending headers as soon as possible
...
- dont wait until the end of the region, as a header can start and end in the same region (i.e. never repeat).
2025-04-06 04:00:23 -03:00
PgBiel
054b3b89d1
remove bump repeating headers
...
this has been done on pending header layout now
2025-04-06 03:45:18 -03:00
PgBiel
27557ee155
fix accidental error dropping in pending header layout
2025-04-06 03:44:09 -03:00
PgBiel
59dc458188
fix line layout with missing header bottoms
2025-04-06 03:42:30 -03:00
PgBiel
c04dedf470
fix grid.header errors in rowspans
2025-04-06 02:25:38 -03:00
PgBiel
f9569efc40
adapt usages of header_height to repeating_header_height
...
- Document unchanged usages
2025-04-06 02:12:05 -03:00
PgBiel
d172eccfd9
store height of each repeating header
...
So we can update in the middle of the region
2025-04-06 02:01:32 -03:00
PgBiel
ecc93297f8
initial attempt on repeating header height
...
- Faulty, as we have to update it when pushing new pending headers too
- Need to have a vector associating a height to each row...
2025-04-06 00:06:40 -03:00
PgBiel
f21dc8b7e2
a footer todo
2025-04-06 00:05:25 -03:00
PgBiel
1301b901b7
count header rows in each region
...
- Currently also includes non-repeatable header row heights, which will lead to bugs on rowspans; needs fix
2025-04-05 01:14:17 -03:00
PgBiel
e586cffa6c
finish region adjustments
...
- flush pending headers
- properly layout headers at region start
2025-04-04 22:02:09 -03:00
PgBiel
63055c8c83
use headers to layout enum on layout_headers
...
- This will allow us to tell layout_headers to just layout headers that are already repeating, plus pending headers which are waiting for layout.
2025-04-04 21:31:13 -03:00
PgBiel
af35e287af
finish layout_headers refactor
...
- Subtract footer height in it already
- Still need to fix finish region
2025-04-04 21:24:20 -03:00
PgBiel
0143d0775b
begin refactoring layout_headers
...
- May have to include ALL headers when skipping a region...
- Approach too naive
2025-04-04 21:24:20 -03:00
PgBiel
6029e6f3bb
begin placing new headers
...
Considerations:
- Need to change layout headers algorithm to
1. Place those headers
2. But in a new region, also place other repeating headers
3. Keep footer height up-to-date without much intervention
2025-04-04 21:24:20 -03:00
PgBiel
b420588c19
more header changes
2025-04-04 21:24:20 -03:00
PgBiel
4bd3abf44d
initial multi heading progress
...
pending headers change
2025-04-04 21:23:38 -03:00
PgBiel
20179bbe7a
add levels and ranges to headers and footers
2025-04-03 01:49:56 -03:00
PgBiel
1f1c133878
Refactor grid header and footer resolving ( #5919 )
2025-03-24 20:42:48 +00:00
Eduardo Sánchez Muñoz
38213ed534
Use u64
instead of usize
to store counter and enumeration item numbers, so behavior does not vary from 64-bit to 32-bit platforms ( #6026 )
2025-03-24 18:16:33 +00:00
Andrew Voynov
636eea18bc
Expand page breaks' triggers for page(height: auto) in docs ( #6081 )
2025-03-24 18:08:39 +00:00
Ian Wrzesinski
91956d1f03
Use std::ops::ControlFlow
in Content::traverse
( #6053 )
...
Co-authored-by: Max Mynter <maxmynter@me.com>
2025-03-24 18:07:19 +00:00
Laurenz
95a7e28e25
Make two typst-kit functions private ( #6045 )
2025-03-12 12:46:03 +00:00
Kevin K.
37bb632d2e
Fix missing words and paren in docs ( #6046 )
2025-03-12 12:45:57 +00:00
Andrew Voynov
0214320087
Fix parallel package installation ( #5979 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-11 20:20:41 +00:00
Max
96f6957371
Fix math.root
frame size ( #6021 )
2025-03-11 10:18:15 +00:00
evie
3650859ae8
Fix cargo clippy
warnings (mostly about .repeat.take
and .next_back
) ( #6038 )
2025-03-11 10:00:53 +00:00
Caleb Maclennan
bd531e08dc
Bump rustybuzz
(and adjacent crates) ( #5407 )
2025-03-10 12:45:08 +00:00
Ludovico Gerardi
e66e190a21
Fix typo in docs ( #6034 )
2025-03-10 11:39:30 +00:00
Laurenz
e1a9166e1d
Hotfix for labels on symbols ( #6015 )
2025-03-07 08:22:42 +00:00
Andrew Voynov
6271cdceae
Fix debug implementation of Recipe ( #5997 )
2025-03-04 09:33:39 +00:00
3w36zj6
8820a00beb
Respect quotes: false
in inline quote ( #5991 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-03 11:50:47 +00:00
Andrew Voynov
bf0d45e2c0
Make array.chunks
example more readable ( #5975 )
2025-03-03 11:31:39 +00:00
Tijme
66679920b2
Fix docs example with type/string comparison ( #5987 )
2025-03-03 09:32:06 +00:00
Ian Wrzesinski
cfb3b1a270
Improve clarity of ast.rs
for newcomers to the codebase ( #5784 )
...
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: T0mstone <39707032+T0mstone@users.noreply.github.com>
2025-02-26 20:10:36 +00:00
Emmanuel Lesueur
52f1f53973
Fix curve with multiple non-closed components. ( #5963 )
2025-02-26 18:07:29 +00:00
Malo
d6b0d68ffa
Add more methods to direction
( #5893 )
2025-02-25 14:19:17 +00:00
Laurenz
8f039dd614
Only autocomplete methods which take self ( #5824 )
2025-02-25 14:10:01 +00:00
Malo
2eef9e84e1
Improve hints for show rule recursion depth ( #5856 )
2025-02-25 14:09:52 +00:00
evie
d11ad80dee
Add #str.normalize(form)
( #5631 )
...
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-25 14:01:01 +00:00
Laurenz
f31c971624
Deduplicate watcher update call ( #5955 )
2025-02-25 12:47:41 +00:00
aodenis
acd3a5b7a5
Fix high CPU usage due to inotify watch triggering itself ( #5905 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-25 12:41:54 +00:00
Laurenz
225e845021
Fix introspection of HTML root sibling metadata ( #5953 )
2025-02-25 11:31:15 +00:00
Sharzy
36d83c8c09
HTML export: fix elem counting on classify_output ( #5910 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-24 16:35:13 +00:00