Am 21.05.2014 um 21:10 schrieb Mikael P. Sundqvist <mic...@gmail.com>:

> On Wed, May 21, 2014 at 9:01 PM, Otared Kavian <ota...@gmail.com> wrote:
>> Since other people may benefit from it, I would like to update the wiki on 
>> the matter. But actually I do not understand what does the « range » mean in 
>> the example
>>        
>> [range={1D49C-1D4CF,212C,2130,2131,210B,2110,2112,2133,211B,212F,210A,2134}]
>> Could you please give a brief explanation so that I don’t write nonsense on 
>> the wiki?
>> 
>> Best regards: OK
> 
> 
> I'm glad it helped. The range gives the unicode slots where these
> letters "live".
> 
> Hans: Maybe this is a stupid suggestion, but could it be possible to have
> 
> \definefontfamilypreset [math:lowercasecalligraphic]
> as range={1D4B6-1D4CF,212F,210A,2134}
> and
> \definefontfamilypreset [math:uppercasecalligraphic]
> as range={1D49C-1D4B5,212C,2130,2131,210B,2110,2112,2133,211B}
> ?
> 
> Otared, If what I write above makes sense, then the setup will be the
> more readable
> 
> \definefallbackfamily[mainface][math][Asana
> Math][range={lowercasecalligraphic,uppercasecalligraphic}]
> \definefontfamily [mainface] [rm] [palatino]
> \definefontfamily [mainface] [math] [Latin Modern Math]
> \setupbodyfont[mainface]

This does already exist, take a look into math-act.lua.

The presets are only needed when you want to use a text font as fallback 
because you have to set more values.

Wolfgang
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to