[sage-support] Re: new user: latex fails

2008-11-03 Thread William Stein

On Mon, Nov 3, 2008 at 8:42 PM, Craig Citro <[EMAIL PROTECTED]> wrote:
>
> This should do something pretty close:
>
> %% margins
> \oddsidemargin  0.0in
> \evensidemargin 0.0in
> \textwidth  6.45in
> \topmargin  0.0in
> \headheight 0.0in
> \headsep0.0in
> \textheight 9.0in
>
> -cc

Thanks.  I've made this #4435.

http://trac.sagemath.org/sage_trac/ticket/4435

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-11-03 Thread Craig Citro

This should do something pretty close:

%% margins
\oddsidemargin  0.0in
\evensidemargin 0.0in
\textwidth  6.45in
\topmargin  0.0in
\headheight 0.0in
\headsep0.0in
\textheight 9.0in

-cc

On Mon, Nov 3, 2008 at 7:57 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Mon, Nov 3, 2008 at 5:23 PM, Matthew J <[EMAIL PROTECTED]> wrote:
>>
>> If anyone else comes across this problem and installing gs and
>> imagemagick does not solve it, I also had to install tetex-extra.
>>
>>
>> I realized when I was getting the error: fullpage.sty could not be
>> found.
>
> Thanks.  Maybe we should get rid of dependence on fullpage.sty,
> since probably there is an easy direct way to do about the same thing.
>
> William
>
> >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-11-03 Thread William Stein

On Mon, Nov 3, 2008 at 5:23 PM, Matthew J <[EMAIL PROTECTED]> wrote:
>
> If anyone else comes across this problem and installing gs and
> imagemagick does not solve it, I also had to install tetex-extra.
>
>
> I realized when I was getting the error: fullpage.sty could not be
> found.

Thanks.  Maybe we should get rid of dependence on fullpage.sty,
since probably there is an easy direct way to do about the same thing.

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-11-03 Thread Matthew J

If anyone else comes across this problem and installing gs and
imagemagick does not solve it, I also had to install tetex-extra.


I realized when I was getting the error: fullpage.sty could not be
found.

Thanks,
-Matthew J

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-10-30 Thread [EMAIL PROTECTED]



On 29 Říj, 22:50, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 29, 2008 at 1:38 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the answer.
> > I have debian etch with 5G harddisk which seems to be minimal for
> > sage :(
>
> The sage-vmware image that we distribute which is an ubuntu install, sage,
> latex, etc., takes only 2.3GB.   I am careful to replace the spkg files in
> spkg/standard by empty files (with the same names), and make sure things
> like /var/cache/apt/ aren't full of junk.
>

To finish this thread: the problem with space on the disk was
different. I unpacked the tar on local PC and used scp -r to copy the
directory to the server. The symlinks were replaced by files and the
sage directory grew hugely.
Your post helped me to locate the error. Thank you

Robert





--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-10-30 Thread [EMAIL PROTECTED]



On 30 Říj, 09:01, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > > ok, it's working, I installed imagemagick, tex4ht, gv, gs (following
> > > the March 12 sage-devel latex in notebook instructions)
>
> Thanks, this helped.

more preciselly, it is sufficient to install gs and imagemagick

thank you for your help
Robert


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-10-30 Thread [EMAIL PROTECTED]

> > ok, it's working, I installed imagemagick, tex4ht, gv, gs (following
> > the March 12 sage-devel latex in notebook instructions)
>

Thanks, this helped.

Robert
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-10-29 Thread John H Palmieri

On Oct 29, 8:44 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Dear sage users, I installed sage and texlive on my small virtual
> server.
>
> LaTeXing does not work:
> %latex
> Ahoj

This looks like an earlier message: see the 4th message in the thread
 (or if the line breaks screw up the link,
search this group for "latex error slide").  The poster managed to fix
the problem, saying

> ok, it's working, I installed imagemagick, tex4ht, gv, gs (following
> the March 12 sage-devel latex in notebook instructions)

