o
    oh                     @   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   sr   t d*}|tt| dd |  |r'td|jf W d   dS W d   dS 1 s2w   Y  dS )z]Print to Gtkmathview, a gtk widget capable of rendering MathML.

    Needs libgtkmathview-binwT)simplemathmlviewerN)	tempfileNamedTemporaryFilewriter   r   flush
subprocess
check_callname)xstart_viewerfile r   f/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/sympy/printing/gtk.py	print_gtk   s   "r   )T)sympy.printing.mathmlr   sympy.utilities.mathmlr   r   r   r   r   r   r   r   <module>   s
    