ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* alternate end glyphs in MKIV
@ 2009-10-05 21:30 Jeremy
  2009-10-06  6:09 ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Jeremy @ 2009-10-05 21:30 UTC (permalink / raw)
  To: ntg-context

Hi all,

I want to get alternate end glyphs. Am I going about it correctly?

I'm using the latext context minimals.

The following compiles fine using the context command, but 'illustrate'
ends with a normal e, not the e.end alternative.

--------- test.tex ------------------------
\usemodule[simplefonts]
\setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]

\starttext

Text to illustrate

\stoptext
--------- end -----------------------------

Thanks for your help,

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


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

* Re: alternate end glyphs in MKIV
  2009-10-05 21:30 alternate end glyphs in MKIV Jeremy
@ 2009-10-06  6:09 ` Wolfgang Schuster
  2009-10-06  7:39   ` Diego Depaoli
  2009-10-06 18:53   ` Jeremy Hughes
  0 siblings, 2 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2009-10-06  6:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 05.10.2009 um 23:30 schrieb Jeremy:

> Hi all,
>
> I want to get alternate end glyphs. Am I going about it correctly?
>
> I'm using the latext context minimals.
>
> The following compiles fine using the context command, but  
> 'illustrate'
> ends with a normal e, not the e.end alternative.
>
> \setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]

\setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]

You need the latest version because 'terminalforms' (fina) wasn't  
available
in previous ones and the script option is also new (and required here).

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


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

* Re: alternate end glyphs in MKIV
  2009-10-06  6:09 ` Wolfgang Schuster
@ 2009-10-06  7:39   ` Diego Depaoli
  2009-10-06  7:42     ` luigi scarso
  2009-10-06 18:53   ` Jeremy Hughes
  1 sibling, 1 reply; 11+ messages in thread
From: Diego Depaoli @ 2009-10-06  7:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Oct 6, 2009 at 8:09 AM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>> I want to get alternate end glyphs. Am I going about it correctly?
>>
>> I'm using the latext context minimals.
                        ^^^^^^^ nice typo :-)
-- 
Diego Depaoli
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: alternate end glyphs in MKIV
  2009-10-06  7:39   ` Diego Depaoli
@ 2009-10-06  7:42     ` luigi scarso
  0 siblings, 0 replies; 11+ messages in thread
From: luigi scarso @ 2009-10-06  7:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Tue, Oct 6, 2009 at 9:39 AM, Diego Depaoli <trebestie@gmail.com> wrote:

> On Tue, Oct 6, 2009 at 8:09 AM, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com> wrote:
> >> I want to get alternate end glyphs. Am I going about it correctly?
> >>
> >> I'm using the latext context minimals.
>                         ^^^^^^^ nice typo :-)
>
uh-oh, actually I'm experimenting with pdflualatex into the minimals too..


-- 
luigi

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

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

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

* Re: alternate end glyphs in MKIV
  2009-10-06  6:09 ` Wolfgang Schuster
  2009-10-06  7:39   ` Diego Depaoli
@ 2009-10-06 18:53   ` Jeremy Hughes
  2009-10-06 20:33     ` Wolfgang Schuster
                       ` (2 more replies)
  1 sibling, 3 replies; 11+ messages in thread
From: Jeremy Hughes @ 2009-10-06 18:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Wolfgang,

Thanks for your help.

Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:

> Am 05.10.2009 um 23:30 schrieb Jeremy:
>
>> Hi all,
>>
>> I want to get alternate end glyphs. Am I going about it correctly?
>>
>> I'm using the latext context minimals.
>>
>> The following compiles fine using the context command, but 'illustrate'
>> ends with a normal e, not the e.end alternative.
>>
>> \setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]
>
> \setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]

This gives me terminal forms, but too many of them. I've marked where
they appear in the following phrase.

    Secret far service
     ^   ^   ^   ^   ^

