diff --git a/DESCRIPTION b/DESCRIPTION index 3e944a61..288b618b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: tinytable Type: Package Title: Simple and Configurable Tables in 'HTML', 'LaTeX', 'Markdown', 'Word', 'PNG', 'PDF', and 'Typst' Formats Description: Create highly customized tables with this simple and dependency-free package. Data frames can be converted to 'HTML', 'LaTeX', 'Markdown', 'Word', 'PNG', 'PDF', or 'Typst' tables. The user interface is minimalist and easy to learn. The syntax is concise. 'HTML' tables can be customized using the flexible 'Bootstrap' framework, and 'LaTeX' code with the 'tabularray' package. -Version: 0.6.1 +Version: 0.6.1.1 Imports: methods Depends: diff --git a/NEWS.md b/NEWS.md index cb1e2811..e1e74754 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,15 @@ # News +## Development + +Bugs: + +* `save_tt("file.pdf")` works with colors. Thanks to @olivedv for the report and solution #395. + +Misc: + +* Documentation improvements + ## 0.6.1 * Bug fix: d-column LaTeX generated an error in some cases. diff --git a/R/save_tt.R b/R/save_tt.R index 471042a8..2106d337 100644 --- a/R/save_tt.R +++ b/R/save_tt.R @@ -157,6 +157,7 @@ latex_standalone <- " \\usepackage{rotating} \\usepackage{float} \\usepackage[normalem]{ulem} +\\usepackage[HTML]{xcolor} \\UseTblrLibrary{booktabs} \\UseTblrLibrary{siunitx} \\newcommand{\\tinytableTabularrayUnderline}[1]{\\underline{#1}}