Closed julianmatthewman closed 2 years ago
Howdy, thanks for the reprex!
Unfortunately, I have no expectation that gtExtras
will work with PDF as most of the internals are generating complex HTML output.
One option, albeit not ideal, is to output to .png
with gtsave()
and then bring the image of the table back in with knitr::include_graphics()
or a ![](image.png)
.
I have no plans to backport gtExtras
features to PDF support, as I don't have the expertise to enable it via LaTeX.
Makes sense; thank you for considering and suggesting a workaround!
Hi,
thanks for creating an awesome package! I'm trying to create tables with inline visualisations and render these to PDF via
quarto
or directly withknitr
, however this throws a "compilation failed- error". HTML and Word formats work fine.Apologies, I'm not sure if this should be a bug report or a feature request, and also if this should be reported as a issue here or at the
gt
repository. I'm also not able to render tables with inline visualisations to PDF when using functions fromkableExtra
withingt
as described in your blog-post "Embedding custom HTML ingt
tables"(https://themockup.blog/posts/2020-10-31-embedding-custom-features-in-gt-tables/#gt-kableextra). Rendering to PDF does however work forkable
s including visualisations created withkableExtra
.Many thanks in advance! Rendering to PDF would be a brilliant feature addition, but I do understand that gtExtras is HTML focused.