LaTeX Error: File `type1ec.sty’ not found.

1. Report an error

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

2. Root cause

Since the latex package was not completely installed during the installation process, it may not be able to continue running due to the lack of a certain LaTeX macro package.

3. Solution

(1) Search for the relevant .sty package in the LaTeX macro package database/usr/share/texmf/tex/latex/宏包名称file/ , download it and place it in the path.

(2) Run:

sudo mktexlsr

Guess you like

Origin blog.csdn.net/weixin_37950717/article/details/125221332