error in rendering LaTeX math
The following line creates an error while rendering in PDF and is not correctly rendered in HTML:
latexmath:[B_r = \sum_{n=0} \left[ \frac{k-2n}{2n+1} f_{2n} - \tan(\delta) f_{2n+1} \right] h(r) \left(\frac{z}{r}\right)^{2n+1}]
with the current scripts square brackets cannot be used in inline math, only on block math. In this case it might be better to use block math anyway.