mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 12:32:52 +00:00
The renderer (hayro-syntax (44)) counted the sections its chain reached, and a hybrid section's /XRefStm stream (ISO 32000-2 §7.5.8.4) counted as one, so a hybrid update without /Prev was rebuilt by cos but not by the renderer. It now asks what cos asks: whether the newest section names an earlier one through /Prev. The /XRefStm stream belongs to the same update. Tests: a synthetic hybrid fixture (pdfcraft-testkit), with and without /Prev, in cos and render. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA