#16444: ipython notebook
-------------------------------------+-------------------------------------
       Reporter:  elixyre            |        Owner:
           Type:  task               |       Status:  new
       Priority:  major              |    Milestone:  sage-6.3
      Component:  notebook           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/elixyre/ticket/16444             |  2aba37ed7ac56db82d156c8e5aebac328ff88f5c
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by elixyre):

 The file in `.sage/ipython-x.xx/profile_**default**/startup/` is a ipython
 file (`toto.ipy`)...

 The complete file must be some thing like that ...
 {{{

 %load_ext sage
 sage.misc.latex.EMBEDDED_MODE = True

 from sage.misc.latex import latex
 latex.add_package_to_preamble_if_available("tikz")
 latex.add_to_mathjax_avoid_list("tikz")
 }}}

 (I don't know why but we need the 3 last lines... with my hack...)

--
Ticket URL: <http://trac.sagemath.org/ticket/16444#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.

Reply via email to