[MRG+1] Don’t embed hyperlinks during latex file generation.

Should fix #3830