Discussion:
tlmgr conf does not report xetex/luatex paths
(too old to reply)
jfbu
2017-10-26 13:20:07 UTC
Permalink
Raw Message
Hi,

`tlmgr conf`'s output contains near top

==================== executables found by searching PATH =================

and explicit full paths for various executables inclusive
of pdftex and dvipdfmx

it does not report situation for xetex/luatex,

perhaps the info could be added?

This is in case one needs to help someone having PATH problems,
of course seeing that tex, pdftex, dvipdfmx all look right
is ample enough information that xetex and luatex are visible
too, but well...

tested with tlmgr revision 45286 (2017-09-13 03:55:27 +0200)

Best,

Jean-François
Nelson H. F. Beebe
2017-10-26 13:48:52 UTC
Permalink
Raw Message
Jean-François asks about adding xetex and luatex to the executables
tested for by "tlmgr conf".

If that change is made, let's do one more thing: line up the output
in neat columns for better visibility: compare these two reports:

% tlmgr conf | grep /bin
PATH: /usr/local/texlive/2017/bin/i386-solaris-10:/usr/local/texlive/2017/bin/i386-solaris-10:/usr/local/bin:/usr/local/bin/X11:/usr/local/sbin:/bin:/usr/ccs/bin:/u/sy/beebe/bin/i86pc:/u/sy/beebe/bin:/usr/local/share/bin:/usr/local/netpbm/bin:/usr/sfw/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/X11/bin:/usr/openwin/bin:/usr/dt/bin:/usr/sbin:/sbin:/opt/sfw/bin:/usr/local/ashare/sys/developerstudio12.5/bin:/opt/solstudio12.2/bin:/usr/java/bin:/usr/local/java/bin:/usr/local/etc:/etc:/usr/ucb:.:/u/sy/beebe/tex/bib:/usr/proc/bin:/usr/local/ora/bin:/usr/local/sbin
kpsewhich: /usr/local/texlive/2017/bin/i386-solaris-10/kpsewhich
updmap: /usr/local/texlive/2017/bin/i386-solaris-10/updmap
fmtutil: /usr/local/texlive/2017/bin/i386-solaris-10/fmtutil
tlmgr: /usr/local/texlive/2017/bin/i386-solaris-10/tlmgr
tex: /usr/local/texlive/2017/bin/i386-solaris-10/tex
pdftex: /usr/local/texlive/2017/bin/i386-solaris-10/pdftex
mktexpk: /usr/local/texlive/2017/bin/i386-solaris-10/mktexpk
dvips: /usr/local/texlive/2017/bin/i386-solaris-10/dvips
dvipdfmx: /usr/local/texlive/2017/bin/i386-solaris-10/dvipdfmx

% tlmgr conf | grep /bin | awk '{printf("%-15s\5%s\n", $1, $2)}'
PATH: /usr/local/texlive/2017/bin/i386-solaris-10:/usr/local/texlive/2017/bin/i386-solaris-10:/usr/local/bin:/usr/local/bin/X11:/usr/local/sbin:/bin:/usr/ccs/bin:/u/sy/beebe/bin/i86pc:/u/sy/beebe/bin:/usr/local/share/bin:/usr/local/netpbm/bin:/usr/sfw/bin:/usr/X11R6/bin:/usr/bin/X11:/usr/X11/bin:/usr/openwin/bin:/usr/dt/bin:/usr/sbin:/sbin:/opt/sfw/bin:/usr/local/ashare/sys/developerstudio12.5/bin:/opt/solstudio12.2/bin:/usr/java/bin:/usr/local/java/bin:/usr/local/etc:/etc:/usr/ucb:.:/u/sy/beebe/tex/bib:/usr/proc/bin:/usr/local/ora/bin:/usr/local/sbin
kpsewhich: /usr/local/texlive/2017/bin/i386-solaris-10/kpsewhich
updmap: /usr/local/texlive/2017/bin/i386-solaris-10/updmap
fmtutil: /usr/local/texlive/2017/bin/i386-solaris-10/fmtutil
tlmgr: /usr/local/texlive/2017/bin/i386-solaris-10/tlmgr
tex: /usr/local/texlive/2017/bin/i386-solaris-10/tex
pdftex: /usr/local/texlive/2017/bin/i386-solaris-10/pdftex
mktexpk: /usr/local/texlive/2017/bin/i386-solaris-10/mktexpk
dvips: /usr/local/texlive/2017/bin/i386-solaris-10/dvips
dvipdfmx: /usr/local/texlive/2017/bin/i386-solaris-10/dvipdfmx

Readability matters!

