ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LucidaBright fonts...I'm stumped
@ 2005-12-01 10:20 Henk Koster
  2005-12-01 12:38 ` Henk Koster
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Henk Koster @ 2005-12-01 10:20 UTC (permalink / raw)


I've been using teTeX - LaTeX - LucidaBright fonts for many years, but am
unable to make these fonts work in ConTeXt. My present setup after installing
teTeX (a Debian or Ubuntu package):

1. Make a directory /usr/local/share/texmf/fonts/type1/yandy

2. Copy the LB .pfb files to subdirectories lubright, lucida, lucidfax,
   lucsans and lumath

3. Run texhash

and everything works fine in LaTeX -- I only have to specify
\usepackage{lucidbry} in the preamble of my documents. Couldn't be easier.

I've read through some of the archived messages on this newsgroup for
clues for making LB fonts work with ConTeXt, I have even tried following
the suggested steps, but no dice. Could someone here please list the
precise steps required to get from my above teTeX setup to one that works
in ConTeXt?

-- 
H.A.J. Koster
"Behavioral axioms are right, but agents make mistakes..."
(attributed to L.J. Savage)

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

* Re: LucidaBright fonts...I'm stumped
  2005-12-01 10:20 LucidaBright fonts...I'm stumped Henk Koster
@ 2005-12-01 12:38 ` Henk Koster
  2005-12-02 13:39   ` Hans Hagen
  2005-12-01 12:52 ` Hans Hagen
  2005-12-02 10:32 ` Richard Gabriel
  2 siblings, 1 reply; 10+ messages in thread
From: Henk Koster @ 2005-12-01 12:38 UTC (permalink / raw)


As a follow-up to my earlier message...

I don't understand why ConTeXt cannot use the LB .afm/.pfb/.tfm files that
are already present (for the texnansi encoding) in my LaTeX setup. Why
does texfont need to duplicate all these files? Does ConTeXt not use the
directory path search of teTeX? 

It seems to me that, in my case, texfonts only needs to generate files
that are peculiar to ConTeXt, like "texnansi-yandy-lucida.tex and
.map", and further use the .afm, .pfb and .tfm files that are already
present -- is there a way to do that?  

-- 
H.A.J. Koster
"Behavioral axioms are right, but agents make mistakes..."
(attributed to L.J. Savage)

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

* Re: LucidaBright fonts...I'm stumped
  2005-12-01 10:20 LucidaBright fonts...I'm stumped Henk Koster
  2005-12-01 12:38 ` Henk Koster
@ 2005-12-01 12:52 ` Hans Hagen
  2005-12-02 10:32 ` Richard Gabriel
  2 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2005-12-01 12:52 UTC (permalink / raw)


Henk Koster wrote:

>I've been using teTeX - LaTeX - LucidaBright fonts for many years, but am
>unable to make these fonts work in ConTeXt. My present setup after installing
>teTeX (a Debian or Ubuntu package):
>
>1. Make a directory /usr/local/share/texmf/fonts/type1/yandy
>
>2. Copy the LB .pfb files to subdirectories lubright, lucida, lucidfax,
>   lucsans and lumath
>
>3. Run texhash
>
>and everything works fine in LaTeX -- I only have to specify
>\usepackage{lucidbry} in the preamble of my documents. Couldn't be easier.
>
>I've read through some of the archived messages on this newsgroup for
>clues for making LB fonts work with ConTeXt, I have even tried following
>the suggested steps, but no dice. Could someone here please list the
>precise steps required to get from my above teTeX setup to one that works
>in ConTeXt?
>
>  
>
lucida is just one of the many possible commercial fonts that one can 
install so it has no special treatment (ok, the math needs some care)

the reason why it works in 'one step' in latex is that it  uses the kb 
naming scheme exclusively and only supports a few encodings (in theory 
many, but in practice distributions only ship ec things, maybe for 
lucida also the texnansi encoded things)

(btw, interesting that subdirectories are uses, esp since the latest 
texlive has subdirectories for for instance ams fonts)

