#11311: engine="pdflatex" in view is ignored
----------------------------------------------+-----------------------------
    Reporter:  saliola                        |         Owner:  jason, was      
                                  
        Type:  defect                         |        Status:  new             
                                  
    Priority:  major                          |     Milestone:  sage-4.8        
                                  
   Component:  graphics                       |    Resolution:                  
                                  
    Keywords:  latex, pdflatex, days30        |   Work_issues:                  
                                  
    Upstream:  N/A                            |      Reviewer:  Karl-Dieter 
Crisman, Franco Saliola, John Palmieri
      Author:  Franco Saliola, John Palmieri  |        Merged:                  
                                  
Dependencies:                                 |  
----------------------------------------------+-----------------------------

Comment(by jdemeyer):

 Replying to [comment:22 kcrisman]:
 > What do you think?
 I think we should try to find a solution which leaves all doctests as they
 are (including the new ones on this ticket): change the code, not the
 tests.

 Maybe the code should be more like:
 {{{
 if engine is None:
     engine = "latex"
 if (engine=="latex" and not have_latex()) or (engine=="pdflatex" and not
 have_pdflatex()) or (engine=="xelatex" and not have_xelatex):
     raise RuntimeError,...
 }}}

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