It looks like they're substituted at the end of every word and
hyphenation point.

Is there any way to have the substitution occur at the end of sentences only?

> You need the latest version because 'terminalforms' (fina) wasn't available
> in previous ones and the script option is also new (and required here).

How do I find this sort of information? I found 'fina' by browsing
through context's otf related files, but grepping all of minimals for
'terminalforms' yields nothing.

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


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

* Re: alternate end glyphs in MKIV
  2009-10-06 18:53   ` Jeremy Hughes
@ 2009-10-06 20:33     ` Wolfgang Schuster
  2009-10-06 23:25       ` Jeremy Hughes
  2009-10-07 10:10     ` Hans Hagen
  2010-02-23 11:45     ` Hans Hagen
  2 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-10-06 20:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 06.10.2009 um 20:53 schrieb Jeremy Hughes:

>> \setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]
>
> This gives me terminal forms, but too many of them. I've marked where
> they appear in the following phrase.
>
>    Secret far service
>     ^   ^   ^   ^   ^
>
> It looks like they're substituted at the end of every word and
> hyphenation point.
>
> Is there any way to have the substitution occur at the end of  
> sentences only?

Since it appears also in the following minimal example it's either
a bug in context or in the font itself.

\definefontfeature[fina][mode=node,script=latn,fina=yes]
\starttext
{\definedfont[name:megalopolisextra*fina]Secret far service}
\stoptext

>> You need the latest version because 'terminalforms' (fina) wasn't  
>> available
>> in previous ones and the script option is also new (and required  
>> here).
>
> How do I find this sort of information? I found 'fina' by browsing
> through context's otf related files, but grepping all of minimals for
> 'terminalforms' yields nothing.

you can find in font-ott.lua the following line:

      ['fina'] = 'Terminal Forms',

to use the feature with my module you need the long name as key, it  
doesn't
matter wether you write 'Terminal Forms' (uppercase/lowercase with  
spaces),
'terminal forms' (lowercase with spaces) or 'terminalforms' (lowercase  
without
spaces) but i prefer the third alternative because it follows  
context’s syntax.

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


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

* Re: alternate end glyphs in MKIV
  2009-10-06 20:33     ` Wolfgang Schuster
@ 2009-10-06 23:25       ` Jeremy Hughes
  0 siblings, 0 replies; 11+ messages in thread
From: Jeremy Hughes @ 2009-10-06 23:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:

> Am 06.10.2009 um 20:53 schrieb Jeremy Hughes:
>
>>> \setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]
>>
>> This gives me terminal forms, but too many of them.
>>
>> Is there any way to have the substitution occur at the end of sentences only?
>
> Since it appears also in the following minimal example it's either
> a bug in context or in the font itself.
>
> \definefontfeature[fina][mode=node,script=latn,fina=yes]
> \starttext
> {\definedfont[name:megalopolisextra*fina]Secret far service}
> \stoptext

Ok.

Which files in minimals should I be looking at to see what's going on?

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


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

* Re: alternate end glyphs in MKIV
  2009-10-06 18:53   ` Jeremy Hughes
  2009-10-06 20:33     ` Wolfgang Schuster
@ 2009-10-07 10:10     ` Hans Hagen
  2009-10-07 10:21       ` Wolfgang Schuster
  2009-10-07 22:20       ` Jeremy Hughes
  2010-02-23 11:45     ` Hans Hagen
  2 siblings, 2 replies; 11+ messages in thread
From: Hans Hagen @ 2009-10-07 10:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Jeremy Hughes wrote:

>>> \setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]
>> \setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]
> 
> This gives me terminal forms, but too many of them. I've marked where
> they appear in the following phrase.
> 
>     Secret far service
>      ^   ^   ^   ^   ^
> 
> It looks like they're substituted at the end of every word and
> hyphenation point.
> 
> Is there any way to have the substitution occur at the end of sentences only?

this is quite doable (but not implemented yet) .. it falls into a 
different category of feature applications (probably doable with one of 
the experimental mechanisms i made for idris)

what font is that?

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: alternate end glyphs in MKIV
  2009-10-07 10:10     ` Hans Hagen
