a
    <b                     @   s6   d dl mZ d dlmZ d dlZd dlZdddZdS )    )mathml)c2pNTc                 C   s`   t dB}|tt| dd |  |r>td|jf W d   n1 sR0    Y  dS )z]Print to Gtkmathview, a gtk widget capable of rendering MathML.

    Needs libgtkmathview-binwT)simpleZmathmlviewerN)	tempfileNamedTemporaryFilewriter   r   flush
subprocess
check_callname)xZstart_viewerfile r   b/Users/vegardjervell/Documents/master/model/venv/lib/python3.9/site-packages/sympy/printing/gtk.py	print_gtk   s
    r   )T)Zsympy.printing.mathmlr   Zsympy.utilities.mathmlr   r   r
   r   r   r   r   r   <module>   s   