(The point in the March 12 thread (search sage-devel for "latex
notebook") was that dvipng needed to be installed, and installing some
subset of these packages was one way to do it.)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-10-29 Thread William Stein

On Wed, Oct 29, 2008 at 1:38 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thanks for the answer.
> I have debian etch with 5G harddisk which seems to be minimal for
> sage :(

The sage-vmware image that we distribute which is an ubuntu install, sage,
latex, etc., takes only 2.3GB.   I am careful to replace the spkg files in
spkg/standard by empty files (with the same names), and make sure things
like /var/cache/apt/ aren't full of junk.

>
> FilesystemSize  Used Avail Use% Mounted on
> /dev/hda1 4.6G  4.0G  360M  92% /
>
> I installed maxima, maxima-shared,  texlive-base,  texlive-base,
> texlive-pstricks,  texlive-latex,  texlive-latex-base,  texlive-latex-
> recommended, fullpage.sty (probably from texlive-latex-extra, but I
> installed just this one file to save space on my disk) and gnuplot

I don't install maxima into sage-vmware, since Sage already includes maxima.


> The TeX file alone compiles fine. The dvips also works as expected.
> dvipng was missing in my installation, so I installed it just now.
> Unfortunately I have a text accces only from my home and I will test
> if this helps tomorow in my work.
>
> beamer is not installed, but I hope that it will be not necessary for
> %latex (not %slide)

It shouldn't be needed.

>
> Thank you for the answer, I will investigate your suggestions
>
> Robert Marik
>
>>
>> I don't know why it's not working, and I can't tell anything from the cryptic
>> latex error message above which to me says nothing except "it didn't work".
>> You might try installing dvipng and making sure that the latex beamer
>> package is installed (which gets used by %slide, not %latex).
>> I'm very puzzled.
>>
>> Which version of linux is on your server?  Can you latex documents
>> yourself...?  Can you try latexing sage10.tex generated above
>> (it can be tricky to find that file; if you need help, let me know)?
>>
>> William
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-10-29 Thread [EMAIL PROTECTED]

Thanks for the answer.
I have debian etch with 5G harddisk which seems to be minimal for
sage :(

FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 4.6G  4.0G  360M  92% /

I installed maxima, maxima-shared,  texlive-base,  texlive-base,
texlive-pstricks,  texlive-latex,  texlive-latex-base,  texlive-latex-
recommended, fullpage.sty (probably from texlive-latex-extra, but I
installed just this one file to save space on my disk) and gnuplot

The TeX file alone compiles fine. The dvips also works as expected.
dvipng was missing in my installation, so I installed it just now.
Unfortunately I have a text accces only from my home and I will test
if this helps tomorow in my work.

beamer is not installed, but I hope that it will be not necessary for
%latex (not %slide)

Thank you for the answer, I will investigate your suggestions

Robert Marik

>
> I don't know why it's not working, and I can't tell anything from the cryptic
> latex error message above which to me says nothing except "it didn't work".
> You might try installing dvipng and making sure that the latex beamer
> package is installed (which gets used by %slide, not %latex).
> I'm very puzzled.
>
> Which version of linux is on your server?  Can you latex documents
> yourself...?  Can you try latexing sage10.tex generated above
> (it can be tricky to find that file; if you need help, let me know)?
>
> William
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: new user: latex fails

2008-10-29 Thread William Stein

On Wed, Oct 29, 2008 at 8:44 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Dear sage users, I installed sage and texlive on my small virtual
> server.
>
> LaTeXing does not work:
> %latex
> Ahoj
>
>
> gives
>
>
>
>
> WARNING: Output truncated!
> full_output.txt
>
>
>
> An error occured.
> This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
> (format=latex
> 2008.10.29)  29 OCT 2008 11:38
> entering extended mode
> **\nonstopmode \input{sage10.tex}
> (./sage10.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/share/texmf-texlive/tex/latex/base/size10.clo
> File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
> )
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \abovecaptionskip=\skip41
> \belowcaptionskip=\skip42
> \bibindent=\dimen102
> )
> (/usr/share/texmf-texlive/tex/latex/fullpage.sty
> Style Option FULLPAGE Version 2 as of 15 Dec 1988
> ) (/usr/share/texmf-texlive/tex/latex/amslatex/amsmath.sty
> Package: amsmath 2000/07/18 v2.13 AMS math features
> [EMAIL PROTECTED]
>
> For additional information on amsmath, use the `?' option.
> (/usr/share/texmf-texlive/tex/latex/amslatex/amstext.sty
> Package: amstext 2000/06/29 v2.01
>
> (/usr/share/texmf-texlive/tex/latex/amslatex/amsgen.sty
> File: amsgen.sty 1999/11/30 v2.0
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> ))
> (/usr/share/texmf-texlive/tex/latex/amslatex/amsbsy.sty
> Package: amsbsy 1999/11/29 v1.2d
> [EMAIL PROTECTED]
> )
> (/usr/share/texmf-texlive/tex/latex/amslatex/amsopn.sty
> Package: amsopn 1999/12/14 v2.01 operator names
> )
> [EMAIL PROTECTED]
> LaTeX Info: Redefining \frac on input line 211.
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> LaTeX Info: Redefining \overline on input line 307.
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> LaTeX Info: Redefining \ldots on input line 379.
> LaTeX Info: Redefining \dots on input line 382.
> LaTeX Info: Redefining \cdots on input line 467.
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> LaTeX Font Info:Redeclaring font encoding OML on input line 567.
> LaTeX Font Info:Redeclaring font encoding OMS on input line 568.
> [EMAIL PROTECTED]
>
> ...
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> (/usr/share/texmf-texlive/tex/generic/pstricks/pstricks.con)
> \psunit=\dimen120
> \psxunit=\dimen121
> \psyunit=\dimen122
> \pslinewidth=\dimen123
> [EMAIL PROTECTED]
> \pslinearc=\dimen124
> \everypsbox=\toks22
> \psframesep=\dimen125
> \pslabelsep=\dimen126
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \theoverlaybox=\box30
> )
> File: pstricks.tex 2005/10/25 v1.12 `PSTricks' (tvz)
>
> (/usr/share/texmf-texlive/tex/latex/graphics/color.sty
> Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)
>
> (/usr/share/texmf-texlive/tex/latex/config/color.cfg
> File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
> )
> Package color Info: Driver file: dvips.def on input line 125.
>
> (/usr/share/texmf-texlive/tex/latex/graphics/dvipsnam.def
> File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
> )))
> No file sage10.aux.
> \openout1 = `sage10.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.
> [1
>
> ] (./sage10.aux) )
> Here is how much of TeX's memory you used:
>  2486 strings out of 95213
>  29174 string characters out of 1185475
>  86506 words of memory out of 100
>  5641 multiletter control sequences out of 1+5
>  3640 words of font info for 14 fonts, out of 50 for 2000
>  28 hyphenation exceptions out of 8191
>  28i,5n,24p,284b,112s stack positions out of
> 1500i,500n,5000p,20b,5000s
>
> Output written on sage10.dvi (1 page, 332 bytes).
>
> Error latexing slide.
>
> WARNING: Output truncated!
> full_output.txt
>
>
>
> An error occured.
> This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5)
> (format=latex 2008.10.29)  29 OCT 2008 11:38
> entering extended mode
> **\nonstopmode \input{sage10.tex}
> (./sage10.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/share/texmf-texlive/tex/latex/base/size10.clo
> File: size10.clo 2004/02/16 v1.4f