[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Henning Hraban Ramm

Am 30.08.23 um 22:22 schrieb Wolfgang Schuster:


* t-account (2009, Wolfgang)

I have an updated version I can put online but there is no need to keep it.


If you think it’s usable, just update it.


* t-algorithmic (2013, Wolfgang)

Can be removed.



* t-animation (2013, Wolfgang)

Should stay on the wiki.



* t-annotation (2013, Wolfgang)
Can be removed, the userdata environment is a good alternative for the 
module.



* t-fancybreak (2015, Wolfgang)

Should stay  on the wiki.



* t-fullpage (2017, Wolfgang)

Can be removed, the "tight" layout is a good alternative.



* t-title (2017, Wolfgang)

Can be removed.


Thank you!

Same as I just wrote to Peter: I’ll just remove the modules from the 
install list for the time being.


CU at the meeting,
Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Henning Hraban Ramm

Am 30.08.23 um 21:58 schrieb Peter Münster:

On Wed, Aug 30 2023, Henning Hraban Ramm wrote:


If their authors are present, I’d appreciate a comment if we should keep them.


I don't know. My modules are probably all outdated and don't work with
the latest ConTeXt version. On the one hand they are probably no more
useful, on the other hand there could be perhaps some future users
and/or developers, who would like to use them and send patches.
Perhaps a flag like "unmaintained" would do the trick?
But it's no problem for me, if you prefer to delete them.


Thank you!

First step is to don’t install outdated modules any more with "mtxrun 
--script install-modules --all".


They don’t hurt anyone at modules.contextgarden.net, I might just add a 
comment – you’re welcome to do it yourself, if you still know your password.


We will discuss at the meeting how to proceed, if we add more flags or 
whatever. I think we have enough fields & flags and should just use them 
better.


Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Henning Hraban Ramm

Am 30.08.23 um 22:14 schrieb Marcus Vinicius Mesquita:

I'm a regular user of  t-transliterator (2021, Philipp), so please
don't delete it


If it works, I would never. Thanks for reporting.

Hraban

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Wolfgang Schuster

Henning Hraban Ramm schrieb am 30.08.2023 um 20:15:

Hi all, esp. module authors!

I went through the list of modules on 
https://modules.contextgarden.net/ (dl/) and the list that controls 
module installation for “--script install-modules".


I removed all font-related modules from the list (not yet from the 
garden), since they’re probably all obsolete & outdated.

Consider publishing typescripts in the wiki.


The following modules don’t adhere to the necessary structure and need 
changes:

* t-handlecsv (2023, Pablo)
* metaducks (2021, Jairo)
* presvoz (2023, Pablo)
All of them have a name directory on top of the TDS (tex, doc).
If you used a git checkout URL, please try again, for me it worked today.


Several modules need testing if they still work and make sense.
If their authors are present, I’d appreciate a comment if we should 
keep them. I’d like to delete at least everything older than 10 years.

[...]
* t-account (2009, Wolfgang)


I have an updated version I can put online but there is no need to keep it.


* t-algorithmic (2013, Wolfgang)


Can be removed.


* t-animation (2013, Wolfgang)


Should stay on the wiki.


* t-annotation (2013, Wolfgang)


Can be removed, the userdata environment is a good alternative for the 
module.



* t-fancybreak (2015, Wolfgang)


Should stay  on the wiki.


* t-fullpage (2017, Wolfgang)


Can be removed, the "tight" layout is a good alternative.


* t-title (2017, Wolfgang)


Can be removed.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Fwd: Kerning feature not working

2023-08-30 Thread Hans Hagen




 Forwarded Message 
Subject: Re: [NTG-context] Kerning feature not working
Date: Wed, 30 Aug 2023 22:17:43 +0200
From: Hans Hagen 
To: Marcus Vinicius Mesquita 

On 8/30/2023 9:37 PM, Marcus Vinicius Mesquita wrote:

Dear List

In the MWE below, the kerning feature works OK for ebgaramonditalic
but not for ebgaramondregular.
How do I fix it?

I'm using ConTeXt version: 2023.08.27 13:48


\startluacode
 fonts.handlers.otf.addfeature {
 name = "kernit",
 type = "kern",
nocheck = true,
 data = {
   [0x27E8] = { ["f"] = 300, ["fi"] = 300, ["fl"] = 300 }
 }
 }
\stopluacode


you need to know the code points and eb garamond is not so predictable 
(welcome to fonts ...)


\startluacode
fonts.handlers.otf.addfeature {
name = "kernit",
type = "kern",
 nocheck = true,
data = {
  [0x27E8] = {
["f"]= 300,
["f_l"]  = 300,
["f_i"]  = 300,
[0xFB01] = 300,
[0xFB02] = 300,
}
}
}
\stopluacode


\definefontfeature[kernit][mode=node,kernit=yes]

\starttext
\definedfont[name:ebgaramondregular*default,kernit]

⟨f ile

⟨f lame

⟨file

⟨flame

\definedfont[name:ebgaramonditalic*default,kernit]

⟨f ile

⟨f lame

⟨file

⟨flame

\stoptext
but easier is this (an old mechanism, maybe time for an upgrade with 
merged vectors)


\definecharacterspacing [myspacing]

\setupcharacterspacing [myspacing] ["27E8] [right=0.25,alternative=1]
\setupcharacterspacing [myspacing] ["27E9] [left=0.25,alternative=1]

and then

\setcharacterspacing[myspacing]


Hans

-
  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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Marcus Vinicius Mesquita
Dear Hraban

I'm a regular user of  t-transliterator (2021, Philipp), so please
don't delete it

Marcus Vinicius

On Wed, Aug 30, 2023 at 3:16 PM Henning Hraban Ramm  wrote:
>
> Hi all, esp. module authors!
>
> I went through the list of modules on https://modules.contextgarden.net/
> (dl/) and the list that controls module installation for “--script
> install-modules".
>
> I removed all font-related modules from the list (not yet from the
> garden), since they’re probably all obsolete & outdated.
> Consider publishing typescripts in the wiki.
>
>
> The following modules don’t adhere to the necessary structure and need
> changes:
> * t-handlecsv (2023, Pablo)
> * metaducks (2021, Jairo)
> * presvoz (2023, Pablo)
> All of them have a name directory on top of the TDS (tex, doc).
> If you used a git checkout URL, please try again, for me it worked today.
>
>
> Several modules need testing if they still work and make sense.
> If their authors are present, I’d appreciate a comment if we should keep
> them. I’d like to delete at least everything older than 10 years.
>
> * grph-downsample.lua (2019) is known to fail in current LMTX
>(I hope for an integrated solution during the meeting.)
>t-degrade (2018) is AFAIK an older version of it – delete?
>
> * high (2018) and pret-c (2018) are syntax highlighters.
>Are they better than the vim and scite modules?
>Does it make sense to keep/update them?
>
> * karnaugh (2021, VicSanRoPe; probably OK, I just don’t understand it)
> * t-account (2009, Wolfgang)
> * t-algorithmic (2013, Wolfgang)
> * t-animation (2013, Wolfgang)
> * t-annotation (2013, Wolfgang)
> * t-bnf (2006, Now)
> * t-chromato (2008, Peter)
> * t-construction-plan (2008, Peter)
> * t-crossref (2016, Zenlima)
> * t-cyrillicnumbers (2016, Philipp)
> * t-fancybreak (2015, Wolfgang)
> * t-french (2011, Peter)
> * t-fullpage (2017, Wolfgang)
> * t-gantt (2012, Adam)
> * t-gm (2015, Luigi)
> * t-gnuplot (2013, Mojca)
> * t-greek (2013, Thomas – is this more than fonts?)
> * t-gs (2015, Luigi)
> * t-inifile (2008, Peter)
> * t-layout (2007, Patrick)
> * t-letterspace (2016, Philipp)
> * t-mathsets (2011, Aditya)
> * t-rst (2016, Philipp)
> * t-rsteps (2006, David)
> * t-simplebib (2016, Zenlima)
> * t-taspresent (2008, Thomas – AFAIK an old version of simpleslides)
> * t-title (2017, Wolfgang)
> * t-transliterator (2021, Philipp)
> * t-typearea (2008, Peter)
> * t-visualcounter (2018, Aditya, isn’t there a newer version?)
>
> Modules not mentioned are probably fine.
>
> Hraban
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___



-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
corpo nem seus membros, por ser descanso da alma, primavera do
coração, distração do aflito, entretenimento do solitário, e viático
do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Peter Münster
On Wed, Aug 30 2023, Henning Hraban Ramm wrote:

> If their authors are present, I’d appreciate a comment if we should keep them.

Hi Hraban,

I don't know. My modules are probably all outdated and don't work with
the latest ConTeXt version. On the one hand they are probably no more
useful, on the other hand there could be perhaps some future users
and/or developers, who would like to use them and send patches.
Perhaps a flag like "unmaintained" would do the trick?
But it's no problem for me, if you prefer to delete them.

-- 
   Peter
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Kerning feature not working

2023-08-30 Thread Marcus Vinicius Mesquita
Dear List

In the MWE below, the kerning feature works OK for ebgaramonditalic
but not for ebgaramondregular.
How do I fix it?

I'm using ConTeXt version: 2023.08.27 13:48


\startluacode
fonts.handlers.otf.addfeature {
name = "kernit",
type = "kern",
   nocheck = true,
data = {
  [0x27E8] = { ["f"] = 300, ["fi"] = 300, ["fl"] = 300 }
}
}
\stopluacode

\definefontfeature[kernit][mode=node,kernit=yes]

\starttext
\definedfont[name:ebgaramondregular*default,kernit]

⟨f ile

⟨f lame

⟨file

⟨flame

\definedfont[name:ebgaramonditalic*default,kernit]

⟨f ile

⟨f lame

⟨file

⟨flame

\stoptext


--
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
corpo nem seus membros, por ser descanso da alma, primavera do
coração, distração do aflito, entretenimento do solitário, e viático
do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
\startluacode
	fonts.handlers.otf.addfeature {
		name = "kernit",
		type = "kern",
   nocheck = true,
		data = {
 [0x27E8] = { ["f"] = 300, ["fi"] = 300, ["fl"] = 300 }
		}
	}
\stopluacode
\definefontfeature[kernit][mode=node,kernit=yes]

\starttext
\definedfont[name:ebgaramondregular*default,kernit]

⟨f ile

⟨f lame

⟨file

⟨flame

\definedfont[name:ebgaramonditalic*default,kernit]

⟨f ile

⟨f lame

⟨file

⟨flame

\stoptext


MWE.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] list of modules: need changes/testing/response

2023-08-30 Thread Henning Hraban Ramm

Hi all, esp. module authors!

I went through the list of modules on https://modules.contextgarden.net/ 
(dl/) and the list that controls module installation for “--script 
install-modules".


I removed all font-related modules from the list (not yet from the 
garden), since they’re probably all obsolete & outdated.

Consider publishing typescripts in the wiki.


The following modules don’t adhere to the necessary structure and need 
changes:

* t-handlecsv (2023, Pablo)
* metaducks (2021, Jairo)
* presvoz (2023, Pablo)
All of them have a name directory on top of the TDS (tex, doc).
If you used a git checkout URL, please try again, for me it worked today.


Several modules need testing if they still work and make sense.
If their authors are present, I’d appreciate a comment if we should keep 
them. I’d like to delete at least everything older than 10 years.


* grph-downsample.lua (2019) is known to fail in current LMTX
  (I hope for an integrated solution during the meeting.)
  t-degrade (2018) is AFAIK an older version of it – delete?

* high (2018) and pret-c (2018) are syntax highlighters.
  Are they better than the vim and scite modules?
  Does it make sense to keep/update them?

* karnaugh (2021, VicSanRoPe; probably OK, I just don’t understand it)
* t-account (2009, Wolfgang)
* t-algorithmic (2013, Wolfgang)
* t-animation (2013, Wolfgang)
* t-annotation (2013, Wolfgang)
* t-bnf (2006, Now)
* t-chromato (2008, Peter)
* t-construction-plan (2008, Peter)
* t-crossref (2016, Zenlima)
* t-cyrillicnumbers (2016, Philipp)
* t-fancybreak (2015, Wolfgang)
* t-french (2011, Peter)
* t-fullpage (2017, Wolfgang)
* t-gantt (2012, Adam)
* t-gm (2015, Luigi)
* t-gnuplot (2013, Mojca)
* t-greek (2013, Thomas – is this more than fonts?)
* t-gs (2015, Luigi)
* t-inifile (2008, Peter)
* t-layout (2007, Patrick)
* t-letterspace (2016, Philipp)
* t-mathsets (2011, Aditya)
* t-rst (2016, Philipp)
* t-rsteps (2006, David)
* t-simplebib (2016, Zenlima)
* t-taspresent (2008, Thomas – AFAIK an old version of simpleslides)
* t-title (2017, Wolfgang)
* t-transliterator (2021, Philipp)
* t-typearea (2008, Peter)
* t-visualcounter (2018, Aditya, isn’t there a newer version?)

Modules not mentioned are probably fine.

Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Building luametatex with Lua symbols exposed

2023-08-30 Thread Jairo A. del Rio
Hi, beloved list. Since sources are in the distribution, I've tried
compiling luametatex by setting LMT_STRIP in CMakeLists.txt to 0, yet the
resulting binary still warns about undefined symbols, such as lua_gettop,
when an external library is loaded in Lua. Any ideas on how to solve it?
Thank you in advance.

Best regards,

Jairo
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] Re: attribute selection

2023-08-30 Thread Hans van der Meer via ntg-context
Finally I saw the problem. Calling 
\xmlfilter{#1}{./node/command(demo:attribute:node)} is the right way.
Sorry for the noise.

dr. Hans van der Meer
> On 30 Aug 2023, at 13:49, Hans van der Meer via ntg-context 
>  wrote:
> 
> This line of code comes from the xml documentation (page 31):
> \xmlfilter{#1}{./node[@type=="cleanup"]}
> It should select among the 's those with .
> However, this node is not selected in the call to \xmlfilter.
> Where am I wrong?
> 
> MWE follows
> 
> 
> % failure to typeset attribute selected.
> \setuppapersize[A5][A5]
> \startxmlsetups demo:attribute
>   \xmlsetsetup{#1}{root|node}{demo:attribute:*}
> \stopxmlsetups
> \xmlregisterdocumentsetup{demo}{demo:attribute}
> \startxmlsetups demo:attribute:root
>   Execute \type{\xmlall{#1}{./node}}
>   \crlf
>   \xmlall{#1}{./node}
>   \crlf
>   Execute \type{\xmlfilter{#1}{./node[@type=="cleanup"]}}
>   \xmlfilter{#1}{./node[@type=="cleanup"]}
>   \crlf
> \stopxmlsetups
> \startxmlsetups demo:attribute:node
>   calling node <\xmltag{#1}>
>   \xmlflush{#1}
>   \crlf
> \stopxmlsetups
> \startbuffer[attribute]
> 
> no attribute
> attribute type = cleanup
> 
> \stopbuffer
> \startbuffer[attribute2]
> 
> no attribute
> attribute type=cleanup
> 
> \stopbuffer
> \starttext
> \ConTeXt\ version\contextversion\blank
> \xmlprocessbuffer{demo}{attribute}{}
> \stoptext
> 
> 
> 
> 
> Hans van der Meer
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] attribute selection

2023-08-30 Thread Hans van der Meer via ntg-context
This line of code comes from the xml documentation (page 31):
\xmlfilter{#1}{./node[@type=="cleanup"]}
It should select among the 's those with .
However, this node is not selected in the call to \xmlfilter.
Where am I wrong?

MWE follows


% failure to typeset attribute selected.
\setuppapersize[A5][A5]
\startxmlsetups demo:attribute
\xmlsetsetup{#1}{root|node}{demo:attribute:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{demo:attribute}
\startxmlsetups demo:attribute:root
Execute \type{\xmlall{#1}{./node}}
\crlf
\xmlall{#1}{./node}
\crlf
Execute \type{\xmlfilter{#1}{./node[@type=="cleanup"]}}
\xmlfilter{#1}{./node[@type=="cleanup"]}
\crlf
\stopxmlsetups
\startxmlsetups demo:attribute:node
calling node <\xmltag{#1}>
\xmlflush{#1}
\crlf
\stopxmlsetups
\startbuffer[attribute]

no attribute
attribute type = cleanup

\stopbuffer
\startbuffer[attribute2]

no attribute
attribute type=cleanup

\stopbuffer
\starttext
\ConTeXt\ version\contextversion\blank
\xmlprocessbuffer{demo}{attribute}{}
\stoptext



xml-tex-attribute-select.pdf
Description: Adobe PDF document



Hans van der Meer
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___

[NTG-context] TeX in Czech?

2023-08-30 Thread Henning Hraban Ramm

Hi,
a friend just asked for a LaTeX book in Czech to give a PhD student for 
their birthday.
According to https://www.cstug.cz/informace/literatura/, there are only 
outdated TeX books in Czech. Is that true?


Looking at the CSTUG page, I wondered why our ConTeXt meeting isn’t 
listed in https://www.cstug.cz/informace/zpravy/

(While TUG 2023 in Bonn is listed, BachoTeX 2023 also isn’t.)
Sad.

Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___