had to install pdfminer to get cmap-safe encoding working. pip --pre pdfminer installs it. moved pypdf functions to splitpapers