I am having a hard time to understand why the integral of the tautological 1-form is the action of the system.
The tautological one form is defined by :
\begin{align} \theta_{(q,p)} : T_{(q,p)}T^*Q &\to \mathbb{R}\\ X &\mapsto p(\pi_*(X)) \end{align}
where $\pi_*$ is the pushforward/differential of the projection from the bundle to the base space.
Then,
$$\int_{\gamma} \theta = \int \theta_{\gamma(t)}(\dot{\gamma}(t)) \, dt = \int p(\pi_*(\dot{\gamma}(t)))\, dt$$
where $\gamma(t)=(q(t),p(t))$. But how can I show that this is the action, i.e. $\int L$ where $L$ is the Lagrangian?
edit
If $\gamma(t))=(q(t),p(t))$ is an integral curve of $X_H$ it will satisfy the Hamilton equations $\dot{\gamma}(t))=(\dot{q}(t),\dot{p}(t))=(\frac{\partial H}{\partial p}, -\frac{\partial H}{\partial q})$. But then what is $p(\pi_*((\frac{\partial H}{\partial p}, -\frac{\partial H}{\partial q})))$?