2 Commits
Author SHA1 Message Date
adminandClaude Opus 4.8 951059d75d feat: page-by-page compare for multi-page docs + move mode dropdown right
- PDF and DjVu extractors separate pages with \f; compare() splits each document
  into pages and renders a per-page diff. The existing toolbar page nav (< 1 / N >)
  drives it through the diff controller's new setPage, so multi-page PDFs and DjVu
  compare page-by-page. Single-page formats (docx/doc/rtf/odf/txt/...) are
  unchanged — they render as a continuous flow with no page breaks to split on.
- Move the compare view-mode dropdown from the middle to the right, just left of
  the language selector.
- Add a 2-page sample PDF pair (samples/manual-v{1,2}.pdf) for testing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 23:36:39 +02:00
adminandClaude Opus 4.8 c80ed0e59a test: add a sample compare pair + widen the Compare picker accept list
- samples/report-v1.md and report-v2.md: a slightly-modified pair that exercises
  add / remove / modify rows (incl. word-level changes) for testing the compare
  view locally.
- index.html: the demo Compare picker now also accepts PDF / DjVu / e-book
  formats (they became comparable), not just the text/Office formats.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 22:37:24 +02:00