You are not logged in.

#1 2012-10-13 16:55:53

jdahm
Member
Registered: 2008-12-23
Posts: 11
Website

TeX font installation with tllocalmgr

I installed a font (OpenSans) this morning for TeX Live through tllocalmgr and noticed that it doesn't update the updmap.cfg file with the proper "Map" command.  This caused an error when compiling my TeX document:

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

 )

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 2+293/600 --dpi 1493 OpenSans-Regular-01
mktexpk: don't know how to create bitmap font for OpenSans-Regular-01.
mktexpk: perhaps OpenSans-Regular-01 is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
(see the transcript file for additional information)
!pdfTeX error: pdflatex (file OpenSans-Regular-01): Font OpenSans-Regular-01 at

I needed the following line to /usr/share/texmf/web2c/updmap.cfg and rerun updmap or updmap-sys.

Map opensans.map

Hope this helps anyone else installing fonts on Arch Linux.

Offline

#2 2012-10-13 23:58:52

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: TeX font installation with tllocalmgr

Note that I do not use Arch's version of TeX Live.

It is generally considered better to use updmap-sys than updmap. The latter can lead to weird, difficult to identify errors later. At least on a standard install, using updmap-sys is recommended unless you do not have that option (because you do not have permission to write to the system TeX trees, for example).

Also, is that really the correct tree to add the information to?

Last edited by cfr (2012-10-14 00:03:15)


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB