You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Second, I wanted to ask if there is a solution for preserving links to jump between slides in a xaringan presentation when rendering to PDF. My dirty workaround at the moment is to export to pdf, and then insert the links myself using Latex, which is unfortunately time-consuming.
Is this possible, and could it be in the pipeline for future releases?
The text was updated successfully, but these errors were encountered:
I don't think it's possible, sorry. Or at least, it's not something we can do much about. Rendering to PDF is really "printing from Chrome to PDF", so we're limited by two things:
The printing to PDF features supported by Chrome
The CSS styles that apply to the document for print media
This gives us (renderthis or xaringan devs) only a few places to affect the outcome:
Configuring our usage to Chrome to enable/disable/configure features.
If there is a mode in which PDF printing via Chrome allows internal links to work, we could use some JavaScript to rewrite internal links in a way that's more likely to work in PDF mode. (We'd need evidence of the feasibility to pursue this approach.)
Post-processing the PDF in some way. (We don't have much experience here.)
First of all, fantastic package.
Second, I wanted to ask if there is a solution for preserving links to jump between slides in a xaringan presentation when rendering to PDF. My dirty workaround at the moment is to export to pdf, and then insert the links myself using Latex, which is unfortunately time-consuming.
Is this possible, and could it be in the pipeline for future releases?
The text was updated successfully, but these errors were encountered: