graphicspath导致rmarkdown编译失败

时间:2019-08-14 03:47:52

标签: r latex r-markdown pandoc

我正在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

0 个答案:

没有答案