mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

myst build *.md --pdf doesn't work

Open VRConservation opened this issue 2 months ago • 5 comments

Description

When I run myst build *.md --pdf it no longer works. This was working several months ago.

Error

Error: ENOENT: no such file or directory, open ~_build\temp\mystTJXTW4*.log

Efforts to solve

I've tried myst clean, restarting and deleting old pdfs, but it doesn't build or the pdfs are corrupted.

VRConservation avatar Sep 03 '25 14:09 VRConservation

Thanks. Does each individual md file build correctly?

rowanc1 avatar Sep 03 '25 17:09 rowanc1

Hi. All off the md files build correctly.

VRConservation avatar Sep 04 '25 13:09 VRConservation

Is LaTeX support installed in your environment? E.g. try brew install mactex on macOS?

dainiusjocas avatar Sep 06 '25 12:09 dainiusjocas

I installed LaTeX, but it didn't help. Sometimes this stuff doesn't work well in windows. I'll try to see if building in a Linux environment works.

VRConservation avatar Sep 08 '25 16:09 VRConservation

I get a similar error, building on macOS:

Error: ENOENT: no such file or directory, open '/Users/dstansby/software/heftie/scientific-report/_build/temp/mystXNV66F/heftie-article.log'

If I look in the folder in the error message, there is no file called "heftie-article.log", but there is a file called "heftie-article.shell.log" that contains an error message (/bin/sh: latexmk: command not found). So I'm guessing that mystmd is trying to report the error in that file, but it's trying to open the wrong file.

dstansby avatar Oct 30 '25 20:10 dstansby