Re: [NTG-context] How to use PostScript font

2004-08-19 Thread Steve Peter
On Aug 19, 2004, at 8:06 PM, Nigel King wrote:
Very quietly shhh - I just wish some one would make TeXFont work in 
Mac OSX from GW.
What about it doesn't work? I use it to install fonts into my gwTeX 
layout on Mac OS X.

Steve
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-19 Thread Nigel King
Very quietly shhh - I just wish some one would make TeXFont work in Mac 
OSX from GW.

Nigel
On 19 Aug 2004, at 14:40, Mari Voipio wrote:
(I just wish
somebody made TeXFont work in Windows...).
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-19 Thread Mari Voipio
On Thu, 19 Aug 2004 [EMAIL PROTECTED] wrote:

> None of the commands that I was told worked.  I donT think its my
> installation.  To my surprise, the following does not work at
> live.contextgarden.net.  If you see the log file, it says that the TFM
> file not found.

You just missed one critical row that makes things work both in
live.contextgarden.net and at least in my own installation (I just wish
somebody made TeXFont work in Windows...). Patrick mentioned this
yesterday, but perhaps you haven't seen the message?

Try this:
\usetypescript[adobekb][ec] %or whatever your encoding is
> \setupbodyfont[pos]
> \starttext
> The quick brown fox jumps over the lazy dog.
> \stoptext


If that works on your computer (I *know* it works in contextgarden as I
found out about it by trial and error, a note in cont-sys.rme/cont-sys.tex
led me to the right track), try this (works in contextgarden):

---

\usetypescript[adobekb][ec] % THIS does the magic
\usetypescript[palatino][ec]
\setupbodyfont[palatino,12pt]

\starttext

The quick brown fox jumps over the lazy dog.

ÅÄÖ åäö

\stoptext

---


[I always use the diacritics of my native language(s) Finnish and Swedish
as Computer Modern doesn't have them - if the diacritics turn up in the
pdf file, the font settings work.]


Good luck from a font-fighting fellow,


Mari
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-19 Thread skhilji
None of the commands that I was told worked.  I donT think its my installation.  To my 
surprise, the following does not work at live.contextgarden.net.  If you see the log 
file, it says that the TFM file not found.  Even the server at contextgarden is 
missing the package that I am missing from my system

\usetypescript[berry][ec] % or [8r]
\setupbodyfont[pos]
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-18 Thread Matt Gushee
On Wed, Aug 18, 2004 at 03:16:43PM -0400, [EMAIL PROTECTED] wrote:

> Someone suggsted that I use the actual font names.  So I tried:

That would be me. But what I really meant was that you may need to know
those names in order to solve the problem, not that you can expect to
use them directly in ConTeXt.

Now I would say you should use a typescript if you can. There's no real
benefit to using low-level font commands except that you might avoid the
need to create typescripts. Because it looks to me like you probably
need to either change the names of the fonts to conform to the built-in
typescripts, or write your own typescript. The former could cause
trouble if you ever want to use the fonts in LaTeX, so you're probably
better off writing your own typescript. It's a bit weird at first, but
really quite easy when you get used to it; hmm--let me give you a
sample: I'll attach below my Palatino typescript. I haven't used it much
lately, so I can't recall if it works 100%, but it might help you get
started. I also use TeTeX on Linux, so it might be usable as is.

For more info, there's a Fonts in ConTeXt manual that tells you most of
what you need to know, and then Bill McClain has some good examples on
the Web ... I believe his site is
.

Fonts in TeX take a while to master, but once you do, life is great! (I
think ... I hope ... I'll let you know when I get there ;-)

--  type-palatino.tex  -
\usetypescriptfile[type-buy]

\starttypescript [serif] [palatino] [8r]
\usetypescript[serif][fallback]
\definefontsynonym [Palatino-Roman] [pplr8r]  [encoding=8r]
\definefontsynonym [Palatino-Bold]  [pplb8r]  [encoding=8r]
\definefontsynonym [Palatino-Italic][pplri8r] [encoding=8r]
\definefontsynonym [Palatino-Bold-Italic]   [pplbi8r] [encoding=8r]
\definefontsynonym [Palatino-Slanted]   [pplro8r] [encoding=8r]
\definefontsynonym [Palatino-Bold-Slanted]  [pplbo8r] [encoding=8r]
\definefontsynonym [Palatino-Caps]  [pplrc8t] [encoding=8t]
\stoptypescript

\starttypescript [serif] [palatino] [name]
\definefontsynonym [Serif][Palatino-Roman]
\definefontsynonym [SerifBold][Palatino-Bold]
\definefontsynonym [SerifItalic]  [Palatino-Italic]
\definefontsynonym [SerifBoldItalic]  [Palatino-Bold-Italic]
\definefontsynonym [SerifSlanted] [Palatino-Slanted]
\definefontsynonym [SerifBoldSlanted] [Palatino-Bold-Slanted]
\definefontsynonym [SerifCaps][Palatino-Caps]
\stoptypescript

\starttypescript[PalatinoFace]
\definetypeface [Palatino] [rm] [serif] [palatino] [default] [encoding=8r]
\stoptypescript

-- 
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USAHorses bear manure through
[EMAIL PROTECTED]   its fields;
http://www.havenrock.com/   When a nation ignores the Way,
Horses bear soldiers through
its streets.

--Lao Tzu (Peter Merel, trans.)
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-18 Thread Bill McClain
On Wed, 18 Aug 2004 15:16:43 -0400
[EMAIL PROTECTED] wrote:

> I get errors.  I am using Fedora Core 2 with teTex 2.02.  The error
> messages follow this message.

I'm using TeXLive 7 and this works for me:

\usetypescript[berry][ec] % or [8r]
\usetypescript[palatino][ec] %
\setupbodyfont[palatino]

I have other typeface examples in the "Predefined fonts" section of this
document:

http://home.salamander.com/~wmcclain/context-help.html

-Bill
-- 
Sattre Press  Tales of War
http://sattre-press.com/   by Lord Dunsany
[EMAIL PROTECTED] http://sattre-press.com/tow.html
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-18 Thread skhilji
- Original Message -
From: Hans Hagen <[EMAIL PROTECTED]>
Date: Wednesday, August 18, 2004 11:02 am
Subject: Re: [NTG-context] How to use PostScript font

> >  
> >
> [ppl,12pt]
> 
> may work, but nowadays we say: 
> 
> \usentypescript[palatino][\defaultencoding]
> \setupbodyfont[palatino,12pt]

With this:

\setupbodyfont[ppl,12pt]  
\starttext
The quick brown fox jumps over the lazy dog.
\stoptext

I get errors.  I am using Fedora Core 2 with teTex 2.02.  The error messages follow 
this message.

I also tried:

\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]

without any luck.

Someone suggsted that I use the actual font names.  So I tried:

\setupbodyfont[uplr8a,12pt]

and it generated an error message something like: 
"bodyfont   : unknown variant uplr8a"



Here are the error messages using [ppl,12pt]:



kpathsea: Running mktexmf ec-uplr8a
! I can't find file `ec-uplr8a'.
<*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a
   
Please type another input file name
! Emergency stop.
<*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a
   
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ec-uplr8a' 
failed.
kpathsea: Appending font creation commands to missfont.log.
 
! Font \*12ptrmtf*=ec-uplr8a at 12.0pt not loadable: Metric (TFM) file not foun
d.
...
...
...
l.2   [ppl,12pt]
 
?









___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-18 Thread Matt Gushee
On Wed, Aug 18, 2004 at 05:02:00PM +0200, Hans Hagen wrote:
> [EMAIL PROTECTED] wrote:
> 
> >I'd like to use the paladino font from urw as my body font (Its the one 
> >used in the MetaFUN manual).  I tried setting:
> >
> >\setupbodyfont[pos,12pt]
> >
> >but it does not work.  What is the name that I should use?
> > 
> >
> [ppl,12pt]
> 
> may work, but nowadays we say: 
> 
> \usentypescript[palatino][\defaultencoding]
> \setupbodyfont[palatino,12pt]

It should be noted (with apologies if this is too obvious) that while
ConTeXt attempts to provide a simple, high-level font handling
interface--and does a very good job, all things considered--it can't do
magic. Either of the above techniques depends on font names that are
defined outside of ConTeXt--by the underlying TeX distribution, by you,
the user, or by a local administrator. So if neither of Hans' solutions
works, you will just have to dig into your TeX font directory (e.g.
/usr/local/share/texmf/fonts if you are on Linux--don't know for
Windows) and find out the exact file names.

-- 
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USAHorses bear manure through
[EMAIL PROTECTED]   its fields;
http://www.havenrock.com/   When a nation ignores the Way,
Horses bear soldiers through
its streets.

--Lao Tzu (Peter Merel, trans.)
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to use PostScript font

2004-08-18 Thread Hans Hagen
[EMAIL PROTECTED] wrote:
I'd like to use the paladino font from urw as my body font (Its the one used in the 
MetaFUN manual).  I tried setting:
\setupbodyfont[pos,12pt]
but it does not work.  What is the name that I should use?
 

[ppl,12pt]
may work, but nowadays we say: 

\usentypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]
-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to use PostScript font

2004-08-17 Thread skhilji
I'd like to use the paladino font from urw as my body font (Its the one used in the 
MetaFUN manual).  I tried setting:

\setupbodyfont[pos,12pt]

but it does not work.  What is the name that I should use?


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context