#20343: Adding sage/misc/tikzpicture.py
-------------------------+-------------------------------------------------
Reporter: | Owner:
slabbe | Status: needs_review
Type: | Milestone: sage-7.2
enhancement | Resolution:
Priority: major | Merged in:
Component: misc | Reviewers:
Keywords: | Work issues:
Authors: | Commit:
Sébastien Labbé | 476b574c4198115e6e98e3396ed32f4b95077c35
Report Upstream: N/A | Stopgaps:
Branch: |
u/slabbe/20343 |
Dependencies: |
-------------------------+-------------------------------------------------
Changes (by dkrenn):
* cc: dkrenn (added)
Comment:
A comment:
{{{
t = TikzPicture(latex(transducers.GrayCode()))
t.pdf()
}}}
does not work as the preamble is not set correctly. However, there is
{{{
from sage.combinat.finite_state_machine import setup_latex_preamble
setup_latex_preamble()
}}}
(as well as the corresponding function in `sage.graphs.graph_latex`) to
set this correctly, but it seems to be ignored by `TikzPicture`.
In contrast,
{{{
view(transducers.GrayCode())
}}}
works, but I have no idea if `setup_latex_preamble` is called (not needed
to be done manually) or if tikz is included anyways.
--
Ticket URL: <http://trac.sagemath.org/ticket/20343#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.