ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <darnold@northcoast.com>
Subject: Re: mfonts.tex from manuals
Date: Thu, 24 Nov 2005 17:37:32 -0800	[thread overview]
Message-ID: <5AE2761C-7848-4D28-90D1-B9274E01A9D6@northcoast.com> (raw)
In-Reply-To: <20051123151451.17543@mail.comp.lancs.ac.uk>

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

  reply	other threads:[~2005-11-25  1:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-22 23:27 David Arnold
2005-11-23  7:27 ` Taco Hoekwater
2005-11-23 10:47   ` Hans Hagen
2005-11-23 15:14   ` Adam Lindsay
2005-11-25  1:37     ` David Arnold [this message]
2005-11-25 10:41       ` Adam Lindsay
2005-11-25 19:27         ` David Arnold
2005-11-25 20:14           ` Hans Hagen
2005-11-25 20:26             ` David Arnold
2005-11-25 22:42               ` Gerben Wierda
2005-11-25 23:35                 ` Henning Hraban Ramm
2005-11-25 23:58                 ` Adam Lindsay
2005-11-26  0:41                 ` Hans Hagen
2005-12-01 19:16     ` Hans Hagen
2005-12-01  1:45   ` David Arnold
2005-12-06 14:20 ` Mojca Miklavec
2005-12-06 16:13   ` Hans Hagen
     [not found] <20051207133722.90749.qmail@web54404.mail.yahoo.com>
2005-12-09 13:04 ` Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5AE2761C-7848-4D28-90D1-B9274E01A9D6@northcoast.com \
    --to=darnold@northcoast.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).