jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
206 stars 61 forks source link

Error when building pdf - Log file not found #1459

Open jonmatthis opened 2 months ago

jonmatthis commented 2 months ago

Building a PDF with the plain_latex template on a Mac

Header:

---
title: Title!
date: 2-2-3
exports: 
  - format: pdf
  - template: plain_latex
---

Command: myst build --pdf Error message:

[other logs]
🖨  Rendering PDF (default) to _build/temp/mystJARPx5/project-description_0.pdf
🖨  Rendering PDF (plain_latex) to _build/temp/mystRnTq3V/project-description_1.pdf
Error: ENOENT: no such file or directory, open '/Users/jon/github_repos/freemocap_organization/2024-nsf-pose/_build/temp/mystJARPx5/project-description_0.log'
Error: ENOENT: no such file or directory, open '/Users/jon/github_repos/freemocap_organization/2024-nsf-pose/_build/temp/mystRnTq3V/project-description_1.log'

Likely problem - Both of the temp files reference contain a document called ...project-description_0.shell.log but the code appears to be looking for a file named ...project-description_0.log

May be a mac thing? I'm pretty sure it built fine on my Windows PC, but I'm not sure.

mathieuboudreau commented 2 weeks ago

+1, can't build the PDF, and no log is found either