Running Latex file on the basis of the latest Tex-Live might lead to problems such as
! LaTeX Error: File `pgfornament.sty' not found.
- This is resulted from loss of some package file. We can use package manager of Tex-live tlmgr to solve this problem.
- Open our terminal and run
tlmgr update --self -all
Or just run
tlmgr update --self
tlmgr install pgfornament
- Most of these types of problems can be solved by using this method.

当使用最新版TeX Live运行LaTeX文件时,可能会遇到找不到`pgfornament.sty`文件的问题。这通常是由于缺少某个包文件导致的。可以通过Tex Live的包管理器`tlmgr`来解决这个问题。只需在终端中运行`tlmgr update --self-all`或者`tlmgr update --self`和`tlmgr install pgfornament`即可修复大多数类似问题。

被折叠的 条评论
为什么被折叠?



