* contextual alternates
@ 2015-01-24 13:12 Pablo Rodriguez
2015-01-25 13:52 ` Hans Hagen
0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2015-01-24 13:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear list,
I have the following sample:
\definefontfeature[default][default][script=latn, calt=yes]
\definefontfamily[mainface][serif][Pecita]
\setupbodyfont[mainface]
\starttext
\input zapf
\stoptext
The Pecita font is licensed under the Open Font License and it can be
downloaded at http://pecita.eu/b/Pecita.otf.
For some strange reason, the contextual alternates feature isn’t working.
What am I missing here?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread
* Re: contextual alternates
2015-01-24 13:12 contextual alternates Pablo Rodriguez
@ 2015-01-25 13:52 ` Hans Hagen
2015-01-25 14:52 ` Jan Tosovsky
[not found] ` <006901d038ae$7fd317f0$7f7947d0$@tosovsky@email.cz>
0 siblings, 2 replies; 9+ messages in thread
From: Hans Hagen @ 2015-01-25 13:52 UTC (permalink / raw)
To: ntg-context
On 1/24/2015 2:12 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
> \definefontfeature[default][default][script=latn, calt=yes]
> \definefontfamily[mainface][serif][Pecita]
> \setupbodyfont[mainface]
> \starttext
> \input zapf
> \stoptext
>
> The Pecita font is licensed under the Open Font License and it can be
> downloaded at http://pecita.eu/b/Pecita.otf.
>
> For some strange reason, the contextual alternates feature isn’t working.
>
> What am I missing here?
maybe they depend on other features being set
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: contextual alternates
2015-01-25 13:52 ` Hans Hagen
@ 2015-01-25 14:52 ` Jan Tosovsky
[not found] ` <006901d038ae$7fd317f0$7f7947d0$@tosovsky@email.cz>
1 sibling, 0 replies; 9+ messages in thread
From: Jan Tosovsky @ 2015-01-25 14:52 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
On 2015-01-25 Hans Hagen wrote:
> On 1/24/2015 2:12 PM, Pablo Rodriguez wrote:
> >
> > I have the following sample:
> >
> > \definefontfeature[default][default][script=latn, calt=yes]
> > \definefontfamily[mainface][serif][Pecita]
> > \setupbodyfont[mainface]
> > \starttext
> > \input zapf
> > \stoptext
> >
> > The Pecita font is licensed under the Open Font License and it can be
> > downloaded at http://pecita.eu/b/Pecita.otf.
> >
> > For some strange reason, the contextual alternates feature isn’t
> > working.
> >
>
> maybe they depend on other features being set
There are lots of definitions in calt table, but referenced via 'lookup'
mechanism.
lookup calt5 {
# sub @calt30' @calt30' by [a.I_ ... f_dotlessi._I];
} calt5;
language ENG ; # English
script DFLT;
lookup calt5;
To me it is quite unusual.
Jan
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 2450 bytes --]
[-- Attachment #3: 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] 9+ messages in thread
[parent not found: <006901d038ae$7fd317f0$7f7947d0$@tosovsky@email.cz>]
* Re: contextual alternates
[not found] ` <006901d038ae$7fd317f0$7f7947d0$@tosovsky@email.cz>
@ 2015-01-25 16:20 ` Hans Hagen
2015-01-25 18:30 ` Pablo Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2015-01-25 16:20 UTC (permalink / raw)
To: ntg-context
On 1/25/2015 3:52 PM, Jan Tosovsky wrote:
> On 2015-01-25 Hans Hagen wrote:
>> On 1/24/2015 2:12 PM, Pablo Rodriguez wrote:
>>>
>>> I have the following sample:
>>>
>>> \definefontfeature[default][default][script=latn, calt=yes]
>>> \definefontfamily[mainface][serif][Pecita]
>>> \setupbodyfont[mainface]
>>> \starttext
>>> \input zapf
>>> \stoptext
>>>
>>> The Pecita font is licensed under the Open Font License and it can be
>>> downloaded at http://pecita.eu/b/Pecita.otf.
>>>
>>> For some strange reason, the contextual alternates feature isn’t
>>> working.
>>>
>>
>> maybe they depend on other features being set
>
> There are lots of definitions in calt table, but referenced via 'lookup'
> mechanism.
>
> lookup calt5 {
> # sub @calt30' @calt30' by [a.I_ ... f_dotlessi._I];
> } calt5;
>
> language ENG ; # English
> script DFLT;
> lookup calt5;
>
> To me it is quite unusual.
so the script / language combination is default / english (dflt/eng)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: contextual alternates
2015-01-25 16:20 ` Hans Hagen
@ 2015-01-25 18:30 ` Pablo Rodriguez
2015-01-26 9:04 ` Hans Hagen
0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2015-01-25 18:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 01/25/2015 05:20 PM, Hans Hagen wrote:
> On 1/25/2015 3:52 PM, Jan Tosovsky wrote:
>> On 2015-01-25 Hans Hagen wrote:
>>> On 1/24/2015 2:12 PM, Pablo Rodriguez wrote:
>>>> [...]
>>>> The Pecita font is licensed under the Open Font License and it can be
>>>> downloaded at http://pecita.eu/b/Pecita.otf.
>>>>
>>>> For some strange reason, the contextual alternates feature isn’t
>>>> working.
>>>
>>> maybe they depend on other features being set
>>
>> There are lots of definitions in calt table, but referenced via 'lookup'
>> mechanism.
>>
>> lookup calt5 {
>> # sub @calt30' @calt30' by [a.I_ ... f_dotlessi._I];
>> } calt5;
>>
>> language ENG ; # English
>> script DFLT;
>> lookup calt5;
>>
>> To me it is quite unusual.
>
> so the script / language combination is default / english (dflt/eng)
Many thanks for your replies, Hans and Jan.
I’m afraid that the following doesn’t work:
\definefontfeature[default][default][script=latn,language=eng, calt=yes]
\definefontfamily[mainface][rm][Pecita]
\setupbodyfont[mainface]
\starttext
\input zapf
\stoptext
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread
* Re: contextual alternates
2015-01-25 18:30 ` Pablo Rodriguez
@ 2015-01-26 9:04 ` Hans Hagen
2015-01-26 9:18 ` Pablo Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2015-01-26 9:04 UTC (permalink / raw)
To: ntg-context
On 1/25/2015 7:30 PM, Pablo Rodriguez wrote:
> On 01/25/2015 05:20 PM, Hans Hagen wrote:
>> On 1/25/2015 3:52 PM, Jan Tosovsky wrote:
>>> On 2015-01-25 Hans Hagen wrote:
>>>> On 1/24/2015 2:12 PM, Pablo Rodriguez wrote:
>>>>> [...]
>>>>> The Pecita font is licensed under the Open Font License and it can be
>>>>> downloaded at http://pecita.eu/b/Pecita.otf.
>>>>>
>>>>> For some strange reason, the contextual alternates feature isn’t
>>>>> working.
>>>>
>>>> maybe they depend on other features being set
>>>
>>> There are lots of definitions in calt table, but referenced via 'lookup'
>>> mechanism.
>>>
>>> lookup calt5 {
>>> # sub @calt30' @calt30' by [a.I_ ... f_dotlessi._I];
>>> } calt5;
>>>
>>> language ENG ; # English
>>> script DFLT;
>>> lookup calt5;
>>>
>>> To me it is quite unusual.
>>
>> so the script / language combination is default / english (dflt/eng)
>
> Many thanks for your replies, Hans and Jan.
>
> I’m afraid that the following doesn’t work:
>
> \definefontfeature[default][default][script=latn,language=eng, calt=yes]
because it's dflt (default) and not latn
> \definefontfamily[mainface][rm][Pecita]
> \setupbodyfont[mainface]
> \starttext
> \input zapf
> \stoptext
>
> Many thanks for your help,
>
>
> Pablo
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: contextual alternates
2015-01-26 9:04 ` Hans Hagen
@ 2015-01-26 9:18 ` Pablo Rodriguez
2015-01-26 9:59 ` Hans Hagen
0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2015-01-26 9:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 01/26/2015 10:04 AM, Hans Hagen wrote:
> On 1/25/2015 7:30 PM, Pablo Rodriguez wrote:
>> [...]
>> I’m afraid that the following doesn’t work:
>>
>> \definefontfeature[default][default][script=latn,language=eng, calt=yes]
>
> because it's dflt (default) and not latn
Many thanks for your reply, Hans.
I tested both options (script=latn and script=dflt) and neither worked.
Pablo
>> \definefontfamily[mainface][rm][Pecita]
>> \setupbodyfont[mainface]
>> \starttext
>> \input zapf
>> \stoptext
--
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread
* Re: contextual alternates
2015-01-26 9:18 ` Pablo Rodriguez
@ 2015-01-26 9:59 ` Hans Hagen
2015-01-26 11:01 ` Pablo Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2015-01-26 9:59 UTC (permalink / raw)
To: ntg-context
On 1/26/2015 10:18 AM, Pablo Rodriguez wrote:
> On 01/26/2015 10:04 AM, Hans Hagen wrote:
>> On 1/25/2015 7:30 PM, Pablo Rodriguez wrote:
>>> [...]
>>> I’m afraid that the following doesn’t work:
>>>
>>> \definefontfeature[default][default][script=latn,language=eng, calt=yes]
>>
>> because it's dflt (default) and not latn
>
> Many thanks for your reply, Hans.
>
> I tested both options (script=latn and script=dflt) and neither worked.
what happens when you enable all the features that the font provides
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-01-26 11:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-24 13:12 contextual alternates Pablo Rodriguez
2015-01-25 13:52 ` Hans Hagen
2015-01-25 14:52 ` Jan Tosovsky
[not found] ` <006901d038ae$7fd317f0$7f7947d0$@tosovsky@email.cz>
2015-01-25 16:20 ` Hans Hagen
2015-01-25 18:30 ` Pablo Rodriguez
2015-01-26 9:04 ` Hans Hagen
2015-01-26 9:18 ` Pablo Rodriguez
2015-01-26 9:59 ` Hans Hagen
2015-01-26 11:01 ` Pablo Rodriguez
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).