#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 dkrenn):
Replying to [comment:3 elixyre]:
> 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.
Makes not difference for me
> I think the problem is that tikz is not loaded by default. I use the
following lines in my config file `00-init.ipy` :
Maybe I have `00-init.ipy` in some wrong place (didn't use it up to now).
Where should this file be located?
> {{{
> 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?
I've put this directly into a notebook cell, but this didn't change
anything; it still doesn't work.
--
Ticket URL: <http://trac.sagemath.org/ticket/19515#comment:4>
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.