Skip to content

Commit

Permalink
Fix empty structparent value in lua-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Feb 23, 2024
1 parent b6c9963 commit 76d0995
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 46 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ this project uses date-based 'snapshot' version identifiers.
### Added
- structure destination is added OpenAction if present
- viewer/startstructure key to setup the OpenAction structure.

### Fixed
- missing structparent value if page is empty in lua-mode

## [2024-02-22]
Version 0.98w
Expand Down
1 change: 1 addition & 0 deletions tagpdf-backend.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,7 @@ function ltx.@@.func.fill_parent_tree_line (page)
end
else
ltx.@@.trace.log ("INFO PARENTTREE-NO-DATA: page "..page,3)
numsentry = pdfpage.." []"
end
return numsentry
end
Expand Down
94 changes: 48 additions & 46 deletions testfiles-luatex/test-sectioning-koma.tpf
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ endobj
endobj
6 0 obj
<< /Nums [0 [ 10 0 R 13 0 R 14 0 R 15 0 R 17 0 R 18 0 R 20 0 R 21 0 R 22 0 R 24 0 R 25 0 R 26 0 R]
1 []
2 [ 36 0 R 36 0 R]
3 []
4 [ 43 0 R 44 0 R 44 0 R 45 0 R 45 0 R 46 0 R 47 0 R]
] >>
endobj
Expand Down Expand Up @@ -478,71 +480,71 @@ xref
0000000003 00000 f
0000000004 00000 f
0000000008 00000 f
0000008760 00000 n
0000008768 00000 n
0000004816 00000 n
0000005466 00000 n
0000005474 00000 n
0000000000 00000 f
0000006058 00000 n
0000006193 00000 n
0000006300 00000 n
0000006403 00000 n
0000006501 00000 n
0000006610 00000 n
0000006717 00000 n
0000006832 00000 n
0000006923 00000 n
0000007030 00000 n
0000007145 00000 n
0000007243 00000 n
0000007352 00000 n
0000007459 00000 n
0000007574 00000 n
0000007672 00000 n
0000007781 00000 n
0000007889 00000 n
0000006066 00000 n
0000006201 00000 n
0000006308 00000 n
0000006411 00000 n
0000006509 00000 n
0000006618 00000 n
0000006725 00000 n
0000006840 00000 n
0000006931 00000 n
0000007038 00000 n
0000007153 00000 n
0000007251 00000 n
0000007360 00000 n
0000007467 00000 n
0000007582 00000 n
0000007680 00000 n
0000007789 00000 n
0000007897 00000 n
0000002309 00000 n
0000002167 00000 n
0000000020 00000 n
0000017484 00000 n
0000013412 00000 n
0000017830 00000 n
0000017492 00000 n
0000013420 00000 n
0000017838 00000 n
0000002641 00000 n
0000002499 00000 n
0000002408 00000 n
0000008005 00000 n
0000008013 00000 n
0000003139 00000 n
0000002997 00000 n
0000002698 00000 n
0000003459 00000 n
0000003317 00000 n
0000003226 00000 n
0000008149 00000 n
0000008256 00000 n
0000008400 00000 n
0000008544 00000 n
0000008654 00000 n
0000008157 00000 n
0000008264 00000 n
0000008408 00000 n
0000008552 00000 n
0000008662 00000 n
0000004634 00000 n
0000004492 00000 n
0000003516 00000 n
0000004780 00000 n
0000005013 00000 n
0000005429 00000 n
0000008861 00000 n
0000012171 00000 n
0000009079 00000 n
0000009154 00000 n
0000012407 00000 n
0000013566 00000 n
0000013766 00000 n
0000016308 00000 n
0000013950 00000 n
0000014024 00000 n
0000016541 00000 n
0000017634 00000 n
0000017920 00000 n
0000018022 00000 n
0000005021 00000 n
0000005437 00000 n
0000008869 00000 n
0000012179 00000 n
0000009087 00000 n
0000009162 00000 n
0000012415 00000 n
0000013574 00000 n
0000013774 00000 n
0000016316 00000 n
0000013958 00000 n
0000014032 00000 n
0000016549 00000 n
0000017642 00000 n
0000017928 00000 n
0000018030 00000 n
trailer
<< /Size 68 /Root 66 0 R /Info 67 0 R /ID [ <2350CAD05F8A7AF0AA4058486855344F> <2350CAD05F8A7AF0AA4058486855344F> ] >>
startxref
18156
18164
%%EOF

0 comments on commit 76d0995

Please sign in to comment.