ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Yet another font problem...
@ 2002-06-10 11:24 Randall Skelton
  2002-06-10 12:16 ` Bill McClain
  0 siblings, 1 reply; 9+ messages in thread
From: Randall Skelton @ 2002-06-10 11:24 UTC (permalink / raw)


Hi all,

I appologize if this is trivial but I seem to be having a problem getting
a type1 font installed and working (this is the first time I've attempted
to do this).  I am using the latest TeXLive distribution for OS X and have
a local texmf tree that contains the latest (Saturday afternoon) Context
beta.

In this case, I want to use an Adobe script font named 'banshee' for which
I have the Macintosh font suitcase and have generated the .pfb and .tfm
files.

I then used texfont to install the font, rehashed the texfiles list and
all seemed ok.

/usr/share/texmf/context/perltk/texfont.pl --fontroot=/home/wmcclain/texmf 
--sourcepath=/tmp/fonts --vendor=adobe --collection=sabon --makepath 
--install

However, when I try to check the proces by running texexec on the sample
tex file (texnansi-adobe-banshee.tex) generated by TeXFont the new font is
not embedded in the pdf (see end of this posting for the transcript).  I
also get a strange error when running texutil that reads:

"Parameter to use lib must be directory, not file at 
  /Users/mek/Local/bin/texutil line 1013"

The map file (texnansi-adobe-banshee.map) is located in
'~/Local/texmf/pdftex/config/' but kpsewhich suggests the search path only
includes:

bottle [11:49am] mek [pdftex/config] kpsewhich --show-path .map
  .:/Users/mek/Local/texmf/fontname:
  !!/usr/local/teTeX/share/texmf-local/fontname:
  !!/usr/local/teTeX/share/texmf/fontname.

The shell variable TEXMFCNF points to '/Users/mek/Local/texmf/web2c//' 
and my local texmf.cnf file defines the my personal tree to be 
$HOME/Local/texmf.  I have tried setting the TEXMFLOCAL and TEXMFFONTS 
variables to $HOME/Local/texmf/fonts but neither helps.  In any event, my 
fonts should be found:

bottle [12:19pm] mek [thesis/font-test] kpsewhich --show-path .pfb
  .:/Users/mek/Local/texmf/fonts/type1//:
  !!/usr/local/teTeX/share/texmf-local/fonts/type1//:
  !!/usr/local/teTeX/share/texmf/fonts/type1//
bottle [12:20pm] mek [thesis/font-test] kpsewhich --show-path .tfm
  .:/Users/mek/Local/texmf/fonts/tfm//:
  !!/usr/local/teTeX/share/texmf-local/fonts/tfm//:
  !!/usr/local/teTeX/share/texmf/fonts/tfm//:/var/tmp/texfonts/tfm//

Clearly I must be missing something... any help would be greatly
appreciated!

Thanks,
Randall

-- texexec transcript --
bottle [11:40am] mek [font-test] texexec texnansi-adobe-banshee 

 TeXExec 2.8 - ConTeXt / PRAGMA ADE 1997-2002

            executable : pdfetex
                format : cont-en
             inputfile : texnansi-adobe-banshee
                output : pdftex
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2C 7.3.7x)
entering extended mode
(./texnansi-adobe-banshee.tex{/Users/mek/Local/texmf/pdftex/config/pdftex.
cfg}

ConTeXt  ver: 2002.5.26  fmt: 2002.6.7  int: english  mes: english

language       : language en is active
<protectionstate 0: @=12 !=12 ?=12>
system         : cont-new loaded
(/Users/mek/Local/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 1065] \dimexpr 
)
system         : cont-old loaded
(/Users/mek/Local/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/Users/mek/Local/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 7:2-it-2 
8:2-nl-2
 loaded
specials       : tex,postscript,rokicki loaded
system         : texnansi-adobe-banshee.top loaded
(./texnansi-adobe-banshee.top
specials       : loading definition file tpd
(/Users/mek/Local/texmf/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/Users/mek/Local/texmf/tex/context/base/spec-fdf.tex
<unprotect 3: @=11 !=11 ?=11> <unprotect 4: @=11 !=11 ?=11>
system (E-TEX) : [line 1634] \ifcsname 
<unprotect 5: @=11 !=11 ?=11> <protect 5: @=11 !=11 ?=11>
<protect 4: @=11 !=11 ?=11> <protect 3: @=11 !=11 ?=11>)
specials       : fdf loaded
<unprotect 3: @=11 !=11 ?=11> <protect 3: @=11 !=11 ?=11>)
specials       : fdf,tpd loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
system         : macros of module fnt-01 loaded
(/Users/mek/Local/texmf/tex/context/base/s-fnt-01.tex
color          : system rgb is global activated
)
pdftex         : needs map file: texnansi-adobe-banshee.map
(1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(./texnansi-adobe-banshee.tuo) (./texnansi-adobe-banshee.tuo)
(./texnansi-adobe-banshee.tuo) (./texnansi-adobe-banshee.tuo)
(./texnansi-adobe-banshee.tuo) (./texnansi-adobe-banshee.tuo)
(./texnansi-adobe-banshee.tuo) (./texnansi-adobe-banshee.tuo)
(./texnansi-adobe-banshee.tuo) (./texnansi-adobe-banshee.tuo)
(./texnansi-adobe-banshee.tuo) (./texnansi-adobe-banshee.tuo)
(./texnansi-adobe-banshee.tuo)
systems        : begin file texnansi-adobe-banshee at line 7
(/Users/mek/Local/texmf/tex/context/base/font-run.tex)
(/Users/mek/Local/texmf/tex/context/base/enco-run.tex
system (E-TEX) : [line 101] \fontcharwd 
) [1.1{/usr/local/teTeX/share/texmf/dvips/config/pdftex.map}]
(/Users/mek/Local/texmf/tex/context/base/enco-def.tex)
(/Users/mek/Local/texmf/tex/context/base/enco-def.tex [2.2])
columns        : balanced in 2 step(s)
[3.3] [4.4] [5.5] [6.6]
(/Users/mek/Local/texmf/tex/context/base/enco-def.tex)
(/Users/mek/Local/texmf/tex/context/base/enco-def.tex [7.7])
columns        : balanced in 2 step(s)
[8.8] [9.9] [10.10]
systems        : end file texnansi-adobe-banshee at line 61
 )
(see the transcript file for additional information)
Warning: pdfetex (file texnansi-raw-Banshee): Font texnansi-raw-Banshee at 
600 
not found
</usr/local/teTeX/share/texmf/fonts/type1/bluesky/cm/cmtt10.pfb>
(2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Output written on texnansi-adobe-banshee.pdf (10 pages, 76137 bytes).
Transcript written on texnansi-adobe-banshee.log.
              run time : 34 seconds
  sorting and checking : running texutil
Parameter to use lib must be directory, not file at /Users/mek/Local/bin/texutil line 1013
(3) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000

                action : processing commands, lists and registers 
                option : sorting IJ under Y 
                option : converting high ASCII values 
            input file : texnansi-adobe-banshee.tui 
           output file : texnansi-adobe-banshee.tuo 
       passed commands : 7 
         remapped keys : 0 
      register entries : 0 -> 0 entries 0 references 
       synonym entries : 0 -> 0 entries 
        embedded files : 1 

        total run time : 36 seconds


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Yet another font problem...
  2002-06-10 11:24 Yet another font problem Randall Skelton
@ 2002-06-10 12:16 ` Bill McClain
  2002-06-10 12:41   ` Randall Skelton
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Bill McClain @ 2002-06-10 12:16 UTC (permalink / raw)
  Cc: ntg-context

On Mon, 10 Jun 2002 12:24:09 +0100 (BST)
Randall Skelton <rhskelto@atm.ox.ac.uk> wrote:

> Hi all,
> 
> I appologize if this is trivial but I seem to be having a problem
> getting a type1 font installed and working (this is the first time
> I've attempted to do this).  

Do you have the \autoloadmapfilestrue line uncommented in cont-sys.tex?
The \loadmapfile statement in your test file will not work otherwise.

-Bill
-- 
Sattre Press                                The King in Yellow
http://sattre-press.com/                 by Robert W. Chambers
info@sattre-press.com             http://kiy.sattre-press.com/ 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Yet another font problem...
  2002-06-10 12:16 ` Bill McClain
