proposed fix for #919 (missing pdf index)
Merge pull request #937 from nolta/patch-1

proposed fix for #919 (missing pdf index)