pub fn extract_pdf_pages(path: &Path) -> Result<Vec<(u32, String)>, String>
Extract text pages from a PDF file.