mystmd
mystmd copied to clipboard
🗺 Add `tectonic` support
This PR includes Tectonic as a LaTeX build engine instead of latexmk.
However, I let latexmk in the code as a fallback option.
The warning in packages/myst-cli/src/build/pdf/create.ts is extended with an availability check for tectonic.
See also the discussion here.
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.
Welcome to the EBP community! :tada:
Just added a paragraph for the documentation.
Hi @fwkoch, Tectonic should take care of it automatically. It usually figures out by itself how often it needs to run the build process. (One of its conveniences 😉).
Update: I have taken a first look at this locally and am working through some of the error states and logging, which need to change a bit if tectonic does not succeed. I will continue to chip away at this during the week.