On Mac, the print dialog 'Save to pdf' features captures all types of images and image-like things.
On iPad, the tools I have tried run into problems, e.g.:
On Random variable - Wikipedia, no MathML is included in the conversion or only that which appears on the first page or two.
On 7...