if you want to use the kb names, you need to make a mapping from the 
more verbose names to the ones you want

\definefontsynonym[texnansi-lbr][whateverisusedinstead]

in principle these mappings can be added to type-dis.tex in which case 
you can enable them with:

\usetypescript[berry][texnansi]

because most fonts i use are not in tex distributions i always generate 
metrics using texfont; this is what i do when i install a font (i 
normally install fonts on my windows laptop and when needed copy them to 
the unix server)

put the originals on a font repository (flat)

mkdir h:\fonts\bh\lucida

i go to the root

cd /d h:\fonts

i remove instances in the texmftree

texfont --encoding=texnansi --ven=bh --coll=lucida --remove

then i generate metrics (and installs)

texfont --encoding=texnansi --ven=bh --coll=lucida --so=bh/lucida --ma 
--in --expert

because math  is special, i move the math related files to

texmf-local|fonts/fonts/tfm/bh/lucida
texmf-local|fonts/fonts/type1/bh/lucida

in principle the files should now in the right spot

btw, i posted a zip with lucida metrics for texnansi and ec a few days ago

if there is interest, i can add the lucida metrics (ec and texnansi) to 
the cont-fnt zip file

(lucida always has been kind of special because yandy had its own 
opinions about fonts)

Hans

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

* Re: LucidaBright fonts...I'm stumped
  2005-12-01 10:20 LucidaBright fonts...I'm stumped Henk Koster
  2005-12-01 12:38 ` Henk Koster
  2005-12-01 12:52 ` Hans Hagen
@ 2005-12-02 10:32 ` Richard Gabriel
  2005-12-02 15:34   ` Hans Hagen
  2 siblings, 1 reply; 10+ messages in thread
From: Richard Gabriel @ 2005-12-02 10:32 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1871 bytes --]

Hello Henk,

I reply to your request only beacause I'm also using the Lucida Bright fonts.
At least, you must also have the appropriate .tfm files for your fonts. 
In addition, I also have some virtual fonts (.vf) that have been created for Lucida fonts for the particular encondings (namely ec). 
In ConTeXt, you need to write the font definitions, so-called typescripts.
I must confess it took me quite much time and testing to understand how typescripts work and make myself a bit familiar with them!

If you want, contact me off-list and we can discuss the particular issues.

-Richard



  _____  

From: Henk Koster [mailto:H.A.J.Koster@xs4all.nl]
To: ntg-context@ntg.nl
Sent: Thu, 01 Dec 2005 11:20:33 +0100
Subject: [NTG-context] LucidaBright fonts...I'm stumped

I've been using teTeX - LaTeX - LucidaBright fonts for many years, but am
unable to make these fonts work in ConTeXt. My present setup after installing
teTeX (a Debian or Ubuntu package):

1. Make a directory /usr/local/share/texmf/fonts/type1/yandy

2. Copy the LB .pfb files to subdirectories lubright, lucida, lucidfax,
   lucsans and lumath

3. Run texhash

and everything works fine in LaTeX -- I only have to specify
\usepackage{lucidbry} in the preamble of my documents. Couldn't be easier.

I've read through some of the archived messages on this newsgroup for
clues for making LB fonts work with ConTeXt, I have even tried following
the suggested steps, but no dice. Could someone here please list the
precise steps required to get from my above teTeX setup to one that works
in ConTeXt?

-- 
H.A.J. Koster
"Behavioral axioms are right, but agents make mistakes..."
(attributed to L.J. Savage)



_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
  

