WORKAROUND: Re: texlive missing fonts?

Anton Shterenlikht as at cmplx.uk
Fri Mar 23 14:00:52 UTC 2018


Answering my own question,
in case it might help others:

On Thu, Mar 22, 2018 at 04:39:10PM +0000, as wrote:
> I'm seeing lots of missed fonts:
> 
> 20474701626e> cat missfont.log 
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+420/600 --dpi 420 t1-zi4r-4
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 t1-zi4r-4
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+438/600 --dpi 438 txsy
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 rtxr
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 txex
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+438/600 --dpi 438 rtxr
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 t1-zi4b-4
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 rtxmi
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 txsy
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 txsyc
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 txsyb
> mktexpk --mfmode ljfour --bdpi 600 --mag 0+540/600 --dpi 540 txsya
> 
> (This is from a conference template which uses lots of fonts)
> 
> I see that all these are in fact installed by
> texlive-texmf, e.g.
> 
> # pkg info -xl texlive-texmf|grep t1-zi4r-4
>         /usr/local/share/texmf-dist/fonts/tfm/public/inconsolata/ot1-zi4r-4.tfm
>         /usr/local/share/texmf-dist/fonts/tfm/public/inconsolata/t1-zi4r-4.tfm
> # pkg info -xl texlive-texmf|grep t1-zi4b-4
>         /usr/local/share/texmf-dist/fonts/tfm/public/inconsolata/ot1-zi4b-4.tfm
>         /usr/local/share/texmf-dist/fonts/tfm/public/inconsolata/t1-zi4b-4.tfm
> 
> and so on.
> 
> I tried to run updmap-sys:
> 
> # updmap-sys --enable Map inconsolata.map
> updmap will read the following updmap.cfg files (in precedence order):
>   /usr/local/share/texmf-config/web2c/updmap.cfg
> updmap may write changes to the following updmap.cfg file:
>   /usr/local/share/texmf-config/web2c/updmap.cfg
> dvips output dir: "/usr/local/share/texmf-var/fonts/map/dvips/updmap"
> pdftex output dir: "/usr/local/share/texmf-var/fonts/map/pdftex/updmap"
> dvipdfmx output dir: "/usr/local/share/texmf-var/fonts/map/dvipdfmx/updmap"
> updmap [ERROR]: The following map file(s) couldn't be found:
> updmap [ERROR]:         inconsolata.map (in /usr/local/share/texmf-config/web2c/updmap.cfg)
> updmap [ERROR]: Did you run mktexlsr?
> 
>         You can disable non-existent map entries using the option
>           --syncwithtrees.
> 
> # 
> 
> # updmap-sys --listmaps
> updmap will read the following updmap.cfg files (in precedence order):
>   /usr/local/share/texmf-config/web2c/updmap.cfg
> updmap may write changes to the following updmap.cfg file:
>   /usr/local/share/texmf-config/web2c/updmap.cfg
> Map zi4.map enabled in /usr/local/share/texmf-config/web2c/updmap.cfg
> Map newtx.map enabled in /usr/local/share/texmf-config/web2c/updmap.cfg
> Map libertine.map enabled in /usr/local/share/texmf-config/web2c/updmap.cfg
> Map txfonts.map enabled in /usr/local/share/texmf-config/web2c/updmap.cfg
> Map inconsolata.map enabled in /usr/local/share/texmf-config/web2c/updmap.cfg
> # 
> 
> 
> Am I missing some steps?
> Or has something gone wrong in my installation?

After another round of searching online,
I repeatedly met advice to rm ~/.texlive2015.
I found that I have this directory on my
account, and also on root, i.e. /root/.texlive2015.

I deleted both these directories, and then run

	updmap-sys
	mktexlsr

and now all seems fine, all fonts are found.

Probably I had some outdated data in one or both
of these directories.

However, I still have these maps, added with

	updmap-sys --enable Map <mapname>.map

# cat /usr/local/share/texmf-config/web2c/updmap.cfg
Map libertine.map
Map newtx.map
Map txfonts.map
Map zi4.map
#

If try to remove these maps from 
	/usr/local/share/texmf-config/web2c/updmap.cfg
I still get missing font errors.

I guess since all these fonts are installed by
print/texlive-texmf, something must be wrong
in the configuration, i.e. in registering these map files.

So, while this is a workaround,
I'm not sure this is a solution.

Thanks

Anton


More information about the freebsd-questions mailing list