[NTG-context] Re: what am I missing in the typescript?

2024-05-15 Thread Wolfgang Schuster

madiazm.eo...@gmail.com schrieb am 15.05.2024 um 14:01:

indeed! thanks a lot, I'm trying different things since yesterday and got no 
clues...

I just adapted it to the other script that works good (and there reads 
[SerifRegular]...[SerifItalic]...[SerifBold]...

why is no Regular needed here? (just trying to learn)


Below is a snippet from font-unk.mkxl where you can see which names are 
mapped
to a certain font alternative, e.g. \tf (the normal upright style) 
expect a fontsynonym

with the name Serif.

\definebodyfont [default] [rm]
  [\s!tf=Serif    sa 1,
   \s!bf=SerifBold    sa 1,
   \s!it=SerifItalic  sa 1,
   \s!sl=SerifSlanted sa 1,
   \s!bi=SerifBoldItalic  sa 1,
   \s!bs=SerifBoldSlanted sa 1,
   \s!sc=SerifCaps    sa 1] % obsolete, is a font feature now

Wolfgang

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: what am I missing in the typescript?

2024-05-15 Thread madiazm . eoicc
indeed! thanks a lot, I'm trying different things since yesterday and got no 
clues...

I just adapted it to the other script that works good (and there reads 
[SerifRegular]...[SerifItalic]...[SerifBold]...

why is no Regular needed here? (just trying to learn)

thanks in advance
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: what am I missing in the typescript?

2024-05-15 Thread Taco Hoekwater



> On 15 May 2024, at 13:38, madiazm.eo...@gmail.com wrote:
> 
> 
> \definefontsynonym [SerifRegular] [Cormorant-Regular]
> [features=default]

The line above should read:

> \definefontsynonym [Serif] [Cormorant-Regular]
> [features=default]

Best wishes,
Taco

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___