ElegantLaTeX/ElegantBook

TexStudio+TexLive2020编辑又出错了,麻烦指导一下吧,谢谢。

Closed this issue · 2 comments

! LaTeX Error: File `pgfornament.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.425 \usetikzlibrary
                     {backgrounds,calc,shadows}^^M
*** (cannot \read from terminal in nonstop modes)

你的问题是 ! LaTeX Error: File pgfornament.sty' not found.`

是因为安装 TeX Live 2020 之后没有更新宏包的问题,参考:#117

解决的办法是,更新全部宏包:

  • windows 下:使用 cmd 运行 tlmgr update --all --self