ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font problem and font question
@ 2008-09-14 21:01 Eric DÉTREZ
  2008-09-14 21:17 ` Thomas A. Schmitz
  2008-09-15  3:30 ` Aditya Mahajan
  0 siblings, 2 replies; 4+ messages in thread
From: Eric DÉTREZ @ 2008-09-14 21:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello again

In Context Manual it is said that we can define new fonts.
There is an example : \definebodyfont[10pt,11pt,12pt][rm][tfe =  
Regular at 48pt]
I tried the text :
***************************************
\definebodyfont[10pt,11pt,12pt][rm][tfe = Regular at 48pt]

\starttext

\tfe gros texte

\stoptext
***************************************

and the compiler answers
***************************************
! Undefined control sequence
I.5 \tfe
           gros texte
***************************************

I don't understand .



Now a font question :

is it a way to define casual (or cs) as italic, boldface or  
handwriting ?

I wish to type {\cs casual} to get the world "casual" written with my  
LucideCasual font.

Thank's for any enlightment
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Font problem and font question
  2008-09-14 21:01 Font problem and font question Eric DÉTREZ
@ 2008-09-14 21:17 ` Thomas A. Schmitz
  2008-09-15  3:30 ` Aditya Mahajan
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2008-09-14 21:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Sep 14, 2008, at 11:01 PM, Eric DÉTREZ wrote:

> Hello again
>
> In Context Manual it is said that we can define new fonts.
> There is an example : \definebodyfont[10pt,11pt,12pt][rm][tfe =
> Regular at 48pt]

That's not true. The manual says you can define new fonts as

\definebodyfont [10pt,11pt,12pt] [rm] [tfe=Regular at 48pt]

and this works as advertised. You must give ConTeXt a chance to  
understand that you're using a key=value assignment.

Thomas
>
>
> Now a font question :
>
> is it a way to define casual (or cs) as italic, boldface or
> handwriting ?
>
> I wish to type {\cs casual} to get the world "casual" written with my
> LucideCasual font.
>
> Thank's for any enlightment
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Font problem and font question
  2008-09-14 21:01 Font problem and font question Eric DÉTREZ
  2008-09-14 21:17 ` Thomas A. Schmitz
@ 2008-09-15  3:30 ` Aditya Mahajan
  1 sibling, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2008-09-15  3:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 636 bytes --]

On Sun, 14 Sep 2008, Eric DÉTREZ wrote:

> Hello again
>
> In Context Manual it is said that we can define new fonts.
> There is an example : \definebodyfont[10pt,11pt,12pt][rm][tfe =
> Regular at 48pt]

Careful with the spaces around = in key=value options in ConTeXt. As a 
rule of thumb, *never* surround the = with spaces.

> I tried the text :
> ***************************************
> \definebodyfont[10pt,11pt,12pt][rm][tfe = Regular at 48pt]

(I broke it across lines so that the email reader does not mess around the 
spacing)

\definebodyfont[10pt,11pt,12pt][rm]
 	       [tfe=Regular at 48pt]


Aditya

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Font problem and font question
@ 2008-09-14 20:49 Eric DÉTREZ
  0 siblings, 0 replies; 4+ messages in thread
From: Eric DÉTREZ @ 2008-09-14 20:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello again

In Context Manual it is said that we can define new fonts.
There is an example : \definebodyfont[10pt,11pt,12pt][rm][tfe =  
Regular at 48pt]
I tried the text :
***************************************
\definebodyfont[10pt,11pt,12pt][rm][tfe = Regular at 48pt]

\starttext

\tfe gros texte

\stoptext
***************************************

and the compiler answers
***************************************
! Undefined control sequence
I.5 \tfe
            gros texte
***************************************

I don't understand .



Now a font question :

is it a way to define casual (or cs) as italic, boldface or  
handwriting ?

I wish to type {\cs casual} to get the world "casual" written with my  
LucideCasual font.

Thank's for any enlightment
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-09-15  3:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-14 21:01 Font problem and font question Eric DÉTREZ
2008-09-14 21:17 ` Thomas A. Schmitz
2008-09-15  3:30 ` Aditya Mahajan
  -- strict thread matches above, loose matches on Subject: below --
2008-09-14 20:49 Eric DÉTREZ

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