Strictly according to the rules. Examples: Our trip leader is going by the book. Origin: used by Shakespeare in Romeo and Juliet