[sage-devel] Re: View issues

2022-10-01 Thread Ben Salisbury
It was a TeX/user error. I had an old version of TikZ that was causing conflicts. On Thursday, September 29, 2022 at 11:48:33 AM UTC-4 Ben Salisbury wrote: > This example works for me as expected. > > On Wednesday, September 28, 2022 at 4:56:29 AM UTC-4 Sébastien Labbé wrote: > >> With the

[sage-devel] Re: View issues

2022-09-29 Thread Ben Salisbury
This example works for me as expected. On Wednesday, September 28, 2022 at 4:56:29 AM UTC-4 Sébastien Labbé wrote: > With the new latex_standalone.py module in sage misc, you have access to > more control on the options to construct a tikzpicture within a latex file > with standalone

[sage-devel] Re: View issues

2022-09-29 Thread Sébastien Labbé
latex(g) is returning a tikzpicture string with command defined in tkz-graph.sty, so it is necessary to have it available in order to compile the pdf. There is a feature in sage testing the presence of tkz-graph.sty: sage: from sage.features.latex import LaTeXPackage sage:

Re: [sage-devel] Re: View issues

2022-09-29 Thread Dima Pasechnik
On Thu, Sep 29, 2022 at 6:17 AM David Coudert wrote: > > The command t.pdf() is not working for me for the following reason: > > Warning: `tkz-graph.sty` is not part of this computer's TeX installation. > This package is required to render graphs in LaTeX. > Visit

[sage-devel] Re: View issues

2022-09-28 Thread David Coudert
The command t.pdf() is not working for me for the following reason: Warning: `tkz-graph.sty` is not part of this computer's TeX installation. This package is required to render graphs in LaTeX. Visit 'https://www.ctan.org/pkg/tkz-graph'. Warning: `tkz-berge.sty` is not part of this

[sage-devel] Re: View issues

2022-09-28 Thread Sébastien Labbé
With the new latex_standalone.py module in sage misc, you have access to more control on the options to construct a tikzpicture within a latex file with standalone document class. See the documentation here: https://doc.sagemath.org/html/en/reference/misc/sage/misc/latex_standalone.html I am