A recent discovery is shedding light on what sort of books 18th-century priates would carry on board their ships.