\href{} applied to \includegraphics{} doesn't appear to work for pdf
cpsievert opened this issue · 2 comments
cpsievert commented
To reproduce, try adding a fig.link="https://google.com"
to this code chunk (or any chunk that produces an image):
bookdown-crc/01-introduction.Rmd
Line 9 in f91226b
Interestingly, the appropriate \href{}
is generated in the resulting tex file (so knitr/bookdown isn't the problem here), but clicking on the image in the pdf does nothing. Any idea why that might be? Perhaps a problem with the krantz.cls file?
cpsievert commented
Ah, yes, thank you!