diff --git a/DESCRIPTION b/DESCRIPTION index 69cf21f..8745c7c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: r2rtf Title: Easily Create Production-Ready Rich Text Format (RTF) Tables and Figures -Version: 1.2.0 +Version: 1.3.0 Authors@R: c( person("Yilong", "Zhang", role = "aut"), person("Siruo", "Wang", role = "aut"), diff --git a/NEWS.md b/NEWS.md index baa2d57..fdf4651 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,9 +1,28 @@ -# r2rtf 1.2.0.9000 +# r2rtf 1.3.0 + +## New features + +- Add `write_docx()` and `write_html()` to output encoded RTF to DOCX/HTML + via LibreOffice (@elong0527, #281). +- Add `\\pagenumber_hardcoding` control word for table-relative page numbering + in multi-page tables (@wangben718, #283). ## Bug fixes -- `strwidth()` and `par()` calls no longer leak a graphics device when - no device is active, preventing unwanted `Rplots.pdf` output (#285). +- Remove trailing whitespace after `\\totalpage` to avoid emitting extra spaces + and support page-aware substitution (@elong0527, #280). +- `strwidth()` and `par()` calls no longer leak a graphics device when no device + is active, preventing unwanted `Rplots.pdf` output (@nanxstats, #285). + +## Improvements + +- Update vignette examples to avoid misleading footer/source labels (@wangben718, #286). + +## Maintenance + +- Include `tests/testthat/_snaps/` in the built package to satisfy testthat + snapshot requirements and fix `R CMD check` with testthat >= 3.3.0 + (@elong0527, #282). # r2rtf 1.2.0