Release v0.13: Typography V3 (Safe mode) & Endnote Extraction Fix

This commit is contained in:
谭凯
2026-02-01 11:51:36 +08:00
parent 8e58415173
commit 40491e6386
95 changed files with 8493 additions and 11 deletions
+11
View File
@@ -97,6 +97,17 @@ If you see `AuthenticationError` despite having the correct `base_url` in config
## Change Log
### [2026-02-01] v0.13: Typography & Robustness
* **Feature**: **Bilingual Typography V3 (Safe Mode)**.
* Resolved layout issues: **Drop Cap Overlap** (via `clear: both`) and **Double Indentation**.
* Preserved original alignment (e.g. centered titles) by relaxing default justification.
* Implemented heuristic CSS class injection (`translation-no-indent`) for Drop Cap paragraphs.
* **Fix**: **Endnote/Link Extraction**.
* Fixed bug where citations like `[28]` were stripped because they were misidentified as translatable text.
* Update `FormatExtractor` to treat `[N]` patterns as structural anchors.
* Enhanced **Integrity Check** to "hydrate" placeholders during validation, preventing false-positive fallbacks to plain text.
* **Effect**: Links and formatting now correctly preserved in text containing citations.
### [2026-02-01] Pipeline Separation & Formatting
* **Architecture**: Decoupled "Restoration" from "Assembly" into a 4-step pipeline.
* **New Step 3**: `03_restore_format.py` handles formatting, spacing, and repair. Saves to `translated_html`.