What problem does it solve?
Generated LaTeX manuscripts often contain unsafe Unicode punctuation and invented numeric forecasts that would fail publication-quality gates. This Skill deterministically repairs those issues before quality gates run, without altering legitimate content.
Core Features & Use Cases
- Punctuation Normalization: Converts U+2011, U+2013, and isolated U+2014 characters to LaTeX-safe ASCII equivalents while preserving paired Chinese em dashes.
- Forecast Magnitude Neutralization: When EVIDENCE_STATUS is not_supplied, replaces concrete predicted result numbers in results-facing sections with TBD or 待实验确定 placeholders, while preserving declared thresholds backed by the user request.
- Redundant Input Removal: Deletes generated figure/table placeholder template inputs only when the manuscript already inlines the corresponding environment.
- Use Case: A meta-paper-write pipeline produces a manuscript package; this sanitizer runs as a pre-gate step, atomically rewriting the referenced MANUSCRIPT_PATH and returning a compact manifest with repair counts.
Quick Start
Run the paper-latex-sanitizer on the generated manuscript package to normalize punctuation and replace unsupported forecast numbers before the publication quality gate.