[NTG-context] mfonts.tex from manuals
All, I was able to texfont the demofont and texfont the palatino and compiled test files for each. But when I try to compile mfonts.tex, I get the stuff below. I obviously need help. I have no uplr8t anything on my system. 011-101:~/Desktop/SVNContextManuals/manuals/fonts davidarnold$ texexec mfonts.tex TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 fixing engine variable : pdfetex executable : pdfetex format : cont-en inputfile : mfonts output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) entering extended mode (./mfonts.tex ConTeXt ver: 2005.11.16 fmt: 2005.11.20 int: english mes: english language: language en is active system : cont-new loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.rme (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en->ec:ec->1->2:2 uk->ec:ec->2->2:2 de- >texnansi:tex nansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2 fr- >ec:ec->6->2:2 es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2 pt->ec:ec->9->2:2 it- >texnansi :texnansi->10->2:2 it->ec:ec->11->2:2 nl->texnansi:texnansi->12->2:2 nl->ec:ec- >13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2 sk->il2:il2->16- >2:2 sk->ec:ec ->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2 pl->qx:qx->20->2:2 loaded specials: tex,postscript,rokicki loaded system : mfonts.top loaded (./mfonts.top specials: loading definition file tpd (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex) specials: fdf loaded ) specials: fdf,tpd loaded ) systems : begin file ../allkind/mcommon.tex at line 5 (./../allkind/mcommon.tex system : module abr-02 loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/s-abr-02.tex system : module abr-01 loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/s-abr-01.tex check : logo AMSTEX replaces a macro, use CAPITALS! check : logo CONTEXT replaces a macro, use CAPITALS! check : logo ETEX replaces a macro, use CAPITALS! check : logo LAMSTEX replaces a macro, use CAPITALS! check : logo LATEX replaces a macro, use CAPITALS! check : logo MATHML replaces a macro, use CAPITALS! check : logo METAFONT replaces a macro, use CAPITALS! check : logo METAPOST replaces a macro, use CAPITALS! check : logo PDFETEX replaces a macro, use CAPITALS! check : logo PDFTEX replaces a macro, use CAPITALS! check : logo PICTEX replaces a macro, use CAPITALS! check : logo PPCHTEX replaces a macro, use CAPITALS! check : logo PRAGMA replaces a macro, use CAPITALS! check : logo TABLE replaces a macro, use CAPITALS! check : logo TEXADRES replaces a macro, use CAPITALS! check : logo TEXEDIT replaces a macro, use CAPITALS! check : logo TEXEXEC replaces a macro, use CAPITALS! check : logo TEXFORM replaces a macro, use CAPITALS! check : logo TEXSPELL replaces a macro, use CAPITALS! check : logo TEXUTIL replaces a macro, use CAPITALS! check : logo TEX replaces a macro, use CAPITALS! check : logo XML replaces a macro, use CAPITALS! check : logo XETEX replaces a macro, use CAPITALS! check : logo METAFUN replaces a macro, use CAPITALS! )) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/lo
Re: [NTG-context] mfonts.tex from manuals
David Arnold wrote: All, I was able to texfont the demofont and texfont the palatino and compiled test files for each. But when I try to compile mfonts.tex, I get the stuff below. I obviously need help. I have no uplr8t anything on my system. First: here is a quick fix. I've made my copy of mfonts.tex start with these \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). Now for the actual problem. It looks like this problem is caused by type-dis.tex. In that file, fontsynonym mappings are provided between texfont-style metric names and berry-style filenames for a number of free Type 1 fonts, esp. the ones that come from URW and are shipped with ghostscript. In theory, the definitions in that file are fine, but in the real world there is a problem: The URW fonts are normally used only to mimic Adobe's base PostScript fonts like Times and Palatino, are therefore almost never installed under their true names like URWPalladio and Nimbus Roman. So, the font metrics for URWPalladioL-Roma in EC (psnfss) encoding are typically installed as pplr8t (the initial p indicating Adobe, to mimic Palatino-Roman) instead of uplr8t like they should be (that initial u would be indicating urw). I am not sure how Hans feels about this, but there are two ways out: 1. Certainly the *easiest* way to get a working solution is to change the fontsynonyms in typ-dis.tex so that they match the real world instead of the desired world. 2. But on the other hand, that would be promoting a rather bad practise, and deleting the fontsynonyms instead would be better. I happen to know that Hans will start distributing a cont-fnt.zip file soon that will contain texfont-style metrics, so my vote goes to the second solution. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
Taco Hoekwater wrote: 1. Certainly the *easiest* way to get a working solution is to change the fontsynonyms in typ-dis.tex so that they match the real world instead of the desired world. in the past we have cycled between both [u|p]plr8t kind of names and the problem was that (1) sometimes one of them was missing (2) this aliasses file (obscure kpse feature) was interfering (3) the location of files changed [this urw35v thing] resulting in missed files while copying for instance, it was always a gamble what reference to the dingbats would work today so 2. But on the other hand, that would be promoting a rather bad practise, and deleting the fontsynonyms instead would be better. this looks like the way to go I happen to know that Hans will start distributing a cont-fnt.zip file soon that will contain texfont-style metrics, so my vote goes to the second solution. that makes two votes ... Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
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 --indemofont --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. [EMAIL PROTECTED] 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
Re: [NTG-context] mfonts.tex from manuals
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 --indemofont --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 th
Re: [NTG-context] mfonts.tex from manuals
On 25 Nov 2005, at 01:37, David Arnold wrote: \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 You need to make sure \usetypescript and \definefontsynonym are actually macros/commands: prepend a backslash! adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] 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
Re: [NTG-context] mfonts.tex from manuals
Adam, Goodness gracious! I never saw that. Meanwhile, with these changes, the document compiled (almost). I have a title page with the beautiful background of letters, but I have no "Fonts in Context," nor "Hans Hagen, October 2001." Log file attached, it that's any help. mfonts.log Description: Binary data David On Nov 25, 2005, at 2:41 AM, Adam Lindsay wrote: On 25 Nov 2005, at 01:37, David Arnold wrote: \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 You need to make sure \usetypescript and \definefontsynonym are actually macros/commands: prepend a backslash! adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] 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 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
David Arnold wrote: Adam, Goodness gracious! I never saw that. Meanwhile, with these changes, the document compiled (almost). I have a title page with the beautiful background of letters, but I have no "Fonts in Context," nor "Hans Hagen, October 2001." Log file attached, it that's any help. that's your next excercise: to get makempy running, i.e. these chars are outlines made by pstoedit; is that installed on your system (i can probably cook up an alternative using low level pdf but ...) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
Hans, Gerben, No pstoedit on my system. book $ pstoedit -bash: pstoedit: command not found Gerben, how should I proceed? On Nov 25, 2005, at 12:14 PM, Hans Hagen wrote: David Arnold wrote: Adam, Goodness gracious! I never saw that. Meanwhile, with these changes, the document compiled (almost). I have a title page with the beautiful background of letters, but I have no "Fonts in Context," nor "Hans Hagen, October 2001." Log file attached, it that's any help. that's your next excercise: to get makempy running, i.e. these chars are outlines made by pstoedit; is that installed on your system (i can probably cook up an alternative using low level pdf but ...) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
On 25 Nov 2005, at 21:26, David Arnold wrote: Hans, Gerben, No pstoedit on my system. If I recall I looked into pstoedit a while back. The fact that I did not release a package probably means there were problems getting it to compile on OS X. G book $ pstoedit -bash: pstoedit: command not found Gerben, how should I proceed? On Nov 25, 2005, at 12:14 PM, Hans Hagen wrote: David Arnold wrote: Adam, Goodness gracious! I never saw that. Meanwhile, with these changes, the document compiled (almost). I have a title page with the beautiful background of letters, but I have no "Fonts in Context," nor "Hans Hagen, October 2001." Log file attached, it that's any help. that's your next excercise: to get makempy running, i.e. these chars are outlines made by pstoedit; is that installed on your system (i can probably cook up an alternative using low level pdf but ...) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
On 25 Nov 2005, at 22:42, Gerben Wierda wrote: No pstoedit on my system. If I recall I looked into pstoedit a while back. The fact that I did not release a package probably means there were problems getting it to compile on OS X. I seem to recall similarly trying and failing about 11 months ago, as well! -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] 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
Re: [NTG-context] mfonts.tex from manuals
If I recall I looked into pstoedit a while back. The fact that I did not release a package probably means there were problems getting it to compile on OS X. I've a working pstoedit from Fink. BTW, Gerben, your fontforge needs some libs in /lib instead of /usr/ local/lib. I symlinked it, but perhaps your build system is a bit screwed up? Or is it a problem of the FF sources? Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
Gerben Wierda wrote: On 25 Nov 2005, at 21:26, David Arnold wrote: Hans, Gerben, No pstoedit on my system. If I recall I looked into pstoedit a while back. The fact that I did not release a package probably means there were problems getting it to compile on OS X. there has been troublesome versions (broken) indeed but the 3.33 version on my machine is ok Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
Taco, Hans, et al, I'd like to remind you that this problem (uplr8t) still seems to exist when I tried compiling the beginner's manual ma-cb-en. I had to do two things to get ma-cb-en.tex to compile: 1. Make this change to: ma-cb-style.tex: \startnotmode[atpragma] \usetypescript[adobekb][8r,ec] \usetypescriptfile[type-buy] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,10pt] \stopnotmode 2. Make this change to ma-cb-abbreviations.tex. \startenvironment ma-cb-abbreviations \usemodule[abr-01] On Nov 22, 2005, at 11:27 PM, Taco Hoekwater wrote: David Arnold wrote: All, I was able to texfont the demofont and texfont the palatino and compiled test files for each. But when I try to compile mfonts.tex, I get the stuff below. I obviously need help. I have no uplr8t anything on my system. First: here is a quick fix. I've made my copy of mfonts.tex start with these \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). Now for the actual problem. It looks like this problem is caused by type-dis.tex. In that file, fontsynonym mappings are provided between texfont-style metric names and berry-style filenames for a number of free Type 1 fonts, esp. the ones that come from URW and are shipped with ghostscript. In theory, the definitions in that file are fine, but in the real world there is a problem: The URW fonts are normally used only to mimic Adobe's base PostScript fonts like Times and Palatino, are therefore almost never installed under their true names like URWPalladio and Nimbus Roman. So, the font metrics for URWPalladioL-Roma in EC (psnfss) encoding are typically installed as pplr8t (the initial p indicating Adobe, to mimic Palatino-Roman) instead of uplr8t like they should be (that initial u would be indicating urw). I am not sure how Hans feels about this, but there are two ways out: 1. Certainly the *easiest* way to get a working solution is to change the fontsynonyms in typ-dis.tex so that they match the real world instead of the desired world. 2. But on the other hand, that would be promoting a rather bad practise, and deleting the fontsynonyms instead would be better. I happen to know that Hans will start distributing a cont-fnt.zip file soon that will contain texfont-style metrics, so my vote goes to the second solution. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
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. indeed, i need to add that one to the zip (i'll send you a copy) 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 interesting -) 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! ah, i have that one in my cont-sys.tex \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 ok \usetypescriptfile [type-buy] \usetypescriptfile [typeface] \environment ../allkind/mcommon.tex already fixed ... 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! i'll upload a patched style, Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] mfonts.tex from manuals
The manuals compiled (almost) OK with the stand-alone ConTeXt distr. However - is there any way to compile them under MikTeX (I have almost all the packages installed)? I'm completely ignorant about font issues. I got the error posted below. (Another problem: The metapost graphic around the chapter names is not properly scaled here - way too big, but I'll install the new ConTeXt version first, recompile and then "complain" again.) E:\>texexec ma-cb-en.tex TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 unknown file type: texmfscripts kpsewhich: unrecognized option `--engine=pdfetex' fixing texformat path : Usage: kpsewhich [OPTION...] [FILENAME] This program tries to locate a TeXMF related file. Options: -alias=APPPretend to be APP. -help Print this help screen and exit. -file-type=FILETYPE Use the search path for FILETYPE. -must-exist Make sure the file exists; run the package installer if necessary. -show-path=FILETYPE Show the search path for FILETYPE. -startStart associated program if file was found. -version Print the version number and exit. fixing engine variable : pdfetex executable : pdfetex format : cont-en inputfile : ma-cb-en output : standard interface : en possible modes : screen,bound current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) entering extended mode (ma-cb-en.tex ConTeXt ver: 2005.10.27 fmt: 2005.11.25 int: english mes: english language: language en is active system : cont-new loaded (C:\Programme\MikTeX\tex\context\base\cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (C:\Programme\MikTeX\tex\context\base\cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (C:\Programme\MikTeX\tex\context\base\cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (C:\Programme\MikTeX\tex\context\base\cont-sys.tex (C:\Programme\MikTeX\tex\context\base\./type-exa.tex) (C:\Programme\MikTeX\tex\context\base\./type-syn.tex) (C:\Programme\MikTeX\tex\context\base\./type-enc.tex) (C:\Programme\MikTeX\tex\context\base\./type-dis.tex) (C:\Programme\MikTeX\tex\context\base\./type-siz.tex) (C:\Programme\MikTeX\tex\context\base\./type-map.tex) (C:\Programme\MikTeX\tex\context\base\./type-spe.tex) (C:\Programme\MikTeX\tex\context\base\./type-akb.tex) specials: loading definition file tpd (C:\Programme\MikTeX\tex\context\base\spec-tpd.tex specials: loading definition file fdf (C:\Programme\MikTeX\tex\context\base\spec-fdf.tex) specials: fdf loaded ) specials: fdf,tpd loaded ) bodyfont: 12pt rm is loaded language: patterns en->ec:ec->1->2:2 uk->ec:ec->2->2:2 de->texnansi:tex nansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2 es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2 pt->ec:ec->9->2:2 it->texnansi :texnansi->10->2:2 it->ec:ec->11->2:2 nl->texnansi:texnansi->12->2:2 nl->ec:ec- >13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2 sk->il2:il2->16->2:2 sk->ec:ec ->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2 pl->qx:qx->20->2:2 loaded specials: fdf,tpd loaded system : ma-cb-en.top loaded (./ma-cb-en.top) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo) (./ma-cb-en.tuo references : duplicate reference [][tab:parameters] on page 89 (ma-cb-en) ) (./ma-cb-en.tuo) systems : begin file ma-cb-en at line 5 systems : begin file ma-cb at line 7 (./ma-cb.tex systems : begin file ma-cb-abbreviations at line 11 (./ma-cb-abbreviations.tex system : module abr-01 loaded (C:\Programme\MikTeX\tex\context\base\s-abr-01.tex check : logo AMSTEX replaces a macro, use CAPITALS! [..] check : logo METAFUN replaces a macro, use CAPITALS! ) systems : end file ma-cb-abbreviations at line 11 systems : begin file ma-cb-graphics at line 12 (./ma-cb-graphics.tex) systems : end file ma-cb-graphics at line 12 systems : begin file ma-cb-style at line 13 (./ma-cb-style.tex system : module res-trace loaded (C:\Programme\MikTeX\tex\context\base\x-res-08.tex) system : module units loaded (C:\Programme\MikTeX\tex\context\base\m-units.tex check : unit Angstrom replaces a macro, use CAPITALS! ) system : module chemic loaded (C:\Programme\MikTeX\tex\context\base\m-chemic.tex (C:\Programme\MikTeX\tex\generic\pictex\pictex.tex) (C:\Programme\MikTeX\tex\context\base\ppchtex.tex
Re: [NTG-context] mfonts.tex from manuals
Mojca Miklavec wrote: The manuals compiled (almost) OK with the stand-alone ConTeXt distr. However - is there any way to compile them under MikTeX (I have almost all the packages installed)? I'm completely ignorant about font issues. I got the error posted below. (Another problem: The metapost graphic around the chapter names is not properly scaled here - way too big, but I'll install the new ConTeXt version first, recompile and then "complain" again.) install cont-fnt as well Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context