Don’t embed hyperlinks during latex file generation.

Should fix #3830