53
$\begingroup$

Bug introduced in 10.0 or earlier and fixed in 11.0.0


I usually create my course contracts in Mathematica and then save them in PDF format. The notebooks include hyperlinks and these have transferred to PDF without problem over the last several versions of Mathematica (at lease 7, 8 an 9). Is there something different that I need to do in version 10 in order to preserve hyperlinks?

I tried SetOptions[$FrontEndSession, PrintingStyleEnvironment -> "Working"]. But this only changed font sizes.

$\endgroup$
15
  • 4
    $\begingroup$ I think you should file a bug report at wolfram support. I do see the same issue here on OS X. On a Mac, you can use the built-in TextEdit to add hyperlinks using Apple-K. That's perhaps a workaround: copy the Mathematica document as plain text and add the links in TextEdit. $\endgroup$
    – Jens
    Aug 19, 2014 at 19:26
  • 4
    $\begingroup$ I confirm this bug in v.10.0.0 under Win7 x64. Export["test.pdf",Hyperlink["Wolfram Research, Inc.", "http://www.wolfram.com"]] produces a file without the hyperlink while in v.8.0.4 it gives a file with the hyperlink. $\endgroup$ Aug 20, 2014 at 0:09
  • 3
    $\begingroup$ Still broke in V10.1 $\endgroup$
    – Murta
    Apr 2, 2015 at 1:00
  • 2
    $\begingroup$ Anyone have any idea of a work around here? Still not fixed.... $\endgroup$ Jul 26, 2015 at 20:38
  • 3
    $\begingroup$ Using 11.3.0.0. Still has this problem. $\endgroup$
    – faceclean
    Dec 14, 2018 at 17:12

1 Answer 1

-1
$\begingroup$

Dans Mathematica 10, vous pouvez utiliser la fonction Export pour enregistrer votre notebook en format PDF avec des hyperliens préservés. Vous pouvez également utiliser les options suivantes pour contrôler la préservation des hyperliens :

rust

Export["document.pdf", "nb", "Hyperlinks" -> True, "Background" -> None]

"Hyperlinks" -> True permet de préserver les hyperliens dans le document PDF. "Background" -> None permet de ne pas inclure de fond blanc dans le document PDF. Cela peut être utile si vous souhaitez conserver la transparence dans le document.

$\endgroup$
1
  • 4
    $\begingroup$ Although I think your answer is reasonable usually most answers and questions are in English here. It seems also that the behaviour has been fixed in more recent versions of Mathematica $\endgroup$
    – Dunlop
    Feb 13 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.