Skip to content
Snippets Groups Projects
Commit d7f2f7f0 authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

keras3-cpu: Fix broken PDF export of notebooks

To export a Jupyter Notebook as PDF from Jupyter Lab or VS Code
nbconvert is used. nbconvert calls pandoc to generate LaTeX source and
compile it as PDF. nbconvert uses a custom LaTeX template, which is not
compatible with pandoc >= 3.2.1, currently. This commit is a workaround
to make it compatible. Revert this commit as soon as
https://github.com/jupyter/nbconvert/pull/2196 is available in the base
docker image. However, the workaround should not do any harm, since it
checks whether the patch is required before modifying the template.
parent 50ceb533
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment