It is also an attempt to redirect some of the attention paid in recent years to Hemingway’s swashbuckling, hard-drinking image — through fictional depictions in the best-selling novel “The Paris Wife” and the Woody Allen film “Midnight in Paris,” for instance — back to his sizable body of work.

“I think people who are interested in writing and trying to write themselves will find it interesting to look at a great work and have some insight to how it was done,” Seán Hemingway, a grandson of Ernest Hemingway who is also a curator of Greek and Roman art at the Metropolitan Museum of Art, said in an interview. “But he is a writer who has captured the imagination of the American public, and these editions are interesting because they really focus on his work. Ultimately that’s his lasting contribution.”

The new edition concludes that the 39 endings that Hemingway referred to are really more like 47. They have been preserved in the Ernest Hemingway Collection at the John F. Kennedy Presidential Library and Museum in Boston since 1979, where Seán Hemingway studied them carefully. (Bernard S. Oldsey, a Hemingway scholar, listed 41 endings in his book “Hemingway’s Hidden Craft,” but Seán Hemingway found 47 variations in manuscripts preserved at the Kennedy Library.)

The alternate endings are labeled and gathered in an appendix in the new edition, a 330-page book whose cover bears the novel’s original artwork, an illustration of a reclining man and woman, both topless.