To my surprise, there isn’t much information about the Fourier series of $\tan(x)$ on the internet. The Fourier series is $$\tan(x)=2\sum^\infty_{n=1}(-1)^{n-1}\sin(2nx)$$
It is well known that if $f(a^-)=p$ and $f(a^+)=q$, then its Fourier series converges to $\frac{p+q}2$ at $a$.
However, in the case $f(x)=\tan(x)$ and $a=\frac\pi2$, $p=\infty$ and $q=-\infty$. My questions are
What value does the Fourier series of $\tan(x)$ converge to at $\frac\pi2$? Am I allowed to say that it converges to $\lim_{N\to\infty}\frac{N+(-N)}2=0$?
Moreover,
On the whole complex plane, where does not the Fourier series converges to the original function except (possibly) the poles?
Thanks in advance.