The personal library of a "forgotten scholar" has been brought together for the first time in more than 370 years.