[OS X TeX] Re: [XeTeX] Re: "I can't find the format file `xetex.fmt'!"

Gerben Wierda Gerben.Wierda at rna.nl
Mon Oct 10 01:19:12 CEST 2005


On Oct 10, 2005, at 00:27, Peter Dyballa wrote:

>
> Am 10.10.2005 um 00:01 schrieb Gerben Wierda:
>
>> This will remove personal web2c and fonts/map/*/updmap subdirectories
>
> That's not good!

I did not quite understand all of what you wrote, but I have now  
restricted removal to the actual files that updmap creates. Here is the  
total action as a result of remove:

                         if (-d  
"$dirforrealname{$realname}/Library/texmf/web2c") {
                             print "### ${PROGNAME}: Removing formats  
and settings (web2c directory) for $realname...\n";
                             ipkgsystem( "rm -rf  
$dirforrealname{$realname}/Library/texmf/web2c");
                         }
                         if (-e  
"$dirforrealname{$realname}/Library/texmf/tex/generic/config/ 
language.dat") {
                             print "### ${PROGNAME}: Removing  
language.dat for $realname...\n";
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/tex/generic/config/ 
language.dat");
                             ipkgsystem( "rmdir  
$dirforrealname{$realname}/Library/texmf/tex/generic/config");
                             ipkgsystem( "rmdir  
$dirforrealname{$realname}/Library/texmf/tex/generic");
                             ipkgsystem( "rmdir  
$dirforrealname{$realname}/Library/texmf/tex");
                         }
                         if (-d  
"$dirforrealname{$realname}/Library/texmf/fonts/map/dvips/updmap") {
                             print "### ${PROGNAME}: Removing map files  
for $realname...\n";
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvipdfm/updmap/ 
dvipdfm.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvipdfm/updmap/ 
dvipdfm_dl14.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvipdfm/updmap/ 
dvipdfm_ndl14.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/pdftex/updmap/ 
pdftex.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/pdftex/updmap/ 
pdftex_dl14.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/pdftex/updmap/ 
pdftex_ndl14.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvips/updmap/ 
builtin35.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvips/updmap/ 
download35.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvips/updmap/ 
ps2pk.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvips/updmap/ 
psfonts.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvips/updmap/ 
psfonts_pk.map");
                             ipkgsystem( "rm -f  
$dirforrealname{$realname}/Library/texmf/fonts/map/dvips/updmap/ 
psfonts_t1.map");
                             ipkgsystem( "rmdir  
$dirforrealname{$realname}/Library/texmf/fonts/map/*/updmap");
                             ipkgsystem( "rmdir  
$dirforrealname{$realname}/Library/texmf/fonts/map/*");
                             ipkgsystem( "rmdir  
$dirforrealname{$realname}/Library/texmf/fonts/map");
                             ipkgsystem( "rmdir  
$dirforrealname{$realname}/Library/texmf/fonts");
                         }

Note: rmdir only deletes a directory when it is empty (I do not use  
rmdir -p because I do not know if 10.2 supports rmdir -p).

G

------------------------- 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 macostex-archives mailing list