@ 2002-06-10 12:41   ` Randall Skelton
  2002-06-10 12:50     ` Bill McClain
  2002-06-10 14:34   ` Randall Skelton
       [not found]   ` <Pine.LNX.4.33.0206101419090.13366-100000@moriarty.atm.ox.a c.uk>
  2 siblings, 1 reply; 9+ messages in thread
From: Randall Skelton @ 2002-06-10 12:41 UTC (permalink / raw)
  Cc: ntg-context

I cannot find the 'cont-sys.tex' file in my ConTeXt tree... The closest I
have is 'texmf/tex/context/base/cont-sys.ori'.  Should I have rename this
file to cont-sys.tex?  As it stands, I did uncomment the
autoloadmapfilestrue line but left the file named 'cont-sys.ori'.  I 
notice that type-ini.tex does reference the autoloadmapfilestrue 
variable... How deep is the font rabbit hole?

Cheers,
Randall

On Mon, 10 Jun 2002, Bill McClain wrote:

> > Hi all,
> > 
> > I apologize if this is trivial but I seem to be having a problem
> > getting a type1 font installed and working (this is the first time
> > I've attempted to do this).  
> 
> Do you have the \autoloadmapfilestrue line uncommented in cont-sys.tex?
> The \loadmapfile statement in your test file will not work otherwise.
> 
> -Bill
> -- 
> Sattre Press                                The King in Yellow
> http://sattre-press.com/                 by Robert W. Chambers
> info@sattre-press.com             http://kiy.sattre-press.com/ 
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Yet another font problem...
  2002-06-10 12:41   ` Randall Skelton
@ 2002-06-10 12:50     ` Bill McClain
  0 siblings, 0 replies; 9+ messages in thread
From: Bill McClain @ 2002-06-10 12:50 UTC (permalink / raw)
  Cc: ntg-context

On Mon, 10 Jun 2002 13:41:11 +0100 (BST)
Randall Skelton <rhskelto@atm.ox.ac.uk> wrote:

> I cannot find the 'cont-sys.tex' file in my ConTeXt tree... The
> closest I have is 'texmf/tex/context/base/cont-sys.ori'.  Should I
> have rename this file to cont-sys.tex?  

Yes, I believe so. My notes (at
http://home.salamander.com/~wmcclain/context-help.html) show renaming
cont-sys.rme to cont-sys.tex, but on my system cont-sys.tex and
cont-sys.ori have the same contents.

> How deep is the font rabbit hole?

You are almost there!

-Bill


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Yet another font problem...
  2002-06-10 12:16 ` Bill McClain
  2002-06-10 12:41   ` Randall Skelton
@ 2002-06-10 14:34   ` Randall Skelton
  2002-06-10 15:13     ` Bill McClain
       [not found]   ` <Pine.LNX.4.33.0206101419090.13366-100000@moriarty.atm.ox.a c.uk>
  2 siblings, 1 reply; 9+ messages in thread
From: Randall Skelton @ 2002-06-10 14:34 UTC (permalink / raw)
  Cc: ntg-context

Thanks Bill.  I didn't realize that it was your site that I have been 
reading all morning ;)

I now have the font example working... whew!  I do see a large number of
warnings of the form, "Warning: pdfetex (file
/Users/mek/Local/texmf/pdftex/config/context/pl0-am s-cmr.map): entry for
`plb10' already exists, duplicates ignored," but I get the correct fonts
in the end.  Should I see these warnings?

My problem was simply that I became confused when I found two occurances 
of 'cont-sys':

$texroot/texmf/tex/context/user/cont-sys.rme
$texroot/texmf/tex/context/base/cont-sys.ori

Why are there two of these?  Surely I do not need two copies of the same
file (I originally only modified the .ori file).  For my own reference, in
which directory should I put 'texexec.ini' and 'cont-sys.ini'?  Should
they go where the stock .rme files are? (i.e.  
$texroot/texmf/context/config and $texroot/texmf/tex/context/user)

In the case of setting up a script font that only has one typeface (i.e.  
no bold, italic font, small caps, etc...) how do I go about setting up a 
type-banshee.tex file?  My first attempt reads:

--- Start type-banshee.tex
%
% Adobe Banshee
%
\usetypescriptfile[type-buy]
\loadmapfile[texnansi-adobe-banshee.map]

\starttypescript [serif] [banshee] [texnansi]
  \definefontsynonym [Banshee-Roman] [texnansi-banshee] [encoding=texnansi]
  \definefontsynonym [Banshee-Bold] [texnansi-banshee] [encoding=texnansi]
  \definefontsynonym [Banshee-Italic] [texnansi-banshee] [encoding=texnansi]
  \definefontsynonym [Banshee-Bold-Italic] [texnansi-banshee] [encoding=texnansi]
\stoptypescript

\starttypescript [serif] [charter] [name]
  \usetypescript[serif][fallback]
  \definefontsynonym [Serif]           [Banshee-Roman]
  \definefontsynonym [SerifBold]       [Banshee-Bold]
  \definefontsynonym [SerifItalic]     [Banshee-Italic]
  \definefontsynonym [SerifBoldItalic] [Banshee-Bold-Italic]
\stoptypescript

\starttypescript [Banshee]
  \definetypeface [MyBanshee] [rm] [serif] [banshee] [default] [encoding=texnansi]
\stoptypescript
--- End

When I use the above and try make a simple document, I again do not get
the font included in the resulting pdf.

--- Begin test.tex
\usetypescriptfile[type-banshee]
\usetypescript[Banshee]
\setupbodyfont[MyBanshee]

\starttext
This is Banshee type.
\stoptext
--- End

The transcript follows at the end of the message-- I cannot see any errors
in it (other than lots of font warnings).  Thanks again for the help.

Randall

--- Transcript
This is pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2C 7.3.7x) (format=cont-en 2002.6.7)  10 JUN 2002 15:20
entering extended mode
**&cont-en test.tex
(./test.tex{/Users/mek/Local/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2002.5.26  fmt: 2002.6.7  int: english  mes: english

language       : language en is active
<protectionstate 0: @=12 !=12 ?=12>
system         : cont-new loaded
(/Users/mek/Local/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 1065] \dimexpr 
)
system         : cont-old loaded
(/Users/mek/Local/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/Users/mek/Local/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys loaded
(/Users/mek/Local/texmf/tex/context/user/cont-sys.tex)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 7:2-it-2 8:2-nl-2
 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `test.tui'.

system         : test.top loaded
(./test.top
specials       : loading definition file tpd
(/Users/mek/Local/texmf/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/Users/mek/Local/texmf/tex/context/base/spec-fdf.tex
<unprotect 3: @=11 !=11 ?=11> <unprotect 4: @=11 !=11 ?=11>
system (E-TEX) : [line 1634] \ifcsname 
<unprotect 5: @=11 !=11 ?=11> <protect 5: @=11 !=11 ?=11>
<protect 4: @=11 !=11 ?=11> <protect 3: @=11 !=11 ?=11>)
specials       : fdf loaded
<unprotect 3: @=11 !=11 ?=11> <protect 3: @=11 !=11 ?=11>)
specials       : fdf,tpd loaded
)
\openout0 = `test-mpgraph.mp'.

\openout0 = `test-mprun.mp'.

\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.

pdftex         : using map file: original-context-symbol.map
pdftex         : using map file: pl0-ams-cmr.map
pdftex         : using map file: original-vogel-symbol.map
typescript     : [Banshee] [] []
(/Users/mek/Local/texmf/tex/context/base/type-syn.tex)
(/Users/mek/Local/texmf/tex/context/base/type-enc.tex)
(/Users/mek/Local/texmf/tex/context/base/type-siz.tex)
(/Users/mek/Local/texmf/tex/context/base/type-map.tex)
(/Users/mek/Local/texmf/tex/context/base/type-spe.tex)
(/Users/mek/Local/texmf/tex/context/base/type-exa.tex)
(/Users/mek/Local/texmf/tex/context/fonts/type-banshee.tex
pdftex         : using map file: texnansi-adobe-banshee.map
typeface       : [MyBanshee] [rm] [serif] [banshee]
typescript     : [map] [texnansi] []
(/Users/mek/Local/texmf/tex/context/base/type-syn.tex)
(/Users/mek/Local/texmf/tex/context/base/type-enc.tex)
(/Users/mek/Local/texmf/tex/context/base/type-siz.tex)
(/Users/mek/Local/texmf/tex/context/base/type-map.tex
pdftex         : using map file: original-ams-cmr.map
pdftex         : using map file: original-ams-euler.map
pdftex         : using map file: texnansi-adobe-utopia.map
pdftex         : using map file: texnansi-bit-charter.map
pdftex         : using map file: texnansi-public-antp.map
pdftex         : using map file: texnansi-public-antt.map
pdftex         : using map file: texnansi-urw-bookman.map
pdftex         : using map file: texnansi-urw-courier.map
pdftex         : using map file: texnansi-urw-helvetica.map
pdftex         : using map file: texnansi-urw-palatino.map
pdftex         : using map file: texnansi-urw-times.map
pdftex         : using map file: texnansi-urw-zapfchan.map
pdftex         : using map file: original-youngryu-px.map
pdftex         : using map file: original-youngryu-tx.map
pdftex         : using map file: texnansi-bh-lucida.map
) (/Users/mek/Local/texmf/tex/context/base/type-spe.tex)
(/Users/mek/Local/texmf/tex/context/base/type-exa.tex)
(/Users/mek/Local/texmf/tex/context/fonts/type-banshee.tex)
(/Users/mek/Local/texmf/tex/context/base/type-buy.tex
pdftex         : using map file: texnansi-itc-officina.map
pdftex         : using map file: texnansi-ff-meta.map
pdftex         : using map file: texnansi-linotype-univers.map
pdftex         : using map file: texnansi-itc-mendoza.map
pdftex         : using map file: texnansi-adobe-frutiger.map
)
typescript     : [serif] [banshee] [name,default,texnansi,special]
(/Users/mek/Local/texmf/tex/context/base/type-syn.tex)
(/Users/mek/Local/texmf/tex/context/base/type-enc.tex)
(/Users/mek/Local/texmf/tex/context/base/type-siz.tex)
(/Users/mek/Local/texmf/tex/context/base/type-map.tex)
(/Users/mek/Local/texmf/tex/context/base/type-spe.tex)
(/Users/mek/Local/texmf/tex/context/base/type-exa.tex)
(/Users/mek/Local/texmf/tex/context/fonts/type-banshee.tex)
(/Users/mek/Local/texmf/tex/context/base/type-buy.tex)
typescript     : [serif] [default] [size]
(/Users/mek/Local/texmf/tex/context/base/type-syn.tex)
(/Users/mek/Local/texmf/tex/context/base/type-enc.tex)
(/Users/mek/Local/texmf/tex/context/base/type-siz.tex)
(/Users/mek/Local/texmf/tex/context/base/type-map.tex)
(/Users/mek/Local/texmf/tex/context/base/type-spe.tex)
(/Users/mek/Local/texmf/tex/context/base/type-exa.tex)
(/Users/mek/Local/texmf/tex/context/fonts/type-banshee.tex)
(/Users/mek/Local/texmf/tex/context/base/type-buy.tex)) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
systems        : begin file test at line 5
[1.1{/usr/local/teTeX/share/texmf/dvips/config/pdftex.map}{/Users/mek/Loca
l/texmf/pdftex/config/context/original-context-symbol.map
Warning: pdfetex (file /Users/mek/Local/texmf/pdftex/config/context/origin
al-context-symbol.map): entry for `contnav' already exists, duplicates ignored
}{/Users/mek/Local/texmf/pdftex/config/context/pl0-ams-cmr.map

[ snip 250+ lines of similar warnings ]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning: pdfetex (file /Users/mek/Local/texmf/pdftex/config/context/origin
al-ams-euler.map): entry for `eusm7' already exists, duplicates ignored
}
Warning: pdfetex (file texnansi-adobe-utopia.map): cannot open font map file

Warning: pdfetex (file texnansi-bit-charter.map): cannot open font map file

Warning: pdfetex (file texnansi-public-antp.map): cannot open font map file

Warning: pdfetex (file texnansi-public-antt.map): cannot open font map file

Warning: pdfetex (file texnansi-urw-bookman.map): cannot open font map file

Warning: pdfetex (file texnansi-urw-courier.map): cannot open font map file

Warning: pdfetex (file texnansi-urw-helvetica.map): cannot open font map file

Warning: pdfetex (file texnansi-urw-palatino.map): cannot open font map file

Warning: pdfetex (file texnansi-urw-times.map): cannot open font map file

Warning: pdfetex (file texnansi-urw-zapfchan.map): cannot open font map file
{/Users/mek/Local/texmf/pdftex/config/context/original-youngryu-px.map
Warning: pdfetex (file /Users/mek/Local/texmf/pdftex/config/context/origin
al-youngryu-px.map): entry for `rpxpplb' already exists, duplicates ignored

[ snip 100+ lines of similar warnings ]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning: pdfetex (file /Users/mek/Local/texmf/pdftex/config/context/origin
al-youngryu-tx.map): entry for `rtcxbsso' already exists, duplicates ignored
}
Warning: pdfetex (file texnansi-bh-lucida.map): cannot open font map file

Warning: pdfetex (file texnansi-itc-officina.map): cannot open font map file

Warning: pdfetex (file texnansi-ff-meta.map): cannot open font map file

Warning: pdfetex (file texnansi-linotype-univers.map): cannot open font map fil
e

Warning: pdfetex (file texnansi-itc-mendoza.map): cannot open font map file

Warning: pdfetex (file texnansi-adobe-frutiger.map): cannot open font map file
]
systems        : end file test at line 7
)
Here is how much of TeX's memory you used:
1221 strings out of 25082
23687 string characters out of 283557
382822 words of memory out of 1500001
28896 multiletter control sequences out of 10000+40000
12271 words of font info for 38 fonts, out of 400000 for 1000
62 hyphenation exceptions out of 1000
43i,16n,58p,248b,241s stack positions out of 1500i,500n,1500p,50000b,5000s
7 PDF objects out of 300000
0 named destinations out of 20000
0 words of extra memory for PDF output out of 65536
</usr/local/teTeX/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on test.pdf (1 page, 6302 bytes).


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Yet another font problem...
  2002-06-10 14:34   ` Randall Skelton
@ 2002-06-10 15:13     ` Bill McClain
  2002-06-10 16:30       ` Yet another font problem... / map files Hans Hagen
  2002-06-10 16:33       ` Yet another font problem Randall Skelton
  0 siblings, 2 replies; 9+ messages in thread
From: Bill McClain @ 2002-06-10 15:13 UTC (permalink / raw)
  Cc: ntg-context

On Mon, 10 Jun 2002 15:34:51 +0100 (BST)
Randall Skelton <rhskelto@atm.ox.ac.uk> wrote:

> I now have the font example working... whew!  I do see a large number
> of warnings of the form, "Warning: pdfetex (file
> /Users/mek/Local/texmf/pdftex/config/context/pl0-am s-cmr.map): entry
> for`plb10' already exists, duplicates ignored," but I get the correct
> fonts in the end.  Should I see these warnings?

I see similar warnings. I believe they can be eliminated by messing with
map files or pdftex.cfg, but I have never bothered. As long as the
warnings don't reference fonts you are using...

> My problem was simply that I became confused when I found two
> occurances of 'cont-sys':
> 
> $texroot/texmf/tex/context/user/cont-sys.rme
> $texroot/texmf/tex/context/base/cont-sys.ori
> 
> Why are there two of these?  Surely I do not need two copies of the
> same file (I originally only modified the .ori file).  For my own
> reference, in which directory should I put 'texexec.ini' and
> 'cont-sys.ini'?  Should they go where the stock .rme files are? (i.e. 
> $texroot/texmf/context/config and $texroot/texmf/tex/context/user)

I don't know why there are multiple named versions. On my system:

/usr/share/texmf/context/config/texexec.ini
cont-sys.ini : I don't have it

> In the case of setting up a script font that only has one typeface
> (i.e.  no bold, italic font, small caps, etc...) how do I go about
> setting up a type-banshee.tex file?  My first attempt reads:

The script looks ok to me and your map file is being found and used.
Does texnansi-banshee.tfm exist? Your \definesynonym statements must
eventually refer to a .tfm name that exists in some map file that the
job knows about. 

If it does exist, have you run texhash since installing it? (That's my
favorite forgotten step).

If so, search for more errors in the log that mention texnansi-banshee.

-Bill
-- 
Sattre Press                                The King in Yellow
http://sattre-press.com/                 by Robert W. Chambers
info@sattre-press.com             http://kiy.sattre-press.com/ 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Yet another font problem...
       [not found]   ` <Pine.LNX.4.33.0206101419090.13366-100000@moriarty.atm.ox.a c.uk>
@ 2002-06-10 16:24     ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2002-06-10 16:24 UTC (permalink / raw)
  Cc: Bill McClain, ntg-context

At 03:34 PM 6/10/2002 +0100, Randall Skelton wrote:
>Thanks Bill.  I didn't realize that it was your site that I have been
>reading all morning ;)
>
>I now have the font example working... whew!  I do see a large number of
>warnings of the form, "Warning: pdfetex (file
>/Users/mek/Local/texmf/pdftex/config/context/pl0-am s-cmr.map): entry for
>`plb10' already exists, duplicates ignored," but I get the correct fonts
>in the end.  Should I see these warnings?
>
>My problem was simply that I became confused when I found two occurances
>of 'cont-sys':

the idea is that you rename one of them into cont-sys.tex and still have 
the original

>--- Start type-banshee.tex
>%
>% Adobe Banshee
>%
>\usetypescriptfile[type-buy]

^^ not in this banshee file, but in your main doc

the idea behind typescript files is that they are parsed at runtime an 
donly the info needed is picked up

btw, here i name those additional (user) typescript files typeface.tex, and 
they normally reside in the project path

>\loadmapfile[texnansi-adobe-banshee.map]

>\starttypescript [serif] [banshee] [texnansi]
>   \definefontsynonym [Banshee-Roman] [texnansi-banshee] [encoding=texnansi]
>   \definefontsynonym [Banshee-Bold] [texnansi-banshee] [encoding=texnansi]
>   \definefontsynonym [Banshee-Italic] [texnansi-banshee] [encoding=texnansi]
>   \definefontsynonym [Banshee-Bold-Italic] [texnansi-banshee] 
> [encoding=texnansi]
>\stoptypescript
>
>\starttypescript [serif] [charter] [name]
>   \usetypescript[serif][fallback]

    ^^^ needed ?

>   \definefontsynonym [Serif]           [Banshee-Roman]
>   \definefontsynonym [SerifBold]       [Banshee-Bold]
>   \definefontsynonym [SerifItalic]     [Banshee-Italic]
>   \definefontsynonym [SerifBoldItalic] [Banshee-Bold-Italic]
>\stoptypescript
>
>\starttypescript [Banshee]
>   \definetypeface [MyBanshee] [rm] [serif] [banshee] [default] 
> [encoding=texnansi]
>\stoptypescript
>--- End
>
>When I use the above and try make a simple document, I again do not get
>the font included in the resulting pdf.

the defs look ok to me

>--- Begin test.tex
>\usetypescriptfile[type-banshee]
>\usetypescript[Banshee]

>\setupbodyfont[MyBanshee]
>
>\starttext
>This is Banshee type.
>\stoptext

but ... is your type-banshee read (grep for type-ban in the log)

>[ snip 250+ lines of similar warnings ]
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

you can turn off loading of the defaults in the cont-sys file; it all 
depends a bit on how your system is configures; the main reason for the 
fuzz is that pdftex does not permit overloading (on the to do list after 
which the messages will disappear)

you can probably safely comment the \preload... lines in cont-sys.tex

>Warning: pdfetex (file /Users/mek/Local/texmf/pdftex/config/context/origin
>al-youngryu-tx.map): entry for `rtcxbsso' already exists, duplicates ignored
>}
>Warning: pdfetex (file texnansi-bh-lucida.map): cannot open font map file
>
>Warning: pdfetex (file texnansi-itc-officina.map): cannot open font map file
>
>Warning: pdfetex (file texnansi-ff-meta.map): cannot open font map file
>
>Warning: pdfetex (file texnansi-linotype-univers.map): cannot open font 
>map fil
>e
>
>Warning: pdfetex (file texnansi-itc-mendoza.map): cannot open font map file
>
>Warning: pdfetex (file texnansi-adobe-frutiger.map): cannot open font map file
>]

looks like you load all map files; this is not really needed, unless you 
define fonts on page>1 because pdftex does not read map files after page one

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Yet another font problem... / map files
  2002-06-10 15:13     ` Bill McClain
@ 2002-06-10 16:30       ` Hans Hagen
  2002-06-10 16:33       ` Yet another font problem Randall Skelton
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2002-06-10 16:30 UTC (permalink / raw)
  Cc: ntg-context

At 10:13 AM 6/10/2002 -0500, you wrote:
>On Mon, 10 Jun 2002 15:34:51 +0100 (BST)
>Randall Skelton <rhskelto@atm.ox.ac.uk> wrote:
>
> > I now have the font example working... whew!  I do see a large number
> > of warnings of the form, "Warning: pdfetex (file
> > /Users/mek/Local/texmf/pdftex/config/context/pl0-am s-cmr.map): entry
> > for`plb10' already exists, duplicates ignored," but I get the correct
> > fonts in the end.  Should I see these warnings?
>
>I see similar warnings. I believe they can be eliminated by messing with
>map files or pdftex.cfg, but I have never bothered. As long as the
>warnings don't reference fonts you are using...

by default, pdftex loads a big map file psfonts.map; because i prefer a 
less verbose map file (so that there is less risk of pdftex substituting 
the wrong fonts) (and, because i want to embed the 15 default ps fonts as 
well) i use a cleaned up file; Now, if you don't specify a map file in the 
cfg file at all, pdftex still tries to load psfonts.map (alas); so, when 
you use this map file, you don't need to load the cmr map files at all 
(just keep the comments before preload files in cont-sys).

> > In the case of setting up a script font that only has one typeface
> > (i.e.  no bold, italic font, small caps, etc...) how do I go about
> > setting up a type-banshee.tex file?  My first attempt reads:
>
>The script looks ok to me and your map file is being found and used.
>Does texnansi-banshee.tfm exist? Your \definesynonym statements must
>eventually refer to a .tfm name that exists in some map file that the
>job knows about.
>
>If it does exist, have you run texhash since installing it? (That's my
>favorite forgotten step).
>
>If so, search for more errors in the log that mention texnansi-banshee.

i looks like the typescript is not read at all, since, if fonts were 
missing tex would complain loudly; if the type-* file si not on the path, 
(or is in context/user) then a rehash is needed indeed.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Yet another font problem...
  2002-06-10 15:13     ` Bill McClain
  2002-06-10 16:30       ` Yet another font problem... / map files Hans Hagen
@ 2002-06-10 16:33       ` Randall Skelton
  1 sibling, 0 replies; 9+ messages in thread
From: Randall Skelton @ 2002-06-10 16:33 UTC (permalink / raw)
  Cc: ntg-context

Thank you Bill for all your comments and for putting up your original
notes on the web.  I (finally) have my type1 font installed...  One down,
10 more to go.

It turns out one of the larger problems that I had was that the original
font file is for the Mac (ClassicOS) and I am now using OS X.  Of course,
OS X still uses the HFS+ file system so it is fundamentally case
insensitive.  When I generated the .pfb and .tfm file from my Mac font
suitcase, it spat out files with 'A Banshee' as the name.  I immediately
removed the 'A ' as having a space in the font filename broke most of the
context perl scripts.  However, I left the capital 'B' and ended up with
Banshee.pfb, Banshee.afm, texnansi-Banshee.tfm, texnansi-raw-Banshee.tfm,
and texnansi-adobe-banshee.map.  I don't exactly understand why, but
renaming the fonts to lowercase 'banshee' and re-running texfont seems to
have fixed many of the problems I was having.

Thanks again for all your help Bill!

Cheers,
Randall

On Mon, 10 Jun 2002, Bill McClain wrote:

> > I now have the font example working... whew!  I do see a large number
> > of warnings of the form, "Warning: pdfetex (file
> > /Users/mek/Local/texmf/pdftex/config/context/pl0-am s-cmr.map): entry
> > for`plb10' already exists, duplicates ignored," but I get the correct
> > fonts in the end.  Should I see these warnings?
> 
> I see similar warnings. I believe they can be eliminated by messing with
> map files or pdftex.cfg, but I have never bothered. As long as the
> warnings don't reference fonts you are using...
> 
> > My problem was simply that I became confused when I found two
> > occurances of 'cont-sys':
> > 
> > $texroot/texmf/tex/context/user/cont-sys.rme
> > $texroot/texmf/tex/context/base/cont-sys.ori
> > 
> > Why are there two of these?  Surely I do not need two copies of the
> > same file (I originally only modified the .ori file).  For my own
> > reference, in which directory should I put 'texexec.ini' and
> > 'cont-sys.ini'?  Should they go where the stock .rme files are? (i.e. 
> > $texroot/texmf/context/config and $texroot/texmf/tex/context/user)
> 
> I don't know why there are multiple named versions. On my system:
> 
> /usr/share/texmf/context/config/texexec.ini
> cont-sys.ini : I don't have it
> 
> > In the case of setting up a script font that only has one typeface
> > (i.e.  no bold, italic font, small caps, etc...) how do I go about
> > setting up a type-banshee.tex file?  My first attempt reads:
> 
> The script looks ok to me and your map file is being found and used.
> Does texnansi-banshee.tfm exist? Your \definesynonym statements must
> eventually refer to a .tfm name that exists in some map file that the
> job knows about. 
> 
> If it does exist, have you run texhash since installing it? (That's my
> favorite forgotten step).
> 
> If so, search for more errors in the log that mention texnansi-banshee.
> 
> -Bill
> -- 
> Sattre Press                                The King in Yellow
> http://sattre-press.com/                 by Robert W. Chambers
> info@sattre-press.com             http://kiy.sattre-press.com/ 
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-06-10 16:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10 11:24 Yet another font problem Randall Skelton
2002-06-10 12:16 ` Bill McClain
2002-06-10 12:41   ` Randall Skelton
2002-06-10 12:50     ` Bill McClain
2002-06-10 14:34   ` Randall Skelton
2002-06-10 15:13     ` Bill McClain
2002-06-10 16:30       ` Yet another font problem... / map files Hans Hagen
2002-06-10 16:33       ` Yet another font problem Randall Skelton
     [not found]   ` <Pine.LNX.4.33.0206101419090.13366-100000@moriarty.atm.ox.a c.uk>
2002-06-10 16:24     ` Hans Hagen

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