## Section4.6Images and the mbx Script
We believe it is important to preserve a record of how diagrams and other graphics are produced. This can be easy when a graphics language is employed to describe the graphical elements, rather than creating a bit-mapped image with some other interface. So we have <asymptote>, <latex-image-code>, and <sageplot> for elements holding code to produce diagrams or images.
The downside to this is that XSL is not a general purpose programming language, and so in particular, cannot call “helper” programs such as asy, pdflatex, and sage. The general strategy is to use XSL to identify and isolate the parts of a document that lie in the elements designed for graphics languages. A Python script, the mbx script, employs these XSL stylesheets and then feeds each image file to the appropriate helper program.