summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/bin/amd64-kfreebsd/afm2plbin93672 -> 89952 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/afm2tfmbin97960 -> 97440 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/alephbin554216 -> 549712 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/bboxbin8992 -> 9200 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/bg5convbin5088 -> 5120 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/bibtexbin163048 -> 163072 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/bibtex8bin188328 -> 188192 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/bibtexubin16386432 -> 16557128 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/cef5convbin6824 -> 6848 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/cefconvbin6824 -> 6848 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/cefsconvbin6824 -> 6848 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/cfftot1bin423768 -> 417568 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/chktexbin71632 -> 63480 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ctanglebin101896 -> 101920 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ctiebin77832 -> 77248 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/cweavebin136040 -> 135104 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/detexbin100040 -> 104128 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/devnagbin30776 -> 30304 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/disdvibin13032 -> 16008 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dt2dvbin36776 -> 32520 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dv2dtbin13472 -> 13664 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvi2ttybin25368 -> 89504 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvibookbin25104 -> 24904 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dviconcatbin22448 -> 22600 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvicopybin115384 -> 114576 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvidvibin19856 -> 19920 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dviljbin114656 -> 112488 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvilj2pbin114656 -> 114408 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvilj4bin120704 -> 120248 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvilj4lbin120704 -> 120248 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvipdfmxbin802792 -> 823200 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvipngbin1087784 -> 1109984 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dviposbin106120 -> 106112 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvipsbin259248 -> 263336 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dviselectbin24368 -> 24200 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvisvgmbin1682000 -> 1688680 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvitodvibin28880 -> 28840 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/dvitypebin101640 -> 101664 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/epsffitbin10960 -> 10984 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/eptexbin0 -> 484704 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/extconvbin5088 -> 5120 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/gftodvibin105704 -> 105728 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/gftopkbin86344 -> 86336 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/gftypebin87432 -> 87008 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/gsftopkbin89464 -> 87088 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/hbf2gfbin98632 -> 98320 bytes
l---------Master/bin/amd64-kfreebsd/inimf1
l---------Master/bin/amd64-kfreebsd/initex1
-rwxr-xr-xMaster/bin/amd64-kfreebsd/kpseaccessbin5872 -> 5896 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/kpsereadlinkbin5752 -> 5768 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/kpsestatbin6808 -> 6832 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/kpsewhichbin81840 -> 81864 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/lacheckbin60200 -> 61952 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/luatexbin4651416 -> 5272312 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/magbin6856 -> 6872 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/makeindexbin142760 -> 136736 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/makejvfbin105872 -> 105896 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/mendexbin209112 -> 194800 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/mfbin336936 -> 345088 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/mf-nowinbin332200 -> 340384 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/mftbin111752 -> 111360 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/mkofm2
-rwxr-xr-xMaster/bin/amd64-kfreebsd/mmafmbin302408 -> 302472 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/mmpfbbin367992 -> 364832 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/mpostbin538680 -> 538480 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/odvicopybin119096 -> 118192 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/odvitypebin105736 -> 105760 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/omfontsbin177208 -> 177824 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/otanglebin101576 -> 101600 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/otfinfobin503608 -> 491584 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/otftotfmbin872176 -> 849792 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/otp2ocpbin95112 -> 94352 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/outocpbin73112 -> 73136 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/patgenbin36288 -> 36632 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pbibtexbin192040 -> 192064 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pdfclosebin11064 -> 11088 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pdfopenbin16888 -> 17192 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pdftexbin1586296 -> 1575672 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pdftosrcbin578432 -> 558624 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pdvitypebin134760 -> 134784 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pfb2pfabin9592 -> 9584 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pk2bmbin12864 -> 12880 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pktogfbin85192 -> 85216 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pktypebin81080 -> 81104 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pltotfbin53736 -> 53632 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pooltypebin20440 -> 20432 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ppltotfbin144240 -> 144616 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ps2pkbin195224 -> 194640 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/psbookbin15496 -> 15488 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/psnupbin23976 -> 23968 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/psresizebin20328 -> 20480 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/psselectbin15912 -> 15840 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/pstopsbin21256 -> 21248 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ptexbin427464 -> 428736 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ptftoplbin131656 -> 131776 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/sjisconvbin5104 -> 5136 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/synctexbin139848 -> 151616 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1asciibin34000 -> 34184 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1asmbin41064 -> 41088 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1binarybin33536 -> 33720 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1disasmbin39968 -> 39984 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1dotlessjbin355688 -> 354224 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1lintbin316456 -> 319640 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1macbin44200 -> 44224 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1rawafmbin315336 -> 316152 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1reencodebin347944 -> 347584 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1testpagebin332648 -> 332304 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t1unmacbin40176 -> 40200 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/t4htbin93304 -> 93328 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/tanglebin105752 -> 103664 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/tcdialogbin157232 -> 161472 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/teckit_compilebin1601200 -> 1529864 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/texbin369672 -> 371696 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/tex4htbin156760 -> 150736 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/tftoplbin97624 -> 97520 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/tiebin76904 -> 76928 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ttf2afmbin92968 -> 91776 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ttf2pkbin268088 -> 264304 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ttf2tfmbin286840 -> 283696 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ttfdumpbin56568 -> 57400 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/ttftotype42bin364264 -> 362272 bytes
l---------[-rwxr-xr-x]Master/bin/amd64-kfreebsd/updmap1436
l---------[-rwxr-xr-x]Master/bin/amd64-kfreebsd/updmap-sys31
-rwxr-xr-xMaster/bin/amd64-kfreebsd/vftovpbin109800 -> 109824 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/vlnabin13536 -> 15216 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/vptovfbin65680 -> 65576 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/weavebin126888 -> 126176 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/xdvi-xawbin888600 -> 896432 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/xdvipdfmxbin1469896 -> 1497664 bytes
-rwxr-xr-xMaster/bin/amd64-kfreebsd/xetexbin18790384 -> 18853864 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/afm2plbin84116 -> 89456 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/afm2tfmbin89448 -> 97696 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/alephbin506820 -> 527160 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/bboxbin7408 -> 7536 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/bg5convbin3420 -> 3588 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/bibtexbin153556 -> 166496 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/bibtex8bin178152 -> 192788 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/bibtexubin16255108 -> 16569260 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/cef5convbin4636 -> 4872 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/cefconvbin4532 -> 4752 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/cefsconvbin4652 -> 4888 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/cfftot1bin402796 -> 414172 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/chktexbin61404 -> 57444 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ctanglebin92260 -> 100516 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ctiebin71640 -> 79908 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/cweavebin123748 -> 132420 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/detexbin92040 -> 104404 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/devnagbin25472 -> 26332 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/disdvibin10128 -> 13680 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dt2dvbin31640 -> 31768 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dv2dtbin10728 -> 11604 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvi2ttybin20140 -> 88160 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvibookbin21272 -> 23140 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dviconcatbin19096 -> 20804 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvicopybin104412 -> 114792 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvidvibin18780 -> 16052 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dviljbin103368 -> 112956 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvilj2pbin103720 -> 112956 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvilj4bin110984 -> 121168 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvilj4lbin110984 -> 121168 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvipdfmxbin711028 -> 807008 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvipngbin955576 -> 1094980 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dviposbin94552 -> 104708 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvipsbin232716 -> 251832 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dviselectbin20568 -> 23108 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvisvgmbin1561828 -> 1657588 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvitodvibin24312 -> 27236 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/dvitypebin92488 -> 100724 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/epsffitbin8292 -> 8356 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/eptexbin0 -> 472836 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/extconvbin3420 -> 3588 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/gftodvibin96216 -> 104484 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/gftopkbin79828 -> 88096 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/gftypebin79384 -> 87140 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/gsftopkbin80584 -> 88144 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/hbf2gfbin92136 -> 98864 bytes
l---------Master/bin/i386-kfreebsd/inimf1
l---------Master/bin/i386-kfreebsd/initex1
-rwxr-xr-xMaster/bin/i386-kfreebsd/kpseaccessbin4196 -> 4400 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/kpsereadlinkbin4148 -> 4320 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/kpsestatbin4744 -> 4932 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/kpsewhichbin76092 -> 80872 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/lacheckbin55012 -> 58048 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/luatexbin4170628 -> 5003180 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/magbin4376 -> 4776 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/makeindexbin133992 -> 136596 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/makejvfbin96428 -> 104696 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/mendexbin196556 -> 193560 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/mfbin308232 -> 337588 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/mf-nowinbin305732 -> 334452 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/mftbin102340 -> 110224 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/mkofm2
-rwxr-xr-xMaster/bin/i386-kfreebsd/mmafmbin283012 -> 292652 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/mmpfbbin348580 -> 358284 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/mpostbin492388 -> 521520 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/odvicopybin108508 -> 118312 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/odvitypebin96232 -> 104500 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/omfontsbin156468 -> 176456 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/otanglebin92120 -> 100388 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/otfinfobin476156 -> 479988 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/otftotfmbin835132 -> 848292 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/otp2ocpbin87944 -> 96212 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/outocpbin67612 -> 72872 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/patgenbin31392 -> 34700 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pbibtexbin179576 -> 196068 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pdfclosebin7360 -> 8292 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pdfopenbin10848 -> 11640 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pdftexbin1439212 -> 1500948 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pdftosrcbin505668 -> 485324 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pdvitypebin125208 -> 134020 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pfb2pfabin6888 -> 7584 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pk2bmbin9924 -> 10704 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pktogfbin75988 -> 84160 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pktypebin71580 -> 79848 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pltotfbin51048 -> 53268 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pooltypebin18232 -> 18312 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ppltotfbin135288 -> 146852 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ps2pkbin170384 -> 190428 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/psbookbin10768 -> 11616 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/psnupbin18576 -> 19296 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/psresizebin16016 -> 17120 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/psselectbin12048 -> 12928 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/pstopsbin16784 -> 18656 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ptexbin388696 -> 420964 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ptftoplbin125176 -> 133444 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/sjisconvbin3436 -> 3604 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/synctexbin117336 -> 137840 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1asciibin27688 -> 30708 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1asmbin31872 -> 35596 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1binarybin27228 -> 29512 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1disasmbin32000 -> 34760 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1dotlessjbin334364 -> 347012 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1lintbin296756 -> 311772 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1macbin38900 -> 38976 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1rawafmbin295452 -> 308068 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1reencodebin328260 -> 338508 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1testpagebin312172 -> 324084 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t1unmacbin32976 -> 34940 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/t4htbin83836 -> 92104 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/tanglebin96256 -> 104524 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/tcdialogbin138780 -> 155368 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/teckit_compilebin1393924 -> 1340660 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/texbin338708 -> 363368 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/tex4htbin141240 -> 149504 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/tftoplbin92128 -> 100396 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/tiebin68004 -> 75712 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ttf2afmbin85000 -> 90112 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ttf2pkbin224576 -> 249228 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ttf2tfmbin242112 -> 266828 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ttfdumpbin51072 -> 57212 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/ttftotype42bin342188 -> 354964 bytes
l---------[-rwxr-xr-x]Master/bin/i386-kfreebsd/updmap1436
l---------[-rwxr-xr-x]Master/bin/i386-kfreebsd/updmap-sys31
-rwxr-xr-xMaster/bin/i386-kfreebsd/vftovpbin100932 -> 112688 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/vlnabin10416 -> 14224 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/vptovfbin63340 -> 67512 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/weavebin113432 -> 124964 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/xdvi-xawbin801820 -> 878312 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/xdvipdfmxbin1282008 -> 1440964 bytes
-rwxr-xr-xMaster/bin/i386-kfreebsd/xetexbin18431716 -> 18758868 bytes
-rwxr-xr-xMaster/tlpkg/installer/xz/xz.amd64-kfreebsdbin175320 -> 179496 bytes
-rwxr-xr-xMaster/tlpkg/installer/xz/xz.i386-kfreebsdbin166296 -> 190540 bytes
-rwxr-xr-xMaster/tlpkg/installer/xz/xzdec.amd64-kfreebsdbin72472 -> 72488 bytes
-rwxr-xr-xMaster/tlpkg/installer/xz/xzdec.i386-kfreebsdbin69124 -> 74732 bytes
264 files changed, 10 insertions, 2932 deletions
diff --git a/Master/bin/amd64-kfreebsd/afm2pl b/Master/bin/amd64-kfreebsd/afm2pl
index 1927368a5bb..06a5012f3fa 100755
--- a/Master/bin/amd64-kfreebsd/afm2pl
+++ b/Master/bin/amd64-kfreebsd/afm2pl
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/afm2tfm b/Master/bin/amd64-kfreebsd/afm2tfm
index 64a66a4baa2..6b74e849559 100755
--- a/Master/bin/amd64-kfreebsd/afm2tfm
+++ b/Master/bin/amd64-kfreebsd/afm2tfm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/aleph b/Master/bin/amd64-kfreebsd/aleph
index 13bbb545c9f..8d6d7ff5205 100755
--- a/Master/bin/amd64-kfreebsd/aleph
+++ b/Master/bin/amd64-kfreebsd/aleph
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/bbox b/Master/bin/amd64-kfreebsd/bbox
index d1c47760c2e..b1d563d0ef3 100755
--- a/Master/bin/amd64-kfreebsd/bbox
+++ b/Master/bin/amd64-kfreebsd/bbox
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/bg5conv b/Master/bin/amd64-kfreebsd/bg5conv
index c6fdfbacdcd..9bc26fb61b6 100755
--- a/Master/bin/amd64-kfreebsd/bg5conv
+++ b/Master/bin/amd64-kfreebsd/bg5conv
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/bibtex b/Master/bin/amd64-kfreebsd/bibtex
index 6bc82097210..86fee17403e 100755
--- a/Master/bin/amd64-kfreebsd/bibtex
+++ b/Master/bin/amd64-kfreebsd/bibtex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/bibtex8 b/Master/bin/amd64-kfreebsd/bibtex8
index fc1b8a76ab4..435f3821955 100755
--- a/Master/bin/amd64-kfreebsd/bibtex8
+++ b/Master/bin/amd64-kfreebsd/bibtex8
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/bibtexu b/Master/bin/amd64-kfreebsd/bibtexu
index 63f984ff1da..b934f78e2e8 100755
--- a/Master/bin/amd64-kfreebsd/bibtexu
+++ b/Master/bin/amd64-kfreebsd/bibtexu
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/cef5conv b/Master/bin/amd64-kfreebsd/cef5conv
index f0f521670cc..405131778d9 100755
--- a/Master/bin/amd64-kfreebsd/cef5conv
+++ b/Master/bin/amd64-kfreebsd/cef5conv
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/cefconv b/Master/bin/amd64-kfreebsd/cefconv
index af7df42b105..a9694e5162a 100755
--- a/Master/bin/amd64-kfreebsd/cefconv
+++ b/Master/bin/amd64-kfreebsd/cefconv
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/cefsconv b/Master/bin/amd64-kfreebsd/cefsconv
index 1ad2f100f9f..b869243f7a7 100755
--- a/Master/bin/amd64-kfreebsd/cefsconv
+++ b/Master/bin/amd64-kfreebsd/cefsconv
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/cfftot1 b/Master/bin/amd64-kfreebsd/cfftot1
index c9d40ab28b0..4b964ca251c 100755
--- a/Master/bin/amd64-kfreebsd/cfftot1
+++ b/Master/bin/amd64-kfreebsd/cfftot1
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/chktex b/Master/bin/amd64-kfreebsd/chktex
index d1491137b57..3ea41d28c8b 100755
--- a/Master/bin/amd64-kfreebsd/chktex
+++ b/Master/bin/amd64-kfreebsd/chktex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ctangle b/Master/bin/amd64-kfreebsd/ctangle
index a146d4990b7..d27c15dc466 100755
--- a/Master/bin/amd64-kfreebsd/ctangle
+++ b/Master/bin/amd64-kfreebsd/ctangle
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ctie b/Master/bin/amd64-kfreebsd/ctie
index b343561047f..2d758ef97bf 100755
--- a/Master/bin/amd64-kfreebsd/ctie
+++ b/Master/bin/amd64-kfreebsd/ctie
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/cweave b/Master/bin/amd64-kfreebsd/cweave
index c448161c938..73c2e1f1f28 100755
--- a/Master/bin/amd64-kfreebsd/cweave
+++ b/Master/bin/amd64-kfreebsd/cweave
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/detex b/Master/bin/amd64-kfreebsd/detex
index b46d1cf3e1c..9d362796eca 100755
--- a/Master/bin/amd64-kfreebsd/detex
+++ b/Master/bin/amd64-kfreebsd/detex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/devnag b/Master/bin/amd64-kfreebsd/devnag
index d33f7cb317c..47602b374db 100755
--- a/Master/bin/amd64-kfreebsd/devnag
+++ b/Master/bin/amd64-kfreebsd/devnag
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/disdvi b/Master/bin/amd64-kfreebsd/disdvi
index 953fc981d17..05e3c346d14 100755
--- a/Master/bin/amd64-kfreebsd/disdvi
+++ b/Master/bin/amd64-kfreebsd/disdvi
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dt2dv b/Master/bin/amd64-kfreebsd/dt2dv
index 24cad8c37d3..cc1972d7c1d 100755
--- a/Master/bin/amd64-kfreebsd/dt2dv
+++ b/Master/bin/amd64-kfreebsd/dt2dv
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dv2dt b/Master/bin/amd64-kfreebsd/dv2dt
index 17f958dddad..7580b2c6e87 100755
--- a/Master/bin/amd64-kfreebsd/dv2dt
+++ b/Master/bin/amd64-kfreebsd/dv2dt
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvi2tty b/Master/bin/amd64-kfreebsd/dvi2tty
index b15ade7d044..3112d0b719d 100755
--- a/Master/bin/amd64-kfreebsd/dvi2tty
+++ b/Master/bin/amd64-kfreebsd/dvi2tty
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvibook b/Master/bin/amd64-kfreebsd/dvibook
index a99066d618b..8a1173d16e4 100755
--- a/Master/bin/amd64-kfreebsd/dvibook
+++ b/Master/bin/amd64-kfreebsd/dvibook
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dviconcat b/Master/bin/amd64-kfreebsd/dviconcat
index e9a92b2249e..3f5f6d3c281 100755
--- a/Master/bin/amd64-kfreebsd/dviconcat
+++ b/Master/bin/amd64-kfreebsd/dviconcat
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvicopy b/Master/bin/amd64-kfreebsd/dvicopy
index 95e4ef9584a..5c67d982620 100755
--- a/Master/bin/amd64-kfreebsd/dvicopy
+++ b/Master/bin/amd64-kfreebsd/dvicopy
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvidvi b/Master/bin/amd64-kfreebsd/dvidvi
index e22d40419d9..9fc5897ff10 100755
--- a/Master/bin/amd64-kfreebsd/dvidvi
+++ b/Master/bin/amd64-kfreebsd/dvidvi
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvilj b/Master/bin/amd64-kfreebsd/dvilj
index 3981209635b..309cbfc5045 100755
--- a/Master/bin/amd64-kfreebsd/dvilj
+++ b/Master/bin/amd64-kfreebsd/dvilj
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvilj2p b/Master/bin/amd64-kfreebsd/dvilj2p
index ef57deab2ff..b669c8d33ba 100755
--- a/Master/bin/amd64-kfreebsd/dvilj2p
+++ b/Master/bin/amd64-kfreebsd/dvilj2p
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvilj4 b/Master/bin/amd64-kfreebsd/dvilj4
index 317df16191f..169cbdbce3a 100755
--- a/Master/bin/amd64-kfreebsd/dvilj4
+++ b/Master/bin/amd64-kfreebsd/dvilj4
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvilj4l b/Master/bin/amd64-kfreebsd/dvilj4l
index 808e631e3ea..ea4c01f02dc 100755
--- a/Master/bin/amd64-kfreebsd/dvilj4l
+++ b/Master/bin/amd64-kfreebsd/dvilj4l
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvipdfmx b/Master/bin/amd64-kfreebsd/dvipdfmx
index dc57404f3cf..3211ba533c0 100755
--- a/Master/bin/amd64-kfreebsd/dvipdfmx
+++ b/Master/bin/amd64-kfreebsd/dvipdfmx
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvipng b/Master/bin/amd64-kfreebsd/dvipng
index c8fccdbc476..b7ad6e2201d 100755
--- a/Master/bin/amd64-kfreebsd/dvipng
+++ b/Master/bin/amd64-kfreebsd/dvipng
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvipos b/Master/bin/amd64-kfreebsd/dvipos
index 9e4a70eba5c..6c09fc24f5b 100755
--- a/Master/bin/amd64-kfreebsd/dvipos
+++ b/Master/bin/amd64-kfreebsd/dvipos
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvips b/Master/bin/amd64-kfreebsd/dvips
index 8ad99538d4d..09587ca5d65 100755
--- a/Master/bin/amd64-kfreebsd/dvips
+++ b/Master/bin/amd64-kfreebsd/dvips
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dviselect b/Master/bin/amd64-kfreebsd/dviselect
index a05b672d39b..f9673ed675f 100755
--- a/Master/bin/amd64-kfreebsd/dviselect
+++ b/Master/bin/amd64-kfreebsd/dviselect
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvisvgm b/Master/bin/amd64-kfreebsd/dvisvgm
index e02d4b0fa1d..28dc9f5d556 100755
--- a/Master/bin/amd64-kfreebsd/dvisvgm
+++ b/Master/bin/amd64-kfreebsd/dvisvgm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvitodvi b/Master/bin/amd64-kfreebsd/dvitodvi
index 472dae3b4f8..03ce07f7258 100755
--- a/Master/bin/amd64-kfreebsd/dvitodvi
+++ b/Master/bin/amd64-kfreebsd/dvitodvi
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/dvitype b/Master/bin/amd64-kfreebsd/dvitype
index 1fcc483a677..8a0535e4b3a 100755
--- a/Master/bin/amd64-kfreebsd/dvitype
+++ b/Master/bin/amd64-kfreebsd/dvitype
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/epsffit b/Master/bin/amd64-kfreebsd/epsffit
index 9120a2a041b..c6d99ab1980 100755
--- a/Master/bin/amd64-kfreebsd/epsffit
+++ b/Master/bin/amd64-kfreebsd/epsffit
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/eptex b/Master/bin/amd64-kfreebsd/eptex
new file mode 100755
index 00000000000..b22903da2e4
--- /dev/null
+++ b/Master/bin/amd64-kfreebsd/eptex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/extconv b/Master/bin/amd64-kfreebsd/extconv
index bd8107d1d61..7d5207b8fbf 100755
--- a/Master/bin/amd64-kfreebsd/extconv
+++ b/Master/bin/amd64-kfreebsd/extconv
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/gftodvi b/Master/bin/amd64-kfreebsd/gftodvi
index 408358f4507..66864ddadec 100755
--- a/Master/bin/amd64-kfreebsd/gftodvi
+++ b/Master/bin/amd64-kfreebsd/gftodvi
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/gftopk b/Master/bin/amd64-kfreebsd/gftopk
index aef1e578bed..55681ba423c 100755
--- a/Master/bin/amd64-kfreebsd/gftopk
+++ b/Master/bin/amd64-kfreebsd/gftopk
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/gftype b/Master/bin/amd64-kfreebsd/gftype
index 30f269c96ec..c699f7bf81b 100755
--- a/Master/bin/amd64-kfreebsd/gftype
+++ b/Master/bin/amd64-kfreebsd/gftype
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/gsftopk b/Master/bin/amd64-kfreebsd/gsftopk
index 0aaf174cc55..cdcb568d4d5 100755
--- a/Master/bin/amd64-kfreebsd/gsftopk
+++ b/Master/bin/amd64-kfreebsd/gsftopk
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/hbf2gf b/Master/bin/amd64-kfreebsd/hbf2gf
index c5d104c18aa..87788dda699 100755
--- a/Master/bin/amd64-kfreebsd/hbf2gf
+++ b/Master/bin/amd64-kfreebsd/hbf2gf
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/inimf b/Master/bin/amd64-kfreebsd/inimf
new file mode 120000
index 00000000000..64dafc4ff66
--- /dev/null
+++ b/Master/bin/amd64-kfreebsd/inimf
@@ -0,0 +1 @@
+mf \ No newline at end of file
diff --git a/Master/bin/amd64-kfreebsd/initex b/Master/bin/amd64-kfreebsd/initex
new file mode 120000
index 00000000000..5c8f2b2cc00
--- /dev/null
+++ b/Master/bin/amd64-kfreebsd/initex
@@ -0,0 +1 @@
+tex \ No newline at end of file
diff --git a/Master/bin/amd64-kfreebsd/kpseaccess b/Master/bin/amd64-kfreebsd/kpseaccess
index 6c3d1e98f3f..9d076d7a8d4 100755
--- a/Master/bin/amd64-kfreebsd/kpseaccess
+++ b/Master/bin/amd64-kfreebsd/kpseaccess
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/kpsereadlink b/Master/bin/amd64-kfreebsd/kpsereadlink
index b090a93b4dd..75e549915ba 100755
--- a/Master/bin/amd64-kfreebsd/kpsereadlink
+++ b/Master/bin/amd64-kfreebsd/kpsereadlink
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/kpsestat b/Master/bin/amd64-kfreebsd/kpsestat
index a850fcff7c1..1121aa5058f 100755
--- a/Master/bin/amd64-kfreebsd/kpsestat
+++ b/Master/bin/amd64-kfreebsd/kpsestat
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/kpsewhich b/Master/bin/amd64-kfreebsd/kpsewhich
index 01fea5146a3..0a0fd237b72 100755
--- a/Master/bin/amd64-kfreebsd/kpsewhich
+++ b/Master/bin/amd64-kfreebsd/kpsewhich
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/lacheck b/Master/bin/amd64-kfreebsd/lacheck
index 4a45b0b34cf..f2a2eba5c65 100755
--- a/Master/bin/amd64-kfreebsd/lacheck
+++ b/Master/bin/amd64-kfreebsd/lacheck
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/luatex b/Master/bin/amd64-kfreebsd/luatex
index e46a960ed57..3c926f70d2e 100755
--- a/Master/bin/amd64-kfreebsd/luatex
+++ b/Master/bin/amd64-kfreebsd/luatex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/mag b/Master/bin/amd64-kfreebsd/mag
index 2349c0e9a3b..2d0f3525d83 100755
--- a/Master/bin/amd64-kfreebsd/mag
+++ b/Master/bin/amd64-kfreebsd/mag
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/makeindex b/Master/bin/amd64-kfreebsd/makeindex
index 0e4fbe38f71..b1d16b76716 100755
--- a/Master/bin/amd64-kfreebsd/makeindex
+++ b/Master/bin/amd64-kfreebsd/makeindex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/makejvf b/Master/bin/amd64-kfreebsd/makejvf
index e80a358aebe..b81da1c7101 100755
--- a/Master/bin/amd64-kfreebsd/makejvf
+++ b/Master/bin/amd64-kfreebsd/makejvf
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/mendex b/Master/bin/amd64-kfreebsd/mendex
index cd5d07bf4e7..774870886c2 100755
--- a/Master/bin/amd64-kfreebsd/mendex
+++ b/Master/bin/amd64-kfreebsd/mendex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/mf b/Master/bin/amd64-kfreebsd/mf
index 4e80c47c906..41672b1301f 100755
--- a/Master/bin/amd64-kfreebsd/mf
+++ b/Master/bin/amd64-kfreebsd/mf
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/mf-nowin b/Master/bin/amd64-kfreebsd/mf-nowin
index b7a3ee99b67..2f868ca0460 100755
--- a/Master/bin/amd64-kfreebsd/mf-nowin
+++ b/Master/bin/amd64-kfreebsd/mf-nowin
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/mft b/Master/bin/amd64-kfreebsd/mft
index 1477917788f..9f0801a997e 100755
--- a/Master/bin/amd64-kfreebsd/mft
+++ b/Master/bin/amd64-kfreebsd/mft
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/mkofm b/Master/bin/amd64-kfreebsd/mkofm
index ef820171f08..306575cfbe7 100755
--- a/Master/bin/amd64-kfreebsd/mkofm
+++ b/Master/bin/amd64-kfreebsd/mkofm
@@ -1,3 +1,3 @@
#!/bin/sh
# Initial definition. For the moment only makes .tfm files.
-mktextfm $*
+mktextfm "$@"
diff --git a/Master/bin/amd64-kfreebsd/mmafm b/Master/bin/amd64-kfreebsd/mmafm
index c8988dcccb2..da02e5f3676 100755
--- a/Master/bin/amd64-kfreebsd/mmafm
+++ b/Master/bin/amd64-kfreebsd/mmafm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/mmpfb b/Master/bin/amd64-kfreebsd/mmpfb
index 163b93e3de4..2ea0efe72b5 100755
--- a/Master/bin/amd64-kfreebsd/mmpfb
+++ b/Master/bin/amd64-kfreebsd/mmpfb
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/mpost b/Master/bin/amd64-kfreebsd/mpost
index e9de2e6924c..070a177eb55 100755
--- a/Master/bin/amd64-kfreebsd/mpost
+++ b/Master/bin/amd64-kfreebsd/mpost
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/odvicopy b/Master/bin/amd64-kfreebsd/odvicopy
index c8cdbc5c8d2..ab4e3d97d20 100755
--- a/Master/bin/amd64-kfreebsd/odvicopy
+++ b/Master/bin/amd64-kfreebsd/odvicopy
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/odvitype b/Master/bin/amd64-kfreebsd/odvitype
index d06996780c8..f37389e67f1 100755
--- a/Master/bin/amd64-kfreebsd/odvitype
+++ b/Master/bin/amd64-kfreebsd/odvitype
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/omfonts b/Master/bin/amd64-kfreebsd/omfonts
index 946b669a586..6c04437e0e9 100755
--- a/Master/bin/amd64-kfreebsd/omfonts
+++ b/Master/bin/amd64-kfreebsd/omfonts
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/otangle b/Master/bin/amd64-kfreebsd/otangle
index bdda10b9513..148a0f654a6 100755
--- a/Master/bin/amd64-kfreebsd/otangle
+++ b/Master/bin/amd64-kfreebsd/otangle
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/otfinfo b/Master/bin/amd64-kfreebsd/otfinfo
index 2f80f6e235c..3cc9533cff1 100755
--- a/Master/bin/amd64-kfreebsd/otfinfo
+++ b/Master/bin/amd64-kfreebsd/otfinfo
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/otftotfm b/Master/bin/amd64-kfreebsd/otftotfm
index 557ef17dc24..c4e566fd766 100755
--- a/Master/bin/amd64-kfreebsd/otftotfm
+++ b/Master/bin/amd64-kfreebsd/otftotfm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/otp2ocp b/Master/bin/amd64-kfreebsd/otp2ocp
index 9800bb7fe25..501d930bd18 100755
--- a/Master/bin/amd64-kfreebsd/otp2ocp
+++ b/Master/bin/amd64-kfreebsd/otp2ocp
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/outocp b/Master/bin/amd64-kfreebsd/outocp
index d716936e114..8746cd0b337 100755
--- a/Master/bin/amd64-kfreebsd/outocp
+++ b/Master/bin/amd64-kfreebsd/outocp
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/patgen b/Master/bin/amd64-kfreebsd/patgen
index 2eb96df6c6a..1deae1a0c11 100755
--- a/Master/bin/amd64-kfreebsd/patgen
+++ b/Master/bin/amd64-kfreebsd/patgen
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pbibtex b/Master/bin/amd64-kfreebsd/pbibtex
index 12d8fd36cdb..e9f752f894c 100755
--- a/Master/bin/amd64-kfreebsd/pbibtex
+++ b/Master/bin/amd64-kfreebsd/pbibtex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pdfclose b/Master/bin/amd64-kfreebsd/pdfclose
index 0f024a30224..63679fd9102 100755
--- a/Master/bin/amd64-kfreebsd/pdfclose
+++ b/Master/bin/amd64-kfreebsd/pdfclose
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pdfopen b/Master/bin/amd64-kfreebsd/pdfopen
index 1b6f93cbd95..3695ce40268 100755
--- a/Master/bin/amd64-kfreebsd/pdfopen
+++ b/Master/bin/amd64-kfreebsd/pdfopen
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pdftex b/Master/bin/amd64-kfreebsd/pdftex
index 322d0dc2b98..c80230698e3 100755
--- a/Master/bin/amd64-kfreebsd/pdftex
+++ b/Master/bin/amd64-kfreebsd/pdftex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pdftosrc b/Master/bin/amd64-kfreebsd/pdftosrc
index db565a4ba5b..ee6fc32ace5 100755
--- a/Master/bin/amd64-kfreebsd/pdftosrc
+++ b/Master/bin/amd64-kfreebsd/pdftosrc
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pdvitype b/Master/bin/amd64-kfreebsd/pdvitype
index 7e94c1c099e..941bf1992b1 100755
--- a/Master/bin/amd64-kfreebsd/pdvitype
+++ b/Master/bin/amd64-kfreebsd/pdvitype
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pfb2pfa b/Master/bin/amd64-kfreebsd/pfb2pfa
index 9434ced4e11..378518ea667 100755
--- a/Master/bin/amd64-kfreebsd/pfb2pfa
+++ b/Master/bin/amd64-kfreebsd/pfb2pfa
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pk2bm b/Master/bin/amd64-kfreebsd/pk2bm
index 5c5c0de74d6..b4a1a04c0f6 100755
--- a/Master/bin/amd64-kfreebsd/pk2bm
+++ b/Master/bin/amd64-kfreebsd/pk2bm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pktogf b/Master/bin/amd64-kfreebsd/pktogf
index 5c30d56b2d6..a2a2f325d97 100755
--- a/Master/bin/amd64-kfreebsd/pktogf
+++ b/Master/bin/amd64-kfreebsd/pktogf
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pktype b/Master/bin/amd64-kfreebsd/pktype
index a8814928022..71cbc51a414 100755
--- a/Master/bin/amd64-kfreebsd/pktype
+++ b/Master/bin/amd64-kfreebsd/pktype
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pltotf b/Master/bin/amd64-kfreebsd/pltotf
index d0f033c4f44..d7c6430a4d3 100755
--- a/Master/bin/amd64-kfreebsd/pltotf
+++ b/Master/bin/amd64-kfreebsd/pltotf
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pooltype b/Master/bin/amd64-kfreebsd/pooltype
index 834f0b3660c..0e2f1f5967c 100755
--- a/Master/bin/amd64-kfreebsd/pooltype
+++ b/Master/bin/amd64-kfreebsd/pooltype
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ppltotf b/Master/bin/amd64-kfreebsd/ppltotf
index 30817e275ba..a42bacfd741 100755
--- a/Master/bin/amd64-kfreebsd/ppltotf
+++ b/Master/bin/amd64-kfreebsd/ppltotf
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ps2pk b/Master/bin/amd64-kfreebsd/ps2pk
index 8a2a81c16de..0b2c1eecf67 100755
--- a/Master/bin/amd64-kfreebsd/ps2pk
+++ b/Master/bin/amd64-kfreebsd/ps2pk
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/psbook b/Master/bin/amd64-kfreebsd/psbook
index 3fc79054657..e411fe03113 100755
--- a/Master/bin/amd64-kfreebsd/psbook
+++ b/Master/bin/amd64-kfreebsd/psbook
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/psnup b/Master/bin/amd64-kfreebsd/psnup
index b2cd6e55fc7..27164f3f675 100755
--- a/Master/bin/amd64-kfreebsd/psnup
+++ b/Master/bin/amd64-kfreebsd/psnup
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/psresize b/Master/bin/amd64-kfreebsd/psresize
index 47aa9c70c99..2d60bebc3b1 100755
--- a/Master/bin/amd64-kfreebsd/psresize
+++ b/Master/bin/amd64-kfreebsd/psresize
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/psselect b/Master/bin/amd64-kfreebsd/psselect
index 8a1580be5d7..a115966288b 100755
--- a/Master/bin/amd64-kfreebsd/psselect
+++ b/Master/bin/amd64-kfreebsd/psselect
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/pstops b/Master/bin/amd64-kfreebsd/pstops
index b6eec56e097..7929eaf1e05 100755
--- a/Master/bin/amd64-kfreebsd/pstops
+++ b/Master/bin/amd64-kfreebsd/pstops
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ptex b/Master/bin/amd64-kfreebsd/ptex
index 32063482f6f..908942b425a 100755
--- a/Master/bin/amd64-kfreebsd/ptex
+++ b/Master/bin/amd64-kfreebsd/ptex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ptftopl b/Master/bin/amd64-kfreebsd/ptftopl
index d36fa0b4176..3f0a2f87b1a 100755
--- a/Master/bin/amd64-kfreebsd/ptftopl
+++ b/Master/bin/amd64-kfreebsd/ptftopl
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/sjisconv b/Master/bin/amd64-kfreebsd/sjisconv
index fd7ddc35789..e70afcf23b5 100755
--- a/Master/bin/amd64-kfreebsd/sjisconv
+++ b/Master/bin/amd64-kfreebsd/sjisconv
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/synctex b/Master/bin/amd64-kfreebsd/synctex
index 696d6995522..a709f1eaf6e 100755
--- a/Master/bin/amd64-kfreebsd/synctex
+++ b/Master/bin/amd64-kfreebsd/synctex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1ascii b/Master/bin/amd64-kfreebsd/t1ascii
index cacc4257734..4460a227c04 100755
--- a/Master/bin/amd64-kfreebsd/t1ascii
+++ b/Master/bin/amd64-kfreebsd/t1ascii
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1asm b/Master/bin/amd64-kfreebsd/t1asm
index 309da610fcc..2078a054594 100755
--- a/Master/bin/amd64-kfreebsd/t1asm
+++ b/Master/bin/amd64-kfreebsd/t1asm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1binary b/Master/bin/amd64-kfreebsd/t1binary
index 2ce012a7a9c..3e63138c07a 100755
--- a/Master/bin/amd64-kfreebsd/t1binary
+++ b/Master/bin/amd64-kfreebsd/t1binary
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1disasm b/Master/bin/amd64-kfreebsd/t1disasm
index 1134134c0ed..4369016decb 100755
--- a/Master/bin/amd64-kfreebsd/t1disasm
+++ b/Master/bin/amd64-kfreebsd/t1disasm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1dotlessj b/Master/bin/amd64-kfreebsd/t1dotlessj
index 5228dd98921..2f22315fe85 100755
--- a/Master/bin/amd64-kfreebsd/t1dotlessj
+++ b/Master/bin/amd64-kfreebsd/t1dotlessj
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1lint b/Master/bin/amd64-kfreebsd/t1lint
index b9ec5bc39d8..33090bb06de 100755
--- a/Master/bin/amd64-kfreebsd/t1lint
+++ b/Master/bin/amd64-kfreebsd/t1lint
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1mac b/Master/bin/amd64-kfreebsd/t1mac
index c19fe6b8582..df228b25d55 100755
--- a/Master/bin/amd64-kfreebsd/t1mac
+++ b/Master/bin/amd64-kfreebsd/t1mac
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1rawafm b/Master/bin/amd64-kfreebsd/t1rawafm
index 1d808f3134e..9c818283229 100755
--- a/Master/bin/amd64-kfreebsd/t1rawafm
+++ b/Master/bin/amd64-kfreebsd/t1rawafm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1reencode b/Master/bin/amd64-kfreebsd/t1reencode
index 003da8c7d33..22130d43f49 100755
--- a/Master/bin/amd64-kfreebsd/t1reencode
+++ b/Master/bin/amd64-kfreebsd/t1reencode
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1testpage b/Master/bin/amd64-kfreebsd/t1testpage
index cf1b708f0c1..86f1c76defa 100755
--- a/Master/bin/amd64-kfreebsd/t1testpage
+++ b/Master/bin/amd64-kfreebsd/t1testpage
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t1unmac b/Master/bin/amd64-kfreebsd/t1unmac
index 1d616119964..9a17292d054 100755
--- a/Master/bin/amd64-kfreebsd/t1unmac
+++ b/Master/bin/amd64-kfreebsd/t1unmac
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/t4ht b/Master/bin/amd64-kfreebsd/t4ht
index 1e6ddeb9bee..579016bcced 100755
--- a/Master/bin/amd64-kfreebsd/t4ht
+++ b/Master/bin/amd64-kfreebsd/t4ht
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/tangle b/Master/bin/amd64-kfreebsd/tangle
index 888661fb6b8..b5ba8985321 100755
--- a/Master/bin/amd64-kfreebsd/tangle
+++ b/Master/bin/amd64-kfreebsd/tangle
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/tcdialog b/Master/bin/amd64-kfreebsd/tcdialog
index 6c7868bea9c..c2797df5c8a 100755
--- a/Master/bin/amd64-kfreebsd/tcdialog
+++ b/Master/bin/amd64-kfreebsd/tcdialog
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/teckit_compile b/Master/bin/amd64-kfreebsd/teckit_compile
index d490801d07f..6f2168da309 100755
--- a/Master/bin/amd64-kfreebsd/teckit_compile
+++ b/Master/bin/amd64-kfreebsd/teckit_compile
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/tex b/Master/bin/amd64-kfreebsd/tex
index 2983e6e67a4..b15ce7f1518 100755
--- a/Master/bin/amd64-kfreebsd/tex
+++ b/Master/bin/amd64-kfreebsd/tex
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/tex4ht b/Master/bin/amd64-kfreebsd/tex4ht
index ac2fa35604d..b8d3db82acd 100755
--- a/Master/bin/amd64-kfreebsd/tex4ht
+++ b/Master/bin/amd64-kfreebsd/tex4ht
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/tftopl b/Master/bin/amd64-kfreebsd/tftopl
index e2a7898c4b2..45e26f8c197 100755
--- a/Master/bin/amd64-kfreebsd/tftopl
+++ b/Master/bin/amd64-kfreebsd/tftopl
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/tie b/Master/bin/amd64-kfreebsd/tie
index 819450bd445..78a96cbe6f1 100755
--- a/Master/bin/amd64-kfreebsd/tie
+++ b/Master/bin/amd64-kfreebsd/tie
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ttf2afm b/Master/bin/amd64-kfreebsd/ttf2afm
index fd7d7983eec..2edab4e41b7 100755
--- a/Master/bin/amd64-kfreebsd/ttf2afm
+++ b/Master/bin/amd64-kfreebsd/ttf2afm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ttf2pk b/Master/bin/amd64-kfreebsd/ttf2pk
index 7faa41c2fc6..7faadbccf13 100755
--- a/Master/bin/amd64-kfreebsd/ttf2pk
+++ b/Master/bin/amd64-kfreebsd/ttf2pk
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ttf2tfm b/Master/bin/amd64-kfreebsd/ttf2tfm
index 370a58ce173..713d7039373 100755
--- a/Master/bin/amd64-kfreebsd/ttf2tfm
+++ b/Master/bin/amd64-kfreebsd/ttf2tfm
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ttfdump b/Master/bin/amd64-kfreebsd/ttfdump
index 151bd301213..b0fb154f4a6 100755
--- a/Master/bin/amd64-kfreebsd/ttfdump
+++ b/Master/bin/amd64-kfreebsd/ttfdump
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/ttftotype42 b/Master/bin/amd64-kfreebsd/ttftotype42
index cc74bdea752..50fcb9aeee2 100755
--- a/Master/bin/amd64-kfreebsd/ttftotype42
+++ b/Master/bin/amd64-kfreebsd/ttftotype42
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/updmap b/Master/bin/amd64-kfreebsd/updmap
index 2483052a7de..5eceaae6d41 100755..120000
--- a/Master/bin/amd64-kfreebsd/updmap
+++ b/Master/bin/amd64-kfreebsd/updmap
@@ -1,1435 +1 @@
-#!/bin/sh
-# updmap - utility to maintain map files for outline fonts.
-# Public domain. Originally written by Thomas Esser.
-# Run with --help for usage.
-
-###############################################################################
-# program history:
-# further changes in texk/tetex/ChangeLog.
-# Sun May 25 21:05:32 CEST 2008 (Reinhard Kotucha)
-# add function symlink_or_copy needed by tl-portable.
-# Post-te retirement, now maintained in TeX Live; see
-# Build/texk/tetex/ChangeLog for further changes.
-# Fr Jul 22 07:22:38 CEST 2005
-# write hint about log file into output files
-# Fr Apr 8 19:15:05 CEST 2005
-# cleanup now has an argument for the return code
-# So Mär 27 18:52:06 CEST 2005
-# honor $TMPDIR, $TEMP and $TMP, not just $TMP
-# Do Mär 10 19:31:39 CET 2005
-# add a few quotes for $cnfFile with whitespace
-# Sa Jan 15 18:13:46 CET 2005
-# avoid multiple variable assignments in one statement
-# Sa Dez 25 12:44:23 CET 2004
-# implementaion adopted for teTeX-3.0 (tcfmgr)
-# Mi Nov 3 16:33:22 CET 2004
-# add "--setoption option=value" syntax
-# Fr Okt 29 21:05:53 CEST 2004
-# add --enable Map=... / --enable MixedMap=...
-# Mi Okt 20 19:17:19 CEST 2004
-# transcript added; even better warnings / error messages
-# So Okt 17 19:07:17 CEST 2004
-# improved warnings / error messages
-# added --syncwithtrees
-# added --listavailablemaps
-# Mi Okt 6 16:37:49 CEST 2004
-# commenty may start with any of *#;%
-# Sun Aug 1 11:42:14 CEST 2004, te
-# remove pdftex related hacks; pdftex no longer needs them!
-# Thu May 13 22:04:23 CEST 2004, te
-# support user with new map file locations
-# Fri Mar 19 15:22:55 CET 2004, te
-# output "xxx yyy" instead of " xxx yyy " (less blanks)
-# Fri Jan 2 22:41:11 CET 2004, te:
-# add version string
-# Wed Aug 20 18:51:47 CEST 2003
-# store map files to fonts/map, add options for dvipsoutputdir,
-# pdftexoutputdir, dvipdfmoutputdir
-# Mon Mar 24 13:40:55 CET 2003
-# fix fmex[789] for dvipdfm (no -r option)
-# Sun Mar 23 18:58:00 CET 2003
-# make the script robust against whitespace in filenames
-# Mon Jan 27 22:38:44 CET 2003
-# don't call a function before processOptions; we may loose our
-# argument list with some broken shells
-# Mon Jan 27 06:55:28 CET 2003
-# fix unportable egrep / sed
-# Sat Jan 18 10:10:26 CET 2003
-# use $tmp8 in dvips2dvipdfm()
-# Thu Jan 2 23:14:34 CET 2003
-# add umask 022, so generated files are always world-readable
-# Sun Oct 27 11:33:04 CET 2002
-# write output in normalized format
-# add support for dvipdfm
-# Mon Sep 22 19:18:57 CEST 2002
-# fix typo: buildin -> builtin
-# Mon Sep 2 19:18:57 CEST 2002
-# fix condensed <-> narrow mapping
-# Sun Sep 1 15:02:28 CEST 2002
-# add dvipsDownloadBase35 / pdftexDownloadBase14 options
-# Wed May 22 20:00:13 CEST 2002
-# listmaps option added by Gerben Wierda
-# Tue May 21 05:27:37 CEST 2002
-# now removing map files before rewriting them; fixes permission problems
-# Tue May 21 05:05:34 CEST 2002:
-# cli options added: showoptions, setoption, enable, disable, nomkmap
-# now even more verbose; now reporting non-existing map files
-# fixing trap for MAC OS/X compatibility
-# Fri May 17 22:38:37 CEST 2002:
-# rewritten from teTeX-1.0 version; Completely new designed.
-###############################################################################
-
-test -f /bin/ksh && test -z "$RUNNING_KSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
- && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; }
-unset RUNNING_KSH
-
-test -f /bin/bsh && test -z "$RUNNING_BSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \
- && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
-unset RUNNING_BSH
-
-export PATH
-
-# hack around a bug in zsh:
-test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-
-# the version string
-version='$Id: updmap 17423 2010-03-11 17:53:34Z karl $'
-
-#
-###############################################################################
-# help()
-# display help message and exit
-###############################################################################
-help()
-{
- cat <<eof
-$version
-Usage: updmap [OPTION]... [COMMAND]...
-
-Update the default font map files used by pdftex, dvips, and dvipdfm, as
-determined by updmap.cfg (the one returned by running "kpsewhich
-updmap.cfg").
-
-Among other things, these font map files are used to determine which
-fonts should be used as bitmaps and which as outlines, and to determine
-which fonts are included in the output.
-
-By default, the TeX filename database is also rebuilt (with mktexlsr).
-
-Valid options:
- --cnffile FILE read FILE for the updmap configuration
- --pdftexoutputdir DIR specify output directory (pdftex syntax)
- --dvipsoutputdir DIR specify output directory (dvips syntax)
- --dvipdfmoutputdir DIR specify output directory (dvipdfm syntax)
- --outputdir DIR specify output directory (for all files)
- --copy cp generic files rather than using symlinks
- --nomkmap do not recreate map files
- --nohash do not run texhash
- -n, --dry-run only show the configuration, no output
- --quiet reduce verbosity
-
-Valid commands:
- --help show this message
- --edit edit $cnfFileShort file
- --showoptions ITEM show alternatives for options
- --setoption OPTION VALUE set option, where OPTION is one of:
- dvipsPreferOutline LW35 dvipsDownloadBase35
- pdftexDownloadBase14 dvipdfmDownloadBase14
- --setoption OPTION=VALUE see above, just different syntax
- --enable MAPTYPE MAPFILE add "MAPTYPE MAPFILE" to updmap.cfg,
- where MAPTYPE is either Map or MixedMap
- --enable Map=MAPFILE add "Map MAPFILE" to updmap.cfg
- --enable MixedMap=MAPFILE add "MixedMap MAPFILE" to updmap.cfg
- --disable MAPFILE disable MAPFILE, whether Map or MixedMap
- --syncwithtrees entries with unavailable map files will be
- disabled in the config file
- --listmaps list all active and inactive maps
- --listavailablemaps same as --listmaps, but without
- unavailable map files
-
-Explanation of the map types: the (only) difference between Map and
-MixedMap is that MixedMap entries are not added to psfonts_pk.map. The
-purpose is to help users with printers that render Type 1 outline fonts
-worse than mode-tuned Type 1 bitmap fonts. So MixedMap is used for
-fonts that are available as both Type 1 and Metafont.
-
-To see the precise locations of the various files that will be read and
-written, run updmap -n.
-
-For step-by-step instructions on making new fonts known to TeX, see
-http://tug.org/fonts/fontinstall.html.
-
-Report bugs to: tex-k@tug.org
-TeX Live home page: <http://tug.org/texlive/>
-eof
- (exit 0); exit
-}
-
-#
-###############################################################################
-# verboseMsg(msg)
-# print `msg' to stderr is $verbose is true
-###############################################################################
-verboseMsg() {
- test -n "$log" && echo ${1+"$@"} >> "$log"
- $verbose && echo ${1+"$@"} >&2
-}
-
-###############################################################################
-# verboseCat()
-# cat to stderr is $verbose is true
-###############################################################################
-verboseCat() {
- if $verbose; then
- if test -n "$log"; then
- cat ${1+"$@"} | tee -a "$log" >&2
- else
- cat ${1+"$@"} >&2
- fi
- else
- test -n "$log" && cat ${1+"$@"} >> "$log"
- fi
-}
-
-###############################################################################
-# warn(msg)
-# print `msg' to stderr
-###############################################################################
-warn()
-{
- test -n "$log" && echo ${1+"$@"} >> "$log"
- echo ${1+"$@"} >&2
-}
-
-###############################################################################
-# abort(errmsg)
-# print `errmsg' to stderr and exit with error code 1
-###############################################################################
-abort()
-{
- warn "$progname: $1."
- cleanup 1
-}
-
-###############################################################################
-# cfgval(variable)
-# read variable ($1) from config file, first match wins
-###############################################################################
-cfgval()
-{
- cat "$cnfFile" | sed -n 's/^'"$1"'[ =][ =]*//p' | sed q
-}
-
-###############################################################################
-# symlink_or_copy()
-# if --copy is not set, try to create a symlink. If this fails, write
-# a message to stderr and copy the file instead.
-###############################################################################
-symlink_or_copy()
-{
- if $copy; then
- $copy_cmd "$1" "$2"
- else
- $link_cmd "$1" "$2" ||
- {
- echo "Creating symbolic link failed, the file is copied instead." 1>&2 &&
- $copy_cmd "$1" "$2"
- }
- fi
-}
-
-###############################################################################
-# setupSymlinks()
-# set symlink (or copy)
-# for psfonts.map according to dvipsPreferOutline variable,
-# and for pdftex.map and dvipdfm.map according to pdftexDownloadBase14.
-###############################################################################
-setupSymlinks()
-{
- (
- cd "$dvipsoutputdir" || exit 1
- rm -f psfonts.map
- if test "x$dvipsPreferOutline" = xtrue; then
- symlink_or_copy psfonts_t1.map psfonts.map
- else
- symlink_or_copy psfonts_pk.map psfonts.map
- fi
-
- cd "$pdftexoutputdir" || exit 1
- rm -f pdftex.map
- if test "x$pdftexDownloadBase14" = xtrue; then
- symlink_or_copy pdftex_dl14.map pdftex.map
- else
- symlink_or_copy pdftex_ndl14.map pdftex.map
- fi
-
- cd "$dvipdfmoutputdir" || exit 1
- rm -f dvipdfm.map
- if test "x$dvipdfmDownloadBase14" = xtrue; then
- symlink_or_copy dvipdfm_dl14.map dvipdfm.map
- else
- symlink_or_copy dvipdfm_ndl14.map dvipdfm.map
- fi
- )
-}
-
-###############################################################################
-# transLW35(args ...)
-# transform fontname and filenames according to transformation specified
-# by mode
-###############################################################################
-transLW35()
-{
- case $mode in
- ""|URWkb)
- cat ${1+"$@"}
- ;;
- URW)
- fileURW ${1+"$@"}
- ;;
- ADOBE|ADOBEkb)
- psADOBE ${1+"$@"} | file$mode
- ;;
- esac
-}
-
-###############################################################################
-# catMaps(regex)
-# filter config file by regex for map lines and extract the map filenames.
-# These are then looked up (by kpsewhich in locateMap) and the content of
-# all map files is send to stdout.
-###############################################################################
-catMaps()
-{
- rm -f $catMapsFailed
- egrep "$1" "$cnfFile" \
- | sed 's@#.*@@' \
- | awk '{print $2}' \
- | sort \
- | uniq \
- | grep . > $tmp4
-
- while read map; do
- file=`locateMap "$map"` || { touch $catMapsFailed; break; }
-
- # output the file; also output a newline, because the final newline
- # might be missing in the map file; Empty lines are filtered out later,
- # so it does not really hurt do do this here.
- test -n "$file" && { cat "$file"; echo; }
- done < $tmp4
- if test -f $catMapsFailed; then
- false; return 1
- else
- true; return 0
- fi
-}
-
-###############################################################################
-# configReplace(file, pattern, line)
-# The first line in file that matches pattern gets replaced by line.
-# line will be added at the end of the file if pattern does not match.
-###############################################################################
-configReplace()
-{
- file=$1; pat=$2; line=$3
-
- if grep "$pat" "$file" >/dev/null; then
- ed "$file" >/dev/null 2>&1 <<-eof
- /$pat/
- c
- $line
- .
- w
- q
-eof
- else
- echo "$line" >> "$file"
- fi
-}
-
-###############################################################################
-# setOption (option, value)
-# sets option to value in the config file (replacing the existing setting
-# or by adding a new line to the config file).
-###############################################################################
-setOption()
-{
- opt=$1
- val=$2
- case "$opt" in
- LW35)
- case "$val" in
- URWkb|URW|ADOBE|ADOBEkb)
- ;;
- *)
- abort "invalid value $val for option $opt"
- ;;
- esac
- ;;
- dvipsPreferOutline|dvipsDownloadBase35|pdftexDownloadBase14|dvipdfmDownloadBase14)
- case "$val" in
- true|false)
- ;;
- *)
- abort "invalid value $val for option $opt"
- esac
- ;;
- *)
- abort "unsupported option $opt"
- ;;
- esac
-
- configReplace "$cnfFile" "^$opt[ ]" "$opt $val"
-}
-
-###############################################################################
-# enableMap (type, map)
-# enables an entry in the config file for map with a given type.
-###############################################################################
-enableMap()
-{
- case $1 in
- Map|MixedMap)
- ;;
- *)
- abort "invalid mapType $1"
- ;;
- esac
-
- # a map can only have one type, so we carefully disable everything
- # about map here:
- disableMap "$2"
-
- # now enable with the right type:
- configReplace "$cnfFile" "^#![ ]*$1[ ]*$2" "$1 $2"
-}
-
-###############################################################################
-# disableMap (map)
-# disables map in config file (any type)
-###############################################################################
-disableMap()
-{
- #mapType=`awk '($1 == "MixedMap" || $1 == "Map") && $2 == map { print $1 }' \
- # map=$1 <"$cnfFile" | sort | uniq`
- map=$1
- mapType=`egrep "^(MixedMap|Map)[ ]*$map( | |$)" "$cnfFile" | awk '{print $1}' | sort | uniq`
- for type in $mapType; do
- configReplace "$cnfFile" "^$type[ ]*$1" "#! $type $1"
- done
-}
-
-###############################################################################
-# psADOBE()
-# transform fontnames from URW to Adobe
-###############################################################################
-psADOBE()
-{
- sed \
- -e 's/ URWGothicL-Demi / AvantGarde-Demi /' \
- -e 's/ URWGothicL-DemiObli / AvantGarde-DemiOblique /' \
- -e 's/ URWGothicL-Book / AvantGarde-Book /' \
- -e 's/ URWGothicL-BookObli / AvantGarde-BookOblique /' \
- -e 's/ URWBookmanL-DemiBold / Bookman-Demi /' \
- -e 's/ URWBookmanL-DemiBoldItal / Bookman-DemiItalic /' \
- -e 's/ URWBookmanL-Ligh / Bookman-Light /' \
- -e 's/ URWBookmanL-LighItal / Bookman-LightItalic /' \
- -e 's/ NimbusMonL-Bold / Courier-Bold /' \
- -e 's/ NimbusMonL-BoldObli / Courier-BoldOblique /' \
- -e 's/ NimbusMonL-Regu / Courier /' \
- -e 's/ NimbusMonL-ReguObli / Courier-Oblique /' \
- -e 's/ NimbusSanL-Bold / Helvetica-Bold /' \
- -e 's/ NimbusSanL-BoldCond / Helvetica-Narrow-Bold /' \
- -e 's/ NimbusSanL-BoldItal / Helvetica-BoldOblique /' \
- -e 's/ NimbusSanL-BoldCondItal / Helvetica-Narrow-BoldOblique /' \
- -e 's/ NimbusSanL-Regu / Helvetica /' \
- -e 's/ NimbusSanL-ReguCond / Helvetica-Narrow /' \
- -e 's/ NimbusSanL-ReguItal / Helvetica-Oblique /' \
- -e 's/ NimbusSanL-ReguCondItal / Helvetica-Narrow-Oblique /' \
- -e 's/ CenturySchL-Bold / NewCenturySchlbk-Bold /' \
- -e 's/ CenturySchL-BoldItal / NewCenturySchlbk-BoldItalic /' \
- -e 's/ CenturySchL-Roma / NewCenturySchlbk-Roman /' \
- -e 's/ CenturySchL-Ital / NewCenturySchlbk-Italic /' \
- -e 's/ URWPalladioL-Bold / Palatino-Bold /' \
- -e 's/ URWPalladioL-BoldItal / Palatino-BoldItalic /' \
- -e 's/ URWPalladioL-Roma / Palatino-Roman /' \
- -e 's/ URWPalladioL-Ital / Palatino-Italic /' \
- -e 's/ StandardSymL / Symbol /' \
- -e 's/ NimbusRomNo9L-Medi / Times-Bold /' \
- -e 's/ NimbusRomNo9L-MediItal / Times-BoldItalic /' \
- -e 's/ NimbusRomNo9L-Regu / Times-Roman /' \
- -e 's/ NimbusRomNo9L-ReguItal / Times-Italic /' \
- -e 's/ URWChanceryL-MediItal / ZapfChancery-MediumItalic /' \
- -e 's/ Dingbats / ZapfDingbats /' \
- ${1+"$@"}
-}
-
-###############################################################################
-# fileADOBEkb()
-# transform filenames from URW to ADOBE (both berry names)
-###############################################################################
-fileADOBEkb()
-{
- sed \
- -e 's/\([^A-Za-z]\)uagd8a.pfb/\1pagd8a.pfb/' \
- -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1pagdo8a.pfb/' \
- -e 's/\([^A-Za-z]\)uagk8a.pfb/\1pagk8a.pfb/' \
- -e 's/\([^A-Za-z]\)uagko8a.pfb/\1pagko8a.pfb/' \
- -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1pbkd8a.pfb/' \
- -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1pbkdi8a.pfb/' \
- -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1pbkl8a.pfb/' \
- -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1pbkli8a.pfb/' \
- -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1pcrb8a.pfb/' \
- -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1pcrbo8a.pfb/' \
- -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1pcrr8a.pfb/' \
- -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1pcrro8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1phvb8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1phvb8an.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1phvbo8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1phvbo8an.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1phvr8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1phvr8an.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1phvro8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1phvro8an.pfb/' \
- -e 's/\([^A-Za-z]\)uncb8a.pfb/\1pncb8a.pfb/' \
- -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1pncbi8a.pfb/' \
- -e 's/\([^A-Za-z]\)uncr8a.pfb/\1pncr8a.pfb/' \
- -e 's/\([^A-Za-z]\)uncri8a.pfb/\1pncri8a.pfb/' \
- -e 's/\([^A-Za-z]\)uplb8a.pfb/\1pplb8a.pfb/' \
- -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1pplbi8a.pfb/' \
- -e 's/\([^A-Za-z]\)uplr8a.pfb/\1pplr8a.pfb/' \
- -e 's/\([^A-Za-z]\)uplri8a.pfb/\1pplri8a.pfb/' \
- -e 's/\([^A-Za-z]\)usyr.pfb/\1psyr.pfb/' \
- -e 's/\([^A-Za-z]\)utmb8a.pfb/\1ptmb8a.pfb/' \
- -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1ptmbi8a.pfb/' \
- -e 's/\([^A-Za-z]\)utmr8a.pfb/\1ptmr8a.pfb/' \
- -e 's/\([^A-Za-z]\)utmri8a.pfb/\1ptmri8a.pfb/' \
- -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1pzcmi8a.pfb/' \
- -e 's/\([^A-Za-z]\)uzdr.pfb/\1pzdr.pfb/' \
- ${1+"$@"}
-}
-
-###############################################################################
-# fileURW()
-# transform filenames from URWkb (berry names) to URW (vendor names)
-###############################################################################
-fileURW()
-{
- sed \
- -e 's/\([^A-Za-z]\)uagd8a.pfb/\1a010015l.pfb/' \
- -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1a010035l.pfb/' \
- -e 's/\([^A-Za-z]\)uagk8a.pfb/\1a010013l.pfb/' \
- -e 's/\([^A-Za-z]\)uagko8a.pfb/\1a010033l.pfb/' \
- -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1b018015l.pfb/' \
- -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1b018035l.pfb/' \
- -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1b018012l.pfb/' \
- -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1b018032l.pfb/' \
- -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1n022004l.pfb/' \
- -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1n022024l.pfb/' \
- -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1n022003l.pfb/' \
- -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1n022023l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1n019004l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1n019044l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1n019024l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1n019064l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1n019003l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1n019043l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1n019023l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1n019063l.pfb/' \
- -e 's/\([^A-Za-z]\)uncb8a.pfb/\1c059016l.pfb/' \
- -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1c059036l.pfb/' \
- -e 's/\([^A-Za-z]\)uncr8a.pfb/\1c059013l.pfb/' \
- -e 's/\([^A-Za-z]\)uncri8a.pfb/\1c059033l.pfb/' \
- -e 's/\([^A-Za-z]\)uplb8a.pfb/\1p052004l.pfb/' \
- -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1p052024l.pfb/' \
- -e 's/\([^A-Za-z]\)uplr8a.pfb/\1p052003l.pfb/' \
- -e 's/\([^A-Za-z]\)uplri8a.pfb/\1p052023l.pfb/' \
- -e 's/\([^A-Za-z]\)usyr.pfb/\1s050000l.pfb/' \
- -e 's/\([^A-Za-z]\)utmb8a.pfb/\1n021004l.pfb/' \
- -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1n021024l.pfb/' \
- -e 's/\([^A-Za-z]\)utmr8a.pfb/\1n021003l.pfb/' \
- -e 's/\([^A-Za-z]\)utmri8a.pfb/\1n021023l.pfb/' \
- -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1z003034l.pfb/' \
- -e 's/\([^A-Za-z]\)uzdr.pfb/\1d050000l.pfb/' \
- ${1+"$@"}
-}
-
-###############################################################################
-# fileADOBE()
-# transform filenames from URWkb (berry names) to ADOBE (vendor names)
-###############################################################################
-fileADOBE()
-{
- sed \
- -e 's/\([^A-Za-z]\)uagd8a.pfb/\1agd_____.pfb/' \
- -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1agdo____.pfb/' \
- -e 's/\([^A-Za-z]\)uagk8a.pfb/\1agw_____.pfb/' \
- -e 's/\([^A-Za-z]\)uagko8a.pfb/\1agwo____.pfb/' \
- -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1bkd_____.pfb/' \
- -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1bkdi____.pfb/' \
- -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1bkl_____.pfb/' \
- -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1bkli____.pfb/' \
- -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1cob_____.pfb/' \
- -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1cobo____.pfb/' \
- -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1com_____.pfb/' \
- -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1coo_____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1hvb_____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1hvnb____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1hvbo____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1hvnbo___.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1hv______.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1hvn_____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1hvo_____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1hvno____.pfb/' \
- -e 's/\([^A-Za-z]\)uncb8a.pfb/\1ncb_____.pfb/' \
- -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1ncbi____.pfb/' \
- -e 's/\([^A-Za-z]\)uncr8a.pfb/\1ncr_____.pfb/' \
- -e 's/\([^A-Za-z]\)uncri8a.pfb/\1nci_____.pfb/' \
- -e 's/\([^A-Za-z]\)uplb8a.pfb/\1pob_____.pfb/' \
- -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1pobi____.pfb/' \
- -e 's/\([^A-Za-z]\)uplr8a.pfb/\1por_____.pfb/' \
- -e 's/\([^A-Za-z]\)uplri8a.pfb/\1poi_____.pfb/' \
- -e 's/\([^A-Za-z]\)usyr.pfb/\1sy______.pfb/' \
- -e 's/\([^A-Za-z]\)utmb8a.pfb/\1tib_____.pfb/' \
- -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1tibi____.pfb/' \
- -e 's/\([^A-Za-z]\)utmr8a.pfb/\1tir_____.pfb/' \
- -e 's/\([^A-Za-z]\)utmri8a.pfb/\1tii_____.pfb/' \
- -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1zcmi____.pfb/' \
- -e 's/\([^A-Za-z]\)uzdr.pfb/\1zd______.pfb/' \
- ${1+"$@"}
-}
-
-###############################################################################
-# locateWeb2c (file ...)
-# apply kpsewhich with format 'web2c files'
-###############################################################################
-locateWeb2c()
-{
- kpsewhich --format='web2c files' ${1+"$@"}
-}
-
-###############################################################################
-# locateMap (file ...)
-# apply kpsewhich with format 'map'
-###############################################################################
-locateMap()
-{
-
- # Always use the "migration checking version". This might become
- # consigurable, but for now, we always want to check.
- if :; then
- locateMapMigrate "$@"
- return $?
- fi
-
- # The old version of the code; not used at the moment.
- for map
- do
- file=`kpsewhich --format=map "$map"`
- if test -f "$file"; then
- verboseMsg "$progname: using map file \`$file'"
- echo "$file"
- else
- warn "map file \`$map' not found."
- fi
- done
-}
-
-###############################################################################
-# locateMapMigrate (file ...)
-# look for map file; assist user with possibly files in wrong locations;
-# also watch out for possibly hidden conflicts
-###############################################################################
-locateMapMigrate()
-{
- for map
- do
- # look up using the new search path
- file=`kpsewhich --format=map "$map"`
-
- # look up using the old search path
- file2=`kpsewhich --format='dvips config' "$map"`
-
- # Well, the search paths should not overlap. If they do, and if
- # file1 = file2, we don't want to complain about file2, so:
- test "x$file" = "x$file2" && file2=
-
- if test -f "$file"; then
-
- verboseMsg "$progname: using map file \`$file'"
- echo "$file"
-
- # we have found the file where we should. If we have additional
- # ones: complain!
- if test -f "$file2"; then
- mapCmp "$file" "$file2" \
- && mapWarn obsoleteCopy "$map" "$file2" \
- || mapWarn manualResolve "$map" "$file" "$file2"
- fi
-
- else
- if test -f "$file2"; then
- # bad: map file exists in the wrong location only
- mapWarn badLocation "$map" "$file2"
- else
- # bad: map file does not exist at all
- mapWarn notFound "$map"
- fi
- false; return 1
- fi
- done
- true; return 0
-}
-
-###############################################################################
-# mapCmp(file, file2)
-# compare two map files like cmp; but less strict, so changes regarding
-# whitespaces, comments etc. are tolerated. Important is only the
-# return value here.
-###############################################################################
-mapCmp()
-{
- file=$1; file2=$2
-
- # For reasons of speed only. Avoid normalizeLines if files are 100%
- # the same.
- cmp "$file" "$file2" >/dev/null 2>&1 && return 0
-
- normalizeLines <"$file" >"$tmpdir/mapCmp-1"
- normalizeLines <"$file2" >"$tmpdir/mapCmp-2"
- cmp "$tmpdir/mapCmp-1" "$tmpdir/mapCmp-2" >/dev/null 2>&1
-}
-
-###############################################################################
-# mapWarn()
-###############################################################################
-mapWarn()
-{
-
- case $1 in
- obsoleteCopy)
- warn "
-!!! WARNING: Identical copy of used file for \`$2'
- exists in obsolete location
- $3
- Please, consider removing this file.
-"
- touch $mapWarnCalled
- ;;
- manualResolve)
- warn "
-!!! WARNING: While searching for the right map file for \`$2', we have
- found the file
- $3
- in the right location and we are using this
- file. However, a map file with different content has been found in
- the obsolete location
- $4
- Please, see which version you want to use and eventually update the
- content of the used map file. Additionally, consider removing the
- obsolete file.
-"
- touch $mapWarnCalled
- ;;
- badLocation)
- map=$2
- location=$3
-
- m="
-!!! ERROR: The right location for map files has been
- changed for this release and the map file \`$map' has
- not been found in the right location, but in the obsolete
- location
- $location
- instead.
-
- To fix this, please move this file into an appropriate
- subdirectory of fonts/map in one of your texmf trees.
-
- For more information about the changed search paths, see
- the release notes section in the teTeX manual. You probably
- can read this document by executing the command
- texdoc TETEXDOC
- else visit the web page
- http://tug.org/texlive/mapenc.html
-"
- warn "$m"
- false; return 1
- ;;
- notFound)
- warn "
-!!! ERROR! The map file \`$2' has not been found at all.
-
- Either put this file into the right place or remove the
- reference from the configuration file. An automatic way
- to disable unavailable map files is to call
- $progname --syncwithtrees
-
- For manual editing, call
- $progname --edit
-"
-
- false; return 1
- ;;
- esac
-}
-
-###############################################################################
-# cleanup()
-# clean up the temp area and exit with proper exit status
-###############################################################################
-cleanup()
-{
- rc=$1
- $needsCleanup && test -n "$tmpdir" && test -d "$tmpdir" \
- && { cd $orig_pwd && rm -rf "$tmpdir"; }
- (exit $rc); exit $rc
-}
-
-###############################################################################
-# setupTmpDir()
-# set up a temp directory and a trap to remove it
-###############################################################################
-setupTmpDir()
-{
- $needsCleanup && return
-
- trap 'cleanup 1' 1 2 3 7 13 15
- needsCleanup=true
- mkdir "$tmpdir" || abort "could not create directory \`$tmpdir'"
-}
-
-###############################################################################
-# showOptions(item)
-# show Options for an item
-###############################################################################
-showOptions()
-{
- item=$1
-
- case "$item" in
- LW35)
- echo "URWkb URW ADOBE ADOBEkb"
- ;;
- dvipsPreferOutline|pdftexDownloadBase14|dvipdfmDownloadBase14|dvipsDownloadBase35)
- echo "true false"
- ;;
- *)
- abort "Unknown item \"$item\". Choose one of LW35, dvipsPreferOutline, dvipsDownloadBase35, pdftexDownloadBase14 or dvipdfmDownloadBase14"
- ;;
- esac
-
- (exit 0); exit 0
-}
-
-###############################################################################
-# mktexdir(args)
-# call mktexdir script, disable all features (to prevent sticky directories)
-###############################################################################
-mktexdir()
-{
- MT_FEATURES=none "$TEXMFMAIN/web2c/mktexdir" "$@" >&2
-}
-
-###############################################################################
-# setupDestDir()
-# Assign output directories which are not yet assigned. Always use
-# the TEXMFVAR for this.
-###############################################################################
-setupDestDir()
-{
- vartexmf=`kpsewhich -var-value=TEXMFVAR`
-
- # dvips
- if test -z "$dvipsoutputdir"; then
- dvipsoutputdir=$vartexmf/fonts/map/dvips/updmap
- fi
-
- # pdftex
- if test -z "$pdftexoutputdir"; then
- pdftexoutputdir=$vartexmf/fonts/map/pdftex/updmap
- fi
-
- # dvipdfm
- if test -z "$dvipdfmoutputdir"; then
- dvipdfmoutputdir=$vartexmf/fonts/map/dvipdfm/updmap
- fi
-
- mktexdir "$dvipsoutputdir" "$pdftexoutputdir" "$dvipdfmoutputdir" >/dev/null 2>&1
- for d in "$dvipsoutputdir" "$pdftexoutputdir" "$dvipdfmoutputdir"; do
- test -d "$d" || abort "output directory \`$d' does not exist"
- test -w "$d" || abort "output directory \`$d' is not writable"
- done
-
-}
-
-###############################################################################
-# setupLog(cfgFile)
-# try to set up a log file in $TEXMFVAR/web2c
-###############################################################################
-setupLog()
-{
- vartexmf=`kpsewhich -var-value=TEXMFVAR`
- dir=$vartexmf/web2c
- mktexdir "$dir" >/dev/null 2>&1
- log="$dir/$progname.log"
- if test -d "$dir" && test -w "$dir"; then
- rm -f "$log"
- > "$log"
- fi
- if test -w "$log"; then
- if $chicken_mode; then
- log=
- else
- date > "$log"
- verboseMsg "$progname: This is $progname, version $version"
- verboseMsg "$progname: using transcript file \`$log'"
- fi
- else
- log=
- verboseMsg "$progname: This is $progname, version $version"
- verboseMsg "$progname: no permissions for writing $dir/$progname.log', so no transcript"
- fi
-}
-
-###############################################################################
-# setupCfgFile()
-# find config file if none specified on cmd line.
-###############################################################################
-setupCfgFile()
-{
- case "$cnfFile" in
- "") cnfFile=`locateWeb2c $cnfFileShort`
- case "$cnfFile" in
- "") abort "config file $cnfFileShort not found (ls-R missing?)"
- esac;;
- esac
- setupLog
-}
-
-###############################################################################
-# processOptions()
-# process cmd line options
-###############################################################################
-processOptions()
-{
- while
- case $1 in
- --quiet|-q)
- verbose=false;;
- --cnffile)
- cfgparam=1; cnfFile=$2; shift;;
- --cnffile=*)
- cfgparam=1; cnfFile=`echo "$1" | sed 's/--cnffile=//'`;;
- --copy)
- copy=true;;
- --dry-run|-n)
- chicken_mode=true;;
- --dvipsoutputdir)
- dvipsoutputdirparam=1; dvipsoutputdir=$2; shift;;
- --dvipsoutputdir=*)
- dvipsoutputdirparam=1; dvipsoutputdir=`echo "$1" | sed 's/--dvipsoutputdir=//'`;;
- --pdftexoutputdir)
- pdftexoutputdirparam=1; pdftexoutputdir=$2; shift;;
- --pdftexoutputdir=*)
- pdftexoutputdirparam=1; pdftexoutputdir=`echo "$1" | sed 's/--pdftexoutputdir=//'`;;
- --dvipdfmoutputdir)
- dvipdfmoutputdirparam=1; dvipdfmoutputdir=$2; shift;;
- --dvipdfmoutputdir=*)
- dvipdfmoutputdirparam=1; dvipdfmoutputdir=`echo "$1" | sed 's/--dvipdfmoutputdir=//'`;;
- --outputdir)
- dvipsoutputdirparam=1; dvipsoutputdir=$2
- pdftexoutputdirparam=1; pdftexoutputdir=$2
- dvipdfmoutputdirparam=1; dvipdfmoutputdir=$2
- shift
- ;;
- --outputdir=*)
- outputdir=`echo "$1" | sed 's/--outputdir=//'`
- dvipsoutputdirparam=1; dvipsoutputdir=$outputdir
- pdftexoutputdirparam=1; pdftexoutputdir=$outputdir
- dvipdfmoutputdirparam=1; dvipdfmoutputdir=$outputdir
- ;;
- --setoption)
- cfgmaint=1
- cmd=setoption
- case $2 in
- *=*)
- setoptionOpt=`echo $2 | sed 's@=.*@@'`
- setoptionVal=`echo $2 | sed 's@[^=]*=@@'`
- shift
- ;;
- *)
- test $# -ge 3 || { abort "--setoption needs two parameters: option value"; }
- setoptionOpt=$2; setoptionVal=$3; shift; shift
- ;;
- esac
- ;;
- --enable)
- cfgmaint=1
- cmd=enable
- case $2 in
- Map=*)
- enableMapType=Map; enableMapFile=`echo "$2" | sed 's/Map=//'`; shift;;
- MixedMap=*)
- enableMapType=MixedMap; enableMapFile=`echo "$2" | sed 's/MixedMap=//'`; shift;;
- Map|MixedMap)
- test $# -ge 3 || { abort "--enable needs two parameters: mapType mapFile"; }
- enableMapType=$2; enableMapFile=$3; shift; shift;;
- *)
- abort "--enable needs two parameters mapType mapFile";;
- esac
- ;;
- --syncwithtrees)
- cfgmaint=1
- cmd=syncwithtrees;;
- --disable)
- cfgmaint=1
- cmd=disable; disableMapFile=$2; shift
- ;;
- --disable=*)
- cfgmaint=1
- disableMapFile=`echo "$1" | sed 's/--disable=//'`
- cmd=disable
- ;;
- --edit|-e)
- cfgmaint=1
- cmd=edit;;
- --listmaps|-l)
- cmd=listmaps;;
- --listavailablemaps)
- cmd=listavailablemaps;;
- --showoptions)
- cmd=showoptions; showoptionsItem=$2; shift;;
- --showoptions=*)
- cmd=showoptions; showoptionsItem=`echo "$1" | sed 's/--showoptions=//'`;;
-
- --nohash)
- texhashEnabled=false;;
- --nomkmap)
- mkmapEnabled=false;;
- --help|-help|-h)
- help;;
- --version)
- echo "$progname version $version"; (exit 0); exit 0;;
- "") break;;
- *) abort "$progname: unknown option \`$1'. Try $progname --help for help";;
- esac
- do test $# -gt 0 && shift; done
-
- if test -n "$cfgparam"; then
- if test -z "$cnfFile" || test ! -f "$cnfFile"; then
- abort "config file \`$cnfFileShort' not found"
- fi
- fi
-
- if test -n "$dvipdoutputdirparam"; then
- if test -z "$dvipdoutputdir" || test ! -d "$dvipdoutputdir"; then
- abort "dvips output directory \`$1' not found"
- fi
- fi
- if test -n "$pdftexoutputdirparam"; then
- if test -z "$pdftexoutputdir" || test ! -d "$pdftexoutputdir"; then
- abort "pdftex output directory \`$1' not found"
- fi
- fi
- if test -n "$dvipdfmoutputdirparam"; then
- if test -z "$dvipdfmoutputdir" || test ! -d "$dvipdfmoutputdir"; then
- abort "dvipdfm output directory \`$1' not found"
- fi
- fi
-
-}
-
-###############################################################################
-# listMaps()
-# list all maps mentioned in the config file
-###############################################################################
-listMaps()
-{
- egrep '^(#! *)?(Mixed)?Map' "$cnfFile"
-}
-
-###############################################################################
-# listAvailableMaps()
-# list maps mentioned in the config file if they are available
-###############################################################################
-listAvailableMaps()
-{
- # loop over each possible line in the config file (-> $line)
- # extract the name of the map file (-> $m)
- # check if the map file exists and in that case echo the line
- OLDIFS=$IFS
- IFS='
-'
- for line in `egrep '^(#! *)?(Mixed)?Map' "$cnfFile"`; do
- m=`echo "$line" | sed 's@[ ]*$@@; s@.*[ ]@@'`
- kpsewhich --format=map "$m" >/dev/null && echo "$line"
- done
- IFS=$OLDIFS
-}
-
-###############################################################################
-# syncWithTrees()
-# update the config file: uncomment all lines which refer to map files that
-# are unavailabe in the texmf trees
-###############################################################################
-syncWithTrees()
-{
- for i in `egrep '^(Mixed)?Map' "$cnfFile" | sed 's@.* @@'`; do
- kpsewhich --format=map "$i" >/dev/null || echo "$i"
- done > $tmp1
- {
- sed 's@/@\\/@g; s@^@/^MixedMap[ ]*@; s@$@$/s/^/#! /@' <$tmp1
- sed 's@/@\\/@g; s@^@/^Map[ ]*@; s@$@$/s/^/#! /@' <$tmp1
- } > $tmp2
- sed -f $tmp2 "$cnfFile" > $tmp3 && cat $tmp3 > "$cnfFile"
-}
-
-###############################################################################
-# normalizeLines()
-# remove comments, whitespace is exactly one space, no empty lines,
-# no whitespace at end of line, one space before and after ",
-# no CR's (as in skaknew).
-###############################################################################
-normalizeLines()
-{
- sed \
- -e '/^[*#;%]/d' \
- -e 's@[ ][ ]*@ @g' \
- -e '/^ *$/d' \
- -e 's@ $@@' \
- -e 's@ *" *@ " @g' \
- -e 's@" \([^"]*\) "@"\1"@g' \
- | tr -d '\r' \
- | sort | uniq
-}
-
-###############################################################################
-# dvips2dvipdfm()
-# reads from stdin, writes to stdout. It transforms "dvips"-like syntax into
-# "dvipdfm"-like syntax. It is a very ugly hack.
-###############################################################################
-dvips2dvipdfm()
-{
- sed -e 's@$@ %@' \
- -e 's@^\(\([^ ]*\).*\)@\1\2@' \
- -e 's@\(.*<\[* *\([^ ]*\)\.enc\(.*\)\)@\1 \2@' \
- -e '/%[^ ]*$/s@$@ default@' \
- -e 's@\(.*<<* *\([^ ]*\)\.pf[ab].*\)@\1 \2@' \
- -e '/%[^ ]* [^ ]*$/s@\( \([^ ]*\).*\)$@\1 \2@' \
- -e 's@\(.*[" ]\([.0-9-][.0-9-]*\) *ExtendFont.*\)@\1 -e \2@' \
- -e 's@\(.*[" ]\([.0-9-][.0-9-]*\) *SlantFont.*\)@\1 -s \2@' \
- -e 's@.*%@@' |
- awk '$1 == $3 && $2 == "default" {$2=""; $3=""} {print}' > $tmp8
-
- egrep '^(cm|eu|la|lc|line|msam|xy)' $tmp8 \
- | sed 's@$@ -r@; s@\(fmex[789]\) -r$@\1@'
- egrep -v '^(cm|eu|la|lc|line|msam|xy)' $tmp8
-}
-
-
-###############################################################################
-# mkMaps()
-# the main task of this script: create the output files
-###############################################################################
-mkMaps()
-{
- newline='
-'
- mode=`cfgval LW35`
- dvipsPreferOutline=`cfgval dvipsPreferOutline`
- dvipsDownloadBase35=`cfgval dvipsDownloadBase35`
- pdftexDownloadBase14=`cfgval pdftexDownloadBase14`
- dvipdfmDownloadBase14=`cfgval dvipdfmDownloadBase14`
-
- # defaults
- test -z "$mode" && mode=URWkb
- test -z "$dvipsPreferOutline" && dvipsPreferOutline=true
- test -z "$dvipsDownloadBase35" && dvipsDownloadBase35=false
- test -z "$pdftexDownloadBase14" && pdftexDownloadBase14=false
- test -z "$dvipdfmDownloadBase14" && dvipdfmDownloadBase14=false
-
- outputFiles="$dvipsoutputdir/download35.map
-$dvipsoutputdir/builtin35.map
-$dvipsoutputdir/psfonts_t1.map
-$dvipsoutputdir/psfonts_pk.map
-$pdftexoutputdir/pdftex_dl14.map
-$pdftexoutputdir/pdftex_ndl14.map
-$dvipdfmoutputdir/dvipdfm_dl14.map
-$dvipdfmoutputdir/dvipdfm_ndl14.map
-$dvipsoutputdir/ps2pk.map"
-
- outputLinks="$dvipsoutputdir/psfonts.map
-$pdftexoutputdir/pdftex.map
-$dvipdfmoutputdir/dvipdfm.map"
-
- allOutput="$outputFiles
-$outputLinks"
-
- notfound=false
- OLDIFS=$IFS; IFS=$newline
- for o in $allOutput; do
- test -f "$o" || notfound=true
- done
- IFS=$OLDIFS
- $notfound || texhashEnabled=false
-
- verboseCat <<-eof
- updmap is creating new map files using the following configuration:
-
- config file: \`$cnfFile'
- dvips output directory: \`$dvipsoutputdir'
- pdftex output directory: \`$pdftexoutputdir'
- dvipdfm output directory: \`$dvipdfmoutputdir'
-
- prefer outlines: \`$dvipsPreferOutline'
- texhash enabled: \`$texhashEnabled'
- download standard fonts (dvips): \`$dvipsDownloadBase35'
- download standard fonts (pdftex): \`$pdftexDownloadBase14'
- download standard fonts (dvipdfm): \`$dvipdfmDownloadBase14'
-eof
-
- verboseMsg
- verboseMsg "$progname: scanning for LW35 support files"
- dvips35=`locateMap dvips35.map` || cleanup 1
- pdftex35=`locateMap pdftex35.map` || cleanup 1
- dvipdfm35=`locateMap dvipdfm35.map` || cleanup 1
- ps2pk35=`locateMap ps2pk35.map` || cleanup 1
-
- if $chicken_mode; then
- echo
- echo "$progname: chicken mode, skipping all output generation, goodbye."
- exit 0
- fi
-
- verboseMsg
- verboseMsg "$progname: Scanning for MixedMap entries:"
- catMaps '^MixedMap' > $tmp1 || cleanup 1
-
- verboseMsg
- verboseMsg "$progname: Scanning for Map entries:"
- catMaps '^Map' > $tmp2 || cleanup 1
- verboseMsg
-
- # files should be world-readable
- umask 022
-
- OLDIFS=$IFS; IFS=$newline
- for file in $allOutput; do
- rm -f "$file"
- cat > "$file" <<-eof
- % $file: maintained by the script updmap.
- % Don't change this file directly. Edit texmf/web2c/$cnfFileShort
- % and run updmap to recreate this file.
-eof
- if test -n "$log"; then
- cat >> "$file" <<-eof
- % A log of the updmap run that has created this file is available here:
- % $log
-eof
- fi
- done
- IFS=$OLDIFS
-
- verboseMsg "$progname: Generating output for ps2pk..."
- { transLW35 "$ps2pk35"; cat $tmp1 $tmp2; } \
- | normalizeLines >> "$dvipsoutputdir/ps2pk.map"
-
- verboseMsg "$progname: Generating output for dvips..."
- { transLW35 "$ps2pk35"; } \
- | normalizeLines >> "$dvipsoutputdir/download35.map"
- { transLW35 "$dvips35"; } \
- | normalizeLines >> "$dvipsoutputdir/builtin35.map"
-
- if test "x$dvipsDownloadBase35" = xtrue; then
- dftdvips=$ps2pk35
- else
- dftdvips=$dvips35
- fi
- { transLW35 "$dftdvips"; cat $tmp1 $tmp2; } \
- | normalizeLines >> "$dvipsoutputdir/psfonts_t1.map"
- { transLW35 "$dftdvips"; cat $tmp2; } \
- | normalizeLines >> "$dvipsoutputdir/psfonts_pk.map"
-
- verboseMsg "$progname: Generating output for pdftex..."
- # remove PaintType due to Sebastian's request
- { transLW35 "$pdftex35"; cat $tmp1 $tmp2; } \
- | grep -v PaintType | grep . > $tmp3
- { transLW35 "$dvipdfm35"; cat $tmp1 $tmp2; } \
- | grep -v PaintType | grep . > $tmp6
- { transLW35 "$ps2pk35"; cat $tmp1 $tmp2; } \
- | grep -v PaintType | grep . > $tmp7
-
- <$tmp3 normalizeLines >> "$pdftexoutputdir/pdftex_ndl14.map"
- <$tmp7 normalizeLines >> "$pdftexoutputdir/pdftex_dl14.map"
-
- verboseMsg "$progname: Generating output for dvipdfm..."
- <$tmp7 normalizeLines | dvips2dvipdfm | normalizeLines >> "$dvipdfmoutputdir/dvipdfm_dl14.map"
- <$tmp6 normalizeLines | dvips2dvipdfm | normalizeLines >> "$dvipdfmoutputdir/dvipdfm_ndl14.map"
- verboseMsg "$progname: All output generated."
- verboseMsg
-
- setupSymlinks
- $texhashEnabled && { $verbose && texhash || texhash >/dev/null 2>&1; }
-
- verboseMsg
- verboseMsg "$progname: Files generated:"
- OLDIFS=$IFS; IFS=$newline
- ls -l $outputFiles | verboseCat
- IFS=$OLDIFS
- verboseMsg
-
- verboseMsg "$progname: Map file links or copies:"
- ls -l "$dvipsoutputdir"/psfonts.map \
- "$pdftexoutputdir"/pdftex.map \
- "$dvipdfmoutputdir"/dvipdfm.map | verboseCat
-
- if test -f $mapWarnCalled; then
- m="
-
-!!! NOTICE:
-
- With this release, the search paths for map files have been changed
- and we have found that some files exist in the new path as well as
- in the obsolete path.
-
- This is not an error per se, but please consider removing duplicates
- from the old location and search the above output"
-
- test -n "$log" && m="$m or the transcript file
- $log
- "
-
- m="$m for warnings.
-
- For more information about the changed search paths, see
- the release notes section in the teTeX manual. You probably
- can read this document by executing the command
- texdoc TETEXDOC
- else visit the web page
- http://tug.org/texlive/mapenc.html
-"
- warn "$m"
- fi
-
- verboseMsg
- verboseMsg "$progname: Done."
- return 0
-}
-
-###############################################################################
-# main()
-# execution starts here
-###############################################################################
-main()
-{
- # initialize global variables
- progname=updmap
- cmd=
- log=
- chicken_mode=false
- link_cmd="ln -s"
- copy_cmd="cp"
- copy=false
- orig_pwd=`pwd`
-
- cfgparam=
- outputdirparam=
- cfgmaint=
- texhashEnabled=true
- mkmapEnabled=true
- verbose=true
- needsCleanup=false
-
- cnfFileShort=updmap.cfg
- cnfFile=
- dvipsoutputdir=; pdftexoutputdir=; dvipdfmoutputdir=
- : ${TEXMFMAIN=`kpsewhich -var-value=TEXMFMAIN`}
-
- tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
- tmp1=$tmpdir/a
- tmp2=$tmpdir/b
- tmp3=$tmpdir/c
- tmp4=$tmpdir/d
- tmp5=$tmpdir/e
- tmp6=$tmpdir/f
- tmp7=$tmpdir/g
- tmp8=$tmpdir/h
- mapWarnCalled=$tmpdir/mapWarnCalled
- catMapsFailed=$tmpdir/catMapsFailed
-
- processOptions ${1+"$@"}
-
- case "$cmd" in
- showoptions) showOptions "$showoptionsItem"; (exit 0); exit;;
- help) help; (exit 0); exit;;
- esac
-
- setupCfgFile
- case "$cmd" in
- listmaps) listMaps; (exit 0); exit;;
- listavailablemaps) listAvailableMaps; (exit 0); exit;;
- esac
-
- # keep a copy of config file, so that we can see if the file was modified
- setupTmpDir
-
- if test -n "$cfgmaint"; then
- if test -z "$cfgparam"; then
- co=`"$TEXMFMAIN/texconfig/tcfmgr" --tmp $tmpdir --cmd co --file $cnfFileShort`
- test $? = 0 || cleanup 1
- set x $co; shift
- id=$1; cnfFile=$3; orig=$4
- verboseMsg "$progname: initial config file is \`$orig'"
- else
- verboseMsg "$progname: config file is \`$cnfFile'"
- cp "$cnfFile" $tmp5
- fi
-
- case "$cmd" in
- edit)
- ${VISUAL-${EDITOR-vi}} "$cnfFile";;
- setoption)
- setOption "$setoptionOpt" "$setoptionVal";;
- enable)
- enableMap "$enableMapType" "$enableMapFile";;
- disable)
- disableMap "$disableMapFile";;
- syncwithtrees)
- syncWithTrees;;
- esac
-
- unchanged=true
- if test -z "$cfgparam"; then
- ci=`"$TEXMFMAIN/texconfig/tcfmgr" --tmp $tmpdir --cmd ci --id $id`
- test $? = 0 || cleanup 1
- case "$ci" in
- "") : ;;
- *) unchanged=false
- cnfFile=$ci
- ;;
- esac
- else
- cmp "$cnfFile" $tmp5 >/dev/null 2>&1 || unchanged=false
- fi
- case $unchanged in
- true) if $mkmapEnabled; then
- verboseMsg "$progname: configuration (updmap.cfg) unchanged. Map files will not be recreated."
- mkmapEnabled=false
- else
- verboseMsg "$progname: configuration (updmap.cfg) unchanged."
- fi;;
- *)
- verboseMsg "$progname: configuration file updated: \`$cnfFile'";;
- esac
- fi
-
- $mkmapEnabled || return
- setupDestDir
- mkMaps
-}
-
-main ${1+"$@"}
-cleanup 0
+../../texmf/scripts/tetex/updmap.pl \ No newline at end of file
diff --git a/Master/bin/amd64-kfreebsd/updmap-sys b/Master/bin/amd64-kfreebsd/updmap-sys
index 6f3c8365658..87523fb08ed 100755..120000
--- a/Master/bin/amd64-kfreebsd/updmap-sys
+++ b/Master/bin/amd64-kfreebsd/updmap-sys
@@ -1,30 +1 @@
-#!/bin/sh
-
-# updmap-sys: Thomas Esser, public domain.
-
-# wrapper script for updmap with TEXMFVAR and TEXMFCONFIG set to
-# TEXMFSYSVAR / TEXMFSYSCONFIG
-
-test -f /bin/ksh && test -z "$RUNNING_KSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
- && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; }
-unset RUNNING_KSH
-
-test -f /bin/bsh && test -z "$RUNNING_BSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \
- && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
-unset RUNNING_BSH
-
-export PATH
-
-# hack around a bug in zsh:
-test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-
-v=`kpsewhich -var-value TEXMFSYSVAR`
-c=`kpsewhich -var-value TEXMFSYSCONFIG`
-
-TEXMFVAR="$v"
-TEXMFCONFIG="$c"
-export TEXMFVAR TEXMFCONFIG
-
-exec updmap ${1+"$@"}
+../../texmf/scripts/tetex/updmap-sys.sh \ No newline at end of file
diff --git a/Master/bin/amd64-kfreebsd/vftovp b/Master/bin/amd64-kfreebsd/vftovp
index 6f345743904..c0903f7270a 100755
--- a/Master/bin/amd64-kfreebsd/vftovp
+++ b/Master/bin/amd64-kfreebsd/vftovp
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/vlna b/Master/bin/amd64-kfreebsd/vlna
index d2e274a0f94..606fe481f48 100755
--- a/Master/bin/amd64-kfreebsd/vlna
+++ b/Master/bin/amd64-kfreebsd/vlna
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/vptovf b/Master/bin/amd64-kfreebsd/vptovf
index b6e3de89e49..aa0a0951f7b 100755
--- a/Master/bin/amd64-kfreebsd/vptovf
+++ b/Master/bin/amd64-kfreebsd/vptovf
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/weave b/Master/bin/amd64-kfreebsd/weave
index cbfbcf59f9a..2f0046296d1 100755
--- a/Master/bin/amd64-kfreebsd/weave
+++ b/Master/bin/amd64-kfreebsd/weave
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/xdvi-xaw b/Master/bin/amd64-kfreebsd/xdvi-xaw
index 1032b4ffa9b..26101fb112a 100755
--- a/Master/bin/amd64-kfreebsd/xdvi-xaw
+++ b/Master/bin/amd64-kfreebsd/xdvi-xaw
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/xdvipdfmx b/Master/bin/amd64-kfreebsd/xdvipdfmx
index 680a2a87bd9..9b260ce57b3 100755
--- a/Master/bin/amd64-kfreebsd/xdvipdfmx
+++ b/Master/bin/amd64-kfreebsd/xdvipdfmx
Binary files differ
diff --git a/Master/bin/amd64-kfreebsd/xetex b/Master/bin/amd64-kfreebsd/xetex
index 616a58977cf..780de36a91f 100755
--- a/Master/bin/amd64-kfreebsd/xetex
+++ b/Master/bin/amd64-kfreebsd/xetex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/afm2pl b/Master/bin/i386-kfreebsd/afm2pl
index 8c81af7bb9a..2fec590e1a0 100755
--- a/Master/bin/i386-kfreebsd/afm2pl
+++ b/Master/bin/i386-kfreebsd/afm2pl
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/afm2tfm b/Master/bin/i386-kfreebsd/afm2tfm
index 01747d2b93c..c42dc7db9dc 100755
--- a/Master/bin/i386-kfreebsd/afm2tfm
+++ b/Master/bin/i386-kfreebsd/afm2tfm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/aleph b/Master/bin/i386-kfreebsd/aleph
index 1dba39d876c..00cb3c16679 100755
--- a/Master/bin/i386-kfreebsd/aleph
+++ b/Master/bin/i386-kfreebsd/aleph
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/bbox b/Master/bin/i386-kfreebsd/bbox
index d6fd777cc0c..1987b90c999 100755
--- a/Master/bin/i386-kfreebsd/bbox
+++ b/Master/bin/i386-kfreebsd/bbox
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/bg5conv b/Master/bin/i386-kfreebsd/bg5conv
index 009a3a5257a..173a9be00b0 100755
--- a/Master/bin/i386-kfreebsd/bg5conv
+++ b/Master/bin/i386-kfreebsd/bg5conv
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/bibtex b/Master/bin/i386-kfreebsd/bibtex
index ed152dfb236..d7881339383 100755
--- a/Master/bin/i386-kfreebsd/bibtex
+++ b/Master/bin/i386-kfreebsd/bibtex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/bibtex8 b/Master/bin/i386-kfreebsd/bibtex8
index b593e102718..a2a6d76cf3f 100755
--- a/Master/bin/i386-kfreebsd/bibtex8
+++ b/Master/bin/i386-kfreebsd/bibtex8
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/bibtexu b/Master/bin/i386-kfreebsd/bibtexu
index 91bb8efc021..d7572920e45 100755
--- a/Master/bin/i386-kfreebsd/bibtexu
+++ b/Master/bin/i386-kfreebsd/bibtexu
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/cef5conv b/Master/bin/i386-kfreebsd/cef5conv
index 4e4fdec0bb0..dda756bcb43 100755
--- a/Master/bin/i386-kfreebsd/cef5conv
+++ b/Master/bin/i386-kfreebsd/cef5conv
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/cefconv b/Master/bin/i386-kfreebsd/cefconv
index b21b2f3d47c..0388e6ffb19 100755
--- a/Master/bin/i386-kfreebsd/cefconv
+++ b/Master/bin/i386-kfreebsd/cefconv
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/cefsconv b/Master/bin/i386-kfreebsd/cefsconv
index 32cc79d6f52..2df326970a9 100755
--- a/Master/bin/i386-kfreebsd/cefsconv
+++ b/Master/bin/i386-kfreebsd/cefsconv
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/cfftot1 b/Master/bin/i386-kfreebsd/cfftot1
index 8f3333e8f36..90e9493d326 100755
--- a/Master/bin/i386-kfreebsd/cfftot1
+++ b/Master/bin/i386-kfreebsd/cfftot1
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/chktex b/Master/bin/i386-kfreebsd/chktex
index b7349e71922..4c26fa56c65 100755
--- a/Master/bin/i386-kfreebsd/chktex
+++ b/Master/bin/i386-kfreebsd/chktex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ctangle b/Master/bin/i386-kfreebsd/ctangle
index 6f7fca31086..f02d0fea7a2 100755
--- a/Master/bin/i386-kfreebsd/ctangle
+++ b/Master/bin/i386-kfreebsd/ctangle
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ctie b/Master/bin/i386-kfreebsd/ctie
index d7226282325..9f88136cfa5 100755
--- a/Master/bin/i386-kfreebsd/ctie
+++ b/Master/bin/i386-kfreebsd/ctie
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/cweave b/Master/bin/i386-kfreebsd/cweave
index b0dea28daeb..dcb99f4a3e9 100755
--- a/Master/bin/i386-kfreebsd/cweave
+++ b/Master/bin/i386-kfreebsd/cweave
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/detex b/Master/bin/i386-kfreebsd/detex
index b67feb6f6b7..2991c76c8ff 100755
--- a/Master/bin/i386-kfreebsd/detex
+++ b/Master/bin/i386-kfreebsd/detex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/devnag b/Master/bin/i386-kfreebsd/devnag
index 08617a7c3bb..634b2fdda48 100755
--- a/Master/bin/i386-kfreebsd/devnag
+++ b/Master/bin/i386-kfreebsd/devnag
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/disdvi b/Master/bin/i386-kfreebsd/disdvi
index 40af42f1a56..580c6a5c13f 100755
--- a/Master/bin/i386-kfreebsd/disdvi
+++ b/Master/bin/i386-kfreebsd/disdvi
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dt2dv b/Master/bin/i386-kfreebsd/dt2dv
index eccb0ba7618..2f6272f3c99 100755
--- a/Master/bin/i386-kfreebsd/dt2dv
+++ b/Master/bin/i386-kfreebsd/dt2dv
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dv2dt b/Master/bin/i386-kfreebsd/dv2dt
index f0ac65cac00..ff84e28bf6b 100755
--- a/Master/bin/i386-kfreebsd/dv2dt
+++ b/Master/bin/i386-kfreebsd/dv2dt
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvi2tty b/Master/bin/i386-kfreebsd/dvi2tty
index 26a032e2c61..4b43d9f3f43 100755
--- a/Master/bin/i386-kfreebsd/dvi2tty
+++ b/Master/bin/i386-kfreebsd/dvi2tty
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvibook b/Master/bin/i386-kfreebsd/dvibook
index 86e6b7a9501..5fbf7750c01 100755
--- a/Master/bin/i386-kfreebsd/dvibook
+++ b/Master/bin/i386-kfreebsd/dvibook
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dviconcat b/Master/bin/i386-kfreebsd/dviconcat
index 6f1a678ca3b..313c5e29dfb 100755
--- a/Master/bin/i386-kfreebsd/dviconcat
+++ b/Master/bin/i386-kfreebsd/dviconcat
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvicopy b/Master/bin/i386-kfreebsd/dvicopy
index 075e76f26ba..f026f7ac152 100755
--- a/Master/bin/i386-kfreebsd/dvicopy
+++ b/Master/bin/i386-kfreebsd/dvicopy
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvidvi b/Master/bin/i386-kfreebsd/dvidvi
index a6545ca0443..9f945be0042 100755
--- a/Master/bin/i386-kfreebsd/dvidvi
+++ b/Master/bin/i386-kfreebsd/dvidvi
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvilj b/Master/bin/i386-kfreebsd/dvilj
index a57bbe11233..ba44cbb6bde 100755
--- a/Master/bin/i386-kfreebsd/dvilj
+++ b/Master/bin/i386-kfreebsd/dvilj
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvilj2p b/Master/bin/i386-kfreebsd/dvilj2p
index f2719ecab6e..e0dcebdd221 100755
--- a/Master/bin/i386-kfreebsd/dvilj2p
+++ b/Master/bin/i386-kfreebsd/dvilj2p
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvilj4 b/Master/bin/i386-kfreebsd/dvilj4
index 812090ebc71..84f288cddb7 100755
--- a/Master/bin/i386-kfreebsd/dvilj4
+++ b/Master/bin/i386-kfreebsd/dvilj4
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvilj4l b/Master/bin/i386-kfreebsd/dvilj4l
index 5eaf34e6829..0716893a64a 100755
--- a/Master/bin/i386-kfreebsd/dvilj4l
+++ b/Master/bin/i386-kfreebsd/dvilj4l
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvipdfmx b/Master/bin/i386-kfreebsd/dvipdfmx
index f8a691251fa..51d81a4a70e 100755
--- a/Master/bin/i386-kfreebsd/dvipdfmx
+++ b/Master/bin/i386-kfreebsd/dvipdfmx
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvipng b/Master/bin/i386-kfreebsd/dvipng
index ab9e8db2eeb..e53df13fc70 100755
--- a/Master/bin/i386-kfreebsd/dvipng
+++ b/Master/bin/i386-kfreebsd/dvipng
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvipos b/Master/bin/i386-kfreebsd/dvipos
index e7679d797f5..b0834dc9e03 100755
--- a/Master/bin/i386-kfreebsd/dvipos
+++ b/Master/bin/i386-kfreebsd/dvipos
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvips b/Master/bin/i386-kfreebsd/dvips
index 42bb858da42..de3987ad31b 100755
--- a/Master/bin/i386-kfreebsd/dvips
+++ b/Master/bin/i386-kfreebsd/dvips
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dviselect b/Master/bin/i386-kfreebsd/dviselect
index 8966c4c0079..c4bf6ac65c2 100755
--- a/Master/bin/i386-kfreebsd/dviselect
+++ b/Master/bin/i386-kfreebsd/dviselect
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvisvgm b/Master/bin/i386-kfreebsd/dvisvgm
index 79ddce52ec4..4789e1819db 100755
--- a/Master/bin/i386-kfreebsd/dvisvgm
+++ b/Master/bin/i386-kfreebsd/dvisvgm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvitodvi b/Master/bin/i386-kfreebsd/dvitodvi
index 6ca7b9a9e7a..d98f2c244cb 100755
--- a/Master/bin/i386-kfreebsd/dvitodvi
+++ b/Master/bin/i386-kfreebsd/dvitodvi
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/dvitype b/Master/bin/i386-kfreebsd/dvitype
index cd8f9ddf9bc..cc4364509c7 100755
--- a/Master/bin/i386-kfreebsd/dvitype
+++ b/Master/bin/i386-kfreebsd/dvitype
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/epsffit b/Master/bin/i386-kfreebsd/epsffit
index 65695ae5fd3..b8d730ef0cd 100755
--- a/Master/bin/i386-kfreebsd/epsffit
+++ b/Master/bin/i386-kfreebsd/epsffit
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/eptex b/Master/bin/i386-kfreebsd/eptex
new file mode 100755
index 00000000000..98490fda989
--- /dev/null
+++ b/Master/bin/i386-kfreebsd/eptex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/extconv b/Master/bin/i386-kfreebsd/extconv
index a9e9e7e745b..2064b339919 100755
--- a/Master/bin/i386-kfreebsd/extconv
+++ b/Master/bin/i386-kfreebsd/extconv
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/gftodvi b/Master/bin/i386-kfreebsd/gftodvi
index f1d5b560866..63f0bd90411 100755
--- a/Master/bin/i386-kfreebsd/gftodvi
+++ b/Master/bin/i386-kfreebsd/gftodvi
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/gftopk b/Master/bin/i386-kfreebsd/gftopk
index ff324a96297..c12420a9778 100755
--- a/Master/bin/i386-kfreebsd/gftopk
+++ b/Master/bin/i386-kfreebsd/gftopk
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/gftype b/Master/bin/i386-kfreebsd/gftype
index 1773c3bf291..210c99ab6ee 100755
--- a/Master/bin/i386-kfreebsd/gftype
+++ b/Master/bin/i386-kfreebsd/gftype
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/gsftopk b/Master/bin/i386-kfreebsd/gsftopk
index e7f67609e18..bd921d5660d 100755
--- a/Master/bin/i386-kfreebsd/gsftopk
+++ b/Master/bin/i386-kfreebsd/gsftopk
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/hbf2gf b/Master/bin/i386-kfreebsd/hbf2gf
index b3724200892..fa35987a20f 100755
--- a/Master/bin/i386-kfreebsd/hbf2gf
+++ b/Master/bin/i386-kfreebsd/hbf2gf
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/inimf b/Master/bin/i386-kfreebsd/inimf
new file mode 120000
index 00000000000..64dafc4ff66
--- /dev/null
+++ b/Master/bin/i386-kfreebsd/inimf
@@ -0,0 +1 @@
+mf \ No newline at end of file
diff --git a/Master/bin/i386-kfreebsd/initex b/Master/bin/i386-kfreebsd/initex
new file mode 120000
index 00000000000..5c8f2b2cc00
--- /dev/null
+++ b/Master/bin/i386-kfreebsd/initex
@@ -0,0 +1 @@
+tex \ No newline at end of file
diff --git a/Master/bin/i386-kfreebsd/kpseaccess b/Master/bin/i386-kfreebsd/kpseaccess
index 5f21933182d..eea0fd18222 100755
--- a/Master/bin/i386-kfreebsd/kpseaccess
+++ b/Master/bin/i386-kfreebsd/kpseaccess
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/kpsereadlink b/Master/bin/i386-kfreebsd/kpsereadlink
index 1646cd1797f..f342956bed2 100755
--- a/Master/bin/i386-kfreebsd/kpsereadlink
+++ b/Master/bin/i386-kfreebsd/kpsereadlink
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/kpsestat b/Master/bin/i386-kfreebsd/kpsestat
index d17a28953e4..03ba8c8b370 100755
--- a/Master/bin/i386-kfreebsd/kpsestat
+++ b/Master/bin/i386-kfreebsd/kpsestat
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/kpsewhich b/Master/bin/i386-kfreebsd/kpsewhich
index 3f2867f5914..917d91e5990 100755
--- a/Master/bin/i386-kfreebsd/kpsewhich
+++ b/Master/bin/i386-kfreebsd/kpsewhich
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/lacheck b/Master/bin/i386-kfreebsd/lacheck
index a2c63d59d10..7fc524bc172 100755
--- a/Master/bin/i386-kfreebsd/lacheck
+++ b/Master/bin/i386-kfreebsd/lacheck
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/luatex b/Master/bin/i386-kfreebsd/luatex
index f245770c651..c1025c040a2 100755
--- a/Master/bin/i386-kfreebsd/luatex
+++ b/Master/bin/i386-kfreebsd/luatex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/mag b/Master/bin/i386-kfreebsd/mag
index 952db2c2e4f..4d7295ffe0a 100755
--- a/Master/bin/i386-kfreebsd/mag
+++ b/Master/bin/i386-kfreebsd/mag
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/makeindex b/Master/bin/i386-kfreebsd/makeindex
index 91727f5a218..3bb21ad533f 100755
--- a/Master/bin/i386-kfreebsd/makeindex
+++ b/Master/bin/i386-kfreebsd/makeindex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/makejvf b/Master/bin/i386-kfreebsd/makejvf
index fa5497fa19c..ee9811eaec1 100755
--- a/Master/bin/i386-kfreebsd/makejvf
+++ b/Master/bin/i386-kfreebsd/makejvf
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/mendex b/Master/bin/i386-kfreebsd/mendex
index 7b3a689a8b4..acb240a01c8 100755
--- a/Master/bin/i386-kfreebsd/mendex
+++ b/Master/bin/i386-kfreebsd/mendex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/mf b/Master/bin/i386-kfreebsd/mf
index 7aa8728e29a..940592f58f2 100755
--- a/Master/bin/i386-kfreebsd/mf
+++ b/Master/bin/i386-kfreebsd/mf
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/mf-nowin b/Master/bin/i386-kfreebsd/mf-nowin
index 05c1f2f1a1f..ccfd283a894 100755
--- a/Master/bin/i386-kfreebsd/mf-nowin
+++ b/Master/bin/i386-kfreebsd/mf-nowin
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/mft b/Master/bin/i386-kfreebsd/mft
index 2ec581d5ba5..2e174db6c5f 100755
--- a/Master/bin/i386-kfreebsd/mft
+++ b/Master/bin/i386-kfreebsd/mft
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/mkofm b/Master/bin/i386-kfreebsd/mkofm
index ef820171f08..306575cfbe7 100755
--- a/Master/bin/i386-kfreebsd/mkofm
+++ b/Master/bin/i386-kfreebsd/mkofm
@@ -1,3 +1,3 @@
#!/bin/sh
# Initial definition. For the moment only makes .tfm files.
-mktextfm $*
+mktextfm "$@"
diff --git a/Master/bin/i386-kfreebsd/mmafm b/Master/bin/i386-kfreebsd/mmafm
index 52586a69d4c..e6f33d31691 100755
--- a/Master/bin/i386-kfreebsd/mmafm
+++ b/Master/bin/i386-kfreebsd/mmafm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/mmpfb b/Master/bin/i386-kfreebsd/mmpfb
index 8a3776853ca..f8d1bd43810 100755
--- a/Master/bin/i386-kfreebsd/mmpfb
+++ b/Master/bin/i386-kfreebsd/mmpfb
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/mpost b/Master/bin/i386-kfreebsd/mpost
index 4b50ef2ef4f..1df6d9f71d3 100755
--- a/Master/bin/i386-kfreebsd/mpost
+++ b/Master/bin/i386-kfreebsd/mpost
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/odvicopy b/Master/bin/i386-kfreebsd/odvicopy
index 47656822e90..e59066f7027 100755
--- a/Master/bin/i386-kfreebsd/odvicopy
+++ b/Master/bin/i386-kfreebsd/odvicopy
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/odvitype b/Master/bin/i386-kfreebsd/odvitype
index c0381ff9ddb..299ecdc31d3 100755
--- a/Master/bin/i386-kfreebsd/odvitype
+++ b/Master/bin/i386-kfreebsd/odvitype
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/omfonts b/Master/bin/i386-kfreebsd/omfonts
index e50c7f5f8d0..6286367985c 100755
--- a/Master/bin/i386-kfreebsd/omfonts
+++ b/Master/bin/i386-kfreebsd/omfonts
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/otangle b/Master/bin/i386-kfreebsd/otangle
index 50cb1858fd4..9487fc1837f 100755
--- a/Master/bin/i386-kfreebsd/otangle
+++ b/Master/bin/i386-kfreebsd/otangle
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/otfinfo b/Master/bin/i386-kfreebsd/otfinfo
index d92f6782d0b..10aa4df813e 100755
--- a/Master/bin/i386-kfreebsd/otfinfo
+++ b/Master/bin/i386-kfreebsd/otfinfo
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/otftotfm b/Master/bin/i386-kfreebsd/otftotfm
index 403a017577f..03e61e8cfc8 100755
--- a/Master/bin/i386-kfreebsd/otftotfm
+++ b/Master/bin/i386-kfreebsd/otftotfm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/otp2ocp b/Master/bin/i386-kfreebsd/otp2ocp
index 695023febcf..7ba01fe2305 100755
--- a/Master/bin/i386-kfreebsd/otp2ocp
+++ b/Master/bin/i386-kfreebsd/otp2ocp
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/outocp b/Master/bin/i386-kfreebsd/outocp
index aac36799f2e..f474f4e83aa 100755
--- a/Master/bin/i386-kfreebsd/outocp
+++ b/Master/bin/i386-kfreebsd/outocp
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/patgen b/Master/bin/i386-kfreebsd/patgen
index ce7bc6eff29..708ae64222e 100755
--- a/Master/bin/i386-kfreebsd/patgen
+++ b/Master/bin/i386-kfreebsd/patgen
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pbibtex b/Master/bin/i386-kfreebsd/pbibtex
index 1b97c3ca14d..505e04f52f0 100755
--- a/Master/bin/i386-kfreebsd/pbibtex
+++ b/Master/bin/i386-kfreebsd/pbibtex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pdfclose b/Master/bin/i386-kfreebsd/pdfclose
index 98262042f02..ffb2900f761 100755
--- a/Master/bin/i386-kfreebsd/pdfclose
+++ b/Master/bin/i386-kfreebsd/pdfclose
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pdfopen b/Master/bin/i386-kfreebsd/pdfopen
index a3daa08303b..fe2e2849f55 100755
--- a/Master/bin/i386-kfreebsd/pdfopen
+++ b/Master/bin/i386-kfreebsd/pdfopen
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pdftex b/Master/bin/i386-kfreebsd/pdftex
index 533d8360801..bfe606cf0d4 100755
--- a/Master/bin/i386-kfreebsd/pdftex
+++ b/Master/bin/i386-kfreebsd/pdftex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pdftosrc b/Master/bin/i386-kfreebsd/pdftosrc
index 651d0a8b679..53c52db7b0a 100755
--- a/Master/bin/i386-kfreebsd/pdftosrc
+++ b/Master/bin/i386-kfreebsd/pdftosrc
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pdvitype b/Master/bin/i386-kfreebsd/pdvitype
index fefdd611136..31b45c582cc 100755
--- a/Master/bin/i386-kfreebsd/pdvitype
+++ b/Master/bin/i386-kfreebsd/pdvitype
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pfb2pfa b/Master/bin/i386-kfreebsd/pfb2pfa
index 73ae9e75ca3..4aac0e6458c 100755
--- a/Master/bin/i386-kfreebsd/pfb2pfa
+++ b/Master/bin/i386-kfreebsd/pfb2pfa
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pk2bm b/Master/bin/i386-kfreebsd/pk2bm
index 1c537904f15..b73f62c36ac 100755
--- a/Master/bin/i386-kfreebsd/pk2bm
+++ b/Master/bin/i386-kfreebsd/pk2bm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pktogf b/Master/bin/i386-kfreebsd/pktogf
index e5ca6b23917..212d50adb84 100755
--- a/Master/bin/i386-kfreebsd/pktogf
+++ b/Master/bin/i386-kfreebsd/pktogf
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pktype b/Master/bin/i386-kfreebsd/pktype
index d7a7136edc3..d51d7de64e9 100755
--- a/Master/bin/i386-kfreebsd/pktype
+++ b/Master/bin/i386-kfreebsd/pktype
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pltotf b/Master/bin/i386-kfreebsd/pltotf
index 12eaff7683d..fe323625cc5 100755
--- a/Master/bin/i386-kfreebsd/pltotf
+++ b/Master/bin/i386-kfreebsd/pltotf
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pooltype b/Master/bin/i386-kfreebsd/pooltype
index e6b50c44936..aa0b44fa6e9 100755
--- a/Master/bin/i386-kfreebsd/pooltype
+++ b/Master/bin/i386-kfreebsd/pooltype
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ppltotf b/Master/bin/i386-kfreebsd/ppltotf
index 33c811c4861..b04c8e80a17 100755
--- a/Master/bin/i386-kfreebsd/ppltotf
+++ b/Master/bin/i386-kfreebsd/ppltotf
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ps2pk b/Master/bin/i386-kfreebsd/ps2pk
index d3266056e59..e2b0081dda1 100755
--- a/Master/bin/i386-kfreebsd/ps2pk
+++ b/Master/bin/i386-kfreebsd/ps2pk
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/psbook b/Master/bin/i386-kfreebsd/psbook
index d96be18e840..81ea3b249fa 100755
--- a/Master/bin/i386-kfreebsd/psbook
+++ b/Master/bin/i386-kfreebsd/psbook
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/psnup b/Master/bin/i386-kfreebsd/psnup
index 9cfe3419ad1..f9137ad2cbe 100755
--- a/Master/bin/i386-kfreebsd/psnup
+++ b/Master/bin/i386-kfreebsd/psnup
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/psresize b/Master/bin/i386-kfreebsd/psresize
index 5308c50d16a..612f9ca1189 100755
--- a/Master/bin/i386-kfreebsd/psresize
+++ b/Master/bin/i386-kfreebsd/psresize
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/psselect b/Master/bin/i386-kfreebsd/psselect
index 556abbc8ceb..01fd6fbe593 100755
--- a/Master/bin/i386-kfreebsd/psselect
+++ b/Master/bin/i386-kfreebsd/psselect
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/pstops b/Master/bin/i386-kfreebsd/pstops
index 818695d7de8..e587c7177f3 100755
--- a/Master/bin/i386-kfreebsd/pstops
+++ b/Master/bin/i386-kfreebsd/pstops
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ptex b/Master/bin/i386-kfreebsd/ptex
index dacd3a6a461..a9af8628ec5 100755
--- a/Master/bin/i386-kfreebsd/ptex
+++ b/Master/bin/i386-kfreebsd/ptex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ptftopl b/Master/bin/i386-kfreebsd/ptftopl
index 68e6e5647ce..ce140f3278a 100755
--- a/Master/bin/i386-kfreebsd/ptftopl
+++ b/Master/bin/i386-kfreebsd/ptftopl
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/sjisconv b/Master/bin/i386-kfreebsd/sjisconv
index 36f605b2c3d..d92092f7e3f 100755
--- a/Master/bin/i386-kfreebsd/sjisconv
+++ b/Master/bin/i386-kfreebsd/sjisconv
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/synctex b/Master/bin/i386-kfreebsd/synctex
index 100cb6dde5a..94f7706225f 100755
--- a/Master/bin/i386-kfreebsd/synctex
+++ b/Master/bin/i386-kfreebsd/synctex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1ascii b/Master/bin/i386-kfreebsd/t1ascii
index cf6c92b5f9d..67532850cd8 100755
--- a/Master/bin/i386-kfreebsd/t1ascii
+++ b/Master/bin/i386-kfreebsd/t1ascii
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1asm b/Master/bin/i386-kfreebsd/t1asm
index 43053e14710..1c759644bb2 100755
--- a/Master/bin/i386-kfreebsd/t1asm
+++ b/Master/bin/i386-kfreebsd/t1asm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1binary b/Master/bin/i386-kfreebsd/t1binary
index fd4ea942a20..9b6d3f1ce40 100755
--- a/Master/bin/i386-kfreebsd/t1binary
+++ b/Master/bin/i386-kfreebsd/t1binary
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1disasm b/Master/bin/i386-kfreebsd/t1disasm
index 78921759edb..f6c1036ba2e 100755
--- a/Master/bin/i386-kfreebsd/t1disasm
+++ b/Master/bin/i386-kfreebsd/t1disasm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1dotlessj b/Master/bin/i386-kfreebsd/t1dotlessj
index 1695416a573..ed889b7e125 100755
--- a/Master/bin/i386-kfreebsd/t1dotlessj
+++ b/Master/bin/i386-kfreebsd/t1dotlessj
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1lint b/Master/bin/i386-kfreebsd/t1lint
index 320cfcce134..790c04be487 100755
--- a/Master/bin/i386-kfreebsd/t1lint
+++ b/Master/bin/i386-kfreebsd/t1lint
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1mac b/Master/bin/i386-kfreebsd/t1mac
index b1afcc109d7..accff8b04c1 100755
--- a/Master/bin/i386-kfreebsd/t1mac
+++ b/Master/bin/i386-kfreebsd/t1mac
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1rawafm b/Master/bin/i386-kfreebsd/t1rawafm
index 46e2b5fe00a..76cc89abc55 100755
--- a/Master/bin/i386-kfreebsd/t1rawafm
+++ b/Master/bin/i386-kfreebsd/t1rawafm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1reencode b/Master/bin/i386-kfreebsd/t1reencode
index 4ac41b2fcca..7dc39feb082 100755
--- a/Master/bin/i386-kfreebsd/t1reencode
+++ b/Master/bin/i386-kfreebsd/t1reencode
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1testpage b/Master/bin/i386-kfreebsd/t1testpage
index 7d80d5b25e3..6598c1b958a 100755
--- a/Master/bin/i386-kfreebsd/t1testpage
+++ b/Master/bin/i386-kfreebsd/t1testpage
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t1unmac b/Master/bin/i386-kfreebsd/t1unmac
index 661a1588da9..19440df7016 100755
--- a/Master/bin/i386-kfreebsd/t1unmac
+++ b/Master/bin/i386-kfreebsd/t1unmac
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/t4ht b/Master/bin/i386-kfreebsd/t4ht
index 3178b752fc8..96c8c1bf6b6 100755
--- a/Master/bin/i386-kfreebsd/t4ht
+++ b/Master/bin/i386-kfreebsd/t4ht
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/tangle b/Master/bin/i386-kfreebsd/tangle
index 87ace3ca157..35d670edea9 100755
--- a/Master/bin/i386-kfreebsd/tangle
+++ b/Master/bin/i386-kfreebsd/tangle
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/tcdialog b/Master/bin/i386-kfreebsd/tcdialog
index 8d9b9b828d5..6e697923064 100755
--- a/Master/bin/i386-kfreebsd/tcdialog
+++ b/Master/bin/i386-kfreebsd/tcdialog
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/teckit_compile b/Master/bin/i386-kfreebsd/teckit_compile
index ff8cc7aa7eb..362e67b68c4 100755
--- a/Master/bin/i386-kfreebsd/teckit_compile
+++ b/Master/bin/i386-kfreebsd/teckit_compile
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/tex b/Master/bin/i386-kfreebsd/tex
index f903dcb2316..cf2b93cf1aa 100755
--- a/Master/bin/i386-kfreebsd/tex
+++ b/Master/bin/i386-kfreebsd/tex
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/tex4ht b/Master/bin/i386-kfreebsd/tex4ht
index d69decd88cd..5cb9cdbc6fd 100755
--- a/Master/bin/i386-kfreebsd/tex4ht
+++ b/Master/bin/i386-kfreebsd/tex4ht
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/tftopl b/Master/bin/i386-kfreebsd/tftopl
index 87dc2f5c97b..be64e71d3bc 100755
--- a/Master/bin/i386-kfreebsd/tftopl
+++ b/Master/bin/i386-kfreebsd/tftopl
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/tie b/Master/bin/i386-kfreebsd/tie
index 825623337f8..03ab6ab0f2c 100755
--- a/Master/bin/i386-kfreebsd/tie
+++ b/Master/bin/i386-kfreebsd/tie
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ttf2afm b/Master/bin/i386-kfreebsd/ttf2afm
index ecad756e64b..d7e6d32f4ae 100755
--- a/Master/bin/i386-kfreebsd/ttf2afm
+++ b/Master/bin/i386-kfreebsd/ttf2afm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ttf2pk b/Master/bin/i386-kfreebsd/ttf2pk
index b81b88013cb..e9383cc12d9 100755
--- a/Master/bin/i386-kfreebsd/ttf2pk
+++ b/Master/bin/i386-kfreebsd/ttf2pk
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ttf2tfm b/Master/bin/i386-kfreebsd/ttf2tfm
index 62455f181c3..56c8f972fe9 100755
--- a/Master/bin/i386-kfreebsd/ttf2tfm
+++ b/Master/bin/i386-kfreebsd/ttf2tfm
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ttfdump b/Master/bin/i386-kfreebsd/ttfdump
index 9fceb81a16d..d14535de322 100755
--- a/Master/bin/i386-kfreebsd/ttfdump
+++ b/Master/bin/i386-kfreebsd/ttfdump
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/ttftotype42 b/Master/bin/i386-kfreebsd/ttftotype42
index 48d556809eb..6ac0caf51b0 100755
--- a/Master/bin/i386-kfreebsd/ttftotype42
+++ b/Master/bin/i386-kfreebsd/ttftotype42
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/updmap b/Master/bin/i386-kfreebsd/updmap
index 2483052a7de..5eceaae6d41 100755..120000
--- a/Master/bin/i386-kfreebsd/updmap
+++ b/Master/bin/i386-kfreebsd/updmap
@@ -1,1435 +1 @@
-#!/bin/sh
-# updmap - utility to maintain map files for outline fonts.
-# Public domain. Originally written by Thomas Esser.
-# Run with --help for usage.
-
-###############################################################################
-# program history:
-# further changes in texk/tetex/ChangeLog.
-# Sun May 25 21:05:32 CEST 2008 (Reinhard Kotucha)
-# add function symlink_or_copy needed by tl-portable.
-# Post-te retirement, now maintained in TeX Live; see
-# Build/texk/tetex/ChangeLog for further changes.
-# Fr Jul 22 07:22:38 CEST 2005
-# write hint about log file into output files
-# Fr Apr 8 19:15:05 CEST 2005
-# cleanup now has an argument for the return code
-# So Mär 27 18:52:06 CEST 2005
-# honor $TMPDIR, $TEMP and $TMP, not just $TMP
-# Do Mär 10 19:31:39 CET 2005
-# add a few quotes for $cnfFile with whitespace
-# Sa Jan 15 18:13:46 CET 2005
-# avoid multiple variable assignments in one statement
-# Sa Dez 25 12:44:23 CET 2004
-# implementaion adopted for teTeX-3.0 (tcfmgr)
-# Mi Nov 3 16:33:22 CET 2004
-# add "--setoption option=value" syntax
-# Fr Okt 29 21:05:53 CEST 2004
-# add --enable Map=... / --enable MixedMap=...
-# Mi Okt 20 19:17:19 CEST 2004
-# transcript added; even better warnings / error messages
-# So Okt 17 19:07:17 CEST 2004
-# improved warnings / error messages
-# added --syncwithtrees
-# added --listavailablemaps
-# Mi Okt 6 16:37:49 CEST 2004
-# commenty may start with any of *#;%
-# Sun Aug 1 11:42:14 CEST 2004, te
-# remove pdftex related hacks; pdftex no longer needs them!
-# Thu May 13 22:04:23 CEST 2004, te
-# support user with new map file locations
-# Fri Mar 19 15:22:55 CET 2004, te
-# output "xxx yyy" instead of " xxx yyy " (less blanks)
-# Fri Jan 2 22:41:11 CET 2004, te:
-# add version string
-# Wed Aug 20 18:51:47 CEST 2003
-# store map files to fonts/map, add options for dvipsoutputdir,
-# pdftexoutputdir, dvipdfmoutputdir
-# Mon Mar 24 13:40:55 CET 2003
-# fix fmex[789] for dvipdfm (no -r option)
-# Sun Mar 23 18:58:00 CET 2003
-# make the script robust against whitespace in filenames
-# Mon Jan 27 22:38:44 CET 2003
-# don't call a function before processOptions; we may loose our
-# argument list with some broken shells
-# Mon Jan 27 06:55:28 CET 2003
-# fix unportable egrep / sed
-# Sat Jan 18 10:10:26 CET 2003
-# use $tmp8 in dvips2dvipdfm()
-# Thu Jan 2 23:14:34 CET 2003
-# add umask 022, so generated files are always world-readable
-# Sun Oct 27 11:33:04 CET 2002
-# write output in normalized format
-# add support for dvipdfm
-# Mon Sep 22 19:18:57 CEST 2002
-# fix typo: buildin -> builtin
-# Mon Sep 2 19:18:57 CEST 2002
-# fix condensed <-> narrow mapping
-# Sun Sep 1 15:02:28 CEST 2002
-# add dvipsDownloadBase35 / pdftexDownloadBase14 options
-# Wed May 22 20:00:13 CEST 2002
-# listmaps option added by Gerben Wierda
-# Tue May 21 05:27:37 CEST 2002
-# now removing map files before rewriting them; fixes permission problems
-# Tue May 21 05:05:34 CEST 2002:
-# cli options added: showoptions, setoption, enable, disable, nomkmap
-# now even more verbose; now reporting non-existing map files
-# fixing trap for MAC OS/X compatibility
-# Fri May 17 22:38:37 CEST 2002:
-# rewritten from teTeX-1.0 version; Completely new designed.
-###############################################################################
-
-test -f /bin/ksh && test -z "$RUNNING_KSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
- && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; }
-unset RUNNING_KSH
-
-test -f /bin/bsh && test -z "$RUNNING_BSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \
- && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
-unset RUNNING_BSH
-
-export PATH
-
-# hack around a bug in zsh:
-test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-
-# the version string
-version='$Id: updmap 17423 2010-03-11 17:53:34Z karl $'
-
-#
-###############################################################################
-# help()
-# display help message and exit
-###############################################################################
-help()
-{
- cat <<eof
-$version
-Usage: updmap [OPTION]... [COMMAND]...
-
-Update the default font map files used by pdftex, dvips, and dvipdfm, as
-determined by updmap.cfg (the one returned by running "kpsewhich
-updmap.cfg").
-
-Among other things, these font map files are used to determine which
-fonts should be used as bitmaps and which as outlines, and to determine
-which fonts are included in the output.
-
-By default, the TeX filename database is also rebuilt (with mktexlsr).
-
-Valid options:
- --cnffile FILE read FILE for the updmap configuration
- --pdftexoutputdir DIR specify output directory (pdftex syntax)
- --dvipsoutputdir DIR specify output directory (dvips syntax)
- --dvipdfmoutputdir DIR specify output directory (dvipdfm syntax)
- --outputdir DIR specify output directory (for all files)
- --copy cp generic files rather than using symlinks
- --nomkmap do not recreate map files
- --nohash do not run texhash
- -n, --dry-run only show the configuration, no output
- --quiet reduce verbosity
-
-Valid commands:
- --help show this message
- --edit edit $cnfFileShort file
- --showoptions ITEM show alternatives for options
- --setoption OPTION VALUE set option, where OPTION is one of:
- dvipsPreferOutline LW35 dvipsDownloadBase35
- pdftexDownloadBase14 dvipdfmDownloadBase14
- --setoption OPTION=VALUE see above, just different syntax
- --enable MAPTYPE MAPFILE add "MAPTYPE MAPFILE" to updmap.cfg,
- where MAPTYPE is either Map or MixedMap
- --enable Map=MAPFILE add "Map MAPFILE" to updmap.cfg
- --enable MixedMap=MAPFILE add "MixedMap MAPFILE" to updmap.cfg
- --disable MAPFILE disable MAPFILE, whether Map or MixedMap
- --syncwithtrees entries with unavailable map files will be
- disabled in the config file
- --listmaps list all active and inactive maps
- --listavailablemaps same as --listmaps, but without
- unavailable map files
-
-Explanation of the map types: the (only) difference between Map and
-MixedMap is that MixedMap entries are not added to psfonts_pk.map. The
-purpose is to help users with printers that render Type 1 outline fonts
-worse than mode-tuned Type 1 bitmap fonts. So MixedMap is used for
-fonts that are available as both Type 1 and Metafont.
-
-To see the precise locations of the various files that will be read and
-written, run updmap -n.
-
-For step-by-step instructions on making new fonts known to TeX, see
-http://tug.org/fonts/fontinstall.html.
-
-Report bugs to: tex-k@tug.org
-TeX Live home page: <http://tug.org/texlive/>
-eof
- (exit 0); exit
-}
-
-#
-###############################################################################
-# verboseMsg(msg)
-# print `msg' to stderr is $verbose is true
-###############################################################################
-verboseMsg() {
- test -n "$log" && echo ${1+"$@"} >> "$log"
- $verbose && echo ${1+"$@"} >&2
-}
-
-###############################################################################
-# verboseCat()
-# cat to stderr is $verbose is true
-###############################################################################
-verboseCat() {
- if $verbose; then
- if test -n "$log"; then
- cat ${1+"$@"} | tee -a "$log" >&2
- else
- cat ${1+"$@"} >&2
- fi
- else
- test -n "$log" && cat ${1+"$@"} >> "$log"
- fi
-}
-
-###############################################################################
-# warn(msg)
-# print `msg' to stderr
-###############################################################################
-warn()
-{
- test -n "$log" && echo ${1+"$@"} >> "$log"
- echo ${1+"$@"} >&2
-}
-
-###############################################################################
-# abort(errmsg)
-# print `errmsg' to stderr and exit with error code 1
-###############################################################################
-abort()
-{
- warn "$progname: $1."
- cleanup 1
-}
-
-###############################################################################
-# cfgval(variable)
-# read variable ($1) from config file, first match wins
-###############################################################################
-cfgval()
-{
- cat "$cnfFile" | sed -n 's/^'"$1"'[ =][ =]*//p' | sed q
-}
-
-###############################################################################
-# symlink_or_copy()
-# if --copy is not set, try to create a symlink. If this fails, write
-# a message to stderr and copy the file instead.
-###############################################################################
-symlink_or_copy()
-{
- if $copy; then
- $copy_cmd "$1" "$2"
- else
- $link_cmd "$1" "$2" ||
- {
- echo "Creating symbolic link failed, the file is copied instead." 1>&2 &&
- $copy_cmd "$1" "$2"
- }
- fi
-}
-
-###############################################################################
-# setupSymlinks()
-# set symlink (or copy)
-# for psfonts.map according to dvipsPreferOutline variable,
-# and for pdftex.map and dvipdfm.map according to pdftexDownloadBase14.
-###############################################################################
-setupSymlinks()
-{
- (
- cd "$dvipsoutputdir" || exit 1
- rm -f psfonts.map
- if test "x$dvipsPreferOutline" = xtrue; then
- symlink_or_copy psfonts_t1.map psfonts.map
- else
- symlink_or_copy psfonts_pk.map psfonts.map
- fi
-
- cd "$pdftexoutputdir" || exit 1
- rm -f pdftex.map
- if test "x$pdftexDownloadBase14" = xtrue; then
- symlink_or_copy pdftex_dl14.map pdftex.map
- else
- symlink_or_copy pdftex_ndl14.map pdftex.map
- fi
-
- cd "$dvipdfmoutputdir" || exit 1
- rm -f dvipdfm.map
- if test "x$dvipdfmDownloadBase14" = xtrue; then
- symlink_or_copy dvipdfm_dl14.map dvipdfm.map
- else
- symlink_or_copy dvipdfm_ndl14.map dvipdfm.map
- fi
- )
-}
-
-###############################################################################
-# transLW35(args ...)
-# transform fontname and filenames according to transformation specified
-# by mode
-###############################################################################
-transLW35()
-{
- case $mode in
- ""|URWkb)
- cat ${1+"$@"}
- ;;
- URW)
- fileURW ${1+"$@"}
- ;;
- ADOBE|ADOBEkb)
- psADOBE ${1+"$@"} | file$mode
- ;;
- esac
-}
-
-###############################################################################
-# catMaps(regex)
-# filter config file by regex for map lines and extract the map filenames.
-# These are then looked up (by kpsewhich in locateMap) and the content of
-# all map files is send to stdout.
-###############################################################################
-catMaps()
-{
- rm -f $catMapsFailed
- egrep "$1" "$cnfFile" \
- | sed 's@#.*@@' \
- | awk '{print $2}' \
- | sort \
- | uniq \
- | grep . > $tmp4
-
- while read map; do
- file=`locateMap "$map"` || { touch $catMapsFailed; break; }
-
- # output the file; also output a newline, because the final newline
- # might be missing in the map file; Empty lines are filtered out later,
- # so it does not really hurt do do this here.
- test -n "$file" && { cat "$file"; echo; }
- done < $tmp4
- if test -f $catMapsFailed; then
- false; return 1
- else
- true; return 0
- fi
-}
-
-###############################################################################
-# configReplace(file, pattern, line)
-# The first line in file that matches pattern gets replaced by line.
-# line will be added at the end of the file if pattern does not match.
-###############################################################################
-configReplace()
-{
- file=$1; pat=$2; line=$3
-
- if grep "$pat" "$file" >/dev/null; then
- ed "$file" >/dev/null 2>&1 <<-eof
- /$pat/
- c
- $line
- .
- w
- q
-eof
- else
- echo "$line" >> "$file"
- fi
-}
-
-###############################################################################
-# setOption (option, value)
-# sets option to value in the config file (replacing the existing setting
-# or by adding a new line to the config file).
-###############################################################################
-setOption()
-{
- opt=$1
- val=$2
- case "$opt" in
- LW35)
- case "$val" in
- URWkb|URW|ADOBE|ADOBEkb)
- ;;
- *)
- abort "invalid value $val for option $opt"
- ;;
- esac
- ;;
- dvipsPreferOutline|dvipsDownloadBase35|pdftexDownloadBase14|dvipdfmDownloadBase14)
- case "$val" in
- true|false)
- ;;
- *)
- abort "invalid value $val for option $opt"
- esac
- ;;
- *)
- abort "unsupported option $opt"
- ;;
- esac
-
- configReplace "$cnfFile" "^$opt[ ]" "$opt $val"
-}
-
-###############################################################################
-# enableMap (type, map)
-# enables an entry in the config file for map with a given type.
-###############################################################################
-enableMap()
-{
- case $1 in
- Map|MixedMap)
- ;;
- *)
- abort "invalid mapType $1"
- ;;
- esac
-
- # a map can only have one type, so we carefully disable everything
- # about map here:
- disableMap "$2"
-
- # now enable with the right type:
- configReplace "$cnfFile" "^#![ ]*$1[ ]*$2" "$1 $2"
-}
-
-###############################################################################
-# disableMap (map)
-# disables map in config file (any type)
-###############################################################################
-disableMap()
-{
- #mapType=`awk '($1 == "MixedMap" || $1 == "Map") && $2 == map { print $1 }' \
- # map=$1 <"$cnfFile" | sort | uniq`
- map=$1
- mapType=`egrep "^(MixedMap|Map)[ ]*$map( | |$)" "$cnfFile" | awk '{print $1}' | sort | uniq`
- for type in $mapType; do
- configReplace "$cnfFile" "^$type[ ]*$1" "#! $type $1"
- done
-}
-
-###############################################################################
-# psADOBE()
-# transform fontnames from URW to Adobe
-###############################################################################
-psADOBE()
-{
- sed \
- -e 's/ URWGothicL-Demi / AvantGarde-Demi /' \
- -e 's/ URWGothicL-DemiObli / AvantGarde-DemiOblique /' \
- -e 's/ URWGothicL-Book / AvantGarde-Book /' \
- -e 's/ URWGothicL-BookObli / AvantGarde-BookOblique /' \
- -e 's/ URWBookmanL-DemiBold / Bookman-Demi /' \
- -e 's/ URWBookmanL-DemiBoldItal / Bookman-DemiItalic /' \
- -e 's/ URWBookmanL-Ligh / Bookman-Light /' \
- -e 's/ URWBookmanL-LighItal / Bookman-LightItalic /' \
- -e 's/ NimbusMonL-Bold / Courier-Bold /' \
- -e 's/ NimbusMonL-BoldObli / Courier-BoldOblique /' \
- -e 's/ NimbusMonL-Regu / Courier /' \
- -e 's/ NimbusMonL-ReguObli / Courier-Oblique /' \
- -e 's/ NimbusSanL-Bold / Helvetica-Bold /' \
- -e 's/ NimbusSanL-BoldCond / Helvetica-Narrow-Bold /' \
- -e 's/ NimbusSanL-BoldItal / Helvetica-BoldOblique /' \
- -e 's/ NimbusSanL-BoldCondItal / Helvetica-Narrow-BoldOblique /' \
- -e 's/ NimbusSanL-Regu / Helvetica /' \
- -e 's/ NimbusSanL-ReguCond / Helvetica-Narrow /' \
- -e 's/ NimbusSanL-ReguItal / Helvetica-Oblique /' \
- -e 's/ NimbusSanL-ReguCondItal / Helvetica-Narrow-Oblique /' \
- -e 's/ CenturySchL-Bold / NewCenturySchlbk-Bold /' \
- -e 's/ CenturySchL-BoldItal / NewCenturySchlbk-BoldItalic /' \
- -e 's/ CenturySchL-Roma / NewCenturySchlbk-Roman /' \
- -e 's/ CenturySchL-Ital / NewCenturySchlbk-Italic /' \
- -e 's/ URWPalladioL-Bold / Palatino-Bold /' \
- -e 's/ URWPalladioL-BoldItal / Palatino-BoldItalic /' \
- -e 's/ URWPalladioL-Roma / Palatino-Roman /' \
- -e 's/ URWPalladioL-Ital / Palatino-Italic /' \
- -e 's/ StandardSymL / Symbol /' \
- -e 's/ NimbusRomNo9L-Medi / Times-Bold /' \
- -e 's/ NimbusRomNo9L-MediItal / Times-BoldItalic /' \
- -e 's/ NimbusRomNo9L-Regu / Times-Roman /' \
- -e 's/ NimbusRomNo9L-ReguItal / Times-Italic /' \
- -e 's/ URWChanceryL-MediItal / ZapfChancery-MediumItalic /' \
- -e 's/ Dingbats / ZapfDingbats /' \
- ${1+"$@"}
-}
-
-###############################################################################
-# fileADOBEkb()
-# transform filenames from URW to ADOBE (both berry names)
-###############################################################################
-fileADOBEkb()
-{
- sed \
- -e 's/\([^A-Za-z]\)uagd8a.pfb/\1pagd8a.pfb/' \
- -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1pagdo8a.pfb/' \
- -e 's/\([^A-Za-z]\)uagk8a.pfb/\1pagk8a.pfb/' \
- -e 's/\([^A-Za-z]\)uagko8a.pfb/\1pagko8a.pfb/' \
- -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1pbkd8a.pfb/' \
- -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1pbkdi8a.pfb/' \
- -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1pbkl8a.pfb/' \
- -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1pbkli8a.pfb/' \
- -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1pcrb8a.pfb/' \
- -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1pcrbo8a.pfb/' \
- -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1pcrr8a.pfb/' \
- -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1pcrro8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1phvb8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1phvb8an.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1phvbo8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1phvbo8an.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1phvr8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1phvr8an.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1phvro8a.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1phvro8an.pfb/' \
- -e 's/\([^A-Za-z]\)uncb8a.pfb/\1pncb8a.pfb/' \
- -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1pncbi8a.pfb/' \
- -e 's/\([^A-Za-z]\)uncr8a.pfb/\1pncr8a.pfb/' \
- -e 's/\([^A-Za-z]\)uncri8a.pfb/\1pncri8a.pfb/' \
- -e 's/\([^A-Za-z]\)uplb8a.pfb/\1pplb8a.pfb/' \
- -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1pplbi8a.pfb/' \
- -e 's/\([^A-Za-z]\)uplr8a.pfb/\1pplr8a.pfb/' \
- -e 's/\([^A-Za-z]\)uplri8a.pfb/\1pplri8a.pfb/' \
- -e 's/\([^A-Za-z]\)usyr.pfb/\1psyr.pfb/' \
- -e 's/\([^A-Za-z]\)utmb8a.pfb/\1ptmb8a.pfb/' \
- -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1ptmbi8a.pfb/' \
- -e 's/\([^A-Za-z]\)utmr8a.pfb/\1ptmr8a.pfb/' \
- -e 's/\([^A-Za-z]\)utmri8a.pfb/\1ptmri8a.pfb/' \
- -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1pzcmi8a.pfb/' \
- -e 's/\([^A-Za-z]\)uzdr.pfb/\1pzdr.pfb/' \
- ${1+"$@"}
-}
-
-###############################################################################
-# fileURW()
-# transform filenames from URWkb (berry names) to URW (vendor names)
-###############################################################################
-fileURW()
-{
- sed \
- -e 's/\([^A-Za-z]\)uagd8a.pfb/\1a010015l.pfb/' \
- -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1a010035l.pfb/' \
- -e 's/\([^A-Za-z]\)uagk8a.pfb/\1a010013l.pfb/' \
- -e 's/\([^A-Za-z]\)uagko8a.pfb/\1a010033l.pfb/' \
- -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1b018015l.pfb/' \
- -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1b018035l.pfb/' \
- -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1b018012l.pfb/' \
- -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1b018032l.pfb/' \
- -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1n022004l.pfb/' \
- -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1n022024l.pfb/' \
- -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1n022003l.pfb/' \
- -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1n022023l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1n019004l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1n019044l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1n019024l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1n019064l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1n019003l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1n019043l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1n019023l.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1n019063l.pfb/' \
- -e 's/\([^A-Za-z]\)uncb8a.pfb/\1c059016l.pfb/' \
- -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1c059036l.pfb/' \
- -e 's/\([^A-Za-z]\)uncr8a.pfb/\1c059013l.pfb/' \
- -e 's/\([^A-Za-z]\)uncri8a.pfb/\1c059033l.pfb/' \
- -e 's/\([^A-Za-z]\)uplb8a.pfb/\1p052004l.pfb/' \
- -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1p052024l.pfb/' \
- -e 's/\([^A-Za-z]\)uplr8a.pfb/\1p052003l.pfb/' \
- -e 's/\([^A-Za-z]\)uplri8a.pfb/\1p052023l.pfb/' \
- -e 's/\([^A-Za-z]\)usyr.pfb/\1s050000l.pfb/' \
- -e 's/\([^A-Za-z]\)utmb8a.pfb/\1n021004l.pfb/' \
- -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1n021024l.pfb/' \
- -e 's/\([^A-Za-z]\)utmr8a.pfb/\1n021003l.pfb/' \
- -e 's/\([^A-Za-z]\)utmri8a.pfb/\1n021023l.pfb/' \
- -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1z003034l.pfb/' \
- -e 's/\([^A-Za-z]\)uzdr.pfb/\1d050000l.pfb/' \
- ${1+"$@"}
-}
-
-###############################################################################
-# fileADOBE()
-# transform filenames from URWkb (berry names) to ADOBE (vendor names)
-###############################################################################
-fileADOBE()
-{
- sed \
- -e 's/\([^A-Za-z]\)uagd8a.pfb/\1agd_____.pfb/' \
- -e 's/\([^A-Za-z]\)uagdo8a.pfb/\1agdo____.pfb/' \
- -e 's/\([^A-Za-z]\)uagk8a.pfb/\1agw_____.pfb/' \
- -e 's/\([^A-Za-z]\)uagko8a.pfb/\1agwo____.pfb/' \
- -e 's/\([^A-Za-z]\)ubkd8a.pfb/\1bkd_____.pfb/' \
- -e 's/\([^A-Za-z]\)ubkdi8a.pfb/\1bkdi____.pfb/' \
- -e 's/\([^A-Za-z]\)ubkl8a.pfb/\1bkl_____.pfb/' \
- -e 's/\([^A-Za-z]\)ubkli8a.pfb/\1bkli____.pfb/' \
- -e 's/\([^A-Za-z]\)ucrb8a.pfb/\1cob_____.pfb/' \
- -e 's/\([^A-Za-z]\)ucrbo8a.pfb/\1cobo____.pfb/' \
- -e 's/\([^A-Za-z]\)ucrr8a.pfb/\1com_____.pfb/' \
- -e 's/\([^A-Za-z]\)ucrro8a.pfb/\1coo_____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8a.pfb/\1hvb_____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvb8ac.pfb/\1hvnb____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8a.pfb/\1hvbo____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvbo8ac.pfb/\1hvnbo___.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8a.pfb/\1hv______.pfb/' \
- -e 's/\([^A-Za-z]\)uhvr8ac.pfb/\1hvn_____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8a.pfb/\1hvo_____.pfb/' \
- -e 's/\([^A-Za-z]\)uhvro8ac.pfb/\1hvno____.pfb/' \
- -e 's/\([^A-Za-z]\)uncb8a.pfb/\1ncb_____.pfb/' \
- -e 's/\([^A-Za-z]\)uncbi8a.pfb/\1ncbi____.pfb/' \
- -e 's/\([^A-Za-z]\)uncr8a.pfb/\1ncr_____.pfb/' \
- -e 's/\([^A-Za-z]\)uncri8a.pfb/\1nci_____.pfb/' \
- -e 's/\([^A-Za-z]\)uplb8a.pfb/\1pob_____.pfb/' \
- -e 's/\([^A-Za-z]\)uplbi8a.pfb/\1pobi____.pfb/' \
- -e 's/\([^A-Za-z]\)uplr8a.pfb/\1por_____.pfb/' \
- -e 's/\([^A-Za-z]\)uplri8a.pfb/\1poi_____.pfb/' \
- -e 's/\([^A-Za-z]\)usyr.pfb/\1sy______.pfb/' \
- -e 's/\([^A-Za-z]\)utmb8a.pfb/\1tib_____.pfb/' \
- -e 's/\([^A-Za-z]\)utmbi8a.pfb/\1tibi____.pfb/' \
- -e 's/\([^A-Za-z]\)utmr8a.pfb/\1tir_____.pfb/' \
- -e 's/\([^A-Za-z]\)utmri8a.pfb/\1tii_____.pfb/' \
- -e 's/\([^A-Za-z]\)uzcmi8a.pfb/\1zcmi____.pfb/' \
- -e 's/\([^A-Za-z]\)uzdr.pfb/\1zd______.pfb/' \
- ${1+"$@"}
-}
-
-###############################################################################
-# locateWeb2c (file ...)
-# apply kpsewhich with format 'web2c files'
-###############################################################################
-locateWeb2c()
-{
- kpsewhich --format='web2c files' ${1+"$@"}
-}
-
-###############################################################################
-# locateMap (file ...)
-# apply kpsewhich with format 'map'
-###############################################################################
-locateMap()
-{
-
- # Always use the "migration checking version". This might become
- # consigurable, but for now, we always want to check.
- if :; then
- locateMapMigrate "$@"
- return $?
- fi
-
- # The old version of the code; not used at the moment.
- for map
- do
- file=`kpsewhich --format=map "$map"`
- if test -f "$file"; then
- verboseMsg "$progname: using map file \`$file'"
- echo "$file"
- else
- warn "map file \`$map' not found."
- fi
- done
-}
-
-###############################################################################
-# locateMapMigrate (file ...)
-# look for map file; assist user with possibly files in wrong locations;
-# also watch out for possibly hidden conflicts
-###############################################################################
-locateMapMigrate()
-{
- for map
- do
- # look up using the new search path
- file=`kpsewhich --format=map "$map"`
-
- # look up using the old search path
- file2=`kpsewhich --format='dvips config' "$map"`
-
- # Well, the search paths should not overlap. If they do, and if
- # file1 = file2, we don't want to complain about file2, so:
- test "x$file" = "x$file2" && file2=
-
- if test -f "$file"; then
-
- verboseMsg "$progname: using map file \`$file'"
- echo "$file"
-
- # we have found the file where we should. If we have additional
- # ones: complain!
- if test -f "$file2"; then
- mapCmp "$file" "$file2" \
- && mapWarn obsoleteCopy "$map" "$file2" \
- || mapWarn manualResolve "$map" "$file" "$file2"
- fi
-
- else
- if test -f "$file2"; then
- # bad: map file exists in the wrong location only
- mapWarn badLocation "$map" "$file2"
- else
- # bad: map file does not exist at all
- mapWarn notFound "$map"
- fi
- false; return 1
- fi
- done
- true; return 0
-}
-
-###############################################################################
-# mapCmp(file, file2)
-# compare two map files like cmp; but less strict, so changes regarding
-# whitespaces, comments etc. are tolerated. Important is only the
-# return value here.
-###############################################################################
-mapCmp()
-{
- file=$1; file2=$2
-
- # For reasons of speed only. Avoid normalizeLines if files are 100%
- # the same.
- cmp "$file" "$file2" >/dev/null 2>&1 && return 0
-
- normalizeLines <"$file" >"$tmpdir/mapCmp-1"
- normalizeLines <"$file2" >"$tmpdir/mapCmp-2"
- cmp "$tmpdir/mapCmp-1" "$tmpdir/mapCmp-2" >/dev/null 2>&1
-}
-
-###############################################################################
-# mapWarn()
-###############################################################################
-mapWarn()
-{
-
- case $1 in
- obsoleteCopy)
- warn "
-!!! WARNING: Identical copy of used file for \`$2'
- exists in obsolete location
- $3
- Please, consider removing this file.
-"
- touch $mapWarnCalled
- ;;
- manualResolve)
- warn "
-!!! WARNING: While searching for the right map file for \`$2', we have
- found the file
- $3
- in the right location and we are using this
- file. However, a map file with different content has been found in
- the obsolete location
- $4
- Please, see which version you want to use and eventually update the
- content of the used map file. Additionally, consider removing the
- obsolete file.
-"
- touch $mapWarnCalled
- ;;
- badLocation)
- map=$2
- location=$3
-
- m="
-!!! ERROR: The right location for map files has been
- changed for this release and the map file \`$map' has
- not been found in the right location, but in the obsolete
- location
- $location
- instead.
-
- To fix this, please move this file into an appropriate
- subdirectory of fonts/map in one of your texmf trees.
-
- For more information about the changed search paths, see
- the release notes section in the teTeX manual. You probably
- can read this document by executing the command
- texdoc TETEXDOC
- else visit the web page
- http://tug.org/texlive/mapenc.html
-"
- warn "$m"
- false; return 1
- ;;
- notFound)
- warn "
-!!! ERROR! The map file \`$2' has not been found at all.
-
- Either put this file into the right place or remove the
- reference from the configuration file. An automatic way
- to disable unavailable map files is to call
- $progname --syncwithtrees
-
- For manual editing, call
- $progname --edit
-"
-
- false; return 1
- ;;
- esac
-}
-
-###############################################################################
-# cleanup()
-# clean up the temp area and exit with proper exit status
-###############################################################################
-cleanup()
-{
- rc=$1
- $needsCleanup && test -n "$tmpdir" && test -d "$tmpdir" \
- && { cd $orig_pwd && rm -rf "$tmpdir"; }
- (exit $rc); exit $rc
-}
-
-###############################################################################
-# setupTmpDir()
-# set up a temp directory and a trap to remove it
-###############################################################################
-setupTmpDir()
-{
- $needsCleanup && return
-
- trap 'cleanup 1' 1 2 3 7 13 15
- needsCleanup=true
- mkdir "$tmpdir" || abort "could not create directory \`$tmpdir'"
-}
-
-###############################################################################
-# showOptions(item)
-# show Options for an item
-###############################################################################
-showOptions()
-{
- item=$1
-
- case "$item" in
- LW35)
- echo "URWkb URW ADOBE ADOBEkb"
- ;;
- dvipsPreferOutline|pdftexDownloadBase14|dvipdfmDownloadBase14|dvipsDownloadBase35)
- echo "true false"
- ;;
- *)
- abort "Unknown item \"$item\". Choose one of LW35, dvipsPreferOutline, dvipsDownloadBase35, pdftexDownloadBase14 or dvipdfmDownloadBase14"
- ;;
- esac
-
- (exit 0); exit 0
-}
-
-###############################################################################
-# mktexdir(args)
-# call mktexdir script, disable all features (to prevent sticky directories)
-###############################################################################
-mktexdir()
-{
- MT_FEATURES=none "$TEXMFMAIN/web2c/mktexdir" "$@" >&2
-}
-
-###############################################################################
-# setupDestDir()
-# Assign output directories which are not yet assigned. Always use
-# the TEXMFVAR for this.
-###############################################################################
-setupDestDir()
-{
- vartexmf=`kpsewhich -var-value=TEXMFVAR`
-
- # dvips
- if test -z "$dvipsoutputdir"; then
- dvipsoutputdir=$vartexmf/fonts/map/dvips/updmap
- fi
-
- # pdftex
- if test -z "$pdftexoutputdir"; then
- pdftexoutputdir=$vartexmf/fonts/map/pdftex/updmap
- fi
-
- # dvipdfm
- if test -z "$dvipdfmoutputdir"; then
- dvipdfmoutputdir=$vartexmf/fonts/map/dvipdfm/updmap
- fi
-
- mktexdir "$dvipsoutputdir" "$pdftexoutputdir" "$dvipdfmoutputdir" >/dev/null 2>&1
- for d in "$dvipsoutputdir" "$pdftexoutputdir" "$dvipdfmoutputdir"; do
- test -d "$d" || abort "output directory \`$d' does not exist"
- test -w "$d" || abort "output directory \`$d' is not writable"
- done
-
-}
-
-###############################################################################
-# setupLog(cfgFile)
-# try to set up a log file in $TEXMFVAR/web2c
-###############################################################################
-setupLog()
-{
- vartexmf=`kpsewhich -var-value=TEXMFVAR`
- dir=$vartexmf/web2c
- mktexdir "$dir" >/dev/null 2>&1
- log="$dir/$progname.log"
- if test -d "$dir" && test -w "$dir"; then
- rm -f "$log"
- > "$log"
- fi
- if test -w "$log"; then
- if $chicken_mode; then
- log=
- else
- date > "$log"
- verboseMsg "$progname: This is $progname, version $version"
- verboseMsg "$progname: using transcript file \`$log'"
- fi
- else
- log=
- verboseMsg "$progname: This is $progname, version $version"
- verboseMsg "$progname: no permissions for writing $dir/$progname.log', so no transcript"
- fi
-}
-
-###############################################################################
-# setupCfgFile()
-# find config file if none specified on cmd line.
-###############################################################################
-setupCfgFile()
-{
- case "$cnfFile" in
- "") cnfFile=`locateWeb2c $cnfFileShort`
- case "$cnfFile" in
- "") abort "config file $cnfFileShort not found (ls-R missing?)"
- esac;;
- esac
- setupLog
-}
-
-###############################################################################
-# processOptions()
-# process cmd line options
-###############################################################################
-processOptions()
-{
- while
- case $1 in
- --quiet|-q)
- verbose=false;;
- --cnffile)
- cfgparam=1; cnfFile=$2; shift;;
- --cnffile=*)
- cfgparam=1; cnfFile=`echo "$1" | sed 's/--cnffile=//'`;;
- --copy)
- copy=true;;
- --dry-run|-n)
- chicken_mode=true;;
- --dvipsoutputdir)
- dvipsoutputdirparam=1; dvipsoutputdir=$2; shift;;
- --dvipsoutputdir=*)
- dvipsoutputdirparam=1; dvipsoutputdir=`echo "$1" | sed 's/--dvipsoutputdir=//'`;;
- --pdftexoutputdir)
- pdftexoutputdirparam=1; pdftexoutputdir=$2; shift;;
- --pdftexoutputdir=*)
- pdftexoutputdirparam=1; pdftexoutputdir=`echo "$1" | sed 's/--pdftexoutputdir=//'`;;
- --dvipdfmoutputdir)
- dvipdfmoutputdirparam=1; dvipdfmoutputdir=$2; shift;;
- --dvipdfmoutputdir=*)
- dvipdfmoutputdirparam=1; dvipdfmoutputdir=`echo "$1" | sed 's/--dvipdfmoutputdir=//'`;;
- --outputdir)
- dvipsoutputdirparam=1; dvipsoutputdir=$2
- pdftexoutputdirparam=1; pdftexoutputdir=$2
- dvipdfmoutputdirparam=1; dvipdfmoutputdir=$2
- shift
- ;;
- --outputdir=*)
- outputdir=`echo "$1" | sed 's/--outputdir=//'`
- dvipsoutputdirparam=1; dvipsoutputdir=$outputdir
- pdftexoutputdirparam=1; pdftexoutputdir=$outputdir
- dvipdfmoutputdirparam=1; dvipdfmoutputdir=$outputdir
- ;;
- --setoption)
- cfgmaint=1
- cmd=setoption
- case $2 in
- *=*)
- setoptionOpt=`echo $2 | sed 's@=.*@@'`
- setoptionVal=`echo $2 | sed 's@[^=]*=@@'`
- shift
- ;;
- *)
- test $# -ge 3 || { abort "--setoption needs two parameters: option value"; }
- setoptionOpt=$2; setoptionVal=$3; shift; shift
- ;;
- esac
- ;;
- --enable)
- cfgmaint=1
- cmd=enable
- case $2 in
- Map=*)
- enableMapType=Map; enableMapFile=`echo "$2" | sed 's/Map=//'`; shift;;
- MixedMap=*)
- enableMapType=MixedMap; enableMapFile=`echo "$2" | sed 's/MixedMap=//'`; shift;;
- Map|MixedMap)
- test $# -ge 3 || { abort "--enable needs two parameters: mapType mapFile"; }
- enableMapType=$2; enableMapFile=$3; shift; shift;;
- *)
- abort "--enable needs two parameters mapType mapFile";;
- esac
- ;;
- --syncwithtrees)
- cfgmaint=1
- cmd=syncwithtrees;;
- --disable)
- cfgmaint=1
- cmd=disable; disableMapFile=$2; shift
- ;;
- --disable=*)
- cfgmaint=1
- disableMapFile=`echo "$1" | sed 's/--disable=//'`
- cmd=disable
- ;;
- --edit|-e)
- cfgmaint=1
- cmd=edit;;
- --listmaps|-l)
- cmd=listmaps;;
- --listavailablemaps)
- cmd=listavailablemaps;;
- --showoptions)
- cmd=showoptions; showoptionsItem=$2; shift;;
- --showoptions=*)
- cmd=showoptions; showoptionsItem=`echo "$1" | sed 's/--showoptions=//'`;;
-
- --nohash)
- texhashEnabled=false;;
- --nomkmap)
- mkmapEnabled=false;;
- --help|-help|-h)
- help;;
- --version)
- echo "$progname version $version"; (exit 0); exit 0;;
- "") break;;
- *) abort "$progname: unknown option \`$1'. Try $progname --help for help";;
- esac
- do test $# -gt 0 && shift; done
-
- if test -n "$cfgparam"; then
- if test -z "$cnfFile" || test ! -f "$cnfFile"; then
- abort "config file \`$cnfFileShort' not found"
- fi
- fi
-
- if test -n "$dvipdoutputdirparam"; then
- if test -z "$dvipdoutputdir" || test ! -d "$dvipdoutputdir"; then
- abort "dvips output directory \`$1' not found"
- fi
- fi
- if test -n "$pdftexoutputdirparam"; then
- if test -z "$pdftexoutputdir" || test ! -d "$pdftexoutputdir"; then
- abort "pdftex output directory \`$1' not found"
- fi
- fi
- if test -n "$dvipdfmoutputdirparam"; then
- if test -z "$dvipdfmoutputdir" || test ! -d "$dvipdfmoutputdir"; then
- abort "dvipdfm output directory \`$1' not found"
- fi
- fi
-
-}
-
-###############################################################################
-# listMaps()
-# list all maps mentioned in the config file
-###############################################################################
-listMaps()
-{
- egrep '^(#! *)?(Mixed)?Map' "$cnfFile"
-}
-
-###############################################################################
-# listAvailableMaps()
-# list maps mentioned in the config file if they are available
-###############################################################################
-listAvailableMaps()
-{
- # loop over each possible line in the config file (-> $line)
- # extract the name of the map file (-> $m)
- # check if the map file exists and in that case echo the line
- OLDIFS=$IFS
- IFS='
-'
- for line in `egrep '^(#! *)?(Mixed)?Map' "$cnfFile"`; do
- m=`echo "$line" | sed 's@[ ]*$@@; s@.*[ ]@@'`
- kpsewhich --format=map "$m" >/dev/null && echo "$line"
- done
- IFS=$OLDIFS
-}
-
-###############################################################################
-# syncWithTrees()
-# update the config file: uncomment all lines which refer to map files that
-# are unavailabe in the texmf trees
-###############################################################################
-syncWithTrees()
-{
- for i in `egrep '^(Mixed)?Map' "$cnfFile" | sed 's@.* @@'`; do
- kpsewhich --format=map "$i" >/dev/null || echo "$i"
- done > $tmp1
- {
- sed 's@/@\\/@g; s@^@/^MixedMap[ ]*@; s@$@$/s/^/#! /@' <$tmp1
- sed 's@/@\\/@g; s@^@/^Map[ ]*@; s@$@$/s/^/#! /@' <$tmp1
- } > $tmp2
- sed -f $tmp2 "$cnfFile" > $tmp3 && cat $tmp3 > "$cnfFile"
-}
-
-###############################################################################
-# normalizeLines()
-# remove comments, whitespace is exactly one space, no empty lines,
-# no whitespace at end of line, one space before and after ",
-# no CR's (as in skaknew).
-###############################################################################
-normalizeLines()
-{
- sed \
- -e '/^[*#;%]/d' \
- -e 's@[ ][ ]*@ @g' \
- -e '/^ *$/d' \
- -e 's@ $@@' \
- -e 's@ *" *@ " @g' \
- -e 's@" \([^"]*\) "@"\1"@g' \
- | tr -d '\r' \
- | sort | uniq
-}
-
-###############################################################################
-# dvips2dvipdfm()
-# reads from stdin, writes to stdout. It transforms "dvips"-like syntax into
-# "dvipdfm"-like syntax. It is a very ugly hack.
-###############################################################################
-dvips2dvipdfm()
-{
- sed -e 's@$@ %@' \
- -e 's@^\(\([^ ]*\).*\)@\1\2@' \
- -e 's@\(.*<\[* *\([^ ]*\)\.enc\(.*\)\)@\1 \2@' \
- -e '/%[^ ]*$/s@$@ default@' \
- -e 's@\(.*<<* *\([^ ]*\)\.pf[ab].*\)@\1 \2@' \
- -e '/%[^ ]* [^ ]*$/s@\( \([^ ]*\).*\)$@\1 \2@' \
- -e 's@\(.*[" ]\([.0-9-][.0-9-]*\) *ExtendFont.*\)@\1 -e \2@' \
- -e 's@\(.*[" ]\([.0-9-][.0-9-]*\) *SlantFont.*\)@\1 -s \2@' \
- -e 's@.*%@@' |
- awk '$1 == $3 && $2 == "default" {$2=""; $3=""} {print}' > $tmp8
-
- egrep '^(cm|eu|la|lc|line|msam|xy)' $tmp8 \
- | sed 's@$@ -r@; s@\(fmex[789]\) -r$@\1@'
- egrep -v '^(cm|eu|la|lc|line|msam|xy)' $tmp8
-}
-
-
-###############################################################################
-# mkMaps()
-# the main task of this script: create the output files
-###############################################################################
-mkMaps()
-{
- newline='
-'
- mode=`cfgval LW35`
- dvipsPreferOutline=`cfgval dvipsPreferOutline`
- dvipsDownloadBase35=`cfgval dvipsDownloadBase35`
- pdftexDownloadBase14=`cfgval pdftexDownloadBase14`
- dvipdfmDownloadBase14=`cfgval dvipdfmDownloadBase14`
-
- # defaults
- test -z "$mode" && mode=URWkb
- test -z "$dvipsPreferOutline" && dvipsPreferOutline=true
- test -z "$dvipsDownloadBase35" && dvipsDownloadBase35=false
- test -z "$pdftexDownloadBase14" && pdftexDownloadBase14=false
- test -z "$dvipdfmDownloadBase14" && dvipdfmDownloadBase14=false
-
- outputFiles="$dvipsoutputdir/download35.map
-$dvipsoutputdir/builtin35.map
-$dvipsoutputdir/psfonts_t1.map
-$dvipsoutputdir/psfonts_pk.map
-$pdftexoutputdir/pdftex_dl14.map
-$pdftexoutputdir/pdftex_ndl14.map
-$dvipdfmoutputdir/dvipdfm_dl14.map
-$dvipdfmoutputdir/dvipdfm_ndl14.map
-$dvipsoutputdir/ps2pk.map"
-
- outputLinks="$dvipsoutputdir/psfonts.map
-$pdftexoutputdir/pdftex.map
-$dvipdfmoutputdir/dvipdfm.map"
-
- allOutput="$outputFiles
-$outputLinks"
-
- notfound=false
- OLDIFS=$IFS; IFS=$newline
- for o in $allOutput; do
- test -f "$o" || notfound=true
- done
- IFS=$OLDIFS
- $notfound || texhashEnabled=false
-
- verboseCat <<-eof
- updmap is creating new map files using the following configuration:
-
- config file: \`$cnfFile'
- dvips output directory: \`$dvipsoutputdir'
- pdftex output directory: \`$pdftexoutputdir'
- dvipdfm output directory: \`$dvipdfmoutputdir'
-
- prefer outlines: \`$dvipsPreferOutline'
- texhash enabled: \`$texhashEnabled'
- download standard fonts (dvips): \`$dvipsDownloadBase35'
- download standard fonts (pdftex): \`$pdftexDownloadBase14'
- download standard fonts (dvipdfm): \`$dvipdfmDownloadBase14'
-eof
-
- verboseMsg
- verboseMsg "$progname: scanning for LW35 support files"
- dvips35=`locateMap dvips35.map` || cleanup 1
- pdftex35=`locateMap pdftex35.map` || cleanup 1
- dvipdfm35=`locateMap dvipdfm35.map` || cleanup 1
- ps2pk35=`locateMap ps2pk35.map` || cleanup 1
-
- if $chicken_mode; then
- echo
- echo "$progname: chicken mode, skipping all output generation, goodbye."
- exit 0
- fi
-
- verboseMsg
- verboseMsg "$progname: Scanning for MixedMap entries:"
- catMaps '^MixedMap' > $tmp1 || cleanup 1
-
- verboseMsg
- verboseMsg "$progname: Scanning for Map entries:"
- catMaps '^Map' > $tmp2 || cleanup 1
- verboseMsg
-
- # files should be world-readable
- umask 022
-
- OLDIFS=$IFS; IFS=$newline
- for file in $allOutput; do
- rm -f "$file"
- cat > "$file" <<-eof
- % $file: maintained by the script updmap.
- % Don't change this file directly. Edit texmf/web2c/$cnfFileShort
- % and run updmap to recreate this file.
-eof
- if test -n "$log"; then
- cat >> "$file" <<-eof
- % A log of the updmap run that has created this file is available here:
- % $log
-eof
- fi
- done
- IFS=$OLDIFS
-
- verboseMsg "$progname: Generating output for ps2pk..."
- { transLW35 "$ps2pk35"; cat $tmp1 $tmp2; } \
- | normalizeLines >> "$dvipsoutputdir/ps2pk.map"
-
- verboseMsg "$progname: Generating output for dvips..."
- { transLW35 "$ps2pk35"; } \
- | normalizeLines >> "$dvipsoutputdir/download35.map"
- { transLW35 "$dvips35"; } \
- | normalizeLines >> "$dvipsoutputdir/builtin35.map"
-
- if test "x$dvipsDownloadBase35" = xtrue; then
- dftdvips=$ps2pk35
- else
- dftdvips=$dvips35
- fi
- { transLW35 "$dftdvips"; cat $tmp1 $tmp2; } \
- | normalizeLines >> "$dvipsoutputdir/psfonts_t1.map"
- { transLW35 "$dftdvips"; cat $tmp2; } \
- | normalizeLines >> "$dvipsoutputdir/psfonts_pk.map"
-
- verboseMsg "$progname: Generating output for pdftex..."
- # remove PaintType due to Sebastian's request
- { transLW35 "$pdftex35"; cat $tmp1 $tmp2; } \
- | grep -v PaintType | grep . > $tmp3
- { transLW35 "$dvipdfm35"; cat $tmp1 $tmp2; } \
- | grep -v PaintType | grep . > $tmp6
- { transLW35 "$ps2pk35"; cat $tmp1 $tmp2; } \
- | grep -v PaintType | grep . > $tmp7
-
- <$tmp3 normalizeLines >> "$pdftexoutputdir/pdftex_ndl14.map"
- <$tmp7 normalizeLines >> "$pdftexoutputdir/pdftex_dl14.map"
-
- verboseMsg "$progname: Generating output for dvipdfm..."
- <$tmp7 normalizeLines | dvips2dvipdfm | normalizeLines >> "$dvipdfmoutputdir/dvipdfm_dl14.map"
- <$tmp6 normalizeLines | dvips2dvipdfm | normalizeLines >> "$dvipdfmoutputdir/dvipdfm_ndl14.map"
- verboseMsg "$progname: All output generated."
- verboseMsg
-
- setupSymlinks
- $texhashEnabled && { $verbose && texhash || texhash >/dev/null 2>&1; }
-
- verboseMsg
- verboseMsg "$progname: Files generated:"
- OLDIFS=$IFS; IFS=$newline
- ls -l $outputFiles | verboseCat
- IFS=$OLDIFS
- verboseMsg
-
- verboseMsg "$progname: Map file links or copies:"
- ls -l "$dvipsoutputdir"/psfonts.map \
- "$pdftexoutputdir"/pdftex.map \
- "$dvipdfmoutputdir"/dvipdfm.map | verboseCat
-
- if test -f $mapWarnCalled; then
- m="
-
-!!! NOTICE:
-
- With this release, the search paths for map files have been changed
- and we have found that some files exist in the new path as well as
- in the obsolete path.
-
- This is not an error per se, but please consider removing duplicates
- from the old location and search the above output"
-
- test -n "$log" && m="$m or the transcript file
- $log
- "
-
- m="$m for warnings.
-
- For more information about the changed search paths, see
- the release notes section in the teTeX manual. You probably
- can read this document by executing the command
- texdoc TETEXDOC
- else visit the web page
- http://tug.org/texlive/mapenc.html
-"
- warn "$m"
- fi
-
- verboseMsg
- verboseMsg "$progname: Done."
- return 0
-}
-
-###############################################################################
-# main()
-# execution starts here
-###############################################################################
-main()
-{
- # initialize global variables
- progname=updmap
- cmd=
- log=
- chicken_mode=false
- link_cmd="ln -s"
- copy_cmd="cp"
- copy=false
- orig_pwd=`pwd`
-
- cfgparam=
- outputdirparam=
- cfgmaint=
- texhashEnabled=true
- mkmapEnabled=true
- verbose=true
- needsCleanup=false
-
- cnfFileShort=updmap.cfg
- cnfFile=
- dvipsoutputdir=; pdftexoutputdir=; dvipdfmoutputdir=
- : ${TEXMFMAIN=`kpsewhich -var-value=TEXMFMAIN`}
-
- tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
- tmp1=$tmpdir/a
- tmp2=$tmpdir/b
- tmp3=$tmpdir/c
- tmp4=$tmpdir/d
- tmp5=$tmpdir/e
- tmp6=$tmpdir/f
- tmp7=$tmpdir/g
- tmp8=$tmpdir/h
- mapWarnCalled=$tmpdir/mapWarnCalled
- catMapsFailed=$tmpdir/catMapsFailed
-
- processOptions ${1+"$@"}
-
- case "$cmd" in
- showoptions) showOptions "$showoptionsItem"; (exit 0); exit;;
- help) help; (exit 0); exit;;
- esac
-
- setupCfgFile
- case "$cmd" in
- listmaps) listMaps; (exit 0); exit;;
- listavailablemaps) listAvailableMaps; (exit 0); exit;;
- esac
-
- # keep a copy of config file, so that we can see if the file was modified
- setupTmpDir
-
- if test -n "$cfgmaint"; then
- if test -z "$cfgparam"; then
- co=`"$TEXMFMAIN/texconfig/tcfmgr" --tmp $tmpdir --cmd co --file $cnfFileShort`
- test $? = 0 || cleanup 1
- set x $co; shift
- id=$1; cnfFile=$3; orig=$4
- verboseMsg "$progname: initial config file is \`$orig'"
- else
- verboseMsg "$progname: config file is \`$cnfFile'"
- cp "$cnfFile" $tmp5
- fi
-
- case "$cmd" in
- edit)
- ${VISUAL-${EDITOR-vi}} "$cnfFile";;
- setoption)
- setOption "$setoptionOpt" "$setoptionVal";;
- enable)
- enableMap "$enableMapType" "$enableMapFile";;
- disable)
- disableMap "$disableMapFile";;
- syncwithtrees)
- syncWithTrees;;
- esac
-
- unchanged=true
- if test -z "$cfgparam"; then
- ci=`"$TEXMFMAIN/texconfig/tcfmgr" --tmp $tmpdir --cmd ci --id $id`
- test $? = 0 || cleanup 1
- case "$ci" in
- "") : ;;
- *) unchanged=false
- cnfFile=$ci
- ;;
- esac
- else
- cmp "$cnfFile" $tmp5 >/dev/null 2>&1 || unchanged=false
- fi
- case $unchanged in
- true) if $mkmapEnabled; then
- verboseMsg "$progname: configuration (updmap.cfg) unchanged. Map files will not be recreated."
- mkmapEnabled=false
- else
- verboseMsg "$progname: configuration (updmap.cfg) unchanged."
- fi;;
- *)
- verboseMsg "$progname: configuration file updated: \`$cnfFile'";;
- esac
- fi
-
- $mkmapEnabled || return
- setupDestDir
- mkMaps
-}
-
-main ${1+"$@"}
-cleanup 0
+../../texmf/scripts/tetex/updmap.pl \ No newline at end of file
diff --git a/Master/bin/i386-kfreebsd/updmap-sys b/Master/bin/i386-kfreebsd/updmap-sys
index 6f3c8365658..87523fb08ed 100755..120000
--- a/Master/bin/i386-kfreebsd/updmap-sys
+++ b/Master/bin/i386-kfreebsd/updmap-sys
@@ -1,30 +1 @@
-#!/bin/sh
-
-# updmap-sys: Thomas Esser, public domain.
-
-# wrapper script for updmap with TEXMFVAR and TEXMFCONFIG set to
-# TEXMFSYSVAR / TEXMFSYSCONFIG
-
-test -f /bin/ksh && test -z "$RUNNING_KSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
- && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; }
-unset RUNNING_KSH
-
-test -f /bin/bsh && test -z "$RUNNING_BSH" \
- && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \
- && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
-unset RUNNING_BSH
-
-export PATH
-
-# hack around a bug in zsh:
-test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-
-v=`kpsewhich -var-value TEXMFSYSVAR`
-c=`kpsewhich -var-value TEXMFSYSCONFIG`
-
-TEXMFVAR="$v"
-TEXMFCONFIG="$c"
-export TEXMFVAR TEXMFCONFIG
-
-exec updmap ${1+"$@"}
+../../texmf/scripts/tetex/updmap-sys.sh \ No newline at end of file
diff --git a/Master/bin/i386-kfreebsd/vftovp b/Master/bin/i386-kfreebsd/vftovp
index e00821b12be..6f5226e2970 100755
--- a/Master/bin/i386-kfreebsd/vftovp
+++ b/Master/bin/i386-kfreebsd/vftovp
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/vlna b/Master/bin/i386-kfreebsd/vlna
index ef8f8fc4b23..2e8733c8518 100755
--- a/Master/bin/i386-kfreebsd/vlna
+++ b/Master/bin/i386-kfreebsd/vlna
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/vptovf b/Master/bin/i386-kfreebsd/vptovf
index 8da39c7fa1b..35282d24c39 100755
--- a/Master/bin/i386-kfreebsd/vptovf
+++ b/Master/bin/i386-kfreebsd/vptovf
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/weave b/Master/bin/i386-kfreebsd/weave
index 5db414d2ed2..a88577cbebd 100755
--- a/Master/bin/i386-kfreebsd/weave
+++ b/Master/bin/i386-kfreebsd/weave
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/xdvi-xaw b/Master/bin/i386-kfreebsd/xdvi-xaw
index e78a3cce55a..710a8997709 100755
--- a/Master/bin/i386-kfreebsd/xdvi-xaw
+++ b/Master/bin/i386-kfreebsd/xdvi-xaw
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/xdvipdfmx b/Master/bin/i386-kfreebsd/xdvipdfmx
index cf88f12dfaa..ee5a5dcc7a8 100755
--- a/Master/bin/i386-kfreebsd/xdvipdfmx
+++ b/Master/bin/i386-kfreebsd/xdvipdfmx
Binary files differ
diff --git a/Master/bin/i386-kfreebsd/xetex b/Master/bin/i386-kfreebsd/xetex
index ccf896ecfb3..7fdfafd72c4 100755
--- a/Master/bin/i386-kfreebsd/xetex
+++ b/Master/bin/i386-kfreebsd/xetex
Binary files differ
diff --git a/Master/tlpkg/installer/xz/xz.amd64-kfreebsd b/Master/tlpkg/installer/xz/xz.amd64-kfreebsd
index 1314e1ba11e..79028c49452 100755
--- a/Master/tlpkg/installer/xz/xz.amd64-kfreebsd
+++ b/Master/tlpkg/installer/xz/xz.amd64-kfreebsd
Binary files differ
diff --git a/Master/tlpkg/installer/xz/xz.i386-kfreebsd b/Master/tlpkg/installer/xz/xz.i386-kfreebsd
index 74d862fced7..b6d593374e6 100755
--- a/Master/tlpkg/installer/xz/xz.i386-kfreebsd
+++ b/Master/tlpkg/installer/xz/xz.i386-kfreebsd
Binary files differ
diff --git a/Master/tlpkg/installer/xz/xzdec.amd64-kfreebsd b/Master/tlpkg/installer/xz/xzdec.amd64-kfreebsd
index cfafbc79611..482bdc512c8 100755
--- a/Master/tlpkg/installer/xz/xzdec.amd64-kfreebsd
+++ b/Master/tlpkg/installer/xz/xzdec.amd64-kfreebsd
Binary files differ
diff --git a/Master/tlpkg/installer/xz/xzdec.i386-kfreebsd b/Master/tlpkg/installer/xz/xzdec.i386-kfreebsd
index ebc495e1907..2cf4b1c5c54 100755
--- a/Master/tlpkg/installer/xz/xzdec.i386-kfreebsd
+++ b/Master/tlpkg/installer/xz/xzdec.i386-kfreebsd
Binary files differ