PARIS — A second French publisher has reached a deal on digital books with Google to settle a copyright lawsuit in exchange for control over how its out-of-print, copyright-protected works are scanned and sold.

Such works account for the vast majority of the world’s books, and they are central to Google’s ambitions of creating a universal digital information repository. But its digitization project has prompted numerous lawsuits by publishers seeking to enforce their copyrights.

On Thursday, the French publisher La Martinière said that it had agreed to split revenue from digital sales of these books with Google. The accord comes after a similar agreement between Google and Hachette Livre, the largest French publisher.

In 2009, La Martinière won a ruling against Google in a Paris court that awarded the publisher 300,000 euros ($420,000), and ordered Google to stop scanning its books. Google appealed that decision, but the two companies said Thursday that they had agreed to end the litigation.