[OS X TeX]

Paul Fontana fontanap at seattleu.edu
Thu Sep 7 19:21:44 EDT 2006

> Since you installed into your private TeX tree, no texhash is needed 
> for this. But it's a fault to invoke 'sudo updmap ...' – have you 
> controlled whether pku.map was found and where the MAP files were 
> created? I'd recommend to invoke updmap without sudo that the MAP 
> files are created in your TeX tree. TeX does not seem to find a MAP 
> file that contains the contents of the pku.map file fragment. That's 
> the reason why dvips looks for pkur8r. The MAP file (fragment) 
> translates the name to pkur8a.pfb. But this name translation does not 
> happen.

Thanks, Pete.  I am not very knowledgeable about UNIX or TeX, so some 
of your suggestions are beyond me.  Here's what I can say:

The log file from the updmap command contains the line,
updmap: using map file 

and this file pku.map is:
pkur8r Kaufmann <8r.enc <pkur8a.pfb " TeXBase1Encoding ReEncodeFont "
pkuro8r Kaufmann <8r.enc <pkur8a.pfb " TeXBase1Encoding ReEncodeFont 
0.167 SlantFont "
pkub8r Kaufmann-Bold <8r.enc <pkub8a.pfb " TeXBase1Encoding 
ReEncodeFont "
pkubo8r Kaufmann-Bold <8r.enc <pkub8a.pfb " TeXBase1Encoding 
ReEncodeFont 0.167 SlantFont "

The end of the updmap log file says:

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 root  fontanap  26001  7 Sep 14:50 
-rw-r--r--  1 root  fontanap  26582  7 Sep 14:50 
-rw-r--r--  1 root  fontanap   8237  7 Sep 14:50 
-rw-r--r--  1 root  fontanap  12134  7 Sep 14:50 
-rw-r--r--  1 root  fontanap  82658  7 Sep 14:50 
-rw-r--r--  1 root  fontanap  64486  7 Sep 14:50 
-rw-r--r--  1 root  fontanap  78767  7 Sep 14:50 
-rw-r--r--  1 root  fontanap  82665  7 Sep 14:50 
-rw-r--r--  1 root  fontanap  81196  7 Sep 14:50 

updmap: Map file links:
psfonts.map -> psfonts_t1.map
pdftex.map -> pdftex_dl14.map
dvipdfm.map -> dvipdfm_dl14.map

Do these look like the right places for dvips to look?  Does the map 
fragment look OK?

> What is 'kpsewhich pkur8a.pfb' returning? The path name to the font 
> file? Then all is OK ...

$ kpsewhich pkur8a.pfb

Looks right to me, assuming the .pfb file is OK.

> A check whether the MAP file was updated would be to grep for the font 
> names in the MAP file ...

Which file?  psfonts.map?  psfonts_t1.map?  Which font name?  Kaufmann? 
  pkur8a?  pkur8r?  What should the entry look like?

> My check is a bit of csh scripting:
> 	set Viewer   = "TeXShop.app"
> 	set Font     = "some family name"
> 	foreach Kode ( 7t 8t 8c )
> 	    if ( -f ${Kode}.lst ) rm ${Kode}.lst
> 	    set Anzahl  =  `ls -1 *${Kode}.vpl | wc -l`
> 	    foreach font ( `ls -1 *${Kode}.vpl | sed -e 's/.vpl/ /g'` )
> 	        @ Anzahl--
> 	        echo $font >> ${Kode}.lst
> 	        if ( $Anzahl != 0 ) then
> 	            echo $init >> ${Kode}.lst
> 	        else
> 	            echo $bye >> ${Kode}.lst
> 	        endif
> 	    end
> 	    pdflatex nfssfont < ${Kode}.lst
> 	    mv nfssfont.pdf nfssfont_${Font}-${Kode}.pdf
> 	    open -a "$Viewer" nfssfont_${Font}-${Kode}.pdf
> 	end
> 	#
> 	rm *.aux *.ps *.recs nfssfont.log *.pl *.vpl *.mtx *.t1a *.lst #*.log

Sorry, but I don't know how to execute a csh script and don't know this 
language well enough to follow your code.  Do I just copy your text 
into a file and type its name at the command line?  What should the 
output be?

Thanks for your help in troubleshooting this!
-- pwf


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list