Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译出错: ! LaTeX Error: File `pgfornament.sty' not found. #8

Open
qzylalala opened this issue Nov 10, 2020 · 2 comments
Open

编译出错: ! LaTeX Error: File `pgfornament.sty' not found. #8

qzylalala opened this issue Nov 10, 2020 · 2 comments
Labels
good first issue Good for newcomers

Comments

@qzylalala
Copy link
Collaborator

No description provided.

@qzylalala
Copy link
Collaborator Author

qzylalala commented Nov 10, 2020

安装 TexLive2020 时只选择了中文和英文,。
直接make的时候报错 ! LaTeX Error: File `pgfornament.sty' not found.
TexLive Live Manager 上查看 只有 pgfornament.sty-han

解决方案:
在终端输入
tlmgr update --self
没问题后再执行如下命令
tlmgr install pgfornament

大功告成

@colinaaa colinaaa added the good first issue Good for newcomers label Nov 10, 2020
@colinaaa
Copy link
Owner

原因是TeXLive 2020 没有收录这个包,见 ElegantLaTeX/ElegantBook#117 (comment)

最新的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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants