From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23742 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: mfonts.tex from manuals Date: Thu, 24 Nov 2005 17:37:32 -0800 Message-ID: <5AE2761C-7848-4D28-90D1-B9274E01A9D6@northcoast.com> References: <438419D2.1060904@elvenkind.com> <20051123151451.17543@mail.comp.lancs.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v728) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132882785 16129 80.91.229.2 (25 Nov 2005 01:39:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2005 01:39:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 25 02:39:42 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EfSY9-0005f1-Ev for gctc-ntg-context-518@m.gmane.org; Fri, 25 Nov 2005 02:38:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF3C812849; Fri, 25 Nov 2005 02:38:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28180-03; Fri, 25 Nov 2005 02:38:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 987341283F; Fri, 25 Nov 2005 02:38:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5BB51283F for ; Fri, 25 Nov 2005 02:38:45 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28081-05 for ; Fri, 25 Nov 2005 02:38:44 +0100 (CET) Original-Received: from borg.inreach.com (mail.northcoast.com [209.142.2.71]) by ronja.ntg.nl (Postfix) with SMTP id A341612838 for ; Fri, 25 Nov 2005 02:38:41 +0100 (CET) Original-Received: (qmail 6750 invoked from network); 25 Nov 2005 01:36:14 -0000 Original-Received: from unknown (HELO ?209.209.20.88?) (209.209.20.88) by mail.northcoast.com with SMTP; 25 Nov 2005 01:36:14 -0000 In-Reply-To: <20051123151451.17543@mail.comp.lancs.ac.uk> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.728) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23742 Archived-At: 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. ...=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