damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.67k stars 414 forks source link

Exporting to pdf with hyperlink #559

Open liganega opened 3 years ago

liganega commented 3 years ago

When a slide containing hyperlink for some texts are exported to pdf, the hyperlink is printed explicitly. This looks very ugly especially when the link is very long.

How can it be avoided?

FYI, the hyperlinks are added using the standard markdown syntax as follows:

[link to Google!](http://google.com)

damianavila commented 3 years ago

Are you using nbconvert > PDF? Decktape?

liganega commented 3 years ago

By using nbconvert.

liganega commented 3 years ago

Ah, maybe it is related:

The latex does not renders correctly during conversion (using nbconvert) to pdf.

For example, the following math expression

Screen Shot 2020-09-04 at 10 51 23 AM

renders like as follows:

Screen Shot 2020-09-04 at 10 51 02 AM

But it happens irregularly.

The pattern I can see is it only happens when the latex expression is used inlined. Any idea, why?

liganega commented 3 years ago

Should Latex be installed on my computer?

liganega commented 3 years ago

By using nbconvert.

It's strange that the html version has no problem with hyperlink. Only the pdf has the problem as follows: (Sorry for Korean used, but you can see the the reall address hyperlinked.)

Screen Shot 2020-09-04 at 10 45 33 PM
damianavila commented 3 years ago

Interesting, but if you are using nbconvert, this issue should be open in that repo. I know there were several recent slideshow-related changes on nbconvert, so it would be interesting to try with the latest nbconvert to see if that still happens. But, most probably, this is related to the latex machinery nbconvert is using...