Rather than bother a lot of people I just got out some white glue, carefully applied a thin white line of glue, caregully pushed the mages back into the book and repeated the process until they were all back.
The mental image of somebody shoving a bunch of mages into a book made me laugh. Even if the original author typoed 'pages'.