[-- Attachment #1.2: Type: text/html, Size: 2514 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Re: LucidaBright fonts...I'm stumped
  2005-12-01 12:38 ` Henk Koster
@ 2005-12-02 13:39   ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2005-12-02 13:39 UTC (permalink / raw)


Henk Koster wrote:

>As a follow-up to my earlier message...
>
>I don't understand why ConTeXt cannot use the LB .afm/.pfb/.tfm files that
>are already present (for the texnansi encoding) in my LaTeX setup. Why
>does texfont need to duplicate all these files? Does ConTeXt not use the
>directory path search of teTeX? 
>  
>
we are using lb fonts for many year snow, and i'm not going to change my 
setups -)

also, in the past texnansi metrics were not shipped consistently with 
tex distributions; i've been bitten by this a few times

keep in mind that most of those metrics originate in the latex world, so 
when something changes, the authors probably also patch the latex part 
of it; i'm out of that loop so i want to play safe;

>It seems to me that, in my case, texfonts only needs to generate files
>that are peculiar to ConTeXt, like "texnansi-yandy-lucida.tex and
>  
>
that' sjust a text file

>.map", and further use the .afm, .pfb and .tfm files that are already
>  
>
indeed we have such map files because

(1) we needed them
(2) we want non conflicting specs
(3) we only want to load what is needed (older pdftex versions are slow 
on big files)
(4) in future releaes the map files will go away, and we will use 
mapline specs at runtime)
(5) in case you wonder about updmap: it was not present when texfont 
came around, and is limited in its options
(6) i want context to be able to work with the tons of commercial fonts 
out there (tex distributions only support a neglectable fraction of 
commercial fonts)

as it happens, lucida is known to tex  people and therefore has support, 
but that's not true for many other fonts

>present -- is there a way to do that?  
>
>  
>
sure, just map those long names to the ones you want, so, make a list of 
mappings

   grep berry type-*.tex

will show you how. We can make a [berry][lucida][texnansi] typescript 
which can be used for those who want (in that case you also need to 
provide a proper map file for only the lucida fonts)

so .. no problem in adding that support, but others have to do the work -)

Hans

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

* Re: LucidaBright fonts...I'm stumped
  2005-12-02 10:32 ` Richard Gabriel
@ 2005-12-02 15:34   ` Hans Hagen
  2005-12-02 15:50     ` Taco Hoekwater
  2005-12-02 20:37     ` Henk Koster
  0 siblings, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2005-12-02 15:34 UTC (permalink / raw)


Richard Gabriel wrote:

> Hello Henk,
>
> I reply to your request only beacause I'm also using the Lucida Bright 
> fonts.
> At least, you must also have the appropriate .tfm files for your fonts.
> In addition, I also have some virtual fonts (.vf) that have been 
> created for Lucida fonts for the particular encondings (namely ec).
> In ConTeXt, you need to write the font definitions, so-called typescripts.
> I must confess it took me quite much time and testing to understand 
> how typescripts work and make myself a bit familiar with them!
>
> If you want, contact me off-list and we can discuss the particular issues.

i'm wondering ... do the lucida font nowadays ship with the math 
specific tfm files (that used to be the case)

Hans

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

* Re: LucidaBright fonts...I'm stumped
  2005-12-02 15:34   ` Hans Hagen
@ 2005-12-02 15:50     ` Taco Hoekwater
  2005-12-02 16:21       ` Hans Hagen
  2005-12-02 20:37     ` Henk Koster
  1 sibling, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2005-12-02 15:50 UTC (permalink / raw)



That one even I know how to answer:

The Lucida's don't ship with math at the moment. The only
LB you can get at the moment is the Bigelow & Holmes version,
and that doesn't have the Y&Y math PFB's even.

The Y and Y version to be released by TUG is still under
negotiation (afaik), and it has not been released yet.

Anyway, I more than half expect that to become a package by Walter 
Schmidt with VF files and without backward compatibility to the
Y and Y offering  (just like the new mathtime pro release)

Taco

Hans Hagen wrote:
> Richard Gabriel wrote:
> 
>> Hello Henk,
>>
>> I reply to your request only beacause I'm also using the Lucida Bright 
>> fonts.
>> At least, you must also have the appropriate .tfm files for your fonts.
>> In addition, I also have some virtual fonts (.vf) that have been 
>> created for Lucida fonts for the particular encondings (namely ec).
>> In ConTeXt, you need to write the font definitions, so-called 
>> typescripts.
>> I must confess it took me quite much time and testing to understand 
>> how typescripts work and make myself a bit familiar with them!
>>
>> If you want, contact me off-list and we can discuss the particular 
>> issues.
> 
> 
> i'm wondering ... do the lucida font nowadays ship with the math 
> specific tfm files (that used to be the case)
> 
> Hans
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: LucidaBright fonts...I'm stumped
  2005-12-02 15:50     ` Taco Hoekwater
@ 2005-12-02 16:21       ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2005-12-02 16:21 UTC (permalink / raw)


Taco Hoekwater wrote:

>
> That one even I know how to answer:
>
> The Lucida's don't ship with math at the moment. The only
> LB you can get at the moment is the Bigelow & Holmes version,
> and that doesn't have the Y&Y math PFB's even.
>
> The Y and Y version to be released by TUG is still under
> negotiation (afaik), and it has not been released yet.
>
> Anyway, I more than half expect that to become a package by Walter 
> Schmidt with VF files and without backward compatibility to the
> Y and Y offering  (just like the new mathtime pro release)

i assume that the pfb files will be left untouched so we can still use 
the existing metrics and such; i hate to break compatibility

Hans

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

* Re: LucidaBright fonts...I'm stumped
  2005-12-02 15:34   ` Hans Hagen
  2005-12-02 15:50     ` Taco Hoekwater
@ 2005-12-02 20:37     ` Henk Koster
  2005-12-04 21:10       ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Henk Koster @ 2005-12-02 20:37 UTC (permalink / raw)


On Fri, 02 Dec 2005 16:34:07 +0100, Hans Hagen wrote:

> i'm wondering ... do the lucida font nowadays ship with the math 
> specific tfm files (that used to be the case)
> 
> Hans

Well, my copy of the LB (and LB Expert) fonts dates from 1993 (on
floppies), although Y&Y sent me a free update with the Euro glyphs a few
years ago. Yes, they came with all sorts of tfm-files and even tft-files
(huh?), and also pfa-files (that I've long since converted to pfb-files). 

I'm grateful for all the responses that I've been getting. I hope that I
don't offend people by saying that I don't like the steep learning curve
required to get the LB fonts ready for use in ConTeXt documents;
especially not since the newly acquired knowledge becomes useless to me
the moment it has been succesfully applied... That would be the third time
since doing my dissertation in the original TeX, further work in LaTeX,
and now possibly in ConTeXt.
 
Hans, you said that you posted an updated version of cont-fnt.zip, but all
I could find was the 1-12-2005 version without texnansi fmt-files (only
the ec ones). Anyway, I have enough information now to apply the LB fonts
if I choose to do so. Again, many thanks for the response.

Henk Koster

-- 
H.A.J. Koster
"Behavioral axioms are right, but agents make mistakes..."
(attributed to L.J. Savage)

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

* Re: Re: LucidaBright fonts...I'm stumped
  2005-12-02 20:37     ` Henk Koster
@ 2005-12-04 21:10       ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2005-12-04 21:10 UTC (permalink / raw)


Henk Koster wrote:

>Hans, you said that you posted an updated version of cont-fnt.zip, but all
>I could find was the 1-12-2005 version without texnansi fmt-files (only
>the ec ones). Anyway, I have enough information now to apply the LB fonts
>if I choose to do so. Again, many thanks for the response.
>  
>
ah, a mess up, i'll repair that

Hans

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

end of thread, other threads:[~2005-12-04 21:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-01 10:20 LucidaBright fonts...I'm stumped Henk Koster
2005-12-01 12:38 ` Henk Koster
2005-12-02 13:39   ` Hans Hagen
2005-12-01 12:52 ` Hans Hagen
2005-12-02 10:32 ` Richard Gabriel
2005-12-02 15:34   ` Hans Hagen
2005-12-02 15:50     ` Taco Hoekwater
2005-12-02 16:21       ` Hans Hagen
2005-12-02 20:37     ` Henk Koster
2005-12-04 21:10       ` 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).