- 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>
- 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>