-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: ***@math.utah.edu -
- 155 S 1400 E RM 233 ***@acm.org ***@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
Reinhard Kotucha
2017-10-26 21:27:04 UTC
Permalink
Raw Message
Post by Nelson H. F. Beebe
Readability matters!
I also prefer PATH* environment variables to be printed in a readable
form. Something like

echo $PATH | tr : \\n

or similar, for PATH, MANPATH, and INFOPATH.

No line should contain more than 79 characters, whenever possible.

Regards,
Reinhard
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:***@web.de
------------------------------------------------------------------
Norbert Preining
2017-10-26 23:20:04 UTC
Permalink
Raw Message
Hi
Post by jfbu
it does not report situation for xetex/luatex,
Added.
Post by jfbu
If that change is made, let's do one more thing: line up the output
Done.

$ tlmgr conf
tlmgr revision unknown ($Date$)
tlmgr using installation: /home/norbert/tl/2017
TeX Live (http://tug.org/texlive) version 2017

==================== executables found by searching PATH =================
PATH: /home/norbert/tl/2017/bin/x86_64-linux:/home/norbert/tl/2017/bin/x86_64-linux:/home/norbert/google-cloud-sdk/bin:/home/norbert/gopath:/home/norbert/gopath/bin:/usr/local/nodejs/bin:/home/norbert/Development/TeX/texlive.git/Master/tlpkg/bin:/home/norbert/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
kpsewhich: /home/norbert/tl/2017/bin/x86_64-linux/kpsewhich
updmap: /home/norbert/tl/2017/bin/x86_64-linux/updmap
fmtutil: /home/norbert/tl/2017/bin/x86_64-linux/fmtutil
tlmgr: /home/norbert/tl/2017/bin/x86_64-linux/tlmgr
tex: /home/norbert/tl/2017/bin/x86_64-linux/tex
pdftex: /home/norbert/tl/2017/bin/x86_64-linux/pdftex
luatex: /home/norbert/tl/2017/bin/x86_64-linux/luatex
xetex: /home/norbert/tl/2017/bin/x86_64-linux/xetex
mktexpk: /home/norbert/tl/2017/bin/x86_64-linux/mktexpk
dvips: /home/norbert/tl/2017/bin/x86_64-linux/dvips
dvipdfmx: /home/norbert/tl/2017/bin/x86_64-linux/dvipdfmx
=========================== active config files ==========================
texmf.cnf: /home/norbert/tl/2017/texmf.cnf
texmf.cnf: /home/norbert/tl/2017/texmf-dist/web2c/texmf.cnf
updmap.cfg: /usr/local/share/texmf/web2c/updmap.cfg
updmap.cfg: /home/norbert/tl/2017/texmf-config/web2c/updmap.cfg
updmap.cfg: /home/norbert/tl/2017/texmf-dist/web2c/updmap.cfg
fmtutil.cnf: /home/norbert/tl/2017/texmf-dist/web2c/fmtutil.cnf
config.ps: /home/norbert/tl/2017/texmf-dist/dvips/config/config.ps
mktex.cnf: /home/norbert/tl/2017/texmf-dist/web2c/mktex.cnf
pdftexconfig.tex: /home/norbert/tl/2017/texmf-dist/tex/generic/tex-ini-files/pdftexconfig.tex
============================= font map files =============================
psfonts.map: /home/norbert/tl/2017/texmf-var/fonts/map/dvips/updmap/psfonts.map
pdftex.map: /home/norbert/tl/2017/texmf-var/fonts/map/pdftex/updmap/pdftex.map
ps2pk.map: /home/norbert/tl/2017/texmf-var/fonts/map/dvips/updmap/ps2pk.map
kanjix.map: /home/norbert/tl/2017/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map
Post by jfbu
I also prefer PATH* environment variables to be printed in a readable
form. Something like
echo $PATH | tr : \\n
Not sure if this is a good idea since there are soooo many PATH
and many kpathsea variable where expansion could be tricky.

In tlcritical today

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Nelson H. F. Beebe
2017-10-27 14:20:22 UTC
Permalink
Raw Message
Thanks, Norbert for the quick adjustment of "tlmgr conf" output to
produce more readable tabular output.

Could you please consider sorting the lines in each of the output
blocks too? The current output has unpredictable order of the
program and environment variable names.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: ***@math.utah.edu -
- 155 S 1400 E RM 233 ***@acm.org ***@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
Norbert Preining
2017-10-27 14:42:24 UTC
Permalink
Raw Message
Post by Nelson H. F. Beebe
Could you please consider sorting the lines in each of the output
blocks too? The current output has unpredictable order of the
program and environment variable names.
svn r45623

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Loading...