#17874: TeXlive + required packages install script
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  vbraun                 |       Status:  needs_info
           Type:         |    Milestone:  sage-6.6
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:  misc   |    Reviewers:
       Keywords:         |  Work issues:
        Authors:         |       Commit:
  Volker Braun           |  a0540a9c78e66a754a77dc4438512e5d83922461
Report Upstream:  N/A    |     Stopgaps:
         Branch:         |
  u/vbraun/texlive       |
   Dependencies:         |
-------------------------+-------------------------------------------------
Changes (by strogdon):

 * status:  needs_review => needs_info


Comment:

 Unless I've missed something (and I could very well have), it seems that
 before the latex requirements of IPython nbconvert can be nailed down one
 needs to install mistune. From the ipython notebook (or from a Sage shell)
 -- File -> Download as -> {Python,HTML,reST,PDF} from the notebook menu
 gives similar results:

 {{{
 %%bash
 ls plots.ipynb
 ipython nbconvert  --to=latex 'plots.ipynb'
 }}}

 returns
 {{{
 plots.ipynb
 Traceback (most recent call last):
   File "/64bitdev/storage/sage-git_develop/sage/local/bin/ipython", line
 5, in <module>
     start_ipython()
   File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-
 packages/IPython/__init__.py", line 120, in start_ipython
     return launch_new_instance(argv=argv, **kwargs)

 <SNIP>

   File "/64bitdev/storage/sage-git_develop/sage/local/lib/python2.7/site-
 packages/IPython/nbconvert/filters/markdown.py", line 17, in <module>
     import mistune
 ImportError: No module named mistune
 }}}
 This was hinted at [http://trac.sagemath.org/ticket/17897#comment:9 here].
 On my gentoo box
 {{{
 ipython nbconvert  --to=latex 'plots.ipynb'
 }}}
 generates `plots.tex` and
 {{{
 ipython nbconvert  --to=pdf 'plots.ipynb'
 }}}
 generates `plots.pdf`, but I have mistune installed.

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