NEWS
officedown 0.4.2
Issues
page_size (e.g. orient: "landscape") is now applied even when
page_margins is not set in the YAML header (#145).
- Cross-references and captions containing multibyte characters (e.g. Chinese)
are now processed in UTF-8, fixing
\@ref() handling under non-UTF-8 native
encodings (#37).
Changes
- Plot hook refactored to use Pandoc image syntax. Now supports
out.width,
out.height and out.extra for additional attributes.
officedown 0.4.1 (2025-05-20)
Changes
- Default page size is now set to exact A4 format for Word documents
- prepare paragraph styles management for officer > 0.6.8
officedown 0.4.0 (2025-03-18)
new feature
- plots now accept chunk options
out.width and out.height
if expressed in percent. #144
issues
- fix
get_fun() function
- fix BugReports links for CRAN check
officedown 0.3.3 (2024-07-16)
issues
- fix manual links for CRAN check
issues
- drop unreproducible test failure for CRAN on linux
officedown 0.3.1 (2023-09-02)
issues
- Compliance of pandoc version comparison in
knit_print.dml() function
following CRAN e-mail.
officedown 0.3.0 (2023-01-06)
new feature
- data.frame in Word now support chunk options
tab.alt.title
and tab.alt.description, used as alternative text for tables.
- Document sections are set to NULL by default.
- PowerPoint support for
fpar() and block_list().
issues
- fix usage of bookmark id containing underscore
- update default values according to new default values of
officer::opts_current_table().
- dml background color
bg is now read in R Markdown.
- require officer
>= 0.5.1 to avoid page breaking between sections
Internals
- simplify/drop code with officer 0.4.5
- add tests
officedown 0.2.4 (2022-03-07)
new feature
- emit a knitr chunk option
is_rdocx_document set to TRUE when starting
an rdocx_document. This will help with programing as it can be used to
detect if in an rdocx_document context or not.
issues
- bookmark only numbers
- capture
fig.cap.fp_text and not fig.fp_text
topcaption is now set to TRUE by default for tables as it is
set by default in officer.
officedown 0.2.3 (2021-11-16)
new feature
- support for knitr chunk options
tab.topcaption and tab.lp.
- support for knitr chunk options
tab.cap.tnd, tab.cap.tns and tab.cap.fp_text
that let define prefix for auto-number table captions. Same with
fig.cap.tnd, fig.cap.tns and fig.cap.fp_text for plots.
Issues
- fix issue missing Word headers and footers.
officedown 0.2.2 (2021-04-05)
new feature
- Added the control of page dimensions; it is now possible to define the default
section of a document.
Issues
- set
number_sections to FALSE when bookdown::markdown_document2 is
used to avoid sections numbered twice.
new feature
- support for knitr chunk option
fig.alt and fig.topcaption.
officedown 0.2.1 (2021-02-01)
Issues
- fix section issue with margin sizes (now totally handled by officer)
- fix rendering with writing to intermediates_dir
- fix regression with cross-references
officedown 0.2.0 (2020-06-29)
Changes
- Changed RStudio menu label
Issues
- fix issue with PowerPoint when no
reference_doc is provided.
officedown 0.0.7
- Added a
NEWS.md file to track changes to the package.
- Big refactoring