For a command-line relative, note that you can write a custom .lessfilter to decide the beginning of your paging pipeline. When syntax-highlighting, be sure to call less with -R.
pdftotext seems reasonable and looks to be part of the Debian lessfilter.