PJ beat me to it, but I was going to say you have to start with the source, whatever that may be (in this case, a book). Even if an adaptation of it is Public Domain, it doesn't give you free rein over the source material.
And like Capn Hook said, even if the source material is Public Domain, it doesn't give you the right to take things from the protected adaptations.
i.e. Wicked --- The Wizard of Oz by L. Frank Baum is public domain, but the MGM film adaptation is not and is still protected under copyright laws, including its screenplay. They had to be very careful in Wicked not to use anything that was solely from the film (like the Ruby Slippers).
They did get away with certain "questionable" things that are from adaptations: the green skin and the fact that the two wicked witches are sisters. Those are from the film, but since they have also appeared in other adaptations, they were able to jump the legal hurdle. In the book, the witches are not sisters, and the witch of the west does not have green skin.
"Jaws is the Citizen Kane of movies."
blocked: logan2, Diamonds3, Hamilton22