mystmd
mystmd copied to clipboard
myst build *.md --pdf doesn't work
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.
Thanks. Does each individual md file build correctly?
Hi. All off the md files build correctly.
Is LaTeX support installed in your environment? E.g. try brew install mactex on macOS?
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.
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.