Re: [sage-devel] View issues

2022-09-29 Thread Ben Salisbury
I didn't know about this debug option.  Turns out that, when copying the 
TeX output to a fresh file, the error still appears.  I think I've pared it 
down to an issue with the preview package, which is very annoying.  Even 
though preview comes packaged with TeX Live, I updated to the latest 
version on CTAN and it still did not work.  In fact, I'm getting the same 
problem on three different Mac machines.  At the risk of turning this into 
a LaTeX thread, is anyone using Linux or Windows experiencing the same 
issue?

On Tuesday, September 27, 2022 at 4:58:02 PM UTC-4 John H Palmieri wrote:

> If you do `view(G, debug=True)`, it will first print out the entire LaTeX 
> file that it's using. You could paste that into an actual file and see if 
> you can pin down what the error is, and whether it's coming from your TeX 
> installation or somewhere else.
>
>
> On Tuesday, September 27, 2022 at 12:32:38 PM UTC-7 dim...@gmail.com 
> wrote:
>
>> On Tue, Sep 27, 2022 at 8:16 PM Ben Salisbury  wrote:
>> >
>> > Hi all,
>> >
>> > I'm having trouble with the view method. For example,
>> >
>> > sage: G = graphs.PetersenGraph()
>> > sage: view(G)
>>
>> works for me with Sage 9.8.beta0
>>
>> >
>> > produced the following error.
>> >
>> > An error occurred.
>> > This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) 
>> (preloaded format=pdflatex 2022.9.9) 17 SEP 2022 18:58
>> > entering extended mode
>> > restricted \write18 enabled.
>> > %&-line parsing enabled.
>> > **\nonstopmode \input{sage.tex}
>> > (./sage.tex 
>> (/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
>> > Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
>> > (/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo
>> > File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
>> > )
>> > \c@part=\count185
>> > \c@section=\count186
>> > \c@subsection=\count187
>> > \c@subsubsection=\count188
>> > \c@paragraph=\count189
>> > \c@subparagraph=\count190
>> > \c@figure=\count191
>> > \c@table=\count192
>> > \abovecaptionskip=\skip47
>> > \belowcaptionskip=\skip48
>> > \bibindent=\dimen138
>> > )
>> > (/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty
>> > Package: amsmath 2021/10/15 v2.17l AMS math features
>> > \@mathmargin=\skip49
>> >
>> > 
>> >
>> > ! Undefined control sequence.
>> > \@outputpage ...istfalse \@parboxrestore \shipout
>> > \vbox {\set@typeset@protec...
>> > l.118 \end{document}
>> >
>> > (That makes 100 errors; please try again.)
>> > Here is how much of TeX's memory you used:
>> > 17546 strings out of 478268
>> > 364860 string characters out of 5846348
>> > 670991 words of memory out of 500
>> > 35436 multiletter control sequences out of 15000+60
>> > 472216 words of font info for 40 fonts, out of 800 for 9000
>> > 1141 hyphenation exceptions out of 8191
>> > 94i,9n,104p,428b,907s stack positions out of 
>> 1i,1000n,2p,20b,20s
>> >
>> > ! ==> Fatal error occurred, no output PDF file produced!
>> >
>> > Latex error
>> >
>> > Is there a known error or is my installation messed up (or something 
>> else)?
>> >
>> > Best,
>> > Ben
>> >
>> > --
>> > You received this message because you are subscribed to the Google 
>> Groups "sage-devel" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to sage-devel+...@googlegroups.com.
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/bb617109-e9a3-4a91-b3ac-4238c15f40f4n%40googlegroups.com
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/f154b1ba-f1d8-4d40-bb6a-c4634a93ad08n%40googlegroups.com.


Re: [sage-devel] View issues

2022-09-27 Thread John H Palmieri
If you do `view(G, debug=True)`, it will first print out the entire LaTeX 
file that it's using. You could paste that into an actual file and see if 
you can pin down what the error is, and whether it's coming from your TeX 
installation or somewhere else.


On Tuesday, September 27, 2022 at 12:32:38 PM UTC-7 dim...@gmail.com wrote:

> On Tue, Sep 27, 2022 at 8:16 PM Ben Salisbury  wrote:
> >
> > Hi all,
> >
> > I'm having trouble with the view method. For example,
> >
> > sage: G = graphs.PetersenGraph()
> > sage: view(G)
>
> works for me with Sage 9.8.beta0
>
> >
> > produced the following error.
> >
> > An error occurred.
> > This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) 
> (preloaded format=pdflatex 2022.9.9) 17 SEP 2022 18:58
> > entering extended mode
> > restricted \write18 enabled.
> > %&-line parsing enabled.
> > **\nonstopmode \input{sage.tex}
> > (./sage.tex 
> (/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
> > Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
> > (/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo
> > File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
> > )
> > \c@part=\count185
> > \c@section=\count186
> > \c@subsection=\count187
> > \c@subsubsection=\count188
> > \c@paragraph=\count189
> > \c@subparagraph=\count190
> > \c@figure=\count191
> > \c@table=\count192
> > \abovecaptionskip=\skip47
> > \belowcaptionskip=\skip48
> > \bibindent=\dimen138
> > )
> > (/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty
> > Package: amsmath 2021/10/15 v2.17l AMS math features
> > \@mathmargin=\skip49
> >
> > 
> >
> > ! Undefined control sequence.
> > \@outputpage ...istfalse \@parboxrestore \shipout
> > \vbox {\set@typeset@protec...
> > l.118 \end{document}
> >
> > (That makes 100 errors; please try again.)
> > Here is how much of TeX's memory you used:
> > 17546 strings out of 478268
> > 364860 string characters out of 5846348
> > 670991 words of memory out of 500
> > 35436 multiletter control sequences out of 15000+60
> > 472216 words of font info for 40 fonts, out of 800 for 9000
> > 1141 hyphenation exceptions out of 8191
> > 94i,9n,104p,428b,907s stack positions out of 
> 1i,1000n,2p,20b,20s
> >
> > ! ==> Fatal error occurred, no output PDF file produced!
> >
> > Latex error
> >
> > Is there a known error or is my installation messed up (or something 
> else)?
> >
> > Best,
> > Ben
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sage-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-devel+...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/bb617109-e9a3-4a91-b3ac-4238c15f40f4n%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/754cd816-2a30-4d41-b03d-b982d84a159dn%40googlegroups.com.


Re: [sage-devel] View issues

2022-09-27 Thread Dima Pasechnik
On Tue, Sep 27, 2022 at 8:16 PM Ben Salisbury  wrote:
>
> Hi all,
>
> I'm having trouble with the view method.  For example,
>
> sage: G = graphs.PetersenGraph()
> sage: view(G)

works for me with Sage 9.8.beta0

>
> produced the following error.
>
> An error occurred.
> This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded 
> format=pdflatex 2022.9.9)  17 SEP 2022 18:58
> entering extended mode
> restricted \write18 enabled.
> %&-line parsing enabled.
> **\nonstopmode \input{sage.tex}
> (./sage.tex (/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
> (/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo
> File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
> )
> \c@part=\count185
> \c@section=\count186
> \c@subsection=\count187
> \c@subsubsection=\count188
> \c@paragraph=\count189
> \c@subparagraph=\count190
> \c@figure=\count191
> \c@table=\count192
> \abovecaptionskip=\skip47
> \belowcaptionskip=\skip48
> \bibindent=\dimen138
> )
> (/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty
> Package: amsmath 2021/10/15 v2.17l AMS math features
> \@mathmargin=\skip49
>
> 
>
> ! Undefined control sequence.
> \@outputpage ...istfalse \@parboxrestore \shipout
>  \vbox {\set@typeset@protec...
> l.118 \end{document}
>
> (That makes 100 errors; please try again.)
> Here is how much of TeX's memory you used:
> 17546 strings out of 478268
> 364860 string characters out of 5846348
> 670991 words of memory out of 500
> 35436 multiletter control sequences out of 15000+60
> 472216 words of font info for 40 fonts, out of 800 for 9000
> 1141 hyphenation exceptions out of 8191
> 94i,9n,104p,428b,907s stack positions out of 
> 1i,1000n,2p,20b,20s
>
> !  ==> Fatal error occurred, no output PDF file produced!
>
> Latex error
>
> Is there a known error or is my installation messed up (or something else)?
>
> Best,
> Ben
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/bb617109-e9a3-4a91-b3ac-4238c15f40f4n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq0onq_G4z1H%3Dq%2B%3Dny4s5k78JYptv1%3DonV%2BMLf3aUWB9_w%40mail.gmail.com.


[sage-devel] View issues

2022-09-27 Thread Ben Salisbury
Hi all,

I'm having trouble with the view method.  For example, 

sage: G = graphs.PetersenGraph()
sage: view(G)

produced the following error. 

An error occurred.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded 
format=pdflatex 2022.9.9)  17 SEP 2022 18:58
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**\nonstopmode \input{sage.tex}
(./sage.tex (/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
)
\c@part=\count185
\c@section=\count186
\c@subsection=\count187
\c@subsubsection=\count188
\c@paragraph=\count189
\c@subparagraph=\count190
\c@figure=\count191
\c@table=\count192
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
)
(/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2021/10/15 v2.17l AMS math features
\@mathmargin=\skip49



! Undefined control sequence.
\@outputpage ...istfalse \@parboxrestore \shipout 
 \vbox 
{\set@typeset@protec...
l.118 \end{document}

(That makes 100 errors; please try again.) 
Here is how much of TeX's memory you used:
17546 strings out of 478268
364860 string characters out of 5846348
670991 words of memory out of 500
35436 multiletter control sequences out of 15000+60
472216 words of font info for 40 fonts, out of 800 for 9000
1141 hyphenation exceptions out of 8191
94i,9n,104p,428b,907s stack positions out of 
1i,1000n,2p,20b,20s

!  ==> Fatal error occurred, no output PDF file produced!

Latex error

Is there a known error or is my installation messed up (or something else)?

Best,
Ben

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/bb617109-e9a3-4a91-b3ac-4238c15f40f4n%40googlegroups.com.