Re: [NTG-context] mfonts.tex from manuals

2005-12-06 Thread Hans Hagen

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


Re: [NTG-context] mfonts.tex from manuals

2005-12-02 Thread Hans Hagen

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

2005-11-30 Thread David Arnold

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

2005-11-25 Thread Adam Lindsay


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

2005-11-25 Thread David Arnold

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

2005-11-25 Thread Hans Hagen

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

2005-11-25 Thread David Arnold

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

2005-11-25 Thread Gerben Wierda

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

2005-11-25 Thread Adam Lindsay


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

2005-11-25 Thread Henning Hraban Ramm
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

2005-11-25 Thread Hans Hagen

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

2005-11-24 Thread David Arnold

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 --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 

Re: [NTG-context] mfonts.tex from manuals

2005-11-23 Thread Hans Hagen

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

2005-11-23 Thread Adam Lindsay

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