Changelog
Source:NEWS.md
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 viar2rtf:::unicode_latex
(thanks, @yihui, #218).
r2rtf 1.1.0
CRAN release: 2023-07-10
New features
- Add
r2rtf_ric_text()
to allow inline formatting (#184).
Improvements
- Use the native pipe in unit testing (#179).
r2rtf 1.0.4
CRAN release: 2023-06-18
Bug fixes
- Page size of the first page is different from the other pages (#174).
r2rtf 1.0.2
CRAN release: 2023-05-01
Improvements
- Improve grammar and style for the main vignette (@howardbaek, #144).
- Add LibreOffice 7.4 and 7.5 support (#156).
- Add citation details (#155).
r2rtf 1.0.1
CRAN release: 2023-02-01
New features
- Enable vertical alignment (#136).
Improvements
- Add support for LibreOffice 7.3 (#92).
r2rtf 1.0.0
CRAN release: 2023-01-12
New features
- Add new functions:
assemble_docx()
andassemble_rtf()
.
Bug fixes
-
rtf_encode()
fails when data containsNA
and fixed-width font is used (#118). - Avoid error when
cell_nrow = 1
(#108, #109).
r2rtf 0.3.5
CRAN release: 2022-05-17
Bug fixes
- Avoid warning messages on matrix dimension in R >= 4.2.0 (#101).
- Vectorized text justification for
rtf_title()
,rtf_footnote()
, and other functions (#98).
r2rtf 0.3.3
CRAN release: 2022-03-07
Improvements
-
rtf_page()
now has a new argumentuse_color
.
Bug fixes
- Convert to proper RTF code.
-
rft_encode()
does not add footnote and source to all pages fordoc_type = "figure"
(#90).
r2rtf 0.3.2
CRAN release: 2021-12-07
New features
- The new function
rtf_read_figure()
supportsjpeg
andemf
formats for reading figures (#65).
Improvements
- Avoid specific LibreOffice version (#68).
r2rtf 0.3.1
CRAN release: 2021-09-09
Bug fixes
-
unicode_latex
not found (#50). - Vertical align column headers (#49, #52).
- Vectorize text formatting arguments in
rtf_page_header()
andrtf_page_footer()
(#47, #53). -
text_format
issue with all value equal to""
(#40). - r2rtf needs to work properly with
group_by()
(#36).
r2rtf 0.3.0
CRAN release: 2021-06-01
New features
- New experimental internal function
rtf_convert_format()
. - New argument
pageby_row
inrtf_body()
to display first row instead ofpage_by
variable whenpageby_row = "first_row"
. - New argument
subline_by
inrtf_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 fixes
-
group_by
can be used whenpage_by = NULL
. -
page_by
cannot sort format style inrtf_body()
. - Ensure consistent font size with blank cell (#14).
r2rtf 0.2.0
CRAN release: 2020-12-04
New features
- Add
rtf_subline()
,rtf_page_header()
, andrtf_page_footer()
. - Add
rtf_page()
to set page related attributes. - Introduce argument
text_convert
to allow fixed string. - Add argument
as_table
inrtf_footnote()
andrtf_source()
to allow footnote and data source inside or outside of a table. - Refactor the
pageby
feature to enable thegroup_by
feature. Addvignettes/example-pageby.Rmd
to illustrate newpageby
features. - Define
obj_rtf_border
andobj_rtf_text
objects to standardize border and text attributes.