Again, I don't know what these books are, and if you have titles, I'd like to know; but they are wrong. Any books that I am aware of that speak to the topic, I have been a contributor to them. Andrews' casting in TSOM had nothing to do with R&H (Rodgers assumed Doris Day would play Maria in the film), Martin or anyone other than Lehman and Wise; and Disney, for allowing them to see clips of her in MP. I never said that Martin wasn't responsible for TSOM, I said it was Rodgers who told Martin they would write it as a complete musical, rather than one song.
The abridged version:
The story of the Trapp Family was first a book, by Maria. She sold her rights to the story to Max Reinhardt, who produced a German film DIE TRAPP FAMILIE and a sequel, DIE TRAPP FAMILIE IN AMERIKA. The rights to an American film version were optioned by Paramount Pictures, for Audrey Hepburn. She declined, opting to make THE NUN'S STORY, instead. The Paramount options were sold to Mary Martin and her husband, Richard Halliday, to be produced as a stage play. Martin was planning on using original Von Trapp music in her show, but approached R&H to write one original song for her to sing. Rodgers suggested that she wait and they would compose an entire musical for her. TSOM opened on Broadway and became R&H's biggest stage hit. 20th Century Fox, which had right of first refusal to any R&H show, opted to produce the film. Following CLEOPATRA, the studio was all but shut down. The president of Fox, Richard Zanuck, had to decide whether to make a bunch of smaller films or put all his eggs in one basket. He decided on TSOM and hired Ernest Lehman to write a screenplay. Lehman sent it to Robert Wise, who turned it down, because he was about to begin work on THE SAND PEBBLES and wasn't availabe. Lehman then sent it to Gene Kelly, who hated it and passed. Then it was given to William Wyler, who accepted. Lehman pushed Wyler to hire Julie Andrews for Maria; but Wyler felt that Audrey Hepburn would make a better Maria, but thought that Andrews would be good for THE AMERICANIZATION OF EMILY, and submitted her name to Marty Ransohoff, the producer. Follwing a location trip to Salzburg, it became clear than Wyler was not interested in the screenplay of TSOM, as written. He envisioned filming the invasion of Austria, with tanks and shooting and all kinds of "war' images. Lehman went to Zanuck and told him his concerns with Wyler. Upon mutual agreement, Wyler left TSOM to do THE COLLECTOR. Because of severe monsoons, THE SAND PEBBLES was delayed, and Lehman managed to secure Wise to produce and direct TSOM, once again claiming that he thought Julie Andrews would be ideal for Maria. Because, in Hollywood, Julie was thought to be non-photogenic, Wise and Lehman arranged to see clips of the unfinished MARY POPPINS at Disney studios (the clips were not sent to them), following which, Wise had her signed, immediately. Marty Ransohoff, did the same thing, on Wyler's recommendation, and signed Julie for THE AMERICANIZATION OF EMILY.
scooter3843