Error with hyperref and pdftex

I’ve tried to run tectonic paper.tex on a pdflatex project, and got this:

Running TeX ...
warning: algorithm.sty:11: 
Invalid UTF-8 byte or sequence at line 11 replaced by U+FFFD.
error: hyperref.sty:4383: Package hyperref Error: Wrong driver option `pdftex',
(hyperref)                because pdfTeX in PDF mode is not detected.

See the hyperref package documentation for explanation.
Type  H <return>  for immediate help
error: halted on potentially-recoverable error as specified

this is on a linux machine with texlive-bin installed, so pdftex/pdflatex are in scope. Is there a way to recover from the error, or to have hyperred behave?

Remove the pdftex option when calling hyperref

1 Like

Thank you, it does solve this. Sadly tectonic fails just a little further below. I think it might be a bit hard to try and compile a file written for pdflatex…