tlmgr conf auxtrees --conffile behavior in windows

Pablo Alfonso González Luengo pablgonz at educarchile.cl
Fri Mar 29 02:00:12 CET 2019


Hello, I have installed the pretest version of TeXLive 2019 in windows
10 pro (x64) updated.
# win10 TexLive 2019 pretest
C:\WINDOWS\system32>tlmgr shell --machine-readable -v
D:tlmgr:main: ::tldownload_server defined: TeXLive::TLDownload=HASH(0x3b897cc)
protocol 1
tlmgr>
version
revision 50333
installation C:/texlive/2019
tlversion 2019
TLConfig 50190
TLUtils 50493
TLPOBJ 50211
TLPDB 50091
TLPaper 45795
TLWinGoo 47907
tlmgr>
quit

I am trying to use "auxtrees" to add
"d:/ltxcole/tex/latex/colegio-new2019.sty" without administrator
permission and I have run into a problem.
This is the output using Administrator privileges:

C:\WINDOWS\system32>kpsewhich -var-value=TEXMFHOME
C:/Users/pablo/texmf
C:\WINDOWS\system32>kpsewhich -var-value=TEXMFCNF
{C:/texlive/2019/bin/win32,C:/texlive/2019/bin/win32/share/texmf-local/web2c,C:/texlive/2019/bin/win32/share/texmf-dist/web2c,C:/texlive/2019/bin/win32/share/texmf/web2c,C:/texlive/2019/bin/win32/texmf-local/web2c,C:/texlive/2019/bin/win32/texmf-dist/web2c,C:/texlive/2019/bin/win32/texmf/web2c,C:/texlive/2019/bin,C:/texlive/2019/bin/share/texmf-local/web2c,C:/texlive/2019/bin/share/texmf-dist/web2c,C:/texlive/2019/bin/share/texmf/web2c,C:/texlive/2019/bin/texmf-local/web2c,C:/texlive/2019/bin/texmf-dist/web2c,C:/texlive/2019/bin/texmf/web2c,C:/texlive/texmf-local/web2c,C:/texlive/2019,C:/texlive/2019/share/texmf-local/web2c,C:/texlive/2019/share/texmf-dist/web2c,C:/texlive/2019/share/texmf/web2c,C:/texlive/2019/texmf-local/web2c,C:/texlive/2019/texmf-dist/web2c,C:/texlive/2019/texmf/web2c}

Some of these directories do not exist as such:
C:/texlive/2019/bin/win32/share/texmf-local/web2c
C:/texlive/2019/bin/win32/share/texmf-dist/web2c
C:/texlive/2019/bin/win32/share/texmf/web2c
C:/texlive/2019/bin/win32/texmf-local/web2c
C:/texlive/2019/bin/win32/texmf-dist/web2c
C:/texlive/2019/bin/win32/texmf/web2c
C:/texlive/2019/bin/share/texmf-local/web2c
C:/texlive/2019/bin/share/texmf-dist/web2c
C:/texlive/2019/bin/share/texmf/web2c
C:/texlive/2019/bin/texmf-local/web2c
C:/texlive/2019/bin/texmf-dist/web2c
C:/texlive/2019/bin/texmf/web2c
C:/texlive/texmf-local/web2c
C:/texlive/2019/share/texmf-local/web2c
C:/texlive/2019/share/texmf-dist/web2c
C:/texlive/2019/share/texmf/web2c
C:/texlive/2019/texmf-local/web2c
C:/texlive/2019/texmf/web2c
I suppose does not affect anything. Now run kpsewhich -all texmf.cnf

C:\WINDOWS\system32>kpsewhich -all texmf.cnf
c:/texlive/2019/texmf.cnf
c:/texlive/2019/texmf-dist/web2c/texmf.cnf

"c" is not uppercase, which does not affect anything again. Now the
output without administrator permissions using my local account
C:\Users\pablo>kpsewhich -var-value=TEXMFHOME
C:/Users/pablo/texmf
C:\Users\pablo>kpsewhich -var-value=TEXMFCNF
{C:/texlive/2019/bin/win32,C:/texlive/2019/bin/win32/share/texmf-local/web2c,C:/texlive/2019/bin/win32/share/texmf-dist/web2c,C:/texlive/2019/bin/win32/share/texmf/web2c,C:/texlive/2019/bin/win32/texmf-local/web2c,C:/texlive/2019/bin/win32/texmf-dist/web2c,C:/texlive/2019/bin/win32/texmf/web2c,C:/texlive/2019/bin,C:/texlive/2019/bin/share/texmf-local/web2c,C:/texlive/2019/bin/share/texmf-dist/web2c,C:/texlive/2019/bin/share/texmf/web2c,C:/texlive/2019/bin/texmf-local/web2c,C:/texlive/2019/bin/texmf-dist/web2c,C:/texlive/2019/bin/texmf/web2c,C:/texlive/texmf-local/web2c,C:/texlive/2019,C:/texlive/2019/share/texmf-local/web2c,C:/texlive/2019/share/texmf-dist/web2c,C:/texlive/2019/share/texmf/web2c,C:/texlive/2019/texmf-local/web2c,C:/texlive/2019/texmf-dist/web2c,C:/texlive/2019/texmf/web2c}
C:\Users\pablo>kpsewhich -all texmf.cnf
c:/texlive/2019/texmf.cnf
c:/texlive/2019/texmf-dist/web2c/texmf.cnf
C:\Users\pablo>tlmgr conf auxtrees show
tlmgr.pl: no auxiliary texmf trees defined.
C:\Users\pablo>tlmgr conf auxtrees add D:/ltxcole/
Cannot write to C:/texlive/2019/texmf.cnf: Permission denied
C:\Users\pablo>tlmgr conf auxtrees --conffile C:/Users/pablo/texmf.cnf
add D:/ltxcole/
C:\Users\pablo>kpsewhich -all texmf.cnf
c:/texlive/2019/texmf.cnf
c:/texlive/2019/texmf-dist/web2c/texmf.cnf
C:\Users\pablo>cat C:\Users\pablo\texmf.cnf
TEXMFAUXTREES = D:/ltxcole/,
C:\Users\pablo>tlmgr conf auxtrees --conffile C:/Users/pablo/texmf.cnf
List of auxiliary texmf trees:
  D:/ltxcole/

But if run pdflatex test.tex file say:

! LaTeX Error: File `colegio-new2019.sty' not found.

Now run Administrator privileges

C:\WINDOWS\system32>tlmgr conf auxtrees add D:/ltxcole/
C:\WINDOWS\system32>tlmgr conf auxtrees show
List of auxiliary texmf trees:
  D:/ltxcole/

run pdflatex test.tex and see ".fls" INPUT
d:/ltxcole/tex/latex/colegio-new2019.sty ... all are ok
My question is the following:
Is this the correct behavior of $tlmgr conf auxtrees --conffile?
In fedora 29, it works perfectly, Am I writing the command wrong in Win10?
Saludos



More information about the tex-live mailing list