Font problem and font question
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
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 ___________________________________________________________________________________
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
participants (3)
-
Aditya Mahajan
-
Eric DÉTREZ
-
Thomas A. Schmitz