ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* disappeared fontstyle command?
@ 2009-08-18 16:36 Hans van der Meer
  2009-08-19  7:08 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Hans van der Meer @ 2009-08-18 16:36 UTC (permalink / raw)
  To: NTG ConTeXt


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

This used to define command \fx in a typescript:
  \definefontstyle [fax] [fx]
  \definestyle [fax] [\fx] []

However MKIV produces an undefined control sequence \fx.
What happened?

Hans van der Meer





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

[-- 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] 5+ messages in thread

* Re: disappeared fontstyle command?
  2009-08-18 16:36 disappeared fontstyle command? Hans van der Meer
@ 2009-08-19  7:08 ` Hans Hagen
  2009-08-19  9:34   ` Hans van der Meer
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2009-08-19  7:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans van der Meer wrote:
> This used to define command \fx in a typescript:
>  \definefontstyle [fax] [fx]
>  \definestyle [fax] [\fx] []
> 
> However MKIV produces an undefined control sequence \fx.
> What happened?

actual definition of those commands is delayed so in order to test what 
is wrong a more complete example is needed

btw, you can say:

\definefontstyle [fx,fax] [fx]

Hans


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 5+ messages in thread

* Re: disappeared fontstyle command?
  2009-08-19  7:08 ` Hans Hagen
@ 2009-08-19  9:34   ` Hans van der Meer
  2009-08-19  9:57     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Hans van der Meer @ 2009-08-19  9:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Let me be more specific.
For handwriting I can do \setupbodyfont[luci,10pt,hw] and get  
everything in handwriting, or {\hw ...} for local handwriting. The  
typescript for handwriting is:
\starttypescript [handwriting] [lucibr] [name]
	\definebodyfont 	[default] [hw] [tf=Handwriting sa 1]
	\definefontsynonym	[Handwriting] [LucidaHandwriting-Italic]
	\definefontsynonym	[LucidaHandwriting-Italic] [file:lbh.tfm]
\stoptypescript
and there is:
	\definetypeface [luci][hw]	[handwriting]	[lucibr][default]
	\definetypeface [luci][fx]	[fax]		[lucibr][default]


For the fax (fx) type I did add the same sort of typescript for the  
font plus for the size
\starttypescript [fax] [lucibr] [name]	\tracetypescript
	\definebodyfont
		[4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt,24pt]
		[fx] [default]
\stoptypescript

Addition of \definefontstyle [fx,fax][fx] make no difference.  
\setupbodyfont[luci,10pt,fx] has no effect and {\fx ...} crashes on an  
undefined \fx.

By the way. Font variants like \variant[blackletter] used to worked. I  
had serif typescript additions for it:
	\definefontvariant [Serif] [blackletter] [-Blackletter]
	\definefontsynonym [Serif-Blackletter] [LucidaBlackletter]
and the accompanying reference to the tfm.
Has this changed in mkiv too?

I hope this information will enable the answer. Either crushing my  
hopes for an easy solution or pointing out the way to go ;-)

On 19 aug 2009, at 09:08, Hans Hagen wrote:

> Hans van der Meer wrote:
>> This used to define command \fx in a typescript:
>> \definefontstyle [fax] [fx]
>> \definestyle [fax] [\fx] []
>> However MKIV produces an undefined control sequence \fx.
>> What happened?
>
> actual definition of those commands is delayed so in order to test  
> what is wrong a more complete example is needed
>
> btw, you can say:
>
> \definefontstyle [fx,fax] [fx]
>
> Hans
>

Hans van der Meer


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

[-- 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] 5+ messages in thread

* Re: disappeared fontstyle command?
  2009-08-19  9:34   ` Hans van der Meer
@ 2009-08-19  9:57     ` Hans Hagen
  2009-08-19 10:29       ` Hans van der Meer
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2009-08-19  9:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans van der Meer wrote:
> Let me be more specific.
> For handwriting I can do \setupbodyfont[luci,10pt,hw] and get everything 
> in handwriting, or {\hw ...} for local handwriting. The typescript for 
> handwriting is:
> \starttypescript [handwriting] [lucibr] [name]
>     \definebodyfont     [default] [hw] [tf=Handwriting sa 1]
>     \definefontsynonym    [Handwriting] [LucidaHandwriting-Italic]
>     \definefontsynonym    [LucidaHandwriting-Italic] [file:lbh.tfm]
> \stoptypescript
> and there is:
>     \definetypeface [luci][hw]    [handwriting]    [lucibr][default]
>     \definetypeface [luci][fx]    [fax]        [lucibr][default]
> 
> 
> For the fax (fx) type I did add the same sort of typescript for the font 
> plus for the size
> \starttypescript [fax] [lucibr] [name]    \tracetypescript
>     \definebodyfont
>         [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt,24pt]
>         [fx] [default]
> \stoptypescript
> 
> Addition of \definefontstyle [fx,fax][fx] make no difference. 
> \setupbodyfont[luci,10pt,fx] has no effect and {\fx ...} crashes on an 
> undefined \fx.
> 
> By the way. Font variants like \variant[blackletter] used to worked. I 
> had serif typescript additions for it:
>     \definefontvariant [Serif] [blackletter] [-Blackletter]
>     \definefontsynonym [Serif-Blackletter] [LucidaBlackletter]
> and the accompanying reference to the tfm.
> Has this changed in mkiv too?

Actually, i never tested it (never used it either) and i wonder if it 
still makes sense to keep it in mkiv. I might as well kick it out as we 
have features now.

> I hope this information will enable the answer. Either crushing my hopes 
> for an easy solution or pointing out the way to go ;-)


> On 19 aug 2009, at 09:08, Hans Hagen wrote:
> 
>> Hans van der Meer wrote:
>>> This used to define command \fx in a typescript:
>>> \definefontstyle [fax] [fx]
>>> \definestyle [fax] [\fx] []
>>> However MKIV produces an undefined control sequence \fx.
>>> What happened?

and does \hw work ok?

Hans

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 5+ messages in thread

* Re: disappeared fontstyle command?
  2009-08-19  9:57     ` Hans Hagen
@ 2009-08-19 10:29       ` Hans van der Meer
  0 siblings, 0 replies; 5+ messages in thread
From: Hans van der Meer @ 2009-08-19 10:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Yes, \hw does what it is supposed to do. {\hw ...} typesets in the  
handwriting font. {\cg ...} also works.

On 19 aug 2009, at 11:57, Hans Hagen wrote:

>>
>> On 19 aug 2009, at 09:08, Hans Hagen wrote:
>>> Hans van der Meer wrote:
>>>> This used to define command \fx in a typescript:
>>>> \definefontstyle [fax] [fx]
>>>> \definestyle [fax] [\fx] []
>>>> However MKIV produces an undefined control sequence \fx.
>>>> What happened?
>
> and does \hw work ok?
>
> Hans

met vriendelijke groet
Hans van der Meer





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

[-- 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] 5+ messages in thread

end of thread, other threads:[~2009-08-19 10:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18 16:36 disappeared fontstyle command? Hans van der Meer
2009-08-19  7:08 ` Hans Hagen
2009-08-19  9:34   ` Hans van der Meer
2009-08-19  9:57     ` Hans Hagen
2009-08-19 10:29       ` Hans van der Meer

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