Skip to content

tikz output should be 1 paragraph, to keep sagetex happy #34904

@dimpase

Description

@dimpase

This is to fix sagemath/sagetex#64
where it was reported that the following does not work

\documentclass{article}
\usepackage{sagetex} 
\usepackage{tikz} 

\begin{document}

\sagestr{(polytopes.great_rhombicuboctahedron()).tikz([4,5,6],45,scale=0.75)}

\end{document}

This is due to tikzpicture being put in an argument to \newlabel, which does not accept multiple paragraphs.

CC: @seblabbe @kcrisman @jplab

Component: graphics

Author: Dima Pasechnik

Branch/Commit: 32e0248

Reviewer: Sébastien Labbé

Issue created by migration from https://trac.sagemath.org/ticket/34904

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions