Leonardo was practically Shakespearean in the volume of written work he left behind. His notebooks contain thousands of pages of writing and drawing and capture both fact and intent. He documented scientific experiments and more casual thoughts on art and science, using both text and accompanying illustrations. On more than once occasion, Leonardo strove for fame (if not fortune) by organizing his thoughts for future publication. With the exception of his A Treatise on Painting, however, little of his writing was ever published until modern times.