> To avoid having to hack the code, you could try using the mathtools
> package and ask it to only number equations that are referenced:
>
> \usepackage{mathtools}
> \mathtoolsset{showonlyrefs} Thanks, if there is a mechanism to alter the preamble when creating the image, that may be a preferable approach. I'll try to look into this.
