mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

PDF export seems broken TypeError: _a7.forEach and mdast

Open mfouesneau opened this issue 2 months ago • 0 comments

I'm unsure what is happening; it seems there is an issue with the PDF export (only).

  • myst v1.6.1
  • python 3.13

Description

I have some notebooks that I would like to export as PDFs. The HTML export works fine.

 myst build --execute --pdf
📬 Performing exports:
   review.ipynb -> _build/exports/index.pdf
⛔️ review.ipynb Error reading file: TypeError: _a7.forEach is not a function
⛔️ review.ipynb Expected mdast to be processed
⛔️ review.ipynb Expected mdast to be processed
Error: Could not load file information for review.ipynb

I assume that the TypeError is the main issue, but I have no idea what is going on.

Note: --pdf, --tex, --typst generate the same error

mfouesneau avatar Sep 26 '25 08:09 mfouesneau