@ 2009-10-07 10:21       ` Wolfgang Schuster
  2009-10-07 22:20       ` Jeremy Hughes
  1 sibling, 0 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2009-10-07 10:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.10.2009 um 12:10 schrieb Hans Hagen:

>> Is there any way to have the substitution occur at the end of  
>> sentences only?
>
> this is quite doable (but not implemented yet) .. it falls into a  
> different category of feature applications (probably doable with one  
> of the experimental mechanisms i made for idris)
>
> what font is that?

http://www.smeltery.net/fonts/megalopolis-extra

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


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

* Re: alternate end glyphs in MKIV
  2009-10-07 10:10     ` Hans Hagen
  2009-10-07 10:21       ` Wolfgang Schuster
@ 2009-10-07 22:20       ` Jeremy Hughes
  1 sibling, 0 replies; 11+ messages in thread
From: Jeremy Hughes @ 2009-10-07 22:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans Hagen <pragma@wxs.nl> writes:

> Jeremy Hughes wrote:
>
>>>> \setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]
>>> \setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]
>>
>> Is there any way to have the substitution occur at the end of sentences only?
>
> this is quite doable (but not implemented yet) .. it falls into a different
> category of feature applications (probably doable with one of the experimental
> mechanisms i made for idris)

What files should I look at if I want to try to put something together
myself? I tried modifying luatex-fonts-merged.lua to no effect (in fact,
when I removed it entirely there was no change).

Jeremy
___________________________________________________________________________________
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] 11+ messages in thread

* Re: alternate end glyphs in MKIV
  2009-10-06 18:53   ` Jeremy Hughes
  2009-10-06 20:33     ` Wolfgang Schuster
  2009-10-07 10:10     ` Hans Hagen
@ 2010-02-23 11:45     ` Hans Hagen
  2 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2010-02-23 11:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 6-10-2009 20:53, Jeremy Hughes wrote:
> Hi Wolfgang,
>
> Thanks for your help.
>
> Wolfgang Schuster<schuster.wolfgang@googlemail.com>  writes:
>
>> Am 05.10.2009 um 23:30 schrieb Jeremy:
>>
>>> Hi all,
>>>
>>> I want to get alternate end glyphs. Am I going about it correctly?
>>>
>>> I'm using the latext context minimals.
>>>
>>> The following compiles fine using the context command, but 'illustrate'
>>> ends with a normal e, not the e.end alternative.
>>>
>>> \setmainfont[MEgalopolis Extra][features={mode=node,fina=yes}]
>>
>> \setmainfont[MEgalopolis Extra][script=latin,terminalforms=yes]
>
> This gives me terminal forms, but too many of them. I've marked where
> they appear in the following phrase.
>
>      Secret far service
>       ^   ^   ^   ^   ^
>
> It looks like they're substituted at the end of every word and
> hyphenation point.
>
> Is there any way to have the substitution occur at the end of sentences only?

fixed in upcoming beta

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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] 11+ messages in thread

end of thread, other threads:[~2010-02-23 11:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-05 21:30 alternate end glyphs in MKIV Jeremy
2009-10-06  6:09 ` Wolfgang Schuster
2009-10-06  7:39   ` Diego Depaoli
2009-10-06  7:42     ` luigi scarso
2009-10-06 18:53   ` Jeremy Hughes
2009-10-06 20:33     ` Wolfgang Schuster
2009-10-06 23:25       ` Jeremy Hughes
2009-10-07 10:10     ` Hans Hagen
2009-10-07 10:21       ` Wolfgang Schuster
2009-10-07 22:20       ` Jeremy Hughes
2010-02-23 11:45     ` Hans Hagen

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