LaTeX compilers can't find files in texmf-local

Lars Madsen daleif at
Sat Apr 11 19:02:38 CEST 2020

there is no need to run a LaTeX program to see if latex can find it, on the command line run

kpsewhich poliphd.sty

and it will return the path to it if found.

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info:<> / More information:<>

From: tex-live < at> on behalf of Manuel Boni <ziosombrero at>
Sent: 11 April 2020 18:18
To: tex-live at <tex-live at>
Subject: Re: LaTeX compilers can't find files in texmf-local

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
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
Document Class: book 2019/12/20 v1.4l Standard LaTeX document class
For additional information on amsmath, use the `?' option.

! 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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the tex-live mailing list.