latex

132 views
Skip to first unread message

Alyson Deines

unread,
May 31, 2008, 3:47:06 PM5/31/08
to sage-support
I'm running sage version 3.0.2 on kubuntu.
I'm having trouble using Latex in notebook (and I've check and I do
have pdflatex installed)
When I evaluate:

%latex
The equation $y^2 = x^3 + x$ defines an elliptic curve.
We have $2006 = \sage{factor(2006)}$.

I get the following error:



An error occured.
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex
2008.5.30) 31 MAY 2008 12:40
entering extended mode
%&-line parsing enabled.
**\nonstopmode \input{sage60.tex}
(./sage60.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)
)
\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
)

! LaTeX Error: File `fullpage.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.1 ...ss{article}\usepackage{fullpage}\usepackage
{amsmath}^^M
*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
200 strings out of 95087
2128 string characters out of 1183278
46122 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,207b,36s stack positions out of
5000i,500n,6000p,200000b,5000s
No pages of output.

Error latexing slide.

An error occured.
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex
2008.5.30) 31 MAY 2008 12:40
entering extended mode
%&-line parsing enabled.
**\nonstopmode \input{sage60.tex}
(./sage60.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)
)
\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
)

! LaTeX Error: File `fullpage.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.1 ...ss{article}\usepackage{fullpage}\usepackage
{amsmath}^^M
*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
200 strings out of 95087
2128 string characters out of 1183278
46122 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,207b,36s stack positions out of 5000i,500n,6000p,200000b,
5000s
No pages of output.

Error latexing slide.

sage60.log sage60.tex

Thanks!

Aly

William Stein

unread,
May 31, 2008, 3:52:41 PM5/31/08
to sage-s...@googlegroups.com
On Sat, May 31, 2008 at 12:47 PM, Alyson Deines <aly.d...@gmail.com> wrote:
>
> I'm running sage version 3.0.2 on kubuntu.
> I'm having trouble using Latex in notebook (and I've check and I do
> have pdflatex installed)
> When I evaluate:
>
> %latex
> The equation $y^2 = x^3 + x$ defines an elliptic curve.
> We have $2006 = \sage{factor(2006
...

>
> ! LaTeX Error: File `fullpage.sty' not found.
>

The problem is that you don't have the fullpage.sty
installed. You must have installed the minimum possible
latex system with no packages or something.

Doing a google search for
fullpage.sty ubuntu
yields the sentence
"fullpage.sty is in the tetex-extra package, so use Synaptic to
install it, or install from the terminal:
$ sudo apt-get install tetex-extra"

I hope that helps.

William

mabshoff

unread,
May 31, 2008, 3:53:33 PM5/31/08
to sage-support
On May 31, 9:47 pm, Alyson Deines <aly.dei...@gmail.com> wrote:

Hi Aly,

> I'm running sage version 3.0.2 on kubuntu.
> I'm having trouble using Latex in notebook (and I've check and I do
> have pdflatex installed)
<SNIP>

> ! LaTeX Error: File `fullpage.sty' not found.

<SNIP>

According to http://ubuntuforums.org/showthread.php?t=488611 :

"fullpage.sty is in the tetex-extra package, so use Synaptic to
install it, or install from the terminal:

$ sudo apt-get install tetex-extra
[end quote]

According to the person with the original problem that solved the
issue for him/her. We might want to add this to the FAQ since I expect
this to happen again.

> Thanks!
>
> Aly

Cheers,

Michael

Alyson Deines

unread,
May 31, 2008, 7:25:27 PM5/31/08
to sage-support
thanks for the help,
having installed tetex-extra I'm still getting an error
when I try to evaluate

%latex
The equation $y^2 = x^3 + x$ defines an elliptic curve.

I get the new error:

An error occured.
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex
2008.5.31) 31 MAY 2008 16:11
entering extended mode
%&-line parsing enabled.
**\nonstopmode \input{sage25.tex}
(./sage25.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)
)
\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
)
(/usr/share/texmf-texlive/tex/latex/preprint/fullpage.sty
Package: fullpage 1999/02/23 1.1 (PWD)
\FP@margin=\skip43
)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip44

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

(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks14
\ex@=\dimen103
))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen104
)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count87
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count88
\leftroot@=\count89
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count90
\DOTSCASE@=\count91
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen105
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc@depth=\count92
\c@MaxMatrixCols=\count93
\dotsspace@=\muskip10
\c@parentequation=\count94
\dspbrk@lvl=\count95
\tag@help=\toks15
\row@=\count96
\column@=\count97
\maxfields@=\count98
\andhelp@=\toks16
\eqnshift@=\dimen106
\alignsep@=\dimen107
\tagshift@=\dimen108
\tagwidth@=\dimen109
\totwidth@=\dimen110
\lineht@=\dimen111
\@envbody=\toks17
\multlinegap=\skip45
\multlinetaggap=\skip46
\mathdisplay@stack=\toks18
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2002/01/22 v2.2d

