We've a functional
$J(\alpha)=\int_{x_{1}}^{x_{2}} f\left\{y(\alpha, x), y^{\prime}(\alpha, x) ; x\right\} d x$
It's derivative with respect to the parameter $\alpha$ is given in textbook Classical Dynamics of Particles and Systems by Stephen T. Thornton and Jerry B. Marion,as $\frac{\partial J}{\partial \alpha}$
Shouldn't it have been $\frac{d J}{d \alpha}$ ? I'd read that partial notation is used when other variables are kept constant, here after the integral is performed the only variable remaining is $\alpha$ so the $\frac{d J}{d \alpha}$ notation seems appropriate. Is it true?