Hi,
Both do the same backtracking, just that Nicolas version is a specific case, namely where the search direction (\eta in P.-A.s book) is the negative gradient.
The more general case is important e.g. when considering CG or quasi Newton, when your direction of interest is most likely not the negative gradient direction.
You can for example also compare to Nocedal&Wright Numerical Optimization, p. 33 for the Euclidean case including good illustrations of these conditions.
Best
Ronny .