He only looked at the book in order not to have to talk to the officers who came in and out of the room while he was thinking.
Он смотрел в книгу только затем, чтобы не разговаривать с входившими и выходившими офицерами, и думал.