[sagenb] 171/179: call sage_mathjax_macros as a function

felix salfelder felix-guest at moszumanska.debian.org
Tue May 6 12:05:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository sagenb.

commit f07b6cdbb375d6302caafe73ad29ddaa2725daee
Author: Punarbasu Purkayastha <ppurka at gmail.com>
Date:   Sun Feb 2 06:38:41 2014 +0800

    call sage_mathjax_macros as a function
---
 sagenb/misc/misc.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sagenb/misc/misc.py b/sagenb/misc/misc.py
index c5a7a17..409441d 100644
--- a/sagenb/misc/misc.py
+++ b/sagenb/misc/misc.py
@@ -187,7 +187,8 @@ except ImportError:
 # TODO: Get macros from server and user settings.
 try:
     import sage.all
-    from sage.misc.latex_macros import sage_mathjax_macros as mathjax_macros
+    from sage.misc.latex_macros import sage_mathjax_macros
+    mathjax_macros = sage_mathjax_macros()
 except ImportError:
     mathjax_macros = [
         "ZZ : '{\\\\Bold{Z}}'",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list