I have two questions on the computation of $\nabla \times (\nabla \times \mathbf{A}) $ with Einstein summation notation based on http://www.physics.ohio-state.edu/~ntg/263/handouts/tensor_intro.pdf. It considers the $i$th component. All colours have been added by me. $$ (\color{green}{\nabla} \color{red}{\times} \color{purple}{(\nabla \times \mathbf{A})})_i = \color{red}{\epsilon_{ijk}}\color{green}{\partial_j} \color{purple}{(\nabla \times \mathbf{A})}_k \tag{*}$$
$$ = \color{red}{\epsilon_{ijk}}\color{green}{\partial_j} \color{purple}{\epsilon_{klm}\partial_lA_m}$$ $$ = \epsilon_{ijk}\epsilon_{klm}\partial_j \partial_lA_m $$ $$ = \epsilon_{ijk}\epsilon_{lmk}\partial_j \partial_lA_m $$ $$ = (\delta_{il}\delta_{jm} - \delta_{im}\delta_{jl}) \partial_j \partial_lA_m $$ Now, choose $j \rightarrow m$ and $ l \rightarrow i $ in the first term and let $j \rightarrow l$ and $ m \rightarrow i $ in the second:
$$ = \partial_m \partial_iA_m - \color{blue}{\partial_l \partial_lA_i}$$ $$ = \partial_i(\partial_m A_m) - \color{blue}{(\partial_l \partial_l\mathbf{A})_i}\tag{**}$$
$\Large{\text{Question 1}}$. In (*), where does the subscript $k$ on the RHS come from? Aren't we looking at the $i$th component? I know that $\mathbf{a} \times \mathbf{b} = a_gb_h\epsilon_{ghi}\mathbf{\hat{e_i}} = (..., \underbrace{a_gb_h\epsilon_{ghi}}_{i\text{th component}}, ...)\Longrightarrow (\mathbf{a} \times \mathbf{b})_i = a_gb_h\epsilon_{ghi} $.
$\Large{\text{Question 2}}$. In (**), how does $ \color{blue}{\partial_l \partial_lA_i = (\partial_l \partial_l\mathbf{A})_i} $ ?