Skip to content

fix: accept Pandoc image alt metadata in LaTeX - #2307

Open
aryansk wants to merge 2 commits into
jupyter:mainfrom
aryansk:codex/nbconvert-2275-86b69d7c
Open

fix: accept Pandoc image alt metadata in LaTeX#2307
aryansk wants to merge 2 commits into
jupyter:mainfrom
aryansk:codex/nbconvert-2275-86b69d7c

Conversation

@aryansk

@aryansk aryansk commented Aug 16, 2026

Copy link
Copy Markdown

Closes #2275

Summary

  • Define a no-op Gin alt key so Pandoc-generated alt={...} image metadata is accepted by graphicx/adjustbox instead of failing PDF compilation. Adds a template regression check; the shim was also sanity-compiled with pdflatex.
  • keep the change narrowly scoped to the reported behavior
  • add focused regression coverage

Validation

  • checked the reported failure against current main
  • patch is based on current main
  • full repository tests should run in CI

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.

export to PDF with images in notebooks having alternate text

1 participant