我的markdown文件无法编织为PDF,并返回以下错误:
不匹配(在正则表达式中;在m //中以<-HERE标记(<-HERE .sty / at / usr / local / bin / tlmgr第1778行。grep(paste0(“ /”,x [j],“ $”)中的错误, l):无效的正则表达式'/(.sty$',原因为'Missing')'' 调用:... system2_quiet-> on_error-> parse_packages-> grep
我在Mac上,昨天一切正常,然后安装了tinytex(可能已经安装了两次),现在无法编织为PDF。有人看过这个错误吗?还是与tmlr合作?
我尝试卸载tinytex并重新安装Rstudio。
如果有帮助,我的YAML标题为:
---
title: \vspace{2in}"**Borrower Feedback Analysis**"
date: "`r Sys.Date()`"
#output: html_document
output:
pdf_document:
latex_engine : xelatex
toc: true
toc_depth: 1
header-includes:
- \usepackage(tinytex)
- \usepackage{sectsty}
- \usepackage{xcolor}
- \definecolor{blendHeaderBlue}{HTML}{00146b}
- \definecolor{blendParahraphBlue}{HTML}{4a578f}
- \sectionfont{\color{blendHeaderBlue}}
- \subsectionfont{\color{blue}}
- \paragraphfont{\color{blue}}
geometry: margin= .9in
fontsize: 10pt
---