#17874: TeXlive + required packages install script
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  vbraun                 |       Status:  needs_work
           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_work


Comment:

 After installing mistune and looking at what's dumped in a terminal during
 the install of latex packages I see
 {{{
 Logfile: /64bitdev/storage/sage-git_develop/sage/local/share/texlive
 /install-tl.log
 package extension not present in package repository.
 tlmgr: package repository
 http://ftp.math.purdue.edu/mirrors/ctan.org/systems/texlive/tlnet
 }}}
 So extension is not a latex package. From a Sage shell
 {{{
 sage-ipython nbconvert  --to=latex 'plots.ipynb'
 }}}
 does generate `plots.tex`. But
 {{{
 sage-ipython nbconvert  --to=pdf 'plots.ipynb'
 }}}
 fails initially with
 {{{
 ! LaTeX Error: File `xkeyval.sty' not found.
 }}}
 The usepackage(s) needed to pdflatex `plots.tex` are
 {{{
     \usepackage{graphicx} % Used to insert images
     \usepackage{adjustbox} % Used to constrain images to a maximum size
     \usepackage{color} % Allow colors to be defined
     \usepackage{enumerate} % Needed for markdown enumerations to work
     \usepackage{geometry} % Used to adjust the document margins
     \usepackage{amsmath} % Equations
     \usepackage{amssymb} % Equations
     \usepackage{eurosym} % defines \euro
     \usepackage[mathletters]{ucs} % Extended unicode (utf-8) support
     \usepackage[utf8x]{inputenc} % Allow utf-8 characters in the tex
 document
     \usepackage{fancyvrb} % verbatim replacement that allows latex
     \usepackage{grffile} % extends the file name processing of package
 graphics
                          % to support a larger range
     % The hyperref package gives us a pdf with properly built
     % internal navigation ('pdf bookmarks' for the table of contents,
     % internal cross-reference links, web links for URLs, etc.)
     \usepackage{hyperref}
     \usepackage{longtable} % longtable support required by pandoc >1.10
     \usepackage{booktabs}  % table support for pandoc > 1.12.2
 }}}
 see (local/lib/python2.7/site-
 packages/IPython/nbconvert/templates/latex/base.tplx).

 I'm not sure if `xkeyval` is sufficient. I'll investigate. It may take me
 a bit, unless you have a quicker resolution.

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