Files
epub_bilingual_translator/CHANGELOG.md
T

58 lines
3.5 KiB
Markdown

## 2026-10-08 — uniform Chinese Part ordinals and full-book mode
- Reset publisher digit-only enlargement and color on translated Part numbers so “第四部” displays uniformly.
- Add `--complete-book` to include notes, bibliography, index, copyright and non-spine text documents.
- Add explicit configuration/credential file options and a Zenmux Sonnet 5.5 configuration without credentials.
- Checkpoint whole-book terminology scans and record conflicting model proposals while retaining established translations.
- Bind number-only Part headings such as House of Huawei's “Part I” and normalize “第一部分” to “第一部”.
- Keep different entities with shared short aliases (Sun, Fuji, Noda) separate and persistently exclude ambiguous aliases from automatic terminology constraints.
- Match single Latin named tokens with case sensitivity (WHO/who, Jobs/jobs, Arm/arm) and version translation fingerprints when matching policy changes.
## 2026-10-08 — clickable Part navigation
- Keep parent Part links directly under NAV list items so Calibre resolves their destinations.
- Repair generated wrappers in older preprocessing caches without retranslating.
- Add Calibre TOC integration checks for Chinese and bilingual output.
## 2026-10-08 — Chinese typography and shared navigation titles
- Indent Chinese body paragraphs by two em, including chapter openings and converted div prose; preserve heading/caption/note layouts.
- Bind NAV, NCX and visible contents links to shared chapter/part translations while preserving anchors, hierarchy and resource paths.
- Recognize adjacent number/title/subtitle blocks and normalize Chinese chapter/part numbers without merging their markup.
- Include heading context in translation cache fingerprints and update old manifest contexts during reconciliation.
- Add navigation regression tests and record the scanned PDF/OCR to EPUB roadmap.
## 2026-10-08 — translation and QA improvements
- Replace regex tag extraction with balanced DOM placeholders and protect literal φ.
- Fail closed on invalid translations; selectively retry and checkpoint validated chunks.
- Add persisted whole-book terminology, alias exclusions, conflict reports and resume fingerprints.
- Repair malformed HTML and extract disjoint mixed/list/table units with stable anchors.
- Preserve the original EPUB package, stylesheet links, navigation and resources.
- Add structural audits, Calibre visual evidence and offline agent-manifest QA scripts.
# Changelog
## v0.13 (2026-02-01) - Typography & Extraction Fixes
### New Features
- **Typography V3 (Safe Mode)**: Implemented conservative CSS fixes for Drop Caps.
- Resolves overlap between Drop Caps and Chinese text using `clear: both`.
- Fixes "Double Indentation" on Drop Cap paragraphs.
- Preserves original alignment (e.g. centered titles) by relaxing aggressive resets.
- Intelligent `no-indent` class assignment based on specific keywords (`drop`, `no-indent`).
### Bug Fixes
- **Endnote Extraction**: Fixed a critical bug where citations like `[28]` caused Integrity Check failures.
- **Extraction Logic**: Regex updated to treat `[N]` patterns as structural elements, preserving links.
- **Integrity Check**: Added "Placeholder Hydration" to correctly validate content when placeholders encapsulate visible text.
- **Result**: Prevents fallback to plain text, ensuring links and italics are preserved in complex paragraphs.
### Pipeline
- **Preprocessing**: `FormatExtractor` now more robust against mixed content.
---
## v0.12 (Previous)
- Architecture Refactor complete.