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

Merge branch 'development' into 'master'

keras3-cpu: Fix broken PDF export of notebooks

Closes #27

See merge request !40
parents 26ea44b6 d7f2f7f0
No related branches found
No related tags found
1 merge request!40keras3-cpu: Fix broken PDF export of notebooks
...@@ -184,6 +184,11 @@ RUN chown -R ${NB_USER} "/home/${NB_USER}/.jupyter" && \ ...@@ -184,6 +184,11 @@ RUN chown -R ${NB_USER} "/home/${NB_USER}/.jupyter" && \
fix-permissions "/etc/skel" fix-permissions "/etc/skel"
# remember to copy back in post start hook # 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 # override maintainer label from Jupyter docker stacks
LABEL maintainer="Christof Kaufmann <christof.kaufmann@hs-bochum.de>" LABEL maintainer="Christof Kaufmann <christof.kaufmann@hs-bochum.de>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment