ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Greek letter fall back for math
@ 2016-03-10 14:34 Alan Bowen
  2016-03-10 14:56 ` Mikael P. Sundqvist
  2016-03-10 14:59 ` Wolfgang Schuster
  0 siblings, 2 replies; 7+ messages in thread
From: Alan Bowen @ 2016-03-10 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Assuming that it is possible, I have been trying to substitute the Greek
letters of my main font for those used in the math font. (if it works, it
should look better on the page than what I have now.)

So, what have I missed/messed up in the following?

\definefontfamily[mainface][serif][Brill][
[protrusion=quality,
expansion=quality,
mode=node,
force=yes,
]

\definefallbackfamily[mainface][mm][TeX Gyre
Pagella][preset=math:digitsnormal,features=f:oldstyle]

\definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]

\definefontfamily[mainface][mm][TeXGyre Termes Math]

\setupbodyfont[mainface,36pt]

\starttext

\emph{λ α μ β δ α}

\m{λαμβδα}

0123456780

\m{0123456780}


\stoptext

Alan

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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Greek letter fall back for math
  2016-03-10 14:34 Greek letter fall back for math Alan Bowen
@ 2016-03-10 14:56 ` Mikael P. Sundqvist
  2016-03-10 15:21   ` Alan Bowen
  2016-03-10 14:59 ` Wolfgang Schuster
  1 sibling, 1 reply; 7+ messages in thread
From: Mikael P. Sundqvist @ 2016-03-10 14:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Mar 10, 2016 at 3:34 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
> Assuming that it is possible, I have been trying to substitute the Greek
> letters of my main font for those used in the math font. (if it works, it
> should look better on the page than what I have now.)
>
> So, what have I missed/messed up in the following?
>
> \definefontfamily[mainface][serif][Brill][
> [protrusion=quality,
> expansion=quality,
> mode=node,
> force=yes,
> ]
>
> \definefallbackfamily[mainface][mm][TeX Gyre
> Pagella][preset=math:digitsnormal,features=f:oldstyle]
>
> \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
>
> \definefontfamily[mainface][mm][TeXGyre Termes Math]
>
> \setupbodyfont[mainface,36pt]
>
> \starttext
>
> \emph{λ α μ β δ α}
>
> \m{λαμβδα}
>
> 0123456780
>
> \m{0123456780}
>
>
> \stoptext
>
> Alan
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

What if you change

\definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]

to

\definefallbackfamily [mainface] [mm] [Brill] [preset=math:lowercasegreeknormal]
\definefallbackfamily [mainface] [mm] [Brill] [preset=math:lowercasegreekitalic]

That seems to work here with your example. By the way, I have not seen
the Brill font before. It was very nice!

/Mikael
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Greek letter fall back for math
  2016-03-10 14:34 Greek letter fall back for math Alan Bowen
  2016-03-10 14:56 ` Mikael P. Sundqvist
@ 2016-03-10 14:59 ` Wolfgang Schuster
  2016-03-10 15:25   ` Alan Bowen
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2016-03-10 14:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Alan Bowen <mailto:bowenalan03@gmail.com>
> 10. März 2016 um 15:34
> Assuming that it is possible, I have been trying to substitute the 
> Greek letters of my main font for those used in the math font. (if it 
> works, it should look better on the page than what I have now.)
>
> So, what have I missed/messed up in the following?
>
> \definefontfamily[mainface][serif][Brill][
> [protrusion=quality,
> expansion=quality,
> mode=node,
> force=yes,
> ]
>
> \definefallbackfamily[mainface][mm][TeX Gyre 
> Pagella][preset=math:digitsnormal,features=f:oldstyle]
>
> \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
You need braces around the list, i.e.

       
\definefallbackfamily[mainface][mm][Brill][range={0391-03A9,03B1-03C9}]

or

     
\definefallbackfamily[mainface][mm][Brill][range={lowercasegreeknormal,uppercasegreeknormal}]

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Greek letter fall back for math
  2016-03-10 14:56 ` Mikael P. Sundqvist
@ 2016-03-10 15:21   ` Alan Bowen
  2016-03-10 15:56     ` Mikael P. Sundqvist
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Bowen @ 2016-03-10 15:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Thanks, Mikael. That works nicely. Note: I changed

\definefallbackfamily [mainface] [mm] [Brill] [preset=math:
lowercasegreeknormal]

to

\definefallbackfamily [mainface] [mm] [Brill]
[preset=math:uppercasegreeknormal],
since Knuth/TeX sets Greek capital letters upright.

Alan

On Thu, Mar 10, 2016 at 9:56 AM, Mikael P. Sundqvist <mickep@gmail.com>
wrote:

> On Thu, Mar 10, 2016 at 3:34 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
> > Assuming that it is possible, I have been trying to substitute the Greek
> > letters of my main font for those used in the math font. (if it works, it
> > should look better on the page than what I have now.)
> >
> > So, what have I missed/messed up in the following?
> >
> > \definefontfamily[mainface][serif][Brill][
> > [protrusion=quality,
> > expansion=quality,
> > mode=node,
> > force=yes,
> > ]
> >
> > \definefallbackfamily[mainface][mm][TeX Gyre
> > Pagella][preset=math:digitsnormal,features=f:oldstyle]
> >
> > \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
> >
> > \definefontfamily[mainface][mm][TeXGyre Termes Math]
> >
> > \setupbodyfont[mainface,36pt]
> >
> > \starttext
> >
> > \emph{λ α μ β δ α}
> >
> > \m{λαμβδα}
> >
> > 0123456780
> >
> > \m{0123456780}
> >
> >
> > \stoptext
> >
> > Alan
> >
> >
> ___________________________________________________________________________________
> > 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
> >
> ___________________________________________________________________________________
>
> What if you change
>
> \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
>
> to
>
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:lowercasegreeknormal]
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:lowercasegreekitalic]
>
> That seems to work here with your example. By the way, I have not seen
> the Brill font before. It was very nice!
>
> /Mikael
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________

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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Greek letter fall back for math
  2016-03-10 14:59 ` Wolfgang Schuster
@ 2016-03-10 15:25   ` Alan Bowen
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Bowen @ 2016-03-10 15:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Whoops! Thanks, Woffgang.

\definefallbackfamily[mainface][mm][Brill][range={0391-03A9,03B1-03C9}] still
does not work, however.
But
\definefallbackfamily [mainface] [mm] [Brill] [preset=math:…] does.

Bet, Alan


On Thu, Mar 10, 2016 at 9:59 AM, Wolfgang Schuster <
schuster.wolfgang@gmail.com> wrote:

> Alan Bowen <bowenalan03@gmail.com>
> 10. März 2016 um 15:34
> Assuming that it is possible, I have been trying to substitute the Greek
> letters of my main font for those used in the math font. (if it works, it
> should look better on the page than what I have now.)
>
> So, what have I missed/messed up in the following?
>
> \definefontfamily[mainface][serif][Brill][
> [protrusion=quality,
> expansion=quality,
> mode=node,
> force=yes,
> ]
>
> \definefallbackfamily[mainface][mm][TeX Gyre
> Pagella][preset=math:digitsnormal,features=f:oldstyle]
>
> \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
>
> You need braces around the list, i.e.
>
>
> \definefallbackfamily[mainface][mm][Brill][range={0391-03A9,03B1-03C9}]
>
> or
>
>
> \definefallbackfamily[mainface][mm][Brill][range={lowercasegreeknormal,uppercasegreeknormal}]
>
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Greek letter fall back for math
  2016-03-10 15:21   ` Alan Bowen
@ 2016-03-10 15:56     ` Mikael P. Sundqvist
  2016-03-10 17:30       ` Alan Bowen
  0 siblings, 1 reply; 7+ messages in thread
From: Mikael P. Sundqvist @ 2016-03-10 15:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Mar 10, 2016 at 4:21 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
> Thanks, Mikael. That works nicely. Note: I changed
>
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:lowercasegreeknormal]
>
> to
>
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:uppercasegreeknormal], since Knuth/TeX sets Greek capital
> letters upright.
>
> Alan
>
> On Thu, Mar 10, 2016 at 9:56 AM, Mikael P. Sundqvist <mickep@gmail.com>
> wrote:
>>
>> On Thu, Mar 10, 2016 at 3:34 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
>> > Assuming that it is possible, I have been trying to substitute the Greek
>> > letters of my main font for those used in the math font. (if it works,
>> > it
>> > should look better on the page than what I have now.)
>> >
>> > So, what have I missed/messed up in the following?
>> >
>> > \definefontfamily[mainface][serif][Brill][
>> > [protrusion=quality,
>> > expansion=quality,
>> > mode=node,
>> > force=yes,
>> > ]
>> >
>> > \definefallbackfamily[mainface][mm][TeX Gyre
>> > Pagella][preset=math:digitsnormal,features=f:oldstyle]
>> >
>> > \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
>> >
>> > \definefontfamily[mainface][mm][TeXGyre Termes Math]
>> >
>> > \setupbodyfont[mainface,36pt]
>> >
>> > \starttext
>> >
>> > \emph{λ α μ β δ α}
>> >
>> > \m{λαμβδα}
>> >
>> > 0123456780
>> >
>> > \m{0123456780}
>> >
>> >
>> > \stoptext
>> >
>> > Alan
>> >
>> >
>> > ___________________________________________________________________________________
>> > 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
>> >
>> > ___________________________________________________________________________________
>>
>> What if you change
>>
>> \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
>>
>> to
>>
>> \definefallbackfamily [mainface] [mm] [Brill]
>> [preset=math:lowercasegreeknormal]
>> \definefallbackfamily [mainface] [mm] [Brill]
>> [preset=math:lowercasegreekitalic]
>>
>> That seems to work here with your example. By the way, I have not seen
>> the Brill font before. It was very nice!
>>
>> /Mikael
>>
>> ___________________________________________________________________________________
>> 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
>>
>> ___________________________________________________________________________________
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


Hi!

I think there might be a small piece of misunderstanding (either on
your side or on mine). Try the document

\definefontfamily[mainface][serif][Brill][
                        [protrusion=quality,
                        expansion=quality,
                        mode=node,
                        force=yes,
                        ]


\definefallbackfamily [mainface] [mm] [Brill] [preset=math:lowercasegreeknormal]
\definefallbackfamily [mainface] [mm] [Brill] [preset=math:lowercasegreekitalic]
\definefallbackfamily [mainface] [mm] [Brill] [preset=math:uppercasegreeknormal]
\definefallbackfamily [mainface] [mm] [Brill] [preset=math:uppercasegreekitalic]



\definefontfamily[mainface][mm][TeX Gyre Termes Math]

\setupbodyfont[mainface,10pt]

\setuppagenumbering[state=stop]

\starttext
αβΓΔ{\em αβΓΔ}$\alpha\beta\Gamma\Delta$ (default, upper case greek is upright)

\setupmathematics[
ucgreek=italic,
]


αβΓΔ{\em αβΓΔ}$\alpha\beta\Gamma\Delta$ (now uppercase greek is in italic)

\setupmathematics[
ucgreek=normal,
lcgreek=normal,
]

αβΓΔ{\em αβΓΔ}$\alpha\beta\Gamma\Delta$ (now both uppercase and
lowercase greek are in upright)

\stoptext

The definefallbackfamily commands do not set what kind of greek
letters we get, but only from what font the corresponding range comes
from. This is at elast how I understand it.

Best

Mikael
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Greek letter fall back for math
  2016-03-10 15:56     ` Mikael P. Sundqvist
@ 2016-03-10 17:30       ` Alan Bowen
  0 siblings, 0 replies; 7+ messages in thread
From: Alan Bowen @ 2016-03-10 17:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Thanks, Mikael, the minunderstanding was mine. I was not aware of the need
for \setupmathematics. A great tip!

Best, Alan



On Thu, Mar 10, 2016 at 10:56 AM, Mikael P. Sundqvist <mickep@gmail.com>
wrote:

> On Thu, Mar 10, 2016 at 4:21 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
> > Thanks, Mikael. That works nicely. Note: I changed
> >
> > \definefallbackfamily [mainface] [mm] [Brill]
> > [preset=math:lowercasegreeknormal]
> >
> > to
> >
> > \definefallbackfamily [mainface] [mm] [Brill]
> > [preset=math:uppercasegreeknormal], since Knuth/TeX sets Greek capital
> > letters upright.
> >
> > Alan
> >
> > On Thu, Mar 10, 2016 at 9:56 AM, Mikael P. Sundqvist <mickep@gmail.com>
> > wrote:
> >>
> >> On Thu, Mar 10, 2016 at 3:34 PM, Alan Bowen <bowenalan03@gmail.com>
> wrote:
> >> > Assuming that it is possible, I have been trying to substitute the
> Greek
> >> > letters of my main font for those used in the math font. (if it works,
> >> > it
> >> > should look better on the page than what I have now.)
> >> >
> >> > So, what have I missed/messed up in the following?
> >> >
> >> > \definefontfamily[mainface][serif][Brill][
> >> > [protrusion=quality,
> >> > expansion=quality,
> >> > mode=node,
> >> > force=yes,
> >> > ]
> >> >
> >> > \definefallbackfamily[mainface][mm][TeX Gyre
> >> > Pagella][preset=math:digitsnormal,features=f:oldstyle]
> >> >
> >> > \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
> >> >
> >> > \definefontfamily[mainface][mm][TeXGyre Termes Math]
> >> >
> >> > \setupbodyfont[mainface,36pt]
> >> >
> >> > \starttext
> >> >
> >> > \emph{λ α μ β δ α}
> >> >
> >> > \m{λαμβδα}
> >> >
> >> > 0123456780
> >> >
> >> > \m{0123456780}
> >> >
> >> >
> >> > \stoptext
> >> >
> >> > Alan
> >> >
> >> >
> >> >
> ___________________________________________________________________________________
> >> > 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
> >> >
> >> >
> ___________________________________________________________________________________
> >>
> >> What if you change
> >>
> >> \definefallbackfamily[mainface][mm][Brill][range=0391-03A9,03B1-03C9]
> >>
> >> to
> >>
> >> \definefallbackfamily [mainface] [mm] [Brill]
> >> [preset=math:lowercasegreeknormal]
> >> \definefallbackfamily [mainface] [mm] [Brill]
> >> [preset=math:lowercasegreekitalic]
> >>
> >> That seems to work here with your example. By the way, I have not seen
> >> the Brill font before. It was very nice!
> >>
> >> /Mikael
> >>
> >>
> ___________________________________________________________________________________
> >> 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
> >>
> >>
> ___________________________________________________________________________________
> >
> >
> >
> >
> ___________________________________________________________________________________
> > 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
> >
> ___________________________________________________________________________________
>
>
> Hi!
>
> I think there might be a small piece of misunderstanding (either on
> your side or on mine). Try the document
>
> \definefontfamily[mainface][serif][Brill][
>                         [protrusion=quality,
>                         expansion=quality,
>                         mode=node,
>                         force=yes,
>                         ]
>
>
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:lowercasegreeknormal]
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:lowercasegreekitalic]
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:uppercasegreeknormal]
> \definefallbackfamily [mainface] [mm] [Brill]
> [preset=math:uppercasegreekitalic]
>
>
>
> \definefontfamily[mainface][mm][TeX Gyre Termes Math]
>
> \setupbodyfont[mainface,10pt]
>
> \setuppagenumbering[state=stop]
>
> \starttext
> αβΓΔ{\em αβΓΔ}$\alpha\beta\Gamma\Delta$ (default, upper case greek is
> upright)
>
> \setupmathematics[
> ucgreek=italic,
> ]
>
>
> αβΓΔ{\em αβΓΔ}$\alpha\beta\Gamma\Delta$ (now uppercase greek is in italic)
>
> \setupmathematics[
> ucgreek=normal,
> lcgreek=normal,
> ]
>
> αβΓΔ{\em αβΓΔ}$\alpha\beta\Gamma\Delta$ (now both uppercase and
> lowercase greek are in upright)
>
> \stoptext
>
> The definefallbackfamily commands do not set what kind of greek
> letters we get, but only from what font the corresponding range comes
> from. This is at elast how I understand it.
>
> Best
>
> Mikael
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-10 17:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 14:34 Greek letter fall back for math Alan Bowen
2016-03-10 14:56 ` Mikael P. Sundqvist
2016-03-10 15:21   ` Alan Bowen
2016-03-10 15:56     ` Mikael P. Sundqvist
2016-03-10 17:30       ` Alan Bowen
2016-03-10 14:59 ` Wolfgang Schuster
2016-03-10 15:25   ` Alan Bowen

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