Adam, Making these changes on my system: % output=pdftex % % copyright=pragma-ade readme=readme.pdf licence=cc-by-nc-sa \preloadtypescripts % I wanted to speed things up a bit! \startnotmode[atpragma] \startMPenvironment[global] % Current bug in distribution \definefontsynonym [LMSans-Italic] [LMSans-Oblique] \definefontsynonym [LMSans-BoldItalic] [LMSans-BoldOblique] % lucida gets called all over the place \definetypescriptsynonym [lucida] [palatino] \usetypescript[adobekb][8r,ec] \stopMPenvironment \stopnotmode \usetypescriptfile [type-buy] \usetypescriptfile [typeface] \environment ../allkind/mcommon.tex % we assume that there are fontfiles demofont.afm/pfb % % runtools mfonts.rb \loadmapfile[texnansi-test-test.map] \usetypescript[map][modern][ec] \usetypescript[map][modern][texnansi] \usetypescript[map][modern][qx] \usetypescript[map][modern][t5] % title page \startmode[atpragma] \startMPenvironment[global] \usetypescript[casual,map][informal][default] \definefontsynonym[TitlePage-Bold][Informal-Bold] \stopMPenvironment \stopmode \startnotmode[atpragma] \startMPenvironment[global] % \usetypescript[handwriting,map][lucida][texnansi] % \definefontsynonym[TitlePage-Bold][LucidaHandwriting-Italic] usetypescript[calligraphy,map][chancery][texnansi] definefontsynonym[TitlePage-Bold][Chancery] %usetypescript[sans,map][iwona][texnansi] %definefontsynonym[TitlePage-Bold][Iwona-BoldItalic] \stopMPenvironment \stopnotmode Causes my system to halt with: This is MetaPost, Version 0.901 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) (mfonts-mpgraph.mpkpathsea: Running mktextfm TitlePage-Bold.tfm /usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map source abbreviation T for TitlePage-Bold. /usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update /usr/ local/teTeX/share/texmf.tetex/fonts/map/fontname/special.map? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input TitlePage-Bold This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf TitlePage-Bold ! I can't find file `TitlePage-Bold'. <*> ...; mag:=1; nonstopmode; input TitlePage-Bold Please type another input file name ! Emergency stop. <*> ...; mag:=1; nonstopmode; input TitlePage-Bold Transcript written on mfput.log. grep: TitlePage-Bold.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input TitlePage-Bold' failed to make TitlePage-Bold.tfm. kpathsea: Appending font creation commands to missfont.log. ! Font TitlePage-Bold not usable: TFM file not found. <forever> ...=substring(n-1,n)of.s.infont.f.scaled 5;p:=p.shifted- (center.p)s... l.145 endfor ; ? On Nov 23, 2005, at 7:14 AM, Adam Lindsay wrote:
I tried to run texfont demofont.dat, but failed. First off, Hans, am I missing a runtools.rb? I can't find it.
Secondly, I think the current demofont.dat has a bug because it triggers an obscure texfont filtering feature. I changed the comments at the head of the file to work around it:
# we assume that demofont.afm and demofont.pfb are present # run with: # texfont demofont.dat
# test test
--ve=test --co=test --ma --in demofont --ve=test --co=test --ma --in --sla=.167 demofont --ve=test --co=test --ma --in --ext=1.50 demofont --ve=test --co=test --ma --in --cap=.750 demofont --ve=test --co=test --ma --in --nol demofont
...and by running: texfont --ve=test --co=test --ma --in demofont.dat ...I do indeed get the modified Iwona fonts.
more below...
Taco Hoekwater said this at Wed, 23 Nov 2005 08:27:14 +0100:
\usetypescript[adobekb][8r,ec] \usetypescriptfile [type-buy] \usetypescriptfile [typeface] \environment ../allkind/mcommon.tex
That fixed the problem with Palatino (It now says I have missing LucidaBright (texnansi-lbXXX) fonts, but I believe that is correct because it is from an example, and at least one hurdle is taken).
Okay, another couple hacks to cross further hurdles:
The top of my mfonts.tex now looks like:
\preloadtypescripts % I wanted to speed things up a bit! \startnotmode[atpragma] \startMPenvironment[global] % Current bug in distribution \definefontsynonym [LMSans-Italic] [LMSans-Oblique] \definefontsynonym [LMSans-BoldItalic] [LMSans-BoldOblique] % lucida gets called all over the place \definetypescriptsynonym [lucida] [palatino] \usetypescript[adobekb][8r,ec] \stopMPenvironment \stopnotmode
\usetypescriptfile [type-buy] \usetypescriptfile [typeface]
\environment ../allkind/mcommon.tex
... That much ought to fix the main body (though with the synonyms and substitutions, the fonts it mentions in the text are not always going to match the actual fonts used now!)
Go down a little bit, and you'll see the title page font set:
\startnotmode[atpragma]
\startMPenvironment[global] \usetypescript[handwriting,map][lucida][texnansi] \definefontsynonym[TitlePage-Bold][LucidaHandwriting-Italic] %usetypescript[calligraphy,map][chancery][texnansi] %definefontsynonym[TitlePage-Bold][Chancery] % ...
comment out the lucida lines, and uncomment the chancery lines, and you should be in business for a full run!
er, I hope. Good luck? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
David