[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#412242: tetex-bin: mktexpk places some fonts in the current directory



On Friday 02 March 2007 18:21, Frank Küster wrote:
> Okay, I've investigated this a bit further.
> 
> When the cyrtex format is created, some fonts are needed.  No matter
> whether we are using teTeX or TeX Live, as long as HOME is set and
> exists, the fonts are placed in $TEXMFVAR (i.e. $HOME/.texmf-var).
[...]
> I assume that the fonts are in /var/lib/texmf/fonts on your system
> because of some older problem.  Oh, well, let's verify that: Please run
> 
> # /usr/share/texmf/web2c/mktexnam lhr10
> 
> The output should look like this:
> 
> /root/.texmf-var/fonts/pk/ljfour/lh/lh-lcy/lhr10.600pk:/root/.texmf-var/fonts/tfm/lh/lh-lcy/lhr10.tfm:/root/.texmf-var/fonts/source/lh/lh-lcy/lhr10.mf

Yes, it is like this. And running initex from command line creates fonts in /root/.texmf-var.
However this is not the case with fmtutil-sys - it creates fonts under /var/lib/texmf.
Obviously fmtutil-sys plays some tricks with environment before running tex.
As I can see, it sets TEXMFVAR=TEXMFSYSVAR.

> If this is the case, I think we can forget this bug as "happens only in
> weird circumstances", and you can fix it by removing all files from
> /var/lib/texmf/fonts *except* the /var/lib/texmf/fonts/map subdirectory.

I did that. But /var/lib/texmf/fonts/{tfm,pk} are re-created whenever I run
fmtutil-sys or reinstall tetex. I think this is reproducible on a fresh installation.

Regards, Sergei



Reply to: