#8255: update SageTeX spkg to 2.2.3.p0 to fix spkg-check script
--------------------------+-------------------------------------------------
   Reporter:  ddrake      |       Owner:  tbd       
       Type:  defect      |      Status:  needs_work
   Priority:  major       |   Milestone:  sage-4.3.4
  Component:  spkg-check  |    Keywords:            
     Author:  Dan Drake   |    Upstream:  N/A       
   Reviewer:              |      Merged:            
Work_issues:              |  
--------------------------+-------------------------------------------------
Changes (by jhpalmieri):

  * status:  needs_review => needs_work


Comment:

 spkg-check tests whether latex is present, and then it actually runs
 pdflatex.  I suppose that anyone who has latex will have pdflatex also,
 but I think this should be fixed anyway: if latex is not found, sage-check
 exits gracefully, but in the unlikely event that latex is found but
 pdflatex isn't, then I get
 {{{
 Running the test suite.
 ./spkg-check: line 10: pdflatex: command not found
 Error typesetting example.tex! To fully test SageTeX, make sure
 LaTeX can find sagetex.sty, and that TikZ (version 2.00
 or newer), tkz-berge.sty and tkz-graph.sty is installed.
 *************************************
 Error testing package ** sagetex-2.2.3.p0 **
 *************************************
 }}}
 Can we run latex instead of pdflatex?  Otherwise, change "which latex" to
 "which pdflatex", and maybe change the error message from "LaTeX isn't
 installed" to "PDFLaTeX isn't installed"?

 Also, something is wrong with the shell script on Solaris but I don't know
 what.  If I log into t2.math.washington.edu and try installing with
 SAGE_CHECK equal to 1, then I get the bad error message even though latex
 is not found.  Maybe this is because on many systems, 'which latex'
 produces nothing if latex isn't found, but on t2, 'which latex' does this:

 $ which latex
 no latex in /usr/local/gcc-4.4.1-sun-linker/bin /usr/local/bin2 /usr/bin
 /usr/ccs/bin /usr/local/bin /usr/sfw/bin /bin /usr/sbin

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8255#comment:9>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to