mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

🗺 Add `tectonic` support

Open markusritschel opened this issue 1 year ago • 6 comments
trafficstars

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.

markusritschel avatar Apr 11 '24 13:04 markusritschel

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:

welcome[bot] avatar Apr 11 '24 13:04 welcome[bot]

Just added a paragraph for the documentation.

markusritschel avatar Apr 11 '24 14:04 markusritschel

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 😉).

markusritschel avatar Apr 12 '24 11:04 markusritschel

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.

rowanc1 avatar Apr 15 '24 17:04 rowanc1