Matthew Seal
Matthew Seal
from the nested logs @AnyByte It looks like MikTex is hard crashing: ``` Output written on B.2602gf (2 characters, 392 bytes). Transcript written on B.log. METAFONT failed for some reason...
The xelatex conversion is rather particular on what it needs installed / passed to work. It's unlikely the length of the notebook and more some feature of the later sections...
If someone wanted to open a PR to catch and translate these control character errors to something renderable before they crash xelatex I'd be happy to review the PR. I'm...
It's likely specific to some content in your markdown then. Can you post the markdown that caused the issue? I am guessing there's yet-another unescaped character that the LaTeX conversion...
Have you tried with 6.0.7? There's a lot of fixes in the 6.0 release though latex is still quite picky about some things that nbconvert doesn't catch well.
Hmm I'm unlikely to be able to help because I have an older ubuntu 18 and a new ubuntu 20 machine as well. Though maybe setting the ulimit lower and...
I am guessing a ulimit of 256, 512, or 1024 is more accurate for a given Mac. From reading up the default and max ulimits have shifted around in this...
Likely related to the comments near the end of this thread: https://github.com/jupyter/jupyter_client/pull/548
I think you could do this in papermill by extending https://github.com/nteract/papermill/blob/master/papermill/engines.py#L231-L285 and calling a post-execution hook. Course you'd need to run code in the kernel to support it properly. Maybe...
I think papermill is a more established place for adding execution hooks in managed execution patterns, yeah. Keeping nbclient simple and low level makes it easier to understand and less...