I am using sage 7.6.  Recently installed GAP packages. The following
input produces pdflatex error.
R=PolynomialRing(RR,'x')
points=[(0,1),(1,-3),(2,33),(3,589)]
f=R.lagrange_polynomial(points)
produces the following error message.
**********************

ARNING: Output truncated!  

full_output.txt <http://localhost:8080/home/admin/3/cells/9/full_output.txt>

An error occurred.
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded 
format=pdflatex 2017.6.11)  13 SEP 2017 10:22
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**\nonstopmode \input{sage48.tex}
(./sage48.tex (/opt/texlive/2017/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/opt/texlive/2017/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/opt/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2016/11/05 v2.16a AMS math features
\@mathmargin=\skip43

For additional information on amsmath, use the `?' option.
(/opt/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01 AMS text

(/opt/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks14
\ex@=\dimen103
))
(/opt/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen104
)
(/opt/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2016/03/08 v2.02 operator names
)
\inf@bad=\count87
LaTeX Info: Redefining \frac on input line 213.
\uproot@=\count88
\leftroot@=\count89
LaTeX Info: Redefining \overline on input line 375.
\classnum@=\count90
\DOTSCASE@=\count91
LaTeX Info: Redefining \ldots on input line 472.
LaTeX Info: Redefining \dots on input line 475.
LaTeX Info: Redefining \cdots on input line 596.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen105
LaTeX Font Info:    Redeclaring font encoding OML on input line 712.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 713.
\macc@depth=\count92

...

(/opt/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
! Missing $ inserted.
<inserted text> 
                $
l.37 f=R.lagrange_
                  polynomial(points)
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

LaTeX Font Info:    Try loading font information for U+msa on input line 37.
(/opt/texlive/2017/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2013/01/14 v3.01 AMS symbols A
)
LaTeX Font Info:    Try loading font information for U+msb on input line 37.

(/opt/texlive/2017/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
)
LaTeX Font Info:    Try loading font information for U+rsfs on input line 37.

(/opt/texlive/2017/texmf-dist/tex/latex/jknapltx/ursfs.fd
File: ursfs.fd 1998/03/24 rsfs font definition file (jk)
)
! Missing $ inserted.
<inserted text> 
                $
l.38 
     
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

[1

{/opt/texlive/2017/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./sage48.aux) ) 
Here is how much of TeX's memory you used:
 2910 strings out of 494387
 35547 string characters out of 6169481
 89603 words of memory out of 5000000
 6326 multiletter control sequences out of 15000+600000
 6597 words of font info for 26 fonts, out of 8000000 for 9000
 286 hyphenation exceptions out of 8191
 40i,4n,26p,260b,110s stack positions out of 5000i,500n,10000p,200000b,80000s
{/opt/texlive/2017/texmf-dist/fonts/enc/dvips/cm-super/cm-super
-t1.enc}</opt/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb
></opt/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></opt/t
exlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></opt/texlive/2
017/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on sage48.pdf (1 page, 35076 bytes).
PDF statistics:
 25 PDF objects out of 1000 (max. 8388607)
 17 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)


None
**********************************************
It seems to object to underscore in lagrange_interpolation and demands opening
and closing dollars.
Best,

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to