[tex-live] Strange TEXMFHOME in TeX Live 2017 on Darwin

Yudai NAKATA yudai.nkt at gmail.com
Thu Jul 20 07:48:11 CEST 2017

Dear all,

I noticed that TEXMFHOME is different between TL 2016 and TL 2017
although I don’t think I configured something special when installing:

$ /usr/local/texlive/2016/bin/x86_64-darwin/kpsewhich -var-value TEXMFHOME
$ !!:s/2016/2017/
/usr/local/texlive/2017/bin/x86_64-darwin/kpsewhich -var-value TEXMFHOME

TEXMFHOME in TL 2016 is same as the documentation (7th paragraph in
the one in TL 2017 is like MacTeX style (please note that I use
vanilla TeX Live, not MacTeX).

As Perl is Greek to me I have no idea about what install-tl is doing,
but I found some relevant part
(line numbers are just for reference):

1393 # Environment variables and default values on UNIX:
1394 #   TEXLIVE_INSTALL_PREFIX         /usr/local/texlive   => $tex_prefix
1395 #   TEXLIVE_INSTALL_TEXDIR         $tex_prefix/2010     => $TEXDIR
1398 #   TEXLIVE_INSTALL_TEXMFLOCAL     $tex_prefix/texmf-local
1400 #   TEXLIVE_INSTALL_TEXMFVAR       ~/.texlive2010/texmf-var
1401 #   TEXLIVE_INSTALL_TEXMFCONFIG    ~/.texlive2010/texmf-config

1434  if (platform() =~ m/darwin/) {
1435    $texmfhome ||= "~/Library";
1436  } else {
1437    $texmfhome ||= "~";
1438  }
1439  $vars{'TEXMFHOME'} = "$texmfhome/texmf";

If I run the script, however, different default values are proposed
regarding non-systemwide directories:

$ cd /path/to/install-tl && sudo ./install-tl
<D> set directories:
   TEXDIR (the main TeX directory):
   TEXMFLOCAL (directory for site-wide local files):
   TEXMFSYSVAR (directory for variable and automatically generated data):
   TEXMFSYSCONFIG (directory for local config):
   TEXMFVAR (personal directory for variable and automatically generated data):
   TEXMFCONFIG (personal directory for local config):
   TEXMFHOME (directory for user-specific files):

I have no problem since I symlinked files to a new TEXMFHOME, but I’d
like to let you know just in case
(and also suppose contradiction between manual and actual behavior is confusing)

Best regards,
Yudai Nakata

More information about the tex-live mailing list