[Python-modules-team] Bug#944344: /usr/lib/python3/dist-packages/nbconvert/templates/latex/base.tplx: Please remove package 'grffile' from nbconvert/templates/latex/base - it breaks with XeLaTeX
Christian Holm Christensen
cholmcc at gmail.com
Fri Nov 8 09:47:19 GMT 2019
Package: python3-nbconvert
Version: 5.6.0-1
Severity: important
File: /usr/lib/python3/dist-packages/nbconvert/templates/latex/base.tplx
Dear Maintainer,
Please consider to remove the lines
\usepackage{grffile} % extends the file name processing of package
graphics
% to support a larger range
\makeatletter % fix for grffile with XeLaTeX
\def\Gread@@xetex#1{%
\IfFileExists{"\Gin at base".bb}%
{\Gread at eps{\Gin at base.bb}}%
{\Gread@@xetex at aux#1}%
}
\makeatother
from
/usr/lib/python3/dist-packages/nbconvert/templates/latex/base.tplx
Even though upstream tried to fix it, grffile is broken (latest version
on github https://github.com/ho-tex/grffile is a stub). The result is,
that notebooks exported to LaTeX or PDF will show no images unless
one tells, e.g., matplotlib explicitly to generate PDFs.
Note, XeLaTeX is the default LaTeX backend for nbconvert because of
unicode encoded output of nbconvert.
See more on the bug report I filed upstream:
https://github.com/jupyter/nbconvert/issues/1140
Thanks.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.3.0-1-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-nbconvert depends on:
ii python3 3.7.5-1
ii python3-bleach 3.1.0-1
ii python3-defusedxml 0.6.0-1
ii python3-entrypoints 0.3-1
ii python3-ipython 5.8.0-1
ii python3-jinja2 2.10.1-1
ii python3-jupyter-client 5.3.3-1
ii python3-jupyter-core 4.6.0-1
ii python3-mistune 0.8.4-1
ii python3-nbformat 4.4.0-2
ii python3-pandocfilters 1.4.2-1
ii python3-pygments 2.3.1+dfsg-1
ii python3-testpath 0.4.2+dfsg-1
ii python3-traitlets 4.3.3-1
Versions of packages python3-nbconvert recommends:
ii pandoc 2.5-2+b1
Versions of packages python3-nbconvert suggests:
pn python-nbconvert-doc <none>
-- no debconf information
--
Christian Holm Christensen -------------------------------------------------
Sankt Hans Gade 23, 4, DK-2200 Copenhagen
http://cern.ch/cholm, +4524618591
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20191108/de707beb/attachment.html>
More information about the Python-modules-team
mailing list