# pdflatex not finding local files in Win 10

Mike Marchywka marchywka at hotmail.com
Thu Sep 5 16:07:10 CEST 2019

On Thu, Sep 05, 2019 at 01:03:16PM +0000, Gray, Gary L wrote:
> That did it! Thank you -- I had forgotten about that.

I have found that scripts are about the best documentation you can
have. After floundering on anything it can always be reduced to
scripts and then you can grep for comments- slower than apropos
but if you are stuck it may not matter.

I've encountered a bunch of issues with inconsistent packages
and it helps if I can prepend obsolete ones in the search path
for some projects
or append the path for questionable additions.

kpse was less than intuitive but once it was reduced to scripts
I could forget the stuff.

I guess typically you want to run latex from any dir
but I made projects that are predominantly one type or
another- say latex or cpp - and then set paths
optmized for that. This avoided some name collisions
with things like "setup" although I'd imagine there are better
ways to organize things you have flexibility if you
can play with the paths easily.

fwiw.

>
> Gary
>
> > On Sep 5, 2019, at 4:27 AM, Lars Madsen <daleif at math.au.dk> wrote:
> >
> > does running
> >
> > texhash
> >
> > help?
> >
> > I do not remember if texmf-local is always searched or needs to have its contents presearched via texhash
> >
> > There is also an interface for this in the texlive manager (Update filename database)
> >
> >
> > /Lars Madsen
> > Institut for Matematik / Department of Mathematics
> > Aarhus Universitet / Aarhus University
> > Mere info: http://au.dk/daleif@math / More information: http://au.dk/en/daleif@math
> >
> > From: texhax <texhax-bounces+daleif=imf.au.dk at tug.org> on behalf of Gray, Gary L <euler at psu.edu>
> > Sent: 05 September 2019 00:15
> > To: texhax at tug.org <texhax at tug.org>
> > Subject: pdflatex not finding local files in Win 10
> >
> > I just finished installing TeX Live 2019 in a Windows 10 VM using the .exe installer on this page:
> >
> > http://tug.org/texlive/acquire-netinstall.html
> >
> > The install completed successfully, but when I typeset using pdflatex, it isn't finding local files I put in:
> >
> > C:\texlive\texmf-local\tex\latex\local\
> >
> > or in:
> >
> > C:\texlive\texmf-local\tex\latex\
> >
> > Both of these directories were created by the installer. A fresh install on macOS finds files placed in the corresponding folder on my Library folder. What else do I need to do to get TeX to find files placed there?
> >
> > Thank you!
> >
> > -- Gary L. Gray
>
>

--

mike marchywka
306 charles cox
canton GA 30115
USA, Earth
marchywka at hotmail.com
404-788-1216
ORCID: 0000-0001-9237-455X