ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [Newbie] Fonts!
@ 2005-12-06 11:48 Fabio Mancinelli
  2005-12-06 11:59 ` Richard Gabriel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabio Mancinelli @ 2005-12-06 11:48 UTC (permalink / raw)


Hello all.

Maybe this is a trivial question but I cannot understand what's going on.
I've read the mfonts.pdf and I tried to compile the following file:

\usetypescript[palatino]
\switchtobodyfont[palatino,11pt]
\starttext
Hello world
\stoptext

It works. Changing palatino to whatever other font name (even non-existant ones
like hfdjfh!) produces the same output. I used also the \setupbodyfont but same
result. texexec always says bodyfont: 12pt rm is loaded no matter what I
specify.

So the question is: how do I actually change the font my document is typeset in?

Thank you.
Fabio

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

* Re: [Newbie] Fonts!
  2005-12-06 11:48 [Newbie] Fonts! Fabio Mancinelli
@ 2005-12-06 11:59 ` Richard Gabriel
  2005-12-06 12:29 ` Taco Hoekwater
  2005-12-06 12:46 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Gabriel @ 2005-12-06 11:59 UTC (permalink / raw)



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

Hi Fabio,

it seems as a problem in your typescripts somewhere. 
I recommend you the Bill McClain's ConTeXt beginners manual:

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

It is IMHO the best documentation on fonts and typescripts.

Try to test your fonts step by step (starting with the simple \font command) - you'll soon find error like missinf TFM files, MAP files problems and so on...

Good luck!

-Richard




  _____  

From: Fabio Mancinelli [mailto:mancinel@di.univaq.it]
To: ConTeXt list [mailto:ntg-context@ntg.nl]
Sent: Tue, 06 Dec 2005 12:48:05 +0100
Subject: [NTG-context] [Newbie] Fonts!

Hello all.

Maybe this is a trivial question but I cannot understand what's going on.
I've read the mfonts.pdf and I tried to compile the following file:

\usetypescript[palatino]
\switchtobodyfont[palatino,11pt]
\starttext
Hello world
\stoptext

It works. Changing palatino to whatever other font name (even non-existant ones
like hfdjfh!) produces the same output. I used also the \setupbodyfont but same
result. texexec always says bodyfont: 12pt rm is loaded no matter what I
specify.

So the question is: how do I actually change the font my document is typeset in?

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

[-- Attachment #1.2: Type: text/html, Size: 2032 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] 4+ messages in thread

* Re: [Newbie] Fonts!
  2005-12-06 11:48 [Newbie] Fonts! Fabio Mancinelli
  2005-12-06 11:59 ` Richard Gabriel
@ 2005-12-06 12:29 ` Taco Hoekwater
  2005-12-06 12:46 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2005-12-06 12:29 UTC (permalink / raw)


Fabio Mancinelli wrote:
> Hello all.
> 
> Maybe this is a trivial question but I cannot understand what's going on.

Not competely trivial, but it is a recurring theme, for sure.
First, here is an input file that should actually work:

   \usetypescript[adobekb][8r,ec]
   \usetypescript[palatino][ec]
   \switchtobodyfont[palatino,11pt]
   \starttext
   Hello world
   \stoptext

The problem with your input is that you have to specify
an encoding (or a set of encodings) to \usetypescript. That's what
the extra "[ec]" is for on the second line of my example.

The other problem is that you do not have palatino
installed in way that is usable by a default ConTeXt
installation. For palatino to work, you have three
options :

   a. install the font family using texfont
   b. download cont-fnt.zip from the pragma site
   c. load the latex psnfss compatibity typescripts (as above)

More on this is on the Wiki,

     http://wiki.contextgarden.net/Fonts

Cheers, Taco

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

* Re: [Newbie] Fonts!
  2005-12-06 11:48 [Newbie] Fonts! Fabio Mancinelli
  2005-12-06 11:59 ` Richard Gabriel
  2005-12-06 12:29 ` Taco Hoekwater
@ 2005-12-06 12:46 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2005-12-06 12:46 UTC (permalink / raw)


Fabio Mancinelli wrote:

>Hello all.
>
>Maybe this is a trivial question but I cannot understand what's going on.
>I've read the mfonts.pdf and I tried to compile the following file:
>
>\usetypescript[palatino]
>  
>
\usetypescript[palatino][ec] % or whatever encoding you need

>\switchtobodyfont[palatino,11pt]
>\starttext
>Hello world
>\stoptext
>
>It works. Changing palatino to whatever other font name (even non-existant ones
>like hfdjfh!) produces the same output. I used also the \setupbodyfont but same
>result. texexec always says bodyfont: 12pt rm is loaded no matter what I
>specify.
>
>So the question is: how do I actually change the font my document is typeset in?
>
>Thank you.
>Fabio
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>  
>

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

end of thread, other threads:[~2005-12-06 12:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-06 11:48 [Newbie] Fonts! Fabio Mancinelli
2005-12-06 11:59 ` Richard Gabriel
2005-12-06 12:29 ` Taco Hoekwater
2005-12-06 12:46 ` 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).