PDF extraction