Recent Releases of r2rtf

r2rtf - r2rtf 1.2.0

New features

  • Add internationalization (i18n) support with use_i18n parameter in rtf_page() to enable SimSun font for Chinese character support in RTF documents (#256).
  • Add text_hyphenation parameter to rtf_title(), rtf_colheader(), and rtf_subline() functions to control text hyphenation in RTF output (#235).

Improvements

  • Refactor font type table to use a data frame structure for better maintainability (#264).

- R
Published by nanxstats 7 months ago

r2rtf - r2rtf 1.1.4

Bug fixes

  • Support setting text color properly when encoding figures into RTF (@elong0527, #252).

Improvements

  • Safeguard code examples and tests against a rare situation where officer could miss its underlying dependency systemfonts (@nanxstats, #249).

- R
Published by nanxstats about 1 year ago

r2rtf - r2rtf 1.1.3

Bug fixes

  • Fix unlist() usage in as_rtf_footnote() which could result in errors for downstream code under R >= 4.5.0 (@nanxstats, #245).

- R
Published by nanxstats about 1 year ago

r2rtf - r2rtf 1.1.2

Improvements

  • Fine-tune the symbol to ANSI and Unicode converter for faster, safer, and more robust conversion (thanks, @yihui, #217).
  • Use code to generate the Unicode/LaTeX mapping table, to replace the previous R/sysdata.rda solution. Now the mapping table is directly accessible via r2rtf:::unicode_latex (thanks, @yihui, #218).

- R
Published by nanxstats about 1 year ago

r2rtf - r2rtf 1.1.1

Bug fixes

  • Fix bug when converting UTF-8 code >= 128 (#194).

Improvements

  • Add LibreOffice 7.6 support and improve error messages style (#198).
  • Update .docx and .html artifacts in vignettes/ (#206).

- R
Published by wangben718 over 2 years ago

r2rtf - r2rtf 1.1.0

New features

  • Add r2rtf_rich_text() to allow inline formatting (@BrianLang, #184).

Improvements

  • Use the native pipe in unit testing (#179).

- R
Published by elong0527 over 2 years ago

r2rtf - r2rtf 1.0.4

Bug fixes

  • Page size of the first page is different from the other pages (#174).

- R
Published by elong0527 almost 3 years ago

r2rtf - r2rtf 1.0.3

Bug fixes

  • Fix an issue when group_by and page_by are used together (#168).

Improvements

  • Properly display cell height in HTML output (#66).

- R
Published by elong0527 almost 3 years ago

r2rtf - r2rtf 1.0.2

Bug fixes

  • Display proper indentation for footnote and data source (#141).
  • Fix an issue when a column only contains missing value (#146).

Improvements

  • Improve grammar and style for the main vignette (@howardbaek, #144).
  • Add libreoffice 7.4 and 7.5 support (#156).
  • Add citation details (#155).

- R
Published by nanxstats almost 3 years ago

r2rtf - r2rtf 1.0.1

  • New feature: enable vertical alignment (#136)
  • bug fix: enable libreoffice7.3 (#92)

- R
Published by elong0527 about 3 years ago

r2rtf - r2rtf 1.0.0

  • New functions: assemble_docx and assemble_rtf.
  • Update copyright
  • bug fix: rtf_enode fails when data contains NA and fixed-width font is used (#118)
  • bug fix: avoid error when cell_nrow=1 (#108, #109)

- R
Published by elong0527 about 3 years ago

r2rtf - r2rtf 0.3.5

  • bug fix: avoid warning message for matrix dimission in R4.2.0 (#101)
  • bug fix: vectorized text justification for r2rtf::rtf_title, r2rtf::rtf_footnote, etc (#98)

- R
Published by elong0527 almost 4 years ago

r2rtf - r2rtf 0.3.4

  • Update maintainer email
  • bug fix: utf8Tortf provide additional "-"

- R
Published by elong0527 almost 4 years ago

r2rtf - r2rtf 0.3.3

  • New argument: add use_color argument in rtf_page
  • bug fix: convert to proper RTF code
  • bug fig:rft_encode() doesn't add footnote and source to all pages for doc_type = "figure" (#90)

- R
Published by elong0527 about 4 years ago

r2rtf - r2rtf 0.3.2

v0.3.2 (2021-12-07)

  • New function: rtf_read_figure support jpeg and emf format to read figure (#65)
  • Improvement: avoid specific libreoffice version (#68)
  • Bug fix: avoid using as.vector for data.frame (#74)
  • Bug fix: proper alignment to transfer html (#61)

- R
Published by elong0527 over 4 years ago

r2rtf - v0.3.1 (2021-09-09)

  • New argument cell_vertical_alignment in rtf_xxx function. (#49, #52)
  • New argument verbose in rtf_encode_list and rtf_encode_table. (#38)
  • Bug fix unicode_latex not found. (#50)
  • Bug fix vertical align column headers. (#49, #52)
  • Bug fix vectorize text formatting arguments in rtfpageheader and rtfpagefooter. (#47, #53)
  • Bug fix text_format issue with all value equal to "". (#40)
  • r2rtf needs to work properly with group_by(). (#36)

- R
Published by elong0527 over 4 years ago

r2rtf - v0.3.0 (2021-06-01)

  • Rename dataset with prefix r2rtf to avoid conflict of other namespace
  • Enable special place holder "-----" in page_by variable to suppress line displayed in page_by variable (ref Example 2 in vignette/example-pageby-groupby)
  • New experimental function rtf_convert_format.
  • New argument pageby_row in rtf_body to display first row instead of page_by variable when pageby_row = "first_row"
  • New argument subline_by in rtf_body to display subline by an variable.
  • New argument text_indent_reference to allow user to control reference of indent from page margin or table border (#12)
  • New internal function rtf_subset to subset an rtf table object.
  • Bug fix group_by can be used when page_by=NULL.
  • Bug fix page_by can not sort format style in rtf_body
  • Bug fix ensure consistent font size with blank cell (#14)

- R
Published by elong0527 almost 5 years ago

r2rtf - v0.2.0 (2020-12-04)

  • Add rtf_subline, rtf_page_header, rtf_page_footer.
  • Add rtf_page to set page related attributes.
  • Introduce text_convert argument to allow fixed string.
  • Add as_table argument in rtf_footnote and rtf_source to allow footnote and datasource inside or outside of a table.
  • Refactor pageby feature to enable group_by feature. Add vignette\example-pageby.Rmd to illustrate new pageby features.
  • Define obj_rtf_border and obj_rtf_text objects to standardize border and text attributes.
  • Add example ADaM datasets.
  • Add validation tracker in \inst folder and testing cases in \test.

- R
Published by elong0527 over 5 years ago

r2rtf - v0.1.1 (2020-04-03)

  • Standardize input from gt_tbl to tbl
  • Resolving UTF-8 encoding

- R
Published by elong0527 over 5 years ago