R Markdown PowerPoint -r可以找到名为“标题幻灯片”的布局。
我正在rstudio中的r markdown(.rmd
)创建PowerPoint演示文稿。
---
title: "My Presentation"
author: "My name"
date: "6 4 2022"
output:
powerpoint_presentation:
reference_doc: template.pptx
---
找到模板,但是渲染时发生错误:
[WARNING] Powerpoint template warning: Couldn't find layout named "Title Slide" in provided reference doc. Falling back to the default included with pandoc.
[WARNING] Powerpoint template warning: Couldn't find layout named "Section Header" in provided reference doc. Falling back to the default included with pandoc.
I am creating a PowerPoint Presentation from R markdown (.rmd
) in RStudio.
---
title: "My Presentation"
author: "My name"
date: "6 4 2022"
output:
powerpoint_presentation:
reference_doc: template.pptx
---
The template is found, but an error occurs when rendering:
[WARNING] Powerpoint template warning: Couldn't find layout named "Title Slide" in provided reference doc. Falling back to the default included with pandoc.
[WARNING] Powerpoint template warning: Couldn't find layout named "Section Header" in provided reference doc. Falling back to the default included with pandoc.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题 - 显然 - 在
template.pptx
中没有那些名称的主幻灯片。但是,当我在PowerPoint中编辑文件并打开“编辑主幻灯片”视图时,有一个标题幻灯片,以及带有标题和内容的幻灯片等。但是,我的办公室365不是英语,而是用德语。而且,当然,Office还将使用翻译用于主幻灯片的内部名称。
看起来像一个解决方案正在驶向主幻灯片,右键单击标题幻灯片 - >重命名布局 - >并将
titelfolie
更改为标题幻灯片
。重复所有其他布局。但是,问题将继续下去...
因此,实际解决方案是进入办公室设置,将显示语言更改为英语创建并编辑一个新的PPTX文件。
The problem - obviously - is that there are no master slides with those names in the
template.pptx
. Yet, when I edit the file and open the "edit master slides" view in PowerPoint, there is a title slide, and a slide with title and content and so on.However, my Office 365 is not in English but in German. And, of course, Office will also use translations for the internal names of master slides.
What looks like a solution is going the master slides, right-click on the title slide -> rename layout -> and change
Titelfolie
toTitle Slide
. Repeat for all other layouts.Yet, the problems will continue...
So, the actual solution is to go into the Office settings, change the display language to English and the create and edit a new PPTX file.