From 6f27795aab5bb3f0933018f76522a8cea2885e79 Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Thu, 14 Nov 2024 22:28:20 -0500 Subject: [PATCH 1/3] bump --- DESCRIPTION | 2 +- NEWS.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index acd8ed23..b10cf3ff 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.5.0.7 +Version: 0.6.0 Imports: methods Depends: diff --git a/NEWS.md b/NEWS.md index 42f03f03..83b6a7ef 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,6 @@ # News -## Development +## 0.6.0 * Major refactor of the style internals. HTML, LaTeX, and Typst documents should be much more concise and efficient. * `theme_tt("spacing")`: Change the row and column spacing to create more compact or airy tables. LaTeX and HTML only. Thanks to @statzhero for feature request #353. @@ -14,7 +14,6 @@ Bugs: * Typst notes returned an error since the last release. Thanks to @DominikVogel for report #357. * Duplicate group labels are allowed in LaTeX with `group_tt()`. Thanks to @eeemda for report #362. - ## 0.5.0 New: From 3a918f139c3f043dd3ff66deedee2b1544a8a078 Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Sat, 16 Nov 2024 08:26:48 -0500 Subject: [PATCH 2/3] d-column bug --- R/style_tabularray.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/style_tabularray.R b/R/style_tabularray.R index f974083c..375c0d28 100644 --- a/R/style_tabularray.R +++ b/R/style_tabularray.R @@ -54,7 +54,7 @@ setMethod( dcol_j <- if (length(dcol_j) == 0) NULL else unique(dcol_j) for (idx_j in dcol_j) { spec <- get_dcolumn(idx_j, x) - spec <- sprintf("column{%s}={%s}\n", dcol_j, spec) + spec <- sprintf("column{%s}={%s}\n", idx_j, spec) x@table_string <- tabularray_insert(x@table_string, content = spec, type = "inner") for (idx_i in seq_len(x@nhead)) { spec <- paste(sprintf("cell{%s}{%s}={guard,halign=c,},", idx_i, idx_j), collapse = "\n") From 6d7a15aff5547689e2f116d1dffa3fae6ad60bdd Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Sat, 16 Nov 2024 08:35:33 -0500 Subject: [PATCH 3/3] bump --- DESCRIPTION | 2 +- NEWS.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index b10cf3ff..3e944a61 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.0 +Version: 0.6.1 Imports: methods Depends: diff --git a/NEWS.md b/NEWS.md index 83b6a7ef..cb1e2811 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # News +## 0.6.1 + +* Bug fix: d-column LaTeX generated an error in some cases. + ## 0.6.0 * Major refactor of the style internals. HTML, LaTeX, and Typst documents should be much more concise and efficient.