#10146: update SageTeX spkg to version 2.3
---------------------------+------------------------------------------------
   Reporter:  ddrake       |       Owner:  ddrake      
       Type:  enhancement  |      Status:  needs_review
   Priority:  minor        |   Milestone:  sage-4.6.2  
  Component:  packages     |    Keywords:              
     Author:  Dan Drake    |    Upstream:  N/A         
   Reviewer:               |      Merged:              
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by novoselt):

 Some more issues:

  * If I have a `sagecommandline` block and then I insert `$\sage{...}$`
 before it, I cannot compile the file. As I understand, because of the
 reference shift LaTeX tries to substitute the output of sagecommandline
 into inline sage and that does not work since the latter is in the math
 mode. But then rerunning Sage does not help since the source code for Sage
 does not get updated without a successful LaTeX run. So pretty much the
 only option seems to delete all (or some) autogenerated files, which is a
 bit annoying.

  * If I put `\sage{...}` inside, say, `\begin{gather} ... \end{gather}`,
 then I get warnings about multiple definition of sage-related labels.
 Looking at `*.sagetex.py` file I suppose that the issue is in lines
 {{{
 try:
  _st_.inline(_sage_const_28 , latex(1+1))
 except:
  _st_.goboom(_sage_const_961 )
 try:
  _st_.inline(_sage_const_28 , latex(1+1))
 except:
  _st_.goboom(_sage_const_961 )
 }}}
  i.e. they are exactly the same. I suppose that's just how LaTeX works, it
 processes the input of complicated math environments twice, but it would
 be nice if it was somehow taken into account in SageTeX. "Just ignoring
 these warnings" is not a good option, because I see only the top warnings
 automatically in my editor and if that space is "occupied" I'll have to
 scroll manually to see if my new lines have introduced any warnings that I
 would like to fix. It is much more pleasant when there are usually no
 warnings at all and when they do appear I notice it right away.

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