LaTeX compilers can't find files in texmf-local

Andreas Hirsch cursus.publicus at sacrumromanumimperium.org
Sat Apr 11 14:37:20 CEST 2020


may I add:

there are three places for the files:

1: \texlive\texmf-dist\tex\latex
2: \texmf-local\tex\latex
3: ~\.texliveYYYY

IMHO Norbert mentioned Nr. 3

Nr. 2 ist for system-wide local files (not per user)

Ulrike an Philip mentioned Nr. 2 (as also used by myself) an this works fine

A hint to investigate: Nr. 2 ist fixed during the installation procedure

best,
Andreas


Philip Taylor schrieb am 11.04.2020 um 14:26:
> Ulrike Fischer wrote:
> 
>> I can't reproduce this. I just put a sty as test in
>> C:\texlive\texmf-local\tex\latex\local and after mktexlsr it is
>> found without problems. How is the name of your sty? What is the
>> exact error message you get in your document?
> 
> Also works for me :
> 
>>  Directory of C:\TeX\Live\TeX-MF\Local\tex\latex\local
>>
>> 07/04/2020  18:35    <DIR>          .
>> 07/04/2020  18:35    <DIR>          ..
>>                0 File(s)              0 bytes
>>                2 Dir(s)  87,992,389,632 bytes free
>>
>> C:\TeX\Live\TeX-MF\Local\tex\latex\local>xetex foo
>> This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded
>>  format=xetex)
>>  restricted \write18 enabled.
>> entering extended mode
>> ! I can't find file `foo'.
>> <*> foo
>>
>> (Press Enter to retry, or Control-Z to exit)
>> Please type another input file name: ^Z
>>
>> ! Emergency stop.
>> <*> foo
>>
>> No pages of output.
>> Transcript written on texput.log.
>>
>> C:\TeX\Live\TeX-MF\Local\tex\latex\local>copy con foo.tex
>> ^Z
>>         1 file(s) copied.
>>
>> C:\TeX\Live\TeX-MF\Local\tex\latex\local>xetex foo
>> This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded
>>  format=xetex)
>>  restricted \write18 enabled.
>> entering extended mode
>> (./foo.tex)
>> *\end
>> No pages of output.
>> Transcript written on foo.log.
>>
>> C:\TeX\Live\TeX-MF\Local\tex\latex\local>cd ..
>>
>> C:\TeX\Live\TeX-MF\Local\tex\latex>xetex foo
>> This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded
>>  format=xetex)
>>  restricted \write18 enabled.
>> entering extended mode
>> ! I can't find file `foo'.
>> <*> foo
>>
>> (Press Enter to retry, or Control-Z to exit)
>> Please type another input file name: ^Z
>>
>> ! Emergency stop.
>> <*> foo
>>
>> No pages of output.
>> Transcript written on texput.log.
> 
> REM: Launched TLSHELL as an administrator, invoked action "Regenerate filename database"
> 
>>
>> C:\TeX\Live\TeX-MF\Local\tex\latex>xetex foo
>> This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded
>>  format=xetex)
>>  restricted \write18 enabled.
>> entering extended mode
>> (c:/TeX/Live/TeX-MF/Local/tex/latex/local/foo.tex)
>> *\end
>> No pages of output.
>> Transcript written on foo.log.
>>
>> C:\TeX\Live\TeX-MF\Local\tex\latex>
> 
> /Philip Taylor/
> 

-- 
'Den größten Fehler,
 den man im Leben machen kann, ist,
 immer Angst zu haben,
 einen Fehler zu machen.'
	Dietrich Bonhoeffer (1906-1945)


More information about the tex-live mailing list.