Open qzylalala opened 4 years ago
原因是TeXLive 2020 没有收录这个包,见 https://github.com/ElegantLaTeX/ElegantBook/issues/117#issuecomment-680772539
最新的ElegantBook 去掉了pgfornament,所以只需要更新即可 tlmgr update --all --self
当然,更新完后也有了pgfornament包
❯ tlmgr info pgfornament
package: pgfornament
category: Package
shortdesc: Drawing of Vectorian ornaments with PGF/TikZ
longdesc: This package allows the drawing of Vectorian ornaments (196) with PGF/TikZ. The documentation presents the syntax and parameters of the macro "pgfornament".
installed: Yes
revision: 55326
sizes: doc: 2533k, run: 2565k
relocatable: No
cat-version: 1.2
cat-license: lppl1.3
cat-topics: graphics-plot decoration
cat-related: pgf
cat-contact-home: http://altermundus.fr
collection: collection-pictures
安装 TexLive2020 时只选择了中文和英文,。 直接make的时候报错 ! LaTeX Error: File `pgfornament.sty' not found. TexLive Live Manager 上查看 只有 pgfornament.sty-han
解决方案: 在终端输入
tlmgr update --self
没问题后再执行如下命令tlmgr install pgfornament
大功告成