Leibniz wrote two books; a considerable number of articles in learned periodicals; and an enormous number of unpublished notes, papers and letters, preserved in the archives of the Electors of Hanover not because of the philosophical significance of some of them, but because of the political importance of most of them. From among this great mass various excerpts of philosophical interest have been made by successive editors of Leibniz's works. It may be that the most profound understanding of his mind is to be derived from some of these pieces, but if we wish to consider the public history of Leibniz, we may set them aside.
The articles in journals form the immediate background to the two books. In 1696 Leibniz heard that a French translation of Locke's Essay concerning Human Understanding was being prepared at Amsterdam. He wrote some polite comments on Locke's great work, and published them. He also sent them to Locke, hoping that Locke would write a reply, and that Leibniz's reflexions and Locke's reply might be appended to the projected French translation. But Locke set Leibniz's comments aside. Leibniz, not to be defeated, set to work upon the New Essays, in which the whole substance of Locke's book is systematically discussed in dialogue. The New Essays were written in 1703. But meanwhile a painful dispute had broken out between Leibniz and the disciples of Locke and Newton, in which the English, and perhaps Newton himself, were much to blame, and Leibniz thought it impolitic to publish his book. It was not issued until long after his death, in the middle of the century.
The discussion with Locke was a failure: Locke would not play, and the book in which the whole controversy was to be systematized never appeared. The discussion with Bayle, on the other hand, was a model of what a discussion should be. Bayle played up tirelessly, and was never embarrassingly profound; he provided just the sort of objections most useful for drawing forth illuminating expositions; he was as good as a fictitious character in a philosophical dialogue. And the book in which the controversy was systematized duly appeared with great éclat.