What problem does it solve?
Reading or sharing a PDF as a clean web page is hard: naive converters lose images, break tables, scramble reading order, or produce multi-file outputs with missing assets. This Skill rebuilds a PDF into one portable, styled HTML file — and can optionally translate it into another language while keeping every figure intact.
Core Features & Use Cases
- Structured extraction and rebuild: Uses PyMuPDF to extract text blocks with font sizes and images, then infers heading levels from font size and inlines content images as compressed base64 for a single portable file.
- Optional faithful translation: Runs a parallel Dynamic Workflow that translates page units, captions data charts, and reconciles terminology with a fixed glossary — while copying numbers and proper nouns verbatim.
- Mandatory visual verification: Renders the output with headless Chrome and slices it into readable PNG segments so layout problems (tofu fonts, clipped tables) are caught before delivery.
- Use Case: A user asks to "turn this PDF report into a Chinese web page" — the Skill extracts the structure, translates the text, keeps all charts in place, and delivers one double-clickable HTML file.
Quick Start
Convert the attached PDF report into a single readable HTML file, and translate it into Chinese while keeping all the charts and images.