[texhax] Problem with local font map files
Johan Bengtsson
elijah at chalmers.se
Fri Dec 11 15:54:46 CET 2009
Hi,
I'm a sysadmin trying to solve some problems with a local texmf tree.
Please note that I'm a very inexperienced latex user, just a sysadmin trying
to solve a problem...
The problem was that the font map files were in the wrong (old) place,
and users were getting errors like these:
ewers:elijah:[~/docs/astolin_prob]$ dvips -d 4 KASHIWARA.dvi
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
(www.radicaleye.com)
' TeX output 2009.11.18:1551' -> |lpr
Checking for fonts in 'ChalmGUtextsvEng.eps'
Defining font () pttr7t at 12.0pt
Loading virtual font pttr7t.vf at 12.0pt
Defining font () pttr8r at 12.0pt
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+120/600 --dpi 720
pttr8r
mktexpk: don't know how to create bitmap font for pttr8r.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font pttr8r not found, characters will be left blank.
Defining font () pazr7t at 6.0pt
Loading virtual font pazr7t.vf at 6.0pt
Defining font () pazr8r at 6.0pt
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 0+360/600 --dpi 360
pazr8r
mktexpk: don't know how to create bitmap font for pazr8r.
dvips: Font pazr8r not found, characters will be left blank.
Defining font () pazro7t at 6.0pt
Loading virtual font pazro7t.vf at 6.0pt
Defining font () pazro8r at 6.0pt
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 0+360/600 --dpi 360
pazro8r
mktexpk: don't know how to create bitmap font for pazro8r.
dvips: Font pazro8r not found, characters will be left blank.
Checking for fonts in 'ChalmGUmarke.eps'
<tex.pro><special.pro>. [1<ChalmGUtextsvEng.eps><ChalmGUmarke.eps>]
So I read the faq and found this:
33) Font map files and enc files from my local texmf tree are not found
by dvips / pdftex etc.
With version 1.1 of the TeX Directory Structure, the location for
these files was changed. These files are font files and are now
stored in fonts/{map,enc}/<syntax>/<package>. So, the solution to
your problem is to rearrange these files in your tree and then call
the command texhash. More help is given in the release notes section
of the teTeX manual (run the command "texdoc TETEXDOC" to read it)
and on the web page http://www.tug.org/texlive/mapenc.html.
I found that there was four map files stored in the wrong place in our
/usr/local/share/texmf tree and I moved to what I believe is a correct
location:
ewers:elijah:[~/docs/astolin_prob/new_test]$ ls
/usr/local/share/texmf/fonts/map/
dvipdf dvips init misc pdftex
ewers:elijah:[~/docs/astolin_prob/new_test]$ ls
/usr/local/share/texmf/fonts/map/misc/
paz.map psfonts.map ptt.map
ewers:elijah:[~/docs/astolin_prob/new_test]$ ls
/usr/local/share/texmf/fonts/map/init/
mma.map
ewers:elijah:[~/docs/astolin_prob/new_test]$
If I just do that and then run texhash I get much less
errors, but there is still one fatal error left:
vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ dvips -o KASHIWARA.ps
KASHIWARA.dvi
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
(www.radicaleye.com)
' TeX output 2009.12.11:1441' -> KASHIWARA.ps
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+120/600 --dpi 720
pttr8r
mktexpk: don't know how to create bitmap font for pttr8r.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font pttr8r not found, characters will be left blank.
<tex.pro><8r.enc><texps.pro><special.pro>. <pazr8a.pfa>[1
<ChalmGUtextsvEng.eps><ChalmGUmarke.eps>]
Then if I copy the system updmap.cfg to my
working directory and add the following lines
to it:
# Chalmers
Map paz.map
Map psfonts.map
Map ptt.map
Map mma.map
Then I run the following command:
updmap --cnffile ./updmap.cfg
After that it will work perfectly for my account.
But of course I want it to work globally for everybody
using the local tree, so I tried this:
updmap-sys --cnffile updmap.cfg
--dvipsoutputdir=/usr/local/share/texmf/fonts/map/dvips/updmap
--pdftexoutputdir=/usr/local/share/texmf/fonts/map/pdftex/updmap
--dvipdfmoutputdir=/usr/local/share/texmf/fonts/map/dvipdf/updmap
updmap: This is updmap, version 1107552857
updmap: no permissions for writing /usr/share/texmf-var/web2c/updmap.log', so
no transcript
updmap is creating new map files using the following configuration:
config file: `updmap.cfg'
dvips output directory: `/usr/local/share/texmf/fonts/map/dvips/updmap'
pdftex output directory: `/usr/local/share/texmf/fonts/map/pdftex/updmap'
dvipdfm output directory: `/usr/local/share/texmf/fonts/map/dvipdf/updmap'
prefer outlines: `true'
texhash enabled: `false'
download standard fonts (dvips): `false'
download standard fonts (pdftex): `true'
download standard fonts (dvipdfm): `true'
updmap: Scanning for LW35 support files
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/dvips35.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/pdftex35.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/dvipdfm35.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/ps2pk35.map'
updmap: Scanning for MixedMap entries:
updmap: using map file
`/usr/share/texmf/fonts/map/dvips/tetex/bsr-interpolated.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/bsr.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/cc-pl/ccpl.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/cs.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/eurosym.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/hoekwater.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/pl/pl.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/ttcmex.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/vntex/vnr.map'
updmap: Scanning for Map entries:
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antp/antp.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/psnfss/charter.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/cmcyr.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/contnav.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/cork-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/cork-lm.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/cs-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/dstroke.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/exp-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/psnfss/fpls.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/greek-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/misc/marvosym.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/mathpple.map'
updmap: using map file `/usr/local/share/texmf/fonts/map/init/mma.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/mt-belleek.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/omega/omega.map'
updmap: using map file `/usr/local/share/texmf/fonts/map/misc/paz.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/psnfss/pazo.map'
updmap: using map file
`/usr/share/texmf-var/fonts/map/dvips/updmap/psfonts.map'
updmap: using map file `/usr/local/share/texmf/fonts/map/misc/ptt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/pxfonts.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qbk.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qcr.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qhv.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qpl.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qtm.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/qx-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/qx-lm.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/qfonts/qzc.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/t2a-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/t2b-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/t2c-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/t5-antt.map'
updmap: using map file
`/usr/share/texmf/fonts/map/dvips/antt/texnansi-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/texnansi-lm.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/ts1-lm.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tetex/txfonts.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/urwvn/urwvn.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antt/wncy-antt.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/xypic/xypic.map'
updmap: Generating output for ps2pk...
updmap: Generating output for dvips...
updmap: Generating output for pdftex...
updmap: Generating output for dvipdfm...
updmap: All output generated!
updmap: Files generated:
-rw-r--r-- 1 elijah elijah 30897 Dec 11 15:44
/usr/local/share/texmf/fonts/map/dvipdf/updmap/dvipdfm_dl14.map
-rw-r--r-- 1 elijah elijah 29483 Dec 11 15:44
/usr/local/share/texmf/fonts/map/dvipdf/updmap/dvipdfm_ndl14.map
-rw-r--r-- 1 elijah elijah 8233 Dec 11 15:44
/usr/local/share/texmf/fonts/map/dvips/updmap/builtin35.map
-rw-r--r-- 1 elijah elijah 12130 Dec 11 15:44
/usr/local/share/texmf/fonts/map/dvips/updmap/download35.map
-rw-r--r-- 1 elijah elijah 93324 Dec 11 15:44
/usr/local/share/texmf/fonts/map/dvips/updmap/ps2pk.map
-rw-r--r-- 1 elijah elijah 81403 Dec 11 15:44
/usr/local/share/texmf/fonts/map/dvips/updmap/psfonts_pk.map
-rw-r--r-- 1 elijah elijah 81403 Dec 11 15:44
/usr/local/share/texmf/fonts/map/dvips/updmap/psfonts_t1.map
-rw-r--r-- 1 elijah elijah 93331 Dec 11 15:44
/usr/local/share/texmf/fonts/map/pdftex/updmap/pdftex_dl14.map
-rw-r--r-- 1 elijah elijah 88814 Dec 11 15:44
/usr/local/share/texmf/fonts/map/pdftex/updmap/pdftex_ndl14.map
updmap: Map file links:
psfonts.map -> psfonts_t1.map
pdftex.map -> pdftex_dl14.map
dvipdfm.map -> dvipdfm_dl14.map
It seems to work but I still get same error:
vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ dvips KASHIWARA.dvi
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
(www.radicaleye.com)
' TeX output 2009.12.11:1547' -> |lpr
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+120/600 --dpi 720
pttr8r
mktexpk: don't know how to create bitmap font for pttr8r.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font pttr8r not found, characters will be left blank.
<tex.pro><8r.enc><texps.pro><special.pro>. <pazr8a.pfa>[1
<ChalmGUtextsvEng.eps><ChalmGUmarke.eps>]
Could this be a problem with the ptt.map?
kpathsea seems to find it:
vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ kpsewhich --format=map ptt.map
/usr/local/share/texmf/fonts/map/misc/ptt.map
vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ kpsewhich --format=dvips
ptt.map
/usr/local/share/texmf/fonts/map/misc/ptt.map
I really have no idea what to do, would be very grateful for any help!
Some info about our systems:
vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ latex --version
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfeTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX source.
Primary author of pdfeTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry and others.
vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ rpm -q latex
package latex is not installed
vcs32-5:elijah:[~/docs/astolin_prob/new_test]$ rpm -q tetex
tetex-3.0-33.2.el5_1.2
-Johan Bengtsson
http://www.dd.chalmers.se/~elijah/
More information about the texhax
mailing list