One can never say for sure whether copyright infringement will arise- case facts are so varied, the courts work on a case by case basis.
There cannot be any copyright in facts. If it describes a true event, the facts of that event are freely re-writeable. However, the opinions stated or the descriptions would (likely) be copyright protected.
If you create a literary work (a stage play SCRIPT) that relies on another work and you openly admit this, you will probably require the licence that Buenchico explains. Note that a play (the physical acting) is a dramatic work and separate from the script.
If you're relying on a book of facts the best thing you can do is to use the facts yourself, thereby avoiding these pitfalls. If you've any other questions please ask!
Oh, and Buenchico- it is actually unlikely (in light of case decisions) that a painting of a photo would be an infringement. Also, photos of paintings are equally a grey area. The courts don't quite know what to about photographs (and photocopies) because of the lack of any real 'skill, labour or effort'. Of course, there are those who say that photos require such knowledge of angles and lighting- exampled by Robert Doisneau I believe.
Walter v Lane is a good place to start for infringement...