Re: [NTG-context] OpenBSD install

2022-05-13 Thread Angel M Alganza via ntg-context

Hello again,

On Fri, May 13, 2022 at 08:10:02AM +0200, Angel M Alganza via ntg-context wrote:


There isn't a link to download LMTX for OpenBSD 7.1 at
https://wiki.contextgarden.net/Installation.


Sorry about the noise.  I just found the official download page at
Pragma, where the links for both, the 32bits and 42bits installation
scripts for OpenBSD 7.1 work just fine.

http://www.pragma-ade.com/install.htm

Cheers,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenBSD install

2022-05-13 Thread Mojca Miklavec via ntg-context
Dear Angel,

V pet., 13. maj 2022 08:15 je oseba Angel M Alganza via ntg-context <
ntg-context@ntg.nl> napisala:

> Hello,
>
> I've just started upgrading some systems to OpenBSD 7.1 (released last
> month) and found out there isn't a link to download LMTX for OpenBSD 7.1
> at https://wiki.contextgarden.net/Installation.
>

The wiki page was outdated. Can you please check again?
(My browser refuses opening http links from an https site, I'm not sure if
Hans configured https on his server.)


> I then thought I'd try to see if the previous versions (for 6.9 or 6.8)
> would work on 7.1, but it turned out that all four links (for both
> 32bits and 64bits) won't work.


At the moment we only support 7.0 and 7.1 (32-binaries are still there, but
unless someone needs them, we'll likely remove them).

Mojca
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenBSD install

2022-05-13 Thread Angel M Alganza via ntg-context

Hi again,

On Fri, May 13, 2022 at 09:39:06AM +0200, Mojca Miklavec wrote:


Are you able to (log in and) edit wiki pages yourself?
I can of course edit this now, but this can be community effort. I
will surely forget to update the page in 6 months when the next
OpenBSD version gets released.


I could create an account to do that.  I suppose there is no problem in
doing so, and, of course, I'd gladly update the links for the next
release in 6 months (I see you have already done that for the 32bits
also, thank you!).

I think a good solution instead of linking to all individual
files, could be to link to the official download page once:

http://www.pragma-ade.com/install.htm


So you plan to keep using the 32-bit binaries for OpenBSD?


I am, yes.  I am migrating almost all 32bit boxes both at work and at
home to Haiku and OpenBSD, since Linux is getting more and more resource
demanding day by day (even Devuan, which can be configured to be very
lightweight).  I would really appreciate if you kept providing them.

Cheers,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] blockligatures removing characters

2022-05-13 Thread Ben Moon via ntg-context
Thanks Hans,

I tried to modify your example for preventing the capital-Th ligature but this 
doesn't seem to work. The 'fi' ligature is prevented, but 'Th' still appears as 
a ligature. This occurs with the original lowercase version too. Have I missed 
something?

```
\startluacode
 local demo = {
 name= "demo",
 options = {
 {
 patterns = {
 fio  = "f|io",
 },
 words = [[ fioot fiots ]],
 },
 {
 patterns = {
 fio  = "T|h",
 },
 words = [[ This That ]],
 },
 },
 }
 table.save("oeps-fixes.llg",demo)
\stopluacode

\setuplanguage[en][goodies={oeps-fixes.llg}]

\setupbodyfont[ebgaramond]

\starttext
 fiets fiots fiats fioot This That
\stoptext
```
Ben

