[sagemath] 01/01: Add a message about JSmol not working to Jupyter notebooks.
Tobias Hansen
thansen at moszumanska.debian.org
Thu Dec 8 22:12:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository sagemath.
commit 759c953f3cbcb745c9317798cef8c1557a2a5413
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date: Thu Dec 8 22:12:31 2016 +0000
Add a message about JSmol not working to Jupyter notebooks.
---
debian/patches/debian-disable-jsmol.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/debian/patches/debian-disable-jsmol.patch b/debian/patches/debian-disable-jsmol.patch
index 1d7405d..b2b2c27 100644
--- a/debian/patches/debian-disable-jsmol.patch
+++ b/debian/patches/debian-disable-jsmol.patch
@@ -39,3 +39,15 @@ Forwarded: not-needed
instance._install_spec()
instance._symlink_resources()
+--- a/sage/src/sage/repl/display/jsmol_iframe.py
++++ b/sage/src/sage/repl/display/jsmol_iframe.py
+@@ -84,6 +84,9 @@
+ </head>
+ </body>
+ {iframe}
++<div>Interactive 3D plots do not work in the notebook because JSmol cannot currently be packaged for Debian. See the README.source of the jmol package for more details on this situation.</div>
++<div> </div>
++<div>Try the option viewer='tachyon'. Also, 3D plots with Jmol do work from the SageMath command-line interface.</div>
+ </body>
+ </html>
+ """.format(iframe=IFRAME_TEMPLATE)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git
More information about the debian-science-commits
mailing list