I am trying to formalize the following proof on Perko's Differential Equations and Dynamical Systems, which says that a periodic orbit has index +1.
My only problem is trying to prove that the map $g$ is continuous on $T$. Geometrically it seems obvious, and I am trying to prove it using limits, but I do not get anything. The following figure (also from Perso's book) is a nice illustration: