1 year ago

#293007

test-img

Ross Darnell

Document title, author and date lost when using officedown::rdocx and reference_docx

If I do not use a word reference file and define tittle , author and date I get the standard title page.

 ---
 title: Report Title 
 author: Ross 
 date: 3/3/2022 
 output: officedown:: rdocx_document
 ---

however if I nominate a company template company_report_template.docx

---
title: Report Title 
author: Ross 
date: 3/3/2022 
output: 
  officedown::rdocx_document:
    reference_docx: company_report_template.docx
---

The title, author and date are printed out in the rendered word document with no style.

It appears the yaml metadata is lost during rendering.

r-markdown

officedown

0 Answers

Your Answer

Accepted video resources