Package mathptmx gives discrepancy between pdf and HTML formulas

When using the mathcal command in formulas the mathptmx package gives in the different output version different letters.
When the mathptmx, more exuberant,  type of fonts are to be used they can be added by means of the EXTRA_PACKAGES option.