#19515: Jupyter and tikz picture
-------------------------------------+-------------------------------------
       Reporter:  elixyre            |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  notebook           |   Resolution:
       Keywords:  notebook, tikz,    |    Merged in:
  ipython, jupyter                   |    Reviewers:
        Authors:  Jean-Baptiste      |  Work issues:
  Priez                              |       Commit:
Report Upstream:  N/A                |  c51513cab4a1d8589a3ae538e0bb4b288cf2df7e
         Branch:  u/elixyre/jupyter  |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by elixyre):

 Hello Daniel,

 I don't if it is significant but I run
 {{{
 sage -ipython notebook
 }}}
 and
 {{{
 sage -n jupyter
 }}}
 fails on my mac os laptop with sage 6.9.

 I think the problem is that tikz is not loaded by default. I use the
 following lines in my config file `00-init.ipy` :

 {{{
 from sage.misc.latex import latex
 latex.add_package_to_preamble_if_available("tikz")
 latex.add_to_mathjax_avoid_list("tikz")
 sage.misc.latex.EMBEDDED_MODE = True
 }}}

 This helps?

--
Ticket URL: <http://trac.sagemath.org/ticket/19515#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to