No one? Is there a documentation somewhere or an example I could refer to?

Thanks in advance,

Antoine

On 23 January 2017 at 12:48, Antoine Cailliau <antoinecaill...@gmail.com>
wrote:

> Hi,
>
> I'm trying to declare a new font style. I declare it with \definefontstyle
> [sx] [sx] but the compilation fails when I use \sx in my document.
>
> I found an older message from 2009 similar to my issue but with public
> solution. May be some private response from Hans Hagen is missing? (
> https://mailman.ntg.nl/pipermail/ntg-context/2009/043067.html)
>
> Here is a minimal example:
>
> \definefontstyle [sx] [sx]
> \definetypeface  [source] [sx] [semiextended] [myriadpro] [optical]
>
> \starttypescript [semiextended] [optical] [size]
>   \definebodyfont [11pt] [sx] [tf=SansSemiExtended sa 1]
> \stoptypescript
>
> \starttypescript [semiextended] [myriadpro]
> \definefontsynonym [SansSemiExtended] [file:MyriadPro-SemiExt.otf]
> [features=default]
> \stoptypescript
>
> \starttext
>
> {\sx ABCDEFGHIJKLM\par
> NOPQRSTUVWXYZ\par
> abcdefghijklm\par
> nopqrstuvwxyz\par
> 1234567890}
>
> \stoptext
>
> Thanks for your help,
>
> Antoine C.
>
>
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to