You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nbconvert requires a LaTeX engine to convert to pdf. We need to figure out the best way to install this in our CI pipeline so we can test the pdf export format in our unit tests.
Some strategies and notes about them:
Install standard TeX distributions per operating system (TeX Live, MacTeX, MikTeX).
Will require different conditional pipeline steps, which adds complexity to the pipeline. Example of install scripts from LightGBM: ubuntu, macos, windows 1, 2, 3
Out of box: does not work. nbconvert uses xelatex but this installation only has pdflatex.
Hack it by symlinking xelatex to pdflatex
Set nbconvert configuration to use pdflatex instead of xelatex
Install tectonic, a different TeX distribution that's available cross-platform from conda-forge
Out of box: does not work. This gives a CLI program named tectonic
Hack it by symlinking xelatex to tectonic: Does not work. nbconvert passes a --quiet flag that tectonic does not support.
Set nbconvert configuration to use tectonic instead of xelatex (and with appropriate CLI flags)
Install tinytex. Has install scripts for different OSes. Will need different conditional pipeline steps, which adds complexity to the pipeline, but scripts hopefully work out of the box.
The text was updated successfully, but these errors were encountered:
nbconvert
requires a LaTeX engine to convert topdf
. We need to figure out the best way to install this in our CI pipeline so we can test thepdf
export format in our unit tests.Some strategies and notes about them:
texlive-core
from conda-forge.nbconvert
usesxelatex
but this installation only haspdflatex
.xelatex
topdflatex
nbconvert
configuration to usepdflatex
instead ofxelatex
tectonic
, a different TeX distribution that's available cross-platform from conda-forgetectonic
xelatex
totectonic
: Does not work.nbconvert
passes a--quiet
flag thattectonic
does not support.nbconvert
configuration to usetectonic
instead ofxelatex
(and with appropriate CLI flags)tinytex
. Has install scripts for different OSes. Will need different conditional pipeline steps, which adds complexity to the pipeline, but scripts hopefully work out of the box.The text was updated successfully, but these errors were encountered: