Skip to content

Convert GIFs for PDF builds - #41

Merged
agentmess merged 1 commit into
mainfrom
agentmess-full-content-pdf-download
Sep 11, 2026
Merged

Convert GIFs for PDF builds#41
agentmess merged 1 commit into
mainfrom
agentmess-full-content-pdf-download

Conversation

@agentmess

Copy link
Copy Markdown
Member

The PDF build cannot pass animated GIF files directly to LaTeX, causing the deployment to fail on missing graphic dimensions. Enable Sphinx's ImageMagick converter so GIFs are rendered as static PNG first frames for the PDF while the HTML book retains the original animations.

The workflow image adds the required ImageMagick package, and the book configuration applies the converter to all unsupported images.

Fixes: #37

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 11, 2026 22:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues remain.

Pull request overview

Updates PDF builds to convert GIFs to static images while preserving animations in HTML.

Changes:

  • Enables Sphinx image conversion.
  • Adds ImageMagick to build dependencies.
File summaries
File Description
Notebooks/_config.yml Enables Sphinx image conversion.
apt.txt Installs ImageMagick for PDF generation.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@agentmess
agentmess merged commit b534eb8 into main Sep 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Full-content pdf download

2 participants