diff --git a/keras3-cpu/Dockerfile b/keras3-cpu/Dockerfile
index 868e865ce9839838489e92a8c72661754b8ee62f..1afbc92d10544fba212f5fee10eeb84ec17baba3 100644
--- a/keras3-cpu/Dockerfile
+++ b/keras3-cpu/Dockerfile
@@ -184,6 +184,11 @@ RUN chown -R ${NB_USER} "/home/${NB_USER}/.jupyter" && \
     fix-permissions "/etc/skel"
 # remember to copy back in post start hook
 
+# workaround for PDF export until https://github.com/jupyter/nbconvert/pull/2196 arrives
+RUN if ! grep -q "pandocbounded" /opt/conda/share/jupyter/nbconvert/templates/latex/base.tex.j2; then \
+        echo "Patching nbconvert latex template." && \
+        sed -i '168i\    \\newcommand{\\pandocbounded}[1]{#1}' /opt/conda/share/jupyter/nbconvert/templates/latex/base.tex.j2 ; \
+    fi
 
 # override maintainer label from Jupyter docker stacks
 LABEL maintainer="Christof Kaufmann <christof.kaufmann@hs-bochum.de>"