On Monday, March 6, 2017 at 6:24:15 AM UTC-6, jplab wrote:
>
>
>> Le lundi 6 mars 2017 05:12:29 UTC+1, Travis Scrimshaw a écrit :
>>>
>>> Are you not able to do it by putting the tikz code in a .. MATH:: block?
>>>
>>>
>> Haven't tried! Will do! 
>>
>
> Actually, after a second thought, I do not think it will work. Here is 
> what I want to do in a simple example.
>
> .. PLOT::
>
>     P = polytopes.icosahedron()
>     Img = P.projection().tikz()  # Img contains a LatexExpr
>     sphinx_tikz(Img)
>
> Then sphinx_tikz would process the tikz code to show a .png picture. I do 
> not want to show tikz/latex code per se, but rather the picture that it 
> actually represents.
>
> The .. MATH:: should process it, but actually, thinking a bit more, I 
think it wouldn't be supported by mathjax. So perhaps your approach is 
probably the best.

Best,
Travis

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to