On Mon, 9 May 2022, at 14:03, Hans Hagen via ntg-context wrote:
> On 5/9/2022 9:56 AM, Denis Maier via ntg-context wrote:
> > Happens here as well, already on  ConTeXt  ver: 2022.03.12 17:56 LMTX.
> > 
> > By the way, this even happens without special fonts:
> > 
> > \blockligatures[Th]
> > 
> > \definefontfeature[default:blocklig][default][liga=yes,blockligatures=yes]
> > 
> > \setupbodyfont[myfont]
> > 
> > \starttext
> > 
> > \definedfont[Serif*default:blocklig]
> > 
> >  The This These are missing the `h'
> > 
> > \stoptext
> I'll fix it but it's not the way to do it in lmtx where we have
> 
> \startluacode
>  local demo = {
>  name= "demo",
>  options = {
>  {
>  patterns = {
>  fio  = "f|io",
>  },
>  words = [[ fioot fiots ]],
>  },
>  {
>  patterns = {
>  fio  = "t|h",
>  },
>  words = [[ this that ]],
>  },
>  },
>  }
>  table.save("oeps-fixes.llg",demo)
> \stopluacode
> 
> \setuplanguage[en][goodies={oeps-fixes.llg}]
> 
> \setupbodyfont[ebgaramond]
> 
> \starttext
>  fiets fiots fiats fioot this that
> \stoptext
> 
> I just added (no upload) this
> 
> \startluacode
>  local demo = {
>  name= "demo",
>  options = {
>  {
>  substitutions = {
>  th = "t|h",
>  Th = "T|h",
>  st = "s|t",
>  St = "S|t",
>  fi = "f|i",
>  },
>  },
>  },
>  }
>  table.save("oeps-fixes.llg",demo)
> \stopluacode
> 
> \setuplanguage[en][goodies={oeps-fixes.llg}]
> 
> \setupbodyfont[ebgaramond]
> 
> \starttext
>  The This These fiets and thisthis thisfiets
> \stoptext
> 
> 
> 
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] blockligatures removing characters

2022-05-13 Thread Ben Moon via ntg-context
I've just update and blockligatures=yes is working again; thanks very much Hans.
Ben


On Fri, 13 May 2022, at 14:29, Ben Moon via ntg-context wrote:
> Thanks Hans,
> 
> I tried to modify your example for preventing the capital-Th ligature but 
> this doesn't seem to work. The 'fi' ligature is prevented, but 'Th' still 
> appears as a ligature. This occurs with the original lowercase version too. 
> Have I missed something?
> 
> ```
> \startluacode
>  local demo = {
>  name= "demo",
>  options = {
>  {
>  patterns = {
>  fio  = "f|io",
>  },
>  words = [[ fioot fiots ]],
>  },
>  {
>  patterns = {
>  fio  = "T|h",
>  },
>  words = [[ This That ]],
>  },
>  },
>  }
>  table.save("oeps-fixes.llg",demo)
> \stopluacode
> 
> \setuplanguage[en][goodies={oeps-fixes.llg}]
> 
> \setupbodyfont[ebgaramond]
> 
> \starttext
>  fiets fiots fiats fioot This That
> \stoptext
> ```
> Ben
> 
> On Mon, 9 May 2022, at 14:03, Hans Hagen via ntg-context wrote:
>> On 5/9/2022 9:56 AM, Denis Maier via ntg-context wrote:
>> > Happens here as well, already on  ConTeXt  ver: 2022.03.12 17:56 LMTX.
>> > 
>> > By the way, this even happens without special fonts:
>> > 
>> > \blockligatures[Th]
>> > 
>> > \definefontfeature[default:blocklig][default][liga=yes,blockligatures=yes]
>> > 
>> > \setupbodyfont[myfont]
>> > 
>> > \starttext
>> > 
>> > \definedfont[Serif*default:blocklig]
>> > 
>> >  The This These are missing the `h'
>> > 
>> > \stoptext
>> I'll fix it but it's not the way to do it in lmtx where we have
>> 
>> \startluacode
>>  local demo = {
>>  name= "demo",
>>  options = {
>>  {
>>  patterns = {
>>  fio  = "f|io",
>>  },
>>  words = [[ fioot fiots ]],
>>  },
>>  {
>>  patterns = {
>>  fio  = "t|h",
>>  },
>>  words = [[ this that ]],
>>  },
>>  },
>>  }
>>  table.save("oeps-fixes.llg",demo)
>> \stopluacode
>> 
>> \setuplanguage[en][goodies={oeps-fixes.llg}]
>> 
>> \setupbodyfont[ebgaramond]
>> 
>> \starttext
>>  fiets fiots fiats fioot this that
>> \stoptext
>> 
>> I just added (no upload) this
>> 
>> \startluacode
>>  local demo = {
>>  name= "demo",
>>  options = {
>>  {
>>  substitutions = {
>>  th = "t|h",
>>  Th = "T|h",
>>  st = "s|t",
>>  St = "S|t",
>>  fi = "f|i",
>>  },
>>  },
>>  },
>>  }
>>  table.save("oeps-fixes.llg",demo)
>> \stopluacode
>> 
>> \setuplanguage[en][goodies={oeps-fixes.llg}]
>> 
>> \setupbodyfont[ebgaramond]
>> 
>> \starttext
>>  The This These fiets and thisthis thisfiets
>> \stoptext
>> 
>> 
>> 
>> -
>>Hans Hagen | PRAGMA ADE
>>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>> tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
__

