[tex-k] Difficulties with texmfvar feature

Ralf Stubner ralf.stubner at web.de
Sat May 27 13:39:40 CEST 2006


Hi Thomas, Hi Karl,

On Sat, May 27, 2006 at 11:44 +0200, Thomas Esser wrote:
> >     better to use  
> >          ${MT_TEXMFVAR=`kpsewhich --var-value=TEXMFVAR`}
> > 
> > Looks sensible to me.  Thomas?
> 
> Ack. The texmfvar feature was invented by me and I also wrote the
> implementation that uses
>   : ${MT_TEXMFVAR=`kpsewhich --expand-path='$TEXMFVAR'`}
> 
> I think that I just was not aware of the fact that --expand-path expands
> to nothing if the target does not yet exist.
> 
> The suggested fix looks just right.

Just to be precise: Are the two of you refering to the change
'--expand-path -> --var-value' only or also to the additional code in
the patch that tries to create TEXMFVAR if it does not exist? The first
change does not change a lot without the second. Thanks.

cheerio
ralf


More information about the tex-k mailing list