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 <bsali...@gmail.com> 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 > > > > <snip> > > > > ! 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 5000000 > > 35436 multiletter control sequences out of 15000+600000 > > 472216 words of font info for 40 fonts, out of 8000000 for 9000 > > 1141 hyphenation exceptions out of 8191 > > 94i,9n,104p,428b,907s stack positions out of > 10000i,1000n,20000p,200000b,200000s > > > > ! ==> 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.