ebook-render-pdf

Convert PDFs into Chinese LaTeX knowledge notes with rendered PDFs.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/JOZKER/ebook-render-pdf --skill ebook-render-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ebook-render-pdf
Source: https://github.com/JOZKER/ebook-render-pdf/tree/main/ebook-render-pdf
Command: npx skills add https://github.com/JOZKER/ebook-render-pdf --skill ebook-render-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pymupdf, ocrmypdf, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Turn a PDF ebook into a professional Chinese knowledge-summary LaTeX note and rendered PDF. Use when Codex receives a book, paper-like ebook, textbook chapter, scanned PDF, or image-only PDF and must detect whether OCR is needed, preserve and reuse the book's figures instead of ignoring them, extract and reorganize the core knowledge points, and deliver a complete summary package with extracted assets and a compiled PDF. Use especially when the user wants key-point summaries, chapter takeaways, exam review notes, memorization-first notes, or a concise knowledge map derived from a PDF.

Core Features & Use Cases

  • Inspect PDFs to estimate text coverage and image density and decide if OCR is needed.
  • Preserve original visuals (figures, formulas, tables) and extract assets for a complete LaTeX notebook.
  • Reconstruct a structured LaTeX document with sections and knowledge boxes, and compile to a final PDF.
  • Support dual modes: knowledge-summary and exam-cram, and enable multi-agent workflows for large books.

Quick Start

Provide the PDF path and optional mode; the skill will generate a full LaTeX note package and a rendered PDF.

Frequently Asked Questions about ebook-render-pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a scanned PDF into structured LaTeX notes?

To convert a scanned PDF into structured LaTeX notes, you need an OCR-capable workflow that detects text coverage, applies OCR if necessary, and reconstructs the extracted knowledge points into a compilable .tex document.

Does this workflow preserve original figures and tables from research papers?

Yes, the PDF note generation process preserves original figures, formulas, and tables by extracting them as reusable assets, ensuring the final compiled LaTeX document maintains the source material's visual integrity.

Can I generate exam review notes from a textbook PDF?

Yes, you can generate exam review notes from a textbook PDF by utilizing the exam-cram mode, which reorganizes core knowledge points into concise, memorization-first summaries suitable for test preparation.

Do I need OCRMYPDF and PyMuPDF to process image-only PDFs?

Yes, extracting text from image-only PDFs requires OCRMYPDF, PyMuPDF, and PyPDF to inspect image density, apply optical character recognition, and extract assets for the final LaTeX document.

What is the best way to summarize a large ebook into a Chinese knowledge map?

The best way to summarize a large ebook into a Chinese knowledge map is using a multi-agent workflow that extracts key points, preserves provenance, and outputs a structured .tex file alongside a rendered PDF.

Why does my PDF to LaTeX conversion fail on multi-agent workflows?

PDF to LaTeX conversion may fail in multi-agent workflows if the OCR-capable workflow lacks proper LaTeX templates or if asset extraction tools like PyMuPDF cannot correctly parse the source document's image density.