Fixes bug #52
Merge branch 'master' into addpoppler