Packt tends to publish books of wildly different quality, some of them are good, while others are lousy written and full of mistakes (not talking about spelling errors here, but software bugs).
Also, they seem to don't know you can use colours in ebooks. I see no excuse for not having syntax highlighting in a programming ebooks. It is just lousy management from their part.