1382 Commits

Author SHA1 Message Date
PgBiel
fe957e804a a dangerous missing plus 2025-04-08 19:17:53 -03:00
PgBiel
9331ae8e4b fix measuring range
that was stupid.

fixes header which never fits.
2025-04-08 00:00:50 -03:00
PgBiel
3361b3714d use different disambiguators when skipping region 2025-04-07 23:49:32 -03:00
PgBiel
f3ae293042 proper region progress check for headers 2025-04-07 21:34:22 -03:00
PgBiel
62c5b551f1 rename 'in_last_with_offset' to 'may_progress_with_offset' 2025-04-07 21:30:49 -03:00
PgBiel
05d4af43b6 only match consecutive conflicting headers 2025-04-07 21:20:53 -03:00
Approximately Equal
94a497a01f
Add HTML meta tags for document authors and keywords (#6134) 2025-04-07 20:18:52 +00:00
alluring-mushroom
9829bd8326
Document exceptions and alternatives to using type (#6027)
Co-authored-by: Zedd Serjeant <Zedd.Serjeant@PumpkinEng.com.au>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:56:20 +00:00
Andrew Voynov
43c3d5d3af
Improved ratio and relative length docs (#5750)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 19:47:02 +00:00
+merlan #flirora
14a0565d95
Show warnings from eval (#6100)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-07 18:42:29 +00:00
Andrew Voynov
14928ef962
Fix typo in module docs (#6146)
Co-authored-by: Alberto Corbi <alberto_corbi@icloud.com>
2025-04-07 17:47:29 +00:00
PgBiel
5e2241ab65 initial subheader resolving and api 2025-04-06 15:55:36 -03:00
PgBiel
48d0a07ef4 formatting 2025-04-06 15:31:32 -03:00
PgBiel
c90ec3c4da listen to clippy 2025-04-06 15:24:21 -03:00
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
Markus Langgeng Iman Saputra
ea336a6ac7
Add Indonesian translation (#6108)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
2025-04-04 15:50:13 +00:00
Malo
387a8b4895
Display color spaces in the order in which they are presented in the doc (#6140) 2025-04-04 11:53:14 +00:00
PgBiel
20179bbe7a add levels and ranges to headers and footers 2025-04-03 01:49:56 -03:00
Malo
ed2106e28d
Disallow empty font lists (#6049) 2025-04-02 11:47:42 +00:00
Malo
417f5846b6
Support comparison functions in array.sorted (#5627)
Co-authored-by: +merlan #flirora <uruwi@protonmail.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:41:45 +00:00
Ian Wrzesinski
12699eb7f4
Parse multi-character numbers consistently in math (#5996)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-02 09:30:04 +00:00
Laurenz Stampfl
96dd67e011
Switch PDF backend to krilla (#5420)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-01 14:42:52 +00:00
Max
012e14d40c
Unify layout of vec and cases with mat (#5934) 2025-03-31 09:38:04 +00:00
Max
4f0fbfb7e0
Add dotless parameter to math.accent (#5939)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-03-31 09:17:49 +00:00
+merlan #flirora
a64af130dc
Add default parameter for array.{first, last} (#5970) 2025-03-31 09:06:18 +00:00
Malo
1082181a6f
Improve french smartquotes (#5976) 2025-03-31 09:01:01 +00:00
+merlan #flirora
e60d3021a7
Add env setting for ignore_system_fonts (#6092) 2025-03-31 08:17:37 +00:00
Astra3
326bec1f0d
Correcting Czech translation in typst-library (#6101) 2025-03-31 08:16:47 +00:00