#5626: when %latex goes bad in the notebook, it doesn't display the debug/error
log anymore
------------------------------------+---------------------------------------
   Reporter:  was                   |       Owner:  boothby   
       Type:  defect                |      Status:  new       
   Priority:  major                 |   Milestone:  sage-4.3.1
  Component:  notebook              |    Keywords:            
Work_issues:  Close/Mark as fixed?  |      Author:            
   Upstream:  N/A                   |    Reviewer:            
     Merged:                        |  
------------------------------------+---------------------------------------
Changes (by acleone):

  * work_issues:  => Close/Mark as fixed?
  * upstream:  => N/A


Comment:

 This seems to be fixed for me, can someone else test this?

 To test - rename a necessary .sty file:
 {{{
 $ cd /usr/share/texmf-texlive/tex/latex/amsmath
 $ sudo mv amsmath.sty amsmath.sty.BLAH
 }}}

 Then trying to execute:
 {{{
 %latex
 Try this: $$x^2=-1$$.
 }}}

 Gives
 {{{
 An error occurred.
 This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex
 2009.12.24)  18 JAN 2010 18:08
 entering extended mode
  %&-line parsing enabled.
 **\nonstopmode \input{sage31.tex}
 (./sage31.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
 Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
 (/usr/share/texmf-texlive/tex/latex/base/size10.clo
 File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
 )
 \...@part=\count79
 \...@section=\count80
 \...@subsection=\count81
 \...@subsubsection=\count82
 \...@paragraph=\count83
 \...@subparagraph=\count84
 \...@figure=\count85
 \...@table=\count86
 \abovecaptionskip=\skip41
 \belowcaptionskip=\skip42
 \bibindent=\dimen102
 )

 ! LaTeX Error: File `amsmath.sty' not found.

 Type X to quit or <RETURN> to proceed,
 or enter new name. (Default extension: sty)

 Enter file name:
 ! Emergency stop.
 <read *>

 l.2 \usepackage
                {amssymb}^^M
 *** (cannot \read from terminal in nonstop modes)


 Here is how much of TeX's memory you used:
  200 strings out of 95087
  2124 string characters out of 1183277
  46102 words of memory out of 1500000
  3462 multiletter control sequences out of 10000+50000
  3640 words of font info for 14 fonts, out of 1200000 for 2000
  28 hyphenation exceptions out of 8191
  24i,0n,17p,186b,36s stack positions out of
 5000i,500n,6000p,200000b,5000s
 No pages of output.

 None
 }}}

 Don't forget to rename amsmath.sty back after testing.

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