# SCRIPT: BH-MIXER-BUILD-01 import os as _os _HERE=_os.path.dirname(_os.path.abspath(__file__)) _FIG=_os.path.join(_HERE,'..','paper','fig') if _os.path.isdir(_os.path.join(_HERE,'..','paper','fig')) else _os.path.join(_HERE,'..','fig') import base64 s=open('mixer_src.html').read() s=s.replace("the shape block of the transport $A(H)=TH+HT-2\\,\\mathrm{Tr}(TH)\\,G$ at the four-body wall","the shape block of the transport A(H) = TH + HT − 2 Tr(TH) G at the four-body wall") s=s.replace(""" for(let k=0;k