Re: [NTG-context] blockligatures removing characters

2022-05-13 Thread Denis Maier via ntg-context
First of all, your pattern for Th is incorrect: fio  = "T|h", doesn't make much 
sense.

Anyway, even with this corrected I can confirm the behaviour.

%%
\startluacode
 local demo = {
 name= "demo",
 options = {
 {
 patterns = {
 fio  = "f|io",
 },
 words = [[ fioot fiots ]],
 },
 {
 patterns = {
 Th  = "T|h",
 },
 words = [[ This That ]],
 },
 },
 }
 table.save("oeps-fixes.llg",demo)
\stopluacode

\setuplanguage[en][goodies={oeps-fixes.llg}]

\mainlanguage[en]

\setupbodyfont[libertine]

\starttext
 fiets fiots fiats fioot

 This That Then

 \noligature{Th}is
\noligature{Th}at
\noligature{Th}en
\stoptext


Von: ntg-context  Im Auftrag von Ben Moon via 
ntg-context
Gesendet: Freitag, 13. Mai 2022 15:30
An: Context Mailing List 
Cc: Ben Moon 
Betreff: Re: [NTG-context] blockligatures removing characters

Thanks Hans,

I tried to modify your example for preventing the capital-Th ligature but this 
doesn't seem to work. The 'fi' ligature is prevented, but 'Th' still appears as 
a ligature. This occurs with the original lowercase version too. Have I missed 
something?

```
\startluacode
 local demo = {
 name= "demo",
 options = {
 {
 patterns = {
 fio  = "f|io",
 },
 words = [[ fioot fiots ]],
 },
 {
 patterns = {
 fio  = "T|h",
 },
 words = [[ This That ]],
 },
 },
 }
 table.save("oeps-fixes.llg",demo)
\stopluacode

\setuplanguage[en][goodies={oeps-fixes.llg}]

\setupbodyfont[ebgaramond]

\starttext
 fiets fiots fiats fioot This That
\stoptext
```
Ben

On Mon, 9 May 2022, at 14:03, Hans Hagen via ntg-context wrote:
On 5/9/2022 9:56 AM, Denis Maier via ntg-context wrote:
> Happens here as well, already on  ConTeXt  ver: 2022.03.12 17:56 LMTX.
>
> By the way, this even happens without special fonts:
>
> \blockligatures[Th]
>
> \definefontfeature[default:blocklig][default][liga=yes,blockligatures=yes]
>
> \setupbodyfont[myfont]
>
> \starttext
>
> \definedfont[Serif*default:blocklig]
>
>  The This These are missing the `h'
>
> \stoptext
I'll fix it but it's not the way to do it in lmtx where we have

\startluacode
 local demo = {
 name= "demo",
 options = {
 {
 patterns = {
 fio  = "f|io",
 },
 words = [[ fioot fiots ]],
 },
 {
 patterns = {
 fio  = "t|h",
 },
 words = [[ this that ]],
 },
 },
 }
 table.save("oeps-fixes.llg",demo)
\stopluacode

\setuplanguage[en][goodies={oeps-fixes.llg}]

\setupbodyfont[ebgaramond]

\starttext
 fiets fiots fiats fioot this that
\stoptext

I just added (no upload) this

\startluacode
 local demo = {
 name= "demo",
 options = {
 {
 substitutions = {
 th = "t|h",
 Th = "T|h",
 st = "s|t",
 St = "S|t",
 fi = "f|i",
 },
 },
 },
 }
 table.save("oeps-fixes.llg",demo)
\stopluacode

\setuplanguage[en][goodies={oeps-fixes.llg}]

\setupbodyfont[ebgaramond]

\starttext
 The This These fiets and thisthis thisfiets
\stoptext



-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://w

[NTG-context] conditionals for font features

2022-05-13 Thread Pablo Rodriguez via ntg-context
Dear list,

I wonder whether there is a conditional for font features similar to
\doifelseitalic.

\doifelsecurrentfonthasfeature checks whether the font supports an
OpenType feature.

\doifunknownfontfeature checks whether the font feature has been defined.

It seems that \doifelsefontfeature checks whether the font feature has
been defined or not.

Could anyone explain me how to check whether c2sc is being used or not
in the following sample?

  \definefontfeature[asc][c2sc=yes, smcp=yes]
  \setupbodyfont[palatino]
  \starttext
  \feature[+][asc] abc\\
  \feature[-][asc] abc
  \stoptext

Many thanks for your help,

Pablo
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___