Originally Posted by joesh
...I hear you when you say PDF is a poor source format. Yet PDF is the most likely format in which a screenplay exists. ...
The fact that it is a "likely format" to be found as a source for conversion in absolutely no way means that it is feasible, or even possible, to create an automated conversion routine that always works with all examples. Two PDFs that look identical can be vastly different in their internal construction.