I have reverted back to the advanced word template and included a company word template and it fails to compile.
I don't want to upload the company template (docx file) but here is the changed yaml code and the compile error
---
date: "`r Sys.Date()`"
author: "Your Name"
title: "officedown template"
output:
officedown::rdocx_document:
reference_docx: formal_technical_report_template.docx
mapstyles:
Normal: ['First Paragraph']
---
Quitting from lines 92-93 (Standard_Advanced_Word_Template.Rmd)
Error: could not match any style named 'Table' in c('Normal Table', 'Table Grid', 'Table 3D effects 1', 'Table 3D effects 2', 'Table 3D effects 3', 'Table Classic 1', 'Table Classic 2', 'Table Classic 3', 'Table Classic 4', 'Table Colorful 1', 'Table Colorful 2', 'Table Colorful 3', 'Table Columns 1', 'Table Columns 2', 'Table Columns 3', 'Table Columns 4', 'Table Columns 5', 'Table Contemporary', 'Table Elegant', 'Table Grid 1', 'Table Grid 2', 'Table Grid 3', 'Table Grid 4', 'Table Grid 5', 'Table Grid 6', 'Table Grid 7', 'Table Grid 8', 'Table List 1', 'Table List 2', 'Table List 3', 'Table List 4', 'Table List 5', 'Table List 6', 'Table List 7', 'Table List 8', 'Table Professional', 'Table Simple 1', 'Table Simple 2', 'Table Simple 3', 'Table Subtle 1', 'Table Subtle 2', 'Table Theme', 'Table Web 1', 'Table Web 2', 'Table Web 3', 'Light Shading1', 'Table_My_Company')
In addition: Warning message:
paragraph style for plots "Figure" has not been found in the reference_docx document. Style 'Normal' will be used instead.
Execution halted