LaTeX compilers can't find files in texmf-local

Manuel Boni ziosombrero at gmail.com
Sat Apr 11 18:18:41 CEST 2020


Thank you very much for your support.
The .sty file is called poliphd.sty. Here are the steps to reproduce the
issue:
1) put poliphd.sty inside C:/texlive/texmf-local/tex/latex/local/
2) run mktexlsr (it will successfully complete its job)
3) use the poliphd package inside a document and compile it

here is the error I get

pdflatex report
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./report.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
(c:/texlive/2020/texmf-dist/tex/latex/base/book.cls
Document Class: book 2019/12/20 v1.4l Standard LaTeX document class
(c:/texlive/2020/texmf-dist/tex/latex/base/bk11.clo))
(c:/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty)
(c:/texlive/2020/texmf-dist/tex/latex/base/inputenc.sty)
(c:/texlive/2020/texmf-dist/tex/latex/lm/lmodern.sty)
(c:/texlive/2020/texmf-dist/tex/generic/babel/babel.sty
(c:/texlive/2020/texmf-dist/tex/generic/babel/switch.def)
(c:/texlive/2020/texmf-dist/tex/generic/babel-english/english.ldf
(c:/texlive/2020/texmf-dist/tex/generic/babel/babel.def
(c:/texlive/2020/texmf-dist/tex/generic/babel/txtbabel.def)))
(c:/texlive/2020/texmf-dist/tex/generic/babel-italian/italian.ldf))
(c:/texlive/2020/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(c:/texlive/2020/texmf-dist/tex/latex/mathtools/mathtools.sty
(c:/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/texlive/2020/texmf-dist/tex/latex/tools/calc.sty)
(c:/texlive/2020/texmf-dist/tex/latex/mathtools/mhsetup.sty)
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/texlive/2020/texmf-dist/tex/latex/amsmath/amsopn.sty)))
(c:/texlive/2020/texmf-dist/tex/latex/amsfonts/amssymb.sty
(c:/texlive/2020/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(c:/texlive/2020/texmf-dist/tex/latex/amscls/amsthm.sty)

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

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

Enter file name:

The interesting thing is that putting poliphd.sty file inside the home
texmf directory (~/texmf/tex/latex/),
the compiler can find the document without any issue.

Best wishes,
Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20200411/5fa573de/attachment.html>


More information about the tex-live mailing list.