(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version
`bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks19
)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/etc/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/
TeXLive
)
Package graphics Info: Driver file: dvips.def on input line 90.

(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\Gin@req@height=\dimen112
\Gin@req@width=\dimen113
)
(/usr/share/texmf-texlive/tex/latex/pstricks/pstricks.sty
Package: pstricks 2006/08/10 v0.32 LaTeX wrapper for
`PSTricks' (RN,HV)

(/usr/share/texmf-texlive/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.15 <2006/12/22> (tvz)
\pst@dima=\dimen114
\pst@dimb=\dimen115
\pst@dimc=\dimen116
\pst@dimd=\dimen117
\pst@dimg=\dimen118
\pst@dimh=\dimen119
\pst@hbox=\box28
\pst@boxg=\box29
\pst@cnta=\count99
\pst@cntb=\count100
\pst@cntc=\count101
\pst@cntd=\count102
\pst@cntg=\count103
\pst@cnth=\count104
\pst@toks=\toks20
(/usr/share/texmf-texlive/tex/generic/pstricks/pstricks.con)
\psunit=\dimen120
\psxunit=\dimen121
\psyunit=\dimen122
\pslinewidth=\dimen123
\pst@customdefs=\toks21
\pslinearc=\dimen124
\everypsbox=\toks22
\psframesep=\dimen125
\pslabelsep=\dimen126
\psk@shift=\dimen127
\pst@shift=\dimen128
\theoverlaybox=\box30
)
File: pstricks.tex 2006/12/22 v1.15 `PSTricks' (tvz)

(/usr/share/texmf-texlive/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

(/etc/texmf/tex/latex/config/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: dvips.def on input line 130.

(/usr/share/texmf-texlive/tex/latex/graphics/dvipsnam.def
File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)
Package color Info: Redefining color black on input line 164.
Package color Info: Redefining color white on input line 165.
Package color Info: Redefining color red on input line 168.
Package color Info: Redefining color green on input line 169.
Package color Info: Redefining color blue on input line 170.
Package color Info: Redefining color cyan on input line 173.
Package color Info: Redefining color magenta on input line 174.
Package color Info: Redefining color yellow on input line 175.
)
Package color Info: Redefining color darkgray on input line 83.
Package color Info: Redefining color gray on input line 83.
Package color Info: Redefining color lightgray on input line 83.
Package color Info: Redefining color black on input line 116.
Package color Info: Redefining color darkgray on input line 117.
Package color Info: Redefining color gray on input line 118.
Package color Info: Redefining color lightgray on input line 119.
Package color Info: Redefining color white on input line 120.
Package color Info: Redefining color red on input line 121.
Package color Info: Redefining color green on input line 122.
Package color Info: Redefining color blue on input line 123.
Package color Info: Redefining color yellow on input line 127.
Package color Info: Redefining color cyan on input line 128.
Package color Info: Redefining color magenta on input line 129.
)
No file sage25.aux.
\openout1 = `sage25.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line
4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line
4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line
4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Try loading font information for U+msa on input
line 5.
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input
line 5.

(/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
) [1

] (./sage25.aux) )
Here is how much of TeX's memory you used:
2485 strings out of 94102
29129 string characters out of 1165833
90625 words of memory out of 1500000
5772 multiletter control sequences out of 10000+50000
5339 words of font info for 22 fonts, out of 1200000 for 2000
637 hyphenation exceptions out of 8191
28i,5n,24p,284b,112s stack positions out of 5000i,500n,6000p,200000b,
5000s

Output written on sage25.dvi (1 page, 500 bytes).

Error latexing slide.

I can open sage25.dvi and I can also tex sage25.tex and open open that
dvi . . .

Aly

On May 31, 12:53 pm, mabshoff <Michael.Absh...@mathematik.uni-
dortmund.de> wrote:
> On May 31, 9:47 pm, Alyson Deines <aly.dei...@gmail.com> wrote:
>
> Hi Aly,
>
> > I'm running sage version 3.0.2 on kubuntu.
> > I'm having trouble using Latex in notebook (and I've check and I do
> > have pdflatex installed)
>
> <SNIP>
>
> > ! LaTeX Error: File `fullpage.sty' not found.
>
> <SNIP>
>
> According tohttp://ubuntuforums.org/showthread.php?t=488611:

Alyson Deines

unread,
May 31, 2008, 8:58:45 PM5/31/08
to sage-support
ok, it's working, I installed imagemagick, tex4ht, gv, gs (following
the March 12 sage-devel latex in notebook instructions)

Aly

Dan Drake

unread,
Jun 9, 2008, 7:42:10 PM6/9/08
to sage-s...@googlegroups.com
On Sat, 31 May 2008 at 12:53PM -0700, mabshoff wrote:
> > ! LaTeX Error: File `fullpage.sty' not found.
>
> <SNIP>
>
> According to http://ubuntuforums.org/showthread.php?t=488611 :
>
> "fullpage.sty is in the tetex-extra package, so use Synaptic to
> install it, or install from the terminal:
>
> $ sudo apt-get install tetex-extra
> [end quote]
>
> According to the person with the original problem that solved the
> issue for him/her. We might want to add this to the FAQ since I expect
> this to happen again.

I'm adding it to the FAQ right now. I believe, though, that the teTeX
distribution is no longer being developed and that in current versions
of Ubuntu and friends, TeXLive is the "official" way to get TeX. The
fullpage.sty file is available in the texlive-latex-extra package.

Dan

--
--- Dan Drake <dr...@mathsci.kaist.ac.kr>
----- KAIST Department of Mathematical Sciences
------- http://math.kaist.ac.kr/~drake

signature.asc
Reply all
Reply to author
Forward
0 new messages