[tex-live] kpathsea -- texmf.cnf

ricard.torres at udg.edu ricard.torres at udg.edu
Sat Jun 21 18:46:53 CEST 2008


Dear TeXlive developers,

In a linux machine (Mandriva 2008.1), with a bash shell 
version 3.2.19(2)-release, for some reason the syntax
based on "~" used in the default "texmf.cnf" is not
correctly interpreted, and results in a directory with
this name, literally "~", being built under the home 
directory. On the other hand, if I replace "~" by the 
older syntax "$HOME", things work as expected. I wonder 
if you'd like to do that, so as to avoid problems. In 
case the answer is affirmative, I attach a patch to 
save you the trouble.

Best regards,
Ricard
-- 
Ricard Torres
<ricard.torres at udg.edu>
Faculty of Economics and Business
Universitat de Girona
Campus Montilivi
17071 Girona, Spain
-------------- next part --------------
*** texmf.cnf.orig	2008-06-21 18:40:51.000000000 +0200
--- texmf.cnf	2008-06-21 18:41:54.000000000 +0200
***************
*** 75,81 ****
  
  % User texmf trees are allowed as follows.
  % This used to be HOMETEXMF.
! TEXMFHOME = ~/texmf
  
  % TEXMFVAR, where texconfig stores variable runtime data.
  % With teTeX-3.0 or later, this must be set.
--- 75,81 ----
  
  % User texmf trees are allowed as follows.
  % This used to be HOMETEXMF.
! TEXMFHOME = $HOME/texmf
  
  % TEXMFVAR, where texconfig stores variable runtime data.
  % With teTeX-3.0 or later, this must be set.
***************
*** 83,89 ****
  %   TEXMFVAR = $TEXMFMAIN
  % For using a separate tree:
  %   TEXMFVAR = ~/.texmf-var  # teTeX 3.0 default
! TEXMFVAR = ~/.texlive2008/texmf-var
  
  % TEXMFCONFIG, where texconfig stores configuration data.
  % With teTeX-3.0 or later, this must be set.
--- 83,89 ----
  %   TEXMFVAR = $TEXMFMAIN
  % For using a separate tree:
  %   TEXMFVAR = ~/.texmf-var  # teTeX 3.0 default
! TEXMFVAR = $HOME/.texlive2008/texmf-var
  
  % TEXMFCONFIG, where texconfig stores configuration data.
  % With teTeX-3.0 or later, this must be set.
***************
*** 93,99 ****
  %   TEXMFCONFIG = ~/.texmf-config  # teTeX 3.0 default
  % For using a separate tree:
  %   TEXMFCONFIG = $SELFAUTOPARENT/texmf-config
! TEXMFCONFIG = ~/.texlive2008/texmf-config
  
  % Now, list all the texmf trees. If you have multiple trees you can
  % use shell brace notation, like this:
--- 93,99 ----
  %   TEXMFCONFIG = ~/.texmf-config  # teTeX 3.0 default
  % For using a separate tree:
  %   TEXMFCONFIG = $SELFAUTOPARENT/texmf-config
! TEXMFCONFIG = $HOME/.texlive2008/texmf-config
  
  % Now, list all the texmf trees. If you have multiple trees you can
  % use shell brace notation, like this:


More information about the tex-live mailing list