我正在R Studio中工作,使用rmarkdown创建投影仪幻灯片。当我声明多个图形路径(使用\graphicspath{{"path1"},{"path2"}})
块中的header_includes
时,Beamer PDF无法编译,出现“无法编译”错误。下面给出一个最小的工作示例。
我正在回顾大约10个月前创建的幻灯片-当时效果很好。
声明无路径有效:
---
title: A plea for help
author: Minimum reproducible example
output: beamer_presentation
---
## A plea for help
Help much appreciated
只声明一个路径也是如此:
---
title: A plea for help
author: Minimum reproducible example
output: beamer_presentation
header-includes:
- \graphicspath{{"C:/Users/me"}}
---
## A plea for help
Help much appreciated
但是多个路径失败:
---
title: A plea for help
author: Minimum reproducible example
output: beamer_presentation
header-includes:
- \graphicspath{{"C:/Users/me"},{"C:/Users/you"}}
---
## A plea for help
Help much appreciated