ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* new upload
@ 2023-07-09 17:51 Hans Hagen via ntg-context
  2023-07-10  8:43 ` denis.maier
  2023-07-10 15:51 ` Rik Kabel
  0 siblings, 2 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2023-07-09 17:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

No functional changes this time:

- some more consistent usage of new primitives instead of helper macros, 
also a bit of a look and feel related effort as well as getting even 
less tracing clutter (the kind of changes for Wolfgang to check -)

- as aside effect there is some performance gain (there is not that much 
more to gain now unless we go ugly); this all depends on usage of course

- at some point some of the more obscure middle level helpers (dating 
from mkii) might move to a module as i don't think anyone uses them in lmtx

There are quite some files affected (all is tripple checked but who 
knows). If there are issues, they should be easy to fix.

We're now moving into page builder (another side effect of math tuneup) 
mode and have some new features coming there.

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
___________________________________________________________________________________


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

* Re: new upload
  2023-07-09 17:51 new upload Hans Hagen via ntg-context
@ 2023-07-10  8:43 ` denis.maier
  2023-07-10  9:53   ` Hans Hagen
  2023-07-10 15:51 ` Rik Kabel
  1 sibling, 1 reply; 205+ messages in thread
From: denis.maier @ 2023-07-10  8:43 UTC (permalink / raw)
  To: ntg-context

Hi Hans,

Page puilder mode sounds interesting! What are you plans for that?

Best,
Denis

> -----Ursprüngliche Nachricht-----
> Von: Hans Hagen via ntg-context <ntg-context@ntg.nl>
> Gesendet: Sonntag, 9. Juli 2023 19:51
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Cc: Hans Hagen <j.hagen@freedom.nl>
> Betreff: [NTG-context] new upload
> 
> Hi,
> 
> No functional changes this time:
> 
> - some more consistent usage of new primitives instead of helper macros, also
> a bit of a look and feel related effort as well as getting even less tracing clutter
> (the kind of changes for Wolfgang to check -)
> 
> - as aside effect there is some performance gain (there is not that much more
> to gain now unless we go ugly); this all depends on usage of course
> 
> - at some point some of the more obscure middle level helpers (dating from
> mkii) might move to a module as i don't think anyone uses them in lmtx
> 
> There are quite some files affected (all is tripple checked but who knows). If
> there are issues, they should be easy to fix.
> 
> We're now moving into page builder (another side effect of math tuneup)
> mode and have some new features coming there.
> 
> Hans
> 
> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 |
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> pragma-
> ade.nl%2F&data=05%7C01%7Cdenis.maier%40unibe.ch%7C19dfcbacacda44
> fca92308db80a59c54%7Cd400387a212f43eaac7f77aa12d7977e%7C1%7C
> 0%7C638245221007372928%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4
> wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%
> 7C%7C%7C&sdata=G7QB0pUJwFq5Crvdd4hLvSzCnvtdcXASsjWLUs1%2FfbU
> %3D&reserved=0 |
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
> pragma-
> pod.nl%2F&data=05%7C01%7Cdenis.maier%40unibe.ch%7C19dfcbacacda44
> fca92308db80a59c54%7Cd400387a212f43eaac7f77aa12d7977e%7C1%7C
> 0%7C638245221007372928%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4
> wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%
> 7C%7C%7C&sdata=mOLZeMc5fuwcF3UXd%2BGgQmA04HxVs4c1kNSkWlnGL
> VU%3D&reserved=0
> -----------------------------------------------------------------
> ___________________________________________________________________
> ________________
> If your question is of interest to others as well, please add an entry to the
> Wiki!
> 
> maillist : ntg-context@ntg.nl /
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .ntg.nl%2Fmailman%2Flistinfo%2Fntg-
> context&data=05%7C01%7Cdenis.maier%40unibe.ch%7C19dfcbacacda44fca
> 92308db80a59c54%7Cd400387a212f43eaac7f77aa12d7977e%7C1%7C0%
> 7C638245221007372928%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL
> jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C
> %7C%7C&sdata=cXh7bNY48ulIZPX3P6Imj5tkgdR%2B0TRXzWxoTEOVrbE%3D
> &reserved=0
> webpage  :
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
> .pragma-
> ade.nl%2F&data=05%7C01%7Cdenis.maier%40unibe.ch%7C19dfcbacacda44
> fca92308db80a59c54%7Cd400387a212f43eaac7f77aa12d7977e%7C1%7C
> 0%7C638245221007372928%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4
> wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%
> 7C%7C%7C&sdata=FLpFbVGfocFjXA3qqoyUb96bGY%2F36zbeexypTcW0EcY
> %3D&reserved=0 /
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcontex
> t.aanhet.net%2F&data=05%7C01%7Cdenis.maier%40unibe.ch%7C19dfcbaca
> cda44fca92308db80a59c54%7Cd400387a212f43eaac7f77aa12d7977e%7C
> 1%7C0%7C638245221007372928%7CUnknown%7CTWFpbGZsb3d8eyJWIj
> oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 3000%7C%7C%7C&sdata=Ua4zTxMemOWwmsT5AeMJNw0r1oQRVNVrHnaz
> bdvnmJs%3D&reserved=0
> archive  :
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbu
> cket.org%2Fphg%2Fcontext-
> mirror%2Fcommits%2F&data=05%7C01%7Cdenis.maier%40unibe.ch%7C19
> dfcbacacda44fca92308db80a59c54%7Cd400387a212f43eaac7f77aa12d797
> 7e%7C1%7C0%7C638245221007372928%7CUnknown%7CTWFpbGZsb3d8
> eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
> D%7C3000%7C%7C%7C&sdata=DXoFJ0Ng%2B4cfRLwglgcBGeY4qGTUBBR65
> 8JZe7HooRs%3D&reserved=0
> wiki     :
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fconte
> xtgarden.net%2F&data=05%7C01%7Cdenis.maier%40unibe.ch%7C19dfcbac
> acda44fca92308db80a59c54%7Cd400387a212f43eaac7f77aa12d7977e%7
> C1%7C0%7C638245221007372928%7CUnknown%7CTWFpbGZsb3d8eyJWI
> joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 3000%7C%7C%7C&sdata=vOXj9LP1mNcKIsct76foOm8TT3YAZlL7vEbAH6cOs
> 88%3D&reserved=0
> ___________________________________________________________________
> ________________
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: new upload
  2023-07-10  8:43 ` denis.maier
@ 2023-07-10  9:53   ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2023-07-10  9:53 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

On 7/10/2023 10:43 AM, denis.maier@unibe.ch wrote:

> Page puilder mode sounds interesting! What are you plans for that?

Things like:

- overflow area
- vertical expansion
- more detailed tracing
- more accurate \testpage
- initial and as-we-go stretch/shrink manipulation

Most is already there but in the process of being documented and tested.

Atached is an example (from the manual) that shows somethign that can be 
handy for those who typeset novels and such. (vz is a variant on hz and 
is something that Hermann Zapf suggested long ago when we discussed 
vertical expansion.)

Other tricks are:

\setupalign[vertical,height]

....

\setpagelooseness[-2]

....

and such which can be used to influence the current page.

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

[-- Attachment #2: vz.pdf --]
[-- Type: application/pdf, Size: 54476 bytes --]

[-- Attachment #3: vz.tex --]
[-- Type: text/plain, Size: 2560 bytes --]

\starttext

\startbuffer[vz-1]
\starttext
    \showframe[text]
    \enabletrackers[layout.vz]
    \setuplayout[width=middle,headerdistance=5mm,vz=no]
    \clubpenalty  10000
    \widowpenalty 10000
    \dostepwiserecurse{0}{30}{1}{
        \dorecurse{#1}{\strut dummy line ##1\par}
        \dorecurse{4}{\samplefile{tufte}\par}
    }
\stoptext
\stopbuffer

\startbuffer[vz-2]
\starttext
    \showframe[text]
    \enabletrackers[layout.vz]
    \setuplayout[width=middle,headerdistance=5mm,vz=yes]
    \clubpenalty  10000
    \widowpenalty 10000
    \dostepwiserecurse{0}{30}{1}{
        \dorecurse{#1}{\strut dummy line ##1\par}
        \dorecurse{4}{\samplefile{tufte}\par}
    }
\stoptext
\stopbuffer

\startbuffer[vz-3]
\starttext
    \showframe[text]
    \enabletrackers[layout.vz]
    \setuplayout[width=middle,headerdistance=5mm,vz=2]
    \clubpenalty  10000
    \widowpenalty 10000
    \dostepwiserecurse{0}{30}{1}{
        \dorecurse{#1}{\strut dummy line ##1\par}
        \dorecurse{4}{\samplefile{tufte}\par}
    }
\stoptext
\stopbuffer

\startplacefigure[location=here,reference=fig:vz-1,title={Cheating with vertical expansion: \type {[vz=no]}.}]
    \startcombination[4*1]
        {\typesetbuffer[vz-1][width=\combinationwidth,page=1,frame=on]} {}
        {\typesetbuffer[vz-1][width=\combinationwidth,page=2,frame=on]} {}
        {\typesetbuffer[vz-1][width=\combinationwidth,page=3,frame=on]} {}
        {\typesetbuffer[vz-1][width=\combinationwidth,page=4,frame=on]} {}
    \stopcombination
\stopplacefigure

\startplacefigure[location=here,reference=fig:vz-2,title={Cheating with vertical expansion: \type {[vz=yes]}.}]
    \startcombination[4*1]
        {\typesetbuffer[vz-2][width=\combinationwidth,page=1,frame=on]} {}
        {\typesetbuffer[vz-2][width=\combinationwidth,page=2,frame=on]} {}
        {\typesetbuffer[vz-2][width=\combinationwidth,page=3,frame=on]} {}
        {\typesetbuffer[vz-2][width=\combinationwidth,page=4,frame=on]} {}
    \stopcombination
\stopplacefigure

\startplacefigure[location=here,reference=fig:vz-3,title={Cheating with vertical expansion: \type {[vz=2]}.}]
    \startcombination[4*1]
        {\typesetbuffer[vz-3][width=\combinationwidth,page=1,frame=on]} {}
        {\typesetbuffer[vz-3][width=\combinationwidth,page=2,frame=on]} {}
        {\typesetbuffer[vz-3][width=\combinationwidth,page=3,frame=on]} {}
        {\typesetbuffer[vz-3][width=\combinationwidth,page=4,frame=on]} {}
    \stopcombination
\stopplacefigure

\stoptext

[-- Attachment #4: Type: text/plain, Size: 495 bytes --]

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

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

* Re: new upload
  2023-07-09 17:51 new upload Hans Hagen via ntg-context
  2023-07-10  8:43 ` denis.maier
@ 2023-07-10 15:51 ` Rik Kabel
  2023-07-10 16:13   ` Hans Hagen
  1 sibling, 1 reply; 205+ messages in thread
From: Rik Kabel @ 2023-07-10 15:51 UTC (permalink / raw)
  To: ntg-context


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

The following code now fails. It works as expected under 2023.05.05 as 
found in the texlive.net runner.

    \defineparagraphs[TwoCols][n=2]
    \setupparagraphs[TwoCols][2][\width=.5\textwidth]
    \starttext

    \input knuth \par

    \startTwoCols
    \input knuth \par
    \nextTwoCols
    \input knuth \par
    \stopTwoCols

    \input knuth \par

    \stoptext

-- 
Rik

On 2023-07-09 13:51, Hans Hagen via ntg-context wrote:
> Hi,
>
> No functional changes this time:
>
> - some more consistent usage of new primitives instead of helper 
> macros, also a bit of a look and feel related effort as well as 
> getting even less tracing clutter (the kind of changes for Wolfgang to 
> check -)
>
> - as aside effect there is some performance gain (there is not that 
> much more to gain now unless we go ugly); this all depends on usage of 
> course
>
> - at some point some of the more obscure middle level helpers (dating 
> from mkii) might move to a module as i don't think anyone uses them in 
> lmtx
>
> There are quite some files affected (all is tripple checked but who 
> knows). If there are issues, they should be easy to fix.
>
> We're now moving into page builder (another side effect of math 
> tuneup) mode and have some new features coming there.
>
> 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
> ___________________________________________________________________________________ 
>

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

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

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

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

* Re: new upload
  2023-07-10 15:51 ` Rik Kabel
@ 2023-07-10 16:13   ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2023-07-10 16:13 UTC (permalink / raw)
  To: Rik Kabel, mailing list for ConTeXt users

On 7/10/2023 5:51 PM, Rik Kabel wrote:
> The following code now fails. It works as expected under 2023.05.05 as 
> found in the texlive.net runner.
> 
>     \defineparagraphs[TwoCols][n=2]
>     \setupparagraphs[TwoCols][2][\width=.5\textwidth]
>     \starttext
> 
>     \input knuth \par
> 
>     \startTwoCols
>     \input knuth \par
>     \nextTwoCols
>     \input knuth \par
>     \stopTwoCols
> 
>     \input knuth \par
> 
>     \stoptext
remove a \ in \\ in line 187 of tabl-mis.mkxl and then remake the format

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
___________________________________________________________________________________

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

* Re: new upload
  2022-12-27 22:32       ` Hans Hagen via ntg-context
@ 2022-12-27 23:06         ` Floris van Manen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Floris van Manen via ntg-context @ 2022-12-27 23:06 UTC (permalink / raw)
  To: ntg-context; +Cc: Floris van Manen



On 27/12/2022 23:32, Hans Hagen via ntg-context wrote:
>>
> I think i figured out what the issue is. A bit tricky to figure out 
> because my local gcc is newer than the one on the garden (and it 
> actually also produces 10% smaller binaries).

lmtx context is working again, thanks !

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

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

* Re: new upload
  2022-12-27 22:00     ` Pablo Rodriguez via ntg-context
@ 2022-12-27 22:32       ` Hans Hagen via ntg-context
  2022-12-27 23:06         ` Floris van Manen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-27 22:32 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Hans Hagen

On 12/27/2022 11:00 PM, Pablo Rodriguez via ntg-context wrote:
> On 12/27/22 21:13, Hans Hagen via ntg-context wrote:
>>>
>>> I don’t know what may be wrong here.
>> me neither so i need to check it
> 
> I’m afraid I’m getting the same error with newer upload
> (https://mailman.ntg.nl/pipermail/ntg-context/2022/107492.html).
I think i figured out what the issue is. A bit tricky to figure out 
because my local gcc is newer than the one on the garden (and it 
actually also produces 10% smaller binaries).

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
___________________________________________________________________________________

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

* Re: new upload
  2022-12-27 20:13   ` Hans Hagen via ntg-context
@ 2022-12-27 22:00     ` Pablo Rodriguez via ntg-context
  2022-12-27 22:32       ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-12-27 22:00 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 12/27/22 21:13, Hans Hagen via ntg-context wrote:
>>
>> I don’t know what may be wrong here.
> me neither so i need to check it

I’m afraid I’m getting the same error with newer upload
(https://mailman.ntg.nl/pipermail/ntg-context/2022/107492.html).

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

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

* Re: new upload
  2022-12-27 17:44 ` Pablo Rodriguez via ntg-context
@ 2022-12-27 20:13   ` Hans Hagen via ntg-context
  2022-12-27 22:00     ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-27 20:13 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Hans Hagen

On 12/27/2022 6:44 PM, Pablo Rodriguez via ntg-context wrote:
> On 12/27/22 18:04, Hans Hagen via ntg-context wrote:
>> Hi,
>>
>> I uploaded lmtx. There have been some additions to tabulate.
> 
> Hi Hans,
> 
> many thanks for the new upload, but I’m afraid I get this error in LMTX
> (MkIV works fine):
> 
>    \starttext
>    \null
>    \stoptext
> 
> resolvers       | formats | executing runner 'run luametatex format':
> ~/context/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex"
> --fmt=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
> --lua=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
>   --c:currentrun=1 --c:fulljobname="./a.tex" --c:input="./a.tex"
> --c:kindofrun=1 --c:maxnofruns=9
> --c:texmfbinpath="~/context/tex/texmf-linux-64/bin"
> mtx-context     | fatal error: return code: 1
> 
> I have erased and generated the cache with "mtxrun --generate".
> 
> I don’t know what may be wrong here.
me neither so i need to check it


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

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

* Re: new upload
  2022-12-27 17:04 Hans Hagen via ntg-context
  2022-12-27 17:27 ` Floris van Manen via ntg-context
  2022-12-27 17:34 ` Floris van Manen via ntg-context
@ 2022-12-27 17:44 ` Pablo Rodriguez via ntg-context
  2022-12-27 20:13   ` Hans Hagen via ntg-context
  2 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-12-27 17:44 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 12/27/22 18:04, Hans Hagen via ntg-context wrote:
> Hi,
> 
> I uploaded lmtx. There have been some additions to tabulate.

Hi Hans,

many thanks for the new upload, but I’m afraid I get this error in LMTX
(MkIV works fine):

  \starttext
  \null
  \stoptext

resolvers       | formats | executing runner 'run luametatex format':
~/context/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex"
--fmt=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
--lua=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui
 --c:currentrun=1 --c:fulljobname="./a.tex" --c:input="./a.tex"
--c:kindofrun=1 --c:maxnofruns=9
--c:texmfbinpath="~/context/tex/texmf-linux-64/bin"
mtx-context     | fatal error: return code: 1

I have erased and generated the cache with "mtxrun --generate".

I don’t know what may be wrong here.

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

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

* Re: new upload
  2022-12-27 17:04 Hans Hagen via ntg-context
  2022-12-27 17:27 ` Floris van Manen via ntg-context
@ 2022-12-27 17:34 ` Floris van Manen via ntg-context
  2022-12-27 17:44 ` Pablo Rodriguez via ntg-context
  2 siblings, 0 replies; 205+ messages in thread
From: Floris van Manen via ntg-context @ 2022-12-27 17:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Floris van Manen

the latest update broke my installation on linux.
How can I revert to a working version?

.F




$ context context18.tex
resolvers       | globbing | confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'

resolvers       | formats | executing runner 'run luametatex format': 
/home/vm/context/tex/texmf-linux-64/bin/luametatex 
--jobname="./context18.tex" 
--fmt=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt 
--lua=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui 
  --c:currentrun=1 --c:fulljobname="./context18.tex" 
--c:input="./context18.tex" --c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin"
Segmentation fault (core dumped)
mtx-context     | fatal error: return code: 1
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2022-12-27 17:04 Hans Hagen via ntg-context
@ 2022-12-27 17:27 ` Floris van Manen via ntg-context
  2022-12-27 17:34 ` Floris van Manen via ntg-context
  2022-12-27 17:44 ` Pablo Rodriguez via ntg-context
  2 siblings, 0 replies; 205+ messages in thread
From: Floris van Manen via ntg-context @ 2022-12-27 17:27 UTC (permalink / raw)
  To: ntg-context; +Cc: Floris van Manen

i get an error running the sample code:


\starttext

\defineorientation[test][orientation=down,vertical=top]

\startbuffer[b]
\definetabulatemove[a][xoffset=40pt]
\definetabulatemove[b][orientation=test,yoffset=depth]

\starttabulate[|c|c|]
\TM[a] \NC \darkred   cell one   \NC \darkgray cell one   \NC \NR
\TM[b] \NC \darkgreen cell one   \NC \darkblue cell one   \NC \NR
\TM[a] \NC \darkred   cell two   \NC \darkgray cell two   \NC \NR
\TM[b] \NC \darkgreen cell two   \NC \darkblue cell two   \NC \NR
\TM[a] \NC \darkred   cell three \NC \darkgray cell three \NC \NR
\TM[b] \NC \darkgreen cell three \NC \darkblue cell three \NC \NR
\TM[a] \NC \darkred   cell four  \NC \darkgray cell four  \NC \NR
\TM[b] \NC \darkgreen cell four  \NC \darkblue cell four  \NC \NR
\stoptabulate
\stopbuffer

\start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop
\start                   \showstruts \ruledvbox{\getbuffer[b]} \stop
\start                               \ruledvbox{\getbuffer[b]} \stop

\startbuffer[b]
\definetabulatemove[a][xoffset=20pt]

\starttabulate[|p|p|]
\TM[a] \NC \darkred   \samplefile{tufte} \NC \darkgray \samplefile{ward} 
\NC \NR
        \NC \darkgreen \samplefile{tufte} \NC \darkblue 
\samplefile{ward} \NC \NR
\TM[a] \NC \darkred   \samplefile{tufte} \NC \darkgray \samplefile{ward} 
\NC \NR
        \NC \darkgreen \samplefile{tufte} \NC \darkblue 
\samplefile{ward} \NC \NR
\stoptabulate
\stopbuffer

\start \small \small \showmakeup[line] \showstruts \getbuffer[b] \stop

\stoptext








$ context context\ 17.tex
resolvers       | globbing | confusing filename, name: 'CHANGELOG', 
lower: 'changelog', already: 'ChangeLog'

resolvers       | formats | executing runner 'run luametatex format': 
/home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname="./context 
17.tex" 
--fmt=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt 
--lua=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui 
  --c:currentrun=1 --c:fulljobname="./context 17.tex" 
--c:input="./context 17.tex" --c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin"
Segmentation fault (core dumped)

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

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

* new upload
@ 2022-12-27 17:04 Hans Hagen via ntg-context
  2022-12-27 17:27 ` Floris van Manen via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-27 17:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

I uploaded lmtx. There have been some additions to tabulate.

\starttext

% \showboxes
% \showstruts

\starttabulate[|w(top,3cm)|w(top,3cm)|]
\NC test \NC test \par test \NC \NR
\NC test \NC test \par test \NC \NR
\stoptabulate

\starttabulate[|w(top,packed,3cm)|w(top,packed,3cm)|]
\NC test \NC test \par test \NC \NR
\NC test \NC test \par test \NC \NR
\stoptabulate

\starttabulate[interlinespace=no,format={|w(bottom,3cm)|w(bottom,3cm)|}]
\NC test \NC test \par test \NC \NR
\NC test \NC test \par test \NC \NR
\stoptabulate

\starttabulate[format={|w(3cm)|w(3cm)|}]
\NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR
\NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR
\stoptabulate

\starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}]
\NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR
\NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR
\stoptabulate

\starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}]
\NC \vbox{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR
\NC \vbox{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR
\stoptabulate

\starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}]
\NC \vtop{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR
\NC \vbox{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR
\stoptabulate

\stoptext

This permits top and bottom alignments of text blobs without interrow 
spacing being disturbed.

A bit more weird addition is the new \TM (move) option:

\starttext

\defineorientation[test][orientation=down,vertical=top]

\startbuffer[b]
\definetabulatemove[a][xoffset=40pt]
\definetabulatemove[b][orientation=test,yoffset=depth]

\starttabulate[|c|c|]
\TM[a] \NC \darkred   cell one   \NC \darkgray cell one   \NC \NR
\TM[b] \NC \darkgreen cell one   \NC \darkblue cell one   \NC \NR
\TM[a] \NC \darkred   cell two   \NC \darkgray cell two   \NC \NR
\TM[b] \NC \darkgreen cell two   \NC \darkblue cell two   \NC \NR
\TM[a] \NC \darkred   cell three \NC \darkgray cell three \NC \NR
\TM[b] \NC \darkgreen cell three \NC \darkblue cell three \NC \NR
\TM[a] \NC \darkred   cell four  \NC \darkgray cell four  \NC \NR
\TM[b] \NC \darkgreen cell four  \NC \darkblue cell four  \NC \NR
\stoptabulate
\stopbuffer

\start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop
\start                   \showstruts \ruledvbox{\getbuffer[b]} \stop
\start                               \ruledvbox{\getbuffer[b]} \stop

\startbuffer[b]
\definetabulatemove[a][xoffset=20pt]

\starttabulate[|p|p|]
\TM[a] \NC \darkred   \samplefile{tufte} \NC \darkgray \samplefile{ward} 
\NC \NR
        \NC \darkgreen \samplefile{tufte} \NC \darkblue 
\samplefile{ward} \NC \NR
\TM[a] \NC \darkred   \samplefile{tufte} \NC \darkgray \samplefile{ward} 
\NC \NR
        \NC \darkgreen \samplefile{tufte} \NC \darkblue 
\samplefile{ward} \NC \NR
\stoptabulate
\stopbuffer

\start \small \small \showmakeup[line] \showstruts \getbuffer[b] \stop

\stoptext

This uses some new low level alignment options that operate on rows as a 
whole. As usual, I have no clue what users will come up with but the 
idea is that these 'moves' are independent of the alignment so the in 
this case shifted columns actually keeps their alignment. (It is mostly 
about consistent support luametatex engine features but it might come in 
handy.)

Some other 'new' things are too obscure to mention now,

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
___________________________________________________________________________________

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

* Re: new upload
  2022-11-14 22:02 Hans Hagen via ntg-context
@ 2022-11-15 14:47 ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-11-15 14:47 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 11/14/22 23:02, Hans Hagen via ntg-context wrote:
> Hi,
> 
> I uploaded a new version.

Hi Hans,

many thanks for the new upload.

Now it is updated fine in my rather weird Windows system (at work).

Many thanks for the new version again,

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

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

* new upload
@ 2022-11-14 22:02 Hans Hagen via ntg-context
  2022-11-15 14:47 ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-11-14 22:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

I uploaded a new version. New is that we can apply hz to math, although 
currently we have configured it as experiment.

\setupbodyfont[pagella]

% \startluacode
%     fonts.expansions.vectors.math = {
%         [0x002B] = { 4, 0 }, -- +
%         [0x2212] = { 4, 0 }, -- -
%         [0x003C] = { 8, 0 }, -- <
%         [0x003D] = { 8, 0 }, -- =
%         [0x003E] = { 8, 0 }, -- >
%         [0x002F] = { 2, 0 }, -- /
%         [0x0028] = { 2, 0 }, -- (
%         [0x0029] = { 2, 0 }, -- )
%         [0x005B] = { 2, 0 }, -- [
%         [0x005D] = { 2, 0 }, -- ]
%     }
% \stopluacode

\setupmathematics[hz=yes]

\startbuffer \showglyphs
     \dorecurse{20}{\strut test $x + y/2 - w = 10$ }\unskip
\stopbuffer

\definecolor[tgreen][g=1,t=.5,a=1]
\definecolor[tred]  [r=1,t=.5,a=1]

\startTEXpage[offset=5dk]
     \startoverlay
       {\ruledvbox to 5cm{\setupalign 
[tolerant,stretch]\tgreen\getbuffer\vss}}
       {\ruledvbox to 
5cm{\setupalign[hz,tolerant,stretch]\tred\getbuffer\vss}}
     \stopoverlay
\stopTEXpage

\stoptext

Normally an expansion factor is small and used for both stretch and 
shrink, but we can have them independendent. So, here we stretch rather 
extreme but don't shrink.

\setupmathematics[hz=yes]

only kicks in when we have hz enabled as alignment option. We can of 
course configure more 'stretchable symbols' but first we want to know if 
it makes sense at all. We can also imagine to disable it in specific cases.

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
___________________________________________________________________________________

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

* Re: new upload
  2022-10-18 15:40             ` Pablo Rodriguez via ntg-context
@ 2022-10-19  1:39               ` Alan Braslau via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Alan Braslau via ntg-context @ 2022-10-19  1:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Alan Braslau, Pablo Rodriguez

On 18/10/2022 09:40, Pablo Rodriguez via ntg-context wrote:
> A complete install has revealed the real cause of the slow download: the
> antivirus software (that works like crap).

My antivirus software is called ... Unix ;-)
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2022-10-17 20:40           ` Hans Hagen via ntg-context
@ 2022-10-18 15:40             ` Pablo Rodriguez via ntg-context
  2022-10-19  1:39               ` Alan Braslau via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-10-18 15:40 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 10/17/22 22:40, Hans Hagen via ntg-context wrote:
> On 10/17/2022 7:12 PM, Pablo Rodriguez via ntg-context wrote:
>> […]
>> The problem is clearly not the speed of the internet connection. I use
>> internet with the standard speed.
>>
>> There are two things that strike me as possible causes.
>> […]
> so then just do a complete install

Many thanks for your reply, Hans.

A complete install has revealed the real cause of the slow download: the
antivirus software (that works like crap).

The time that I thought it was downloading each single file, it was
really analyzing it.

Even worse, when the AV software didn’t like the contents of the file,
it saved an empty file (I have seen it with text and PDF documents).

I had a backup copy, so it updated it (manually) with what a new install
for Win64 (which I got in Linux64).

>> 2. The whole download is http instead of https.
>
> sure, but if you have the curl(lib) installed in principle one could do
> a secure install (I didn't really test it but it's in there)

curl is installed in both Linux and Windows (and there was no secure
install on any of them).

And according to lines 634-640 from mtx-install.lua, if curl isn’t
installed, the installation script should quit:

  if environment.argument("secure") then
    usecurl = checkcurl()
    if not usecurl then
      report("no curl installed, quitting")
      os.exit()
    end
  end

Or what am I missing here?

>> Is there anything that I could to to improve the download process?
> If per-file is slow at you end you can try to just install the whole lot
> (just delete the tex tree or at least the tma file that stores the
> hashes) because then the zip is downloaded and installed (one fetch).

Many thanks for your suggestion, since it helped to discover the real
cause of the non-working update.

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

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

* Re: new upload
  2022-10-17 17:12         ` Pablo Rodriguez via ntg-context
@ 2022-10-17 20:40           ` Hans Hagen via ntg-context
  2022-10-18 15:40             ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-10-17 20:40 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 10/17/2022 7:12 PM, Pablo Rodriguez via ntg-context wrote:
> On 10/15/22 11:28, Hans Hagen via ntg-context wrote:
>> […]
>> just run twice as the script will pick up
> 
> Hi Hans,
> 
> I have tried updating ConTeXt in Windows this morning and I’m afraid it
> hasn't worked.
> 
> Until I can manage this, I think I will download (to the extend that is
> possible [and if this works at all]) a Win64 distribution using Linux64
> with "--platform=win64".
> 
> The problem is clearly not the speed of the internet connection. I use
> internet with the standard speed.
> 
> There are two things that strike me as possible causes.
> 
> 1. Depending of which update is pending, the script announces a
> different number of files to be downloaded.
> 
> The problem is that each individual file download seems to require a
> complete connection.
> 
> I mean, it takes about ten seconds to establish a connection for each
> file. It is irrelevant how big the file actually is.
> 
> After that, it isn’t much harder to download the LMTX binary than a tiny
> text file.

so then just do a complete install

> For most files, they aren’t downloaded in the first connection (they may
> require more than three downloads). It doesn’t seem to depend on size.
> 
> This is what makes it hard to reach even 10% in the download.
> 
> And even if some files may have been downloaded, once the script quits,
> the already downloaded files need to be downloaded again (since the main
> download process wasn’t completed).
> 
> 2. The whole download is http instead of https.

sure, but if you have the curl(lib) installed in principle one could do 
a secure install (I didn't really test it but it's in there)

> Sorry, but this may be causing the delay in the connections (because
> they may be being filtered by the company proxy [and I don’t want to ask]).
> 
> https://lmtx.pragma-ade.nl seems to be the only source used (in Windows)
> and its certificate is only valid for lmtx.pragma-ade.com (according to
> Firefox).

hm, you can change the url in the install script (maybe i can set up the 
server differently but not now)

> Even using "./install.sh --secure --platform=win64" (I’m on Linux now,
> no Windows here), I get:
> 
> mtx-install     | instance : install-lmtx
> mtx-install     | platform : windows
> mtx-install     | system   : unix
> mtx-install     | fetching
> 'http://lmtx.pragma-ade.com/install-lmtx//texmf.zip'
>   […]
> mtx-install     | fetching
> 'http://lmtx.pragma-ade.com/install-lmtx//texmf-context.zip'
> 
> I don’t know whether this is a bug or it is intended.
> 
> BTW, "local function checkurl()" on line 52 of mtx-install.lua ends with:
> 
>    and find(s,"rotocols")

not important (p P)

> I think it might read (although this doesn’t seem to change anything in
> my case):
> 
>    and find(s,"protocols")
> 
> Is there anything that I could to to improve the download process?
If per-file is slow at you end you can try to just install the whole lot 
(just delete the tex tree or at least the tma file that stores the 
hashes) because then the zip is downloaded and installed (one fetch).

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
___________________________________________________________________________________

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

* Re: new upload
  2022-10-15  9:28       ` Hans Hagen via ntg-context
@ 2022-10-17 17:12         ` Pablo Rodriguez via ntg-context
  2022-10-17 20:40           ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-10-17 17:12 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 10/15/22 11:28, Hans Hagen via ntg-context wrote:
> […]
> just run twice as the script will pick up

Hi Hans,

I have tried updating ConTeXt in Windows this morning and I’m afraid it
hasn't worked.

Until I can manage this, I think I will download (to the extend that is
possible [and if this works at all]) a Win64 distribution using Linux64
with "--platform=win64".

The problem is clearly not the speed of the internet connection. I use
internet with the standard speed.

There are two things that strike me as possible causes.

1. Depending of which update is pending, the script announces a
different number of files to be downloaded.

The problem is that each individual file download seems to require a
complete connection.

I mean, it takes about ten seconds to establish a connection for each
file. It is irrelevant how big the file actually is.

After that, it isn’t much harder to download the LMTX binary than a tiny
text file.

For most files, they aren’t downloaded in the first connection (they may
require more than three downloads). It doesn’t seem to depend on size.

This is what makes it hard to reach even 10% in the download.

And even if some files may have been downloaded, once the script quits,
the already downloaded files need to be downloaded again (since the main
download process wasn’t completed).

2. The whole download is http instead of https.

Sorry, but this may be causing the delay in the connections (because
they may be being filtered by the company proxy [and I don’t want to ask]).

https://lmtx.pragma-ade.nl seems to be the only source used (in Windows)
and its certificate is only valid for lmtx.pragma-ade.com (according to
Firefox).

Even using "./install.sh --secure --platform=win64" (I’m on Linux now,
no Windows here), I get:

mtx-install     | instance : install-lmtx
mtx-install     | platform : windows
mtx-install     | system   : unix
mtx-install     | fetching
'http://lmtx.pragma-ade.com/install-lmtx//texmf.zip'
 […]
mtx-install     | fetching
'http://lmtx.pragma-ade.com/install-lmtx//texmf-context.zip'

I don’t know whether this is a bug or it is intended.

BTW, "local function checkurl()" on line 52 of mtx-install.lua ends with:

  and find(s,"rotocols")

I think it might read (although this doesn’t seem to change anything in
my case):

  and find(s,"protocols")

Is there anything that I could to to improve the download process?

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

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

* Re: new upload
  2022-10-17  8:03       ` Hans Hagen via ntg-context
@ 2022-10-17 16:41         ` Aditya Mahajan via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-10-17 16:41 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan

On Mon, 17 Oct 2022, Hans Hagen via ntg-context wrote:

> On 10/17/2022 3:38 AM, Aditya Mahajan via ntg-context wrote:
> > On Sun, 16 Oct 2022, Mikael Sundqvist via ntg-context wrote:
> > 
> >> Hi,
> >>
> >> On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context
> >> <ntg-context@ntg.nl> wrote:
> >>>
> >>> On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I uploaded a new version. Apart from a few fixes / extensions already
> >>>> mentioned here (or known to those who wanted it) the main changes are in
> >>>> the math goodie files (work in progress, we will clean them up later) as
> >>>> part of improving the rendering of math.
> >>>
> >>> Something is wrong with the placement of limits around an integral with
> NeoEuler:
> >>>
> >>> \usetypescriptfile[euler]
> >>>
> >>> \definetypeface[mainfont][rm][specserif][CharisSil][default]
> >>> \definetypeface[mainfont][mm][math] [eulernova][default]
> >>> \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8,
> features=none]
> >>> \setupbodyfont[mainfont,10pt]
> >>>
> >>> \starttext
> >>> \startTEXpage[offset=1mm]
> >>>    $\displaystyle \int_{0}^{1} f(x) dx$
> >>> \stopTEXpage
> >>> \stoptext
> >>>
> >>> gives the attached result.
> >>
> >> This is because the integral "sits wrong" in its boundingbox. Almost
> >> all fonts have the glyph centered around the math axis, but there are
> >> a few that doesn't. In euler-math.lfg, add the tweak
> >>
> >> {
> >> tweak = "fixoldschool",
> >> },
> > 
> > This fixes the issue with eulernova, but not with pagellaovereuler.
> pagellaovereuler uses euler-with-pagella-math as a goodie file, but that is
> missing from the distribution. (I simply copied euler-math.lfg for my use
> case).
> > 
> > With tweak=fixoldschool, \startcases doesn't work correctly (see attached):
> > 
> > \usetypescriptfile[euler]
> > 
> > \definetypeface[mainfont][rm][specserif][CharisSil][default]
> > \definetypeface[mainfont][mm][math] [eulernova][default]
> > \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8,
> features=none]
> > \setupbodyfont[mainfont,10pt]
> > 
> > \starttext
> > \startTEXpage[offset=1mm]
> >    \startformula
> >      \startcases
> >        \NC A \NC B \NR
> >        \NC C \NC D \NR
> >      \stopcases
> >    \stopformula
> > \stopTEXpage
> > \stoptext
> 
> Looks like some older experimental value is wrong:
> 
>         parameters = {
> --             DelimiterPercent    =  901,
>              DelimiterShortfall  =  500,
>          },
> 
> (that whole lfg is a todo)

Thanks. This fixes the delimiters. 

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

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

* Re: new upload
  2022-10-17  1:38     ` Aditya Mahajan via ntg-context
@ 2022-10-17  8:03       ` Hans Hagen via ntg-context
  2022-10-17 16:41         ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-10-17  8:03 UTC (permalink / raw)
  To: Aditya Mahajan via ntg-context; +Cc: Hans Hagen

On 10/17/2022 3:38 AM, Aditya Mahajan via ntg-context wrote:
> On Sun, 16 Oct 2022, Mikael Sundqvist via ntg-context wrote:
> 
>> Hi,
>>
>> On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context
>> <ntg-context@ntg.nl> wrote:
>>>
>>> On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote:
>>>
>>>> Hi,
>>>>
>>>> I uploaded a new version. Apart from a few fixes / extensions already
>>>> mentioned here (or known to those who wanted it) the main changes are in
>>>> the math goodie files (work in progress, we will clean them up later) as
>>>> part of improving the rendering of math.
>>>
>>> Something is wrong with the placement of limits around an integral with NeoEuler:
>>>
>>> \usetypescriptfile[euler]
>>>
>>> \definetypeface[mainfont][rm][specserif][CharisSil][default]
>>> \definetypeface[mainfont][mm][math] [eulernova][default]
>>> \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none]
>>> \setupbodyfont[mainfont,10pt]
>>>
>>> \starttext
>>> \startTEXpage[offset=1mm]
>>>    $\displaystyle \int_{0}^{1} f(x) dx$
>>> \stopTEXpage
>>> \stoptext
>>>
>>> gives the attached result.
>>
>> This is because the integral "sits wrong" in its boundingbox. Almost
>> all fonts have the glyph centered around the math axis, but there are
>> a few that doesn't. In euler-math.lfg, add the tweak
>>
>> {
>> tweak = "fixoldschool",
>> },
> 
> This fixes the issue with eulernova, but not with pagellaovereuler. pagellaovereuler uses euler-with-pagella-math as a goodie file, but that is missing from the distribution. (I simply copied euler-math.lfg for my use case).
> 
> With tweak=fixoldschool, \startcases doesn't work correctly (see attached):
> 
> \usetypescriptfile[euler]
> 
> \definetypeface[mainfont][rm][specserif][CharisSil][default]
> \definetypeface[mainfont][mm][math] [eulernova][default]
> \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none]
> \setupbodyfont[mainfont,10pt]
> 
> \starttext
> \startTEXpage[offset=1mm]
>    \startformula
>      \startcases
>        \NC A \NC B \NR
>        \NC C \NC D \NR
>      \stopcases
>    \stopformula
> \stopTEXpage
> \stoptext

Looks like some older experimental value is wrong:

        parameters = {
--             DelimiterPercent    =  901,
             DelimiterShortfall  =  500,
         },

(that whole lfg is a todo)

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
___________________________________________________________________________________

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

* Re: new upload
  2022-10-17  6:43     ` Otared Kavian via ntg-context
  2022-10-17  7:36       ` Mikael Sundqvist via ntg-context
@ 2022-10-17  7:46       ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-10-17  7:46 UTC (permalink / raw)
  To: Otared Kavian via ntg-context; +Cc: Hans Hagen

On 10/17/2022 8:43 AM, Otared Kavian via ntg-context wrote:

> I use Lucida in my documents and did not notice any problem with the integrals and other large operators.
> Do you mean in the future I have to update to a new version of Lucida (and pay again…) or will future versions of LuaMetaTeX handle correctly large operators typeset in Lucida ?

I think there is some free upgrade policy. In general the old font 
should work ok given that one can live with the (current) inaccuracies 
(ance it's done there will be an article about the improvemnets that 
clarifies things).

We already concluded long ago that the suite of math fonts is somewhat 
inconsistent (between and within fonts). We try to deal with that as 
good as possible and believe that we have found the right mixed 
approach. If needed we can catch averythign in the goodie files but we 
try to minimize it so once this is all settled down, we can improve 
specific font related issues based on {\em realistic} user mwe's as we go.

Concerning large operators .. it worked before so ... the main reason 
why in e.g. euler it failed was a configuration option (euler fonts will 
be fixed too) which is a side effect of more advanced script anchoring 
in lmtx.

> The issue I observed with the new upload of 2022.10.15 is that the presentations I typeset with the simpleslides module are broken after three pages, but could not set up a minimal working example to send to the list. Those presentations are typeset correctly with previous versions.
> Has Metapost changed some crucial settings ?
some mp->tex interfacing macros were upgraded but that should not really 
matter much so i need an example of what goes wrong (quite some month 
ago we fixed some left/right page related interfacing but that should 
not affect single sided documents)

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
___________________________________________________________________________________

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

* Re: new upload
  2022-10-17  6:43     ` Otared Kavian via ntg-context
@ 2022-10-17  7:36       ` Mikael Sundqvist via ntg-context
  2022-10-17  7:46       ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 205+ messages in thread
From: Mikael Sundqvist via ntg-context @ 2022-10-17  7:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mikael Sundqvist

[-- Attachment #1: Type: text/plain, Size: 1431 bytes --]

On Mon, Oct 17, 2022 at 8:43 AM Otared Kavian via ntg-context
<ntg-context@ntg.nl> wrote:
>
> Hi Mikael,

Hi Otared,

>
> I use Lucida in my documents and did not notice any problem with the integrals and other large operators.
> Do you mean in the future I have to update to a new version of Lucida (and pay again…) or will future versions of LuaMetaTeX handle correctly large operators typeset in Lucida ?

In Lucida the integrals have almost been at the right place. See the
attached screenshot. To the left, the unfixed Lucida (first aligned at
the base line, and then centered around the math axis). To the right,
the same with fixed Lucida.

In the eulernova example that Aditya shows, the difference is much
bigger. The fixoldschool tweak fixes it, but it is of course better if
it gets fixed in the font.

Regarding the Lucida fonts: When you bought them you should have got
some login information. That should still work, and you should be able
to upgrade your fonts when released. I don't know how they (TUG) do
releases, though, if they send out information to all people who
bought the font. Hans and I are only involved in the fixing.

/Mikael

PS There are some other glyphs in Lucida that will be fixed. The <, >,
\oiint and \oiiint (displayed versions of the integrals). If you add
them (and, say also a = close to the < and >) to a document, and use
\showglyphs you will see why.

[-- Attachment #2: Screenshot 2022-10-17 09.24.32.png --]
[-- Type: image/png, Size: 11354 bytes --]

[-- Attachment #3: Screenshot 2022-10-17 09.16.07.png --]
[-- Type: image/png, Size: 22987 bytes --]

[-- Attachment #4: Screenshot 2022-10-17 09.26.49.png --]
[-- Type: image/png, Size: 9601 bytes --]

[-- Attachment #5: Type: text/plain, Size: 496 bytes --]

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

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

* Re: new upload
  2022-10-16 17:03   ` Mikael Sundqvist via ntg-context
  2022-10-17  1:38     ` Aditya Mahajan via ntg-context
@ 2022-10-17  6:43     ` Otared Kavian via ntg-context
  2022-10-17  7:36       ` Mikael Sundqvist via ntg-context
  2022-10-17  7:46       ` Hans Hagen via ntg-context
  1 sibling, 2 replies; 205+ messages in thread
From: Otared Kavian via ntg-context @ 2022-10-17  6:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian

Hi Mikael,

I use Lucida in my documents and did not notice any problem with the integrals and other large operators. 
Do you mean in the future I have to update to a new version of Lucida (and pay again…) or will future versions of LuaMetaTeX handle correctly large operators typeset in Lucida ?

The issue I observed with the new upload of 2022.10.15 is that the presentations I typeset with the simpleslides module are broken after three pages, but could not set up a minimal working example to send to the list. Those presentations are typeset correctly with previous versions.
Has Metapost changed some crucial settings ?

Best regards: Otared

> On 16 Oct 2022, at 19:03, Mikael Sundqvist via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Hi,
> 
> On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context
> <ntg-context@ntg.nl> wrote:
>> 
>> On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote:
>> 
>>> Hi,
>>> 
>>> I uploaded a new version. Apart from a few fixes / extensions already
>>> mentioned here (or known to those who wanted it) the main changes are in
>>> the math goodie files (work in progress, we will clean them up later) as
>>> part of improving the rendering of math.
>> 
>> Something is wrong with the placement of limits around an integral with NeoEuler:
>> 
>> \usetypescriptfile[euler]
>> 
>> \definetypeface[mainfont][rm][specserif][CharisSil][default]
>> \definetypeface[mainfont][mm][math] [eulernova][default]
>> \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none]
>> \setupbodyfont[mainfont,10pt]
>> 
>> \starttext
>> \startTEXpage[offset=1mm]
>>  $\displaystyle \int_{0}^{1} f(x) dx$
>> \stopTEXpage
>> \stoptext
>> 
>> gives the attached result.
> 
> This is because the integral "sits wrong" in its boundingbox. Almost
> all fonts have the glyph centered around the math axis, but there are
> a few that doesn't. In euler-math.lfg, add the tweak
> 
> {
> tweak = "fixoldschool",
> },
> 
> In fact, we have not updated the euler goodie file for a while it
> seems. I think there are more things that can be improved. Hopefully
> before next release.
> 
> It can also be mentioned that some fonts (Daniel Flipo was quick to
> fix concrete, erewhon and kpfonts) was fixed recently regarding this,
> and it is reported on and fixed in development of Lucida.
> 
> /Mikael
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

Otared Kavian
e-mail: otared@gmail.com
Phone: +33 6 88 26 70 95



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

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

* Re: new upload
  2022-10-16 17:03   ` Mikael Sundqvist via ntg-context
@ 2022-10-17  1:38     ` Aditya Mahajan via ntg-context
  2022-10-17  8:03       ` Hans Hagen via ntg-context
  2022-10-17  6:43     ` Otared Kavian via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-10-17  1:38 UTC (permalink / raw)
  To: Mikael Sundqvist via ntg-context; +Cc: Aditya Mahajan, Mikael Sundqvist

[-- Attachment #1: Type: text/plain, Size: 2038 bytes --]

On Sun, 16 Oct 2022, Mikael Sundqvist via ntg-context wrote:

> Hi,
> 
> On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context
> <ntg-context@ntg.nl> wrote:
> >
> > On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote:
> >
> > > Hi,
> > >
> > > I uploaded a new version. Apart from a few fixes / extensions already
> > > mentioned here (or known to those who wanted it) the main changes are in
> > > the math goodie files (work in progress, we will clean them up later) as
> > > part of improving the rendering of math.
> >
> > Something is wrong with the placement of limits around an integral with NeoEuler:
> >
> > \usetypescriptfile[euler]
> >
> > \definetypeface[mainfont][rm][specserif][CharisSil][default]
> > \definetypeface[mainfont][mm][math] [eulernova][default]
> > \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none]
> > \setupbodyfont[mainfont,10pt]
> >
> > \starttext
> > \startTEXpage[offset=1mm]
> >   $\displaystyle \int_{0}^{1} f(x) dx$
> > \stopTEXpage
> > \stoptext
> >
> > gives the attached result.
> 
> This is because the integral "sits wrong" in its boundingbox. Almost
> all fonts have the glyph centered around the math axis, but there are
> a few that doesn't. In euler-math.lfg, add the tweak
> 
> {
> tweak = "fixoldschool",
> },

This fixes the issue with eulernova, but not with pagellaovereuler. pagellaovereuler uses euler-with-pagella-math as a goodie file, but that is missing from the distribution. (I simply copied euler-math.lfg for my use case). 

With tweak=fixoldschool, \startcases doesn't work correctly (see attached):

\usetypescriptfile[euler]

\definetypeface[mainfont][rm][specserif][CharisSil][default]
\definetypeface[mainfont][mm][math] [eulernova][default]
\definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none]
\setupbodyfont[mainfont,10pt]

\starttext
\startTEXpage[offset=1mm]
  \startformula
    \startcases
      \NC A \NC B \NR
      \NC C \NC D \NR
    \stopcases
  \stopformula
\stopTEXpage
\stoptext


Aditya

[-- Attachment #2: Type: application/pdf, Size: 9232 bytes --]

[-- Attachment #3: Type: text/plain, Size: 496 bytes --]

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

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

* Re: new upload
  2022-10-16 16:07 ` Aditya Mahajan via ntg-context
@ 2022-10-16 17:03   ` Mikael Sundqvist via ntg-context
  2022-10-17  1:38     ` Aditya Mahajan via ntg-context
  2022-10-17  6:43     ` Otared Kavian via ntg-context
  0 siblings, 2 replies; 205+ messages in thread
From: Mikael Sundqvist via ntg-context @ 2022-10-16 17:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mikael Sundqvist

Hi,

On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context
<ntg-context@ntg.nl> wrote:
>
> On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote:
>
> > Hi,
> >
> > I uploaded a new version. Apart from a few fixes / extensions already
> > mentioned here (or known to those who wanted it) the main changes are in
> > the math goodie files (work in progress, we will clean them up later) as
> > part of improving the rendering of math.
>
> Something is wrong with the placement of limits around an integral with NeoEuler:
>
> \usetypescriptfile[euler]
>
> \definetypeface[mainfont][rm][specserif][CharisSil][default]
> \definetypeface[mainfont][mm][math] [eulernova][default]
> \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none]
> \setupbodyfont[mainfont,10pt]
>
> \starttext
> \startTEXpage[offset=1mm]
>   $\displaystyle \int_{0}^{1} f(x) dx$
> \stopTEXpage
> \stoptext
>
> gives the attached result.

This is because the integral "sits wrong" in its boundingbox. Almost
all fonts have the glyph centered around the math axis, but there are
a few that doesn't. In euler-math.lfg, add the tweak

{
tweak = "fixoldschool",
},

In fact, we have not updated the euler goodie file for a while it
seems. I think there are more things that can be improved. Hopefully
before next release.

It can also be mentioned that some fonts (Daniel Flipo was quick to
fix concrete, erewhon and kpfonts) was fixed recently regarding this,
and it is reported on and fixed in development of Lucida.

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

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

* Re: new upload
  2022-10-14  8:21 Hans Hagen via ntg-context
  2022-10-14 14:14 ` Pablo Rodriguez via ntg-context
@ 2022-10-16 16:07 ` Aditya Mahajan via ntg-context
  2022-10-16 17:03   ` Mikael Sundqvist via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-10-16 16:07 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

On Fri, 14 Oct 2022, Hans Hagen via ntg-context wrote:

> Hi,
> 
> I uploaded a new version. Apart from a few fixes / extensions already 
> mentioned here (or known to those who wanted it) the main changes are in 
> the math goodie files (work in progress, we will clean them up later) as 
> part of improving the rendering of math.

Something is wrong with the placement of limits around an integral with NeoEuler:

\usetypescriptfile[euler]

\definetypeface[mainfont][rm][specserif][CharisSil][default]
\definetypeface[mainfont][mm][math] [eulernova][default]
\definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none]
\setupbodyfont[mainfont,10pt]

\starttext
\startTEXpage[offset=1mm]
  $\displaystyle \int_{0}^{1} f(x) dx$
\stopTEXpage
\stoptext

gives the attached result.

Thanks,
Aditya

[-- Attachment #2: Type: application/pdf, Size: 7780 bytes --]

[-- Attachment #3: Type: text/plain, Size: 496 bytes --]

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

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

* Re: new upload
  2022-10-15  8:48     ` Pablo Rodriguez via ntg-context
@ 2022-10-15  9:28       ` Hans Hagen via ntg-context
  2022-10-17 17:12         ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-10-15  9:28 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 10/15/2022 10:48 AM, Pablo Rodriguez via ntg-context wrote:
> On 10/15/22 09:41, Hans Hagen via ntg-context wrote:
>> On 10/14/2022 4:14 PM, Pablo Rodriguez via ntg-context wrote:
>>> [...]
>>> Many thanks for the new version, Hans.
>>>
>>> I have discovered that it includes in
>>> tex/texmf-context/source/luametatex what should be the LMTX source
>>> (about 11MB).
>>
>> It zips to 2 MB and totals to less of a picture on a fancy phone ...
> 
> Many thanks for your reply, Hans.
> 
> At least on my system, I think every file is downloaded uncompressed.
> 
> With a low speed connection (here, the service isn’t great all the
> time), having to download over 400 files is a killer.

as has been pointed out, you only download the changed files and those 
are not many

when sources are not included some complain, when they are others 
com-plain ...

> The storage space on disk is irrelevant, I totally agree with you.
> 
> I wish I could say that large updates such as these weren’t a problem in
> some cases. But sometimes this isn’t true here.
> 
> With incremental updates, the downloading process takes way shorter in
> subsequent updates (as Alan pointed out). But the first time it might
> take too much (so the script quits).

just run twice as the script will pick up

>> the idea is to provide the user with all he needs as archive so no
>> dependencies (apart from a compiler). Also by including the source we
>> can sort of guaranteed that you get what you expect to work with the tex
>> files (no interference with distribution patches our of our control). It
>> has always been part of the plan with luametatex. So ... it will not be
>> optional.
> 
> I asked to make this optional not to avoid having the source, but to be
> able to complete the update process.

i guess a few extra fonts are more demanding, actually the number of 
fonts in the installation dropped (for now) so that compensates the 
larger source tree

> I’m not extremely confident, but I hope I will manage to update ConTeXt
> at the office (next working day).
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
___________________________________________________________________________________

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

* Re: new upload
  2022-10-15  7:41   ` Hans Hagen via ntg-context
@ 2022-10-15  8:48     ` Pablo Rodriguez via ntg-context
  2022-10-15  9:28       ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-10-15  8:48 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 10/15/22 09:41, Hans Hagen via ntg-context wrote:
> On 10/14/2022 4:14 PM, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> Many thanks for the new version, Hans.
>>
>> I have discovered that it includes in
>> tex/texmf-context/source/luametatex what should be the LMTX source
>> (about 11MB).
>
> It zips to 2 MB and totals to less of a picture on a fancy phone ...

Many thanks for your reply, Hans.

At least on my system, I think every file is downloaded uncompressed.

With a low speed connection (here, the service isn’t great all the
time), having to download over 400 files is a killer.

The storage space on disk is irrelevant, I totally agree with you.

I wish I could say that large updates such as these weren’t a problem in
some cases. But sometimes this isn’t true here.

With incremental updates, the downloading process takes way shorter in
subsequent updates (as Alan pointed out). But the first time it might
take too much (so the script quits).

> the idea is to provide the user with all he needs as archive so no
> dependencies (apart from a compiler). Also by including the source we
> can sort of guaranteed that you get what you expect to work with the tex
> files (no interference with distribution patches our of our control). It
> has always been part of the plan with luametatex. So ... it will not be
> optional.

I asked to make this optional not to avoid having the source, but to be
able to complete the update process.

I’m not extremely confident, but I hope I will manage to update ConTeXt
at the office (next working day).

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

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

* Re: new upload
  2022-10-14 14:14 ` Pablo Rodriguez via ntg-context
  2022-10-14 14:29   ` Alan Braslau via ntg-context
@ 2022-10-15  7:41   ` Hans Hagen via ntg-context
  2022-10-15  8:48     ` Pablo Rodriguez via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-10-15  7:41 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 10/14/2022 4:14 PM, Pablo Rodriguez via ntg-context wrote:
> On 10/14/22 10:21, Hans Hagen via ntg-context wrote:
>> Hi,
>>
>> I uploaded a new version. Apart from a few fixes / extensions already
>> mentioned here (or known to those who wanted it) the main changes are in
>> the math goodie files (work in progress, we will clean them up later) as
>> part of improving the rendering of math.
> 
> Many thanks for the new version, Hans.
> 
> I have discovered that it includes in
> tex/texmf-context/source/luametatex what should be the LMTX source
> (about 11MB).
It zips to 2 MB and totals to less of a picture on a fancy phone .. tre 
idea is to provide the user with all he needs as archive so no 
dependenccies (apart from a compiler). Also by including the source we 
can sort of guaranteed that you get what you expect to work with the tex 
files (no interference with distribution patches our of our control). It 
has always been part of the plan with luametatex.  So .. it wil not be 
optional.

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
___________________________________________________________________________________

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

* Re: new upload
  2022-10-14 14:14 ` Pablo Rodriguez via ntg-context
@ 2022-10-14 14:29   ` Alan Braslau via ntg-context
  2022-10-15  7:41   ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 205+ messages in thread
From: Alan Braslau via ntg-context @ 2022-10-14 14:29 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Alan Braslau, Pablo Rodriguez

On Fri, 14 Oct 2022 16:14:01 +0200
Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> wrote:

> I have discovered that it includes in
> tex/texmf-context/source/luametatex what should be the LMTX source
> (about 11MB).
> 
> I wonder whether this could be made optional. Internet speed is not
> constant where I live and it was impossible for me to update at work
> (after many attempts to download the newer version).

Subsequent installs should only download source files that have been
changed, so the download should be faster (also for the font files :-)

I applaud the inclusion, by default, of the luametatex source files.

Thank you everyone who has contributed to this.

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

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

* Re: new upload
  2022-10-14  8:21 Hans Hagen via ntg-context
@ 2022-10-14 14:14 ` Pablo Rodriguez via ntg-context
  2022-10-14 14:29   ` Alan Braslau via ntg-context
  2022-10-15  7:41   ` Hans Hagen via ntg-context
  2022-10-16 16:07 ` Aditya Mahajan via ntg-context
  1 sibling, 2 replies; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-10-14 14:14 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 10/14/22 10:21, Hans Hagen via ntg-context wrote:
> Hi,
>
> I uploaded a new version. Apart from a few fixes / extensions already
> mentioned here (or known to those who wanted it) the main changes are in
> the math goodie files (work in progress, we will clean them up later) as
> part of improving the rendering of math.

Many thanks for the new version, Hans.

I have discovered that it includes in
tex/texmf-context/source/luametatex what should be the LMTX source
(about 11MB).

I wonder whether this could be made optional. Internet speed is not
constant where I live and it was impossible for me to update at work
(after many attempts to download the newer version).

Just in case it would be possible, modules (also as an option) would be
more useful for many of us.

Many thanks for your excellet work,

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

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

* new upload
@ 2022-10-14  8:21 Hans Hagen via ntg-context
  2022-10-14 14:14 ` Pablo Rodriguez via ntg-context
  2022-10-16 16:07 ` Aditya Mahajan via ntg-context
  0 siblings, 2 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-10-14  8:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

I uploaded a new version. Apart from a few fixes / extensions already 
mentioned here (or known to those who wanted it) the main changes are in 
the math goodie files (work in progress, we will clean them up later) as 
part of improving the rendering of math.

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
___________________________________________________________________________________

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

* Re: new upload
  2022-04-21 14:54     ` Alexandre Christe via ntg-context
@ 2022-04-23 11:46       ` śrīrāma via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: śrīrāma via ntg-context @ 2022-04-23 11:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: śrīrāma

On 4/21/22 8:24 PM Alexandre Christe via ntg-context wrote:
> While the typesetting issue in Metafun disappeared, another popped up in
> the bibliography.
> 
> For an entry with \usebtxdefinitions[apa], it is printing ": [author:
> Robert L. Boylestad] [date-added: 2022-04-15 14:43:59 +0200]
> [date-modified: 2022-04-15 14:45:15 +0200] [edition: 13e] [publisher:
> Pearson] [title: Introductory Circuit Analysis] [year: 2016]" in the
> resulting pdf.
> 
> I should add that it seems independent from the btx format.

Hi Hans,

I too can confirm that this seems to be a bug with the latest upload 
[current version: 2022.04.20 19:18]. This was last working with the 2022.04.15 
version. In the logs I get:
  publications    > start used btx commands
  publications    > default              textquotesingle          1 unknown
  publications    > stop used btx commands

[Meanwhile, I am using the publ-ini file from the previous upload as a 
temporary fix]

Thanks,
  Sreeram


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

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

* Re: new upload
  2022-04-20  8:49   ` Hans Hagen via ntg-context
@ 2022-04-21 14:54     ` Alexandre Christe via ntg-context
  2022-04-23 11:46       ` śrīrāma via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Alexandre Christe via ntg-context @ 2022-04-21 14:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Alexandre Christe


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

Hi Hans,

While the typesetting issue in Metafun disappeared, another popped up in
the bibliography.

For an entry with \usebtxdefinitions[apa], it is printing ": [author:
Robert L. Boylestad] [date-added: 2022-04-15 14:43:59 +0200]
[date-modified: 2022-04-15 14:45:15 +0200] [edition: 13e] [publisher:
Pearson] [title: Introductory Circuit Analysis] [year: 2016]" in the
resulting pdf.

I should add that it seems independent from the btx format.

Le mer. 20 avr. 2022 à 10:50, Hans Hagen via ntg-context <ntg-context@ntg.nl>
a écrit :

> On 4/20/2022 3:47 AM, śrīrāma wrote:
> > On 4/19/22 11:53 PM Hans Hagen via ntg-context wrote:
> >> I uploaded a new lmtx. Some more adaptive magic ... I'm not sure how
> >> usefull it is but users always find ways to apply such things. I
> >> attached a test file.
> >
> > Hi Hans,
> >
> > Thanks very much for the upload and the tutorial on 'adaptive'. It seems
> very
> > impressive and right away, one application which I could think of in my
> case
> > is its use in denoting prosodic elements in verses (of poems). For this
> > purpose I was using \definebar, \setupbar so far to indicate certain
> types of
> > elements of verses; now I think this being far more advanced might be
> more
> > applicable.
> if you need more control / features it can probably be provided
>
> 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 /
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-04-20  1:47 ` śrīrāma via ntg-context
@ 2022-04-20  8:49   ` Hans Hagen via ntg-context
  2022-04-21 14:54     ` Alexandre Christe via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-04-20  8:49 UTC (permalink / raw)
  To: śrīrāma, mailing list for ConTeXt users; +Cc: Hans Hagen

On 4/20/2022 3:47 AM, śrīrāma wrote:
> On 4/19/22 11:53 PM Hans Hagen via ntg-context wrote:
>> I uploaded a new lmtx. Some more adaptive magic ... I'm not sure how
>> usefull it is but users always find ways to apply such things. I
>> attached a test file.
> 
> Hi Hans,
> 
> Thanks very much for the upload and the tutorial on 'adaptive'. It seems very
> impressive and right away, one application which I could think of in my case
> is its use in denoting prosodic elements in verses (of poems). For this
> purpose I was using \definebar, \setupbar so far to indicate certain types of
> elements of verses; now I think this being far more advanced might be more
> applicable.
if you need more control / features it can probably be provided

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

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

* Re: new upload
  2022-04-19 18:23 Hans Hagen via ntg-context
  2022-04-19 19:18 ` Jeong Dal via ntg-context
@ 2022-04-20  1:47 ` śrīrāma via ntg-context
  2022-04-20  8:49   ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: śrīrāma via ntg-context @ 2022-04-20  1:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Hagen; +Cc: śrīrāma

On 4/19/22 11:53 PM Hans Hagen via ntg-context wrote:
> I uploaded a new lmtx. Some more adaptive magic ... I'm not sure how
> usefull it is but users always find ways to apply such things. I
> attached a test file.

Hi Hans,

Thanks very much for the upload and the tutorial on 'adaptive'. It seems very 
impressive and right away, one application which I could think of in my case 
is its use in denoting prosodic elements in verses (of poems). For this 
purpose I was using \definebar, \setupbar so far to indicate certain types of 
elements of verses; now I think this being far more advanced might be more 
applicable.

Thanks,
  Sreeram


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

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

* Re: new upload
  2022-04-19 19:18 ` Jeong Dal via ntg-context
@ 2022-04-19 22:24   ` Jeong Dal via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Jeong Dal via ntg-context @ 2022-04-19 22:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jeong Dal


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

Dear Hans,

I can use "\blank[9cm]” in column mode but I have to adjust the value to make space evenly.
Since it was working well last December, I guess that there is something changed in \startcolumns … \stopcolumns after last December.

Thank you. 

Best regards,

Dalyoung

> 2022. 4. 20. 오전 4:18, Jeong Dal via ntg-context <ntg-context@ntg.nl> 작성:
> 
> Dear Hans,
> 
> A new upload solves the math font problem in MetaFun. The code
> 	label(textext("$\sin\theta$”),origin);
> is working well.
> Also, your sample file adaptive-001.tex is also working without error which is not compiled before.
> However, \vfill is not working in column mode while it provides the same vertical spaces properly not in column mode. 
> The following code is compiled well but no vertical spaces between items. If I comment out \startcolumns … \column … \stopcolumns, it provides the same vertical spaces for each items.
> 	\starttext
> 	\startcolumns
> 	\startitemize[n]
> 	\item 
> 	\vfill
> 	\item
> 	\vfill
> 	\column
> 	\item 
> 	\vfill
> 	\item
> 	\vfill
> 	\stopitemize
> 	\stopcolumns
> 	\stoptext
> 
> This code was working in last December. 
> 
> Thank you for your fix.
> 
> Best regards,
> 
> Dalyoung
> 
> 
>> 2022. 4. 20. 오전 3:23, Hans Hagen via ntg-context <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>> 작성:
>> 
>> Hi,
>> 
>> I uploaded a new lmtx. Some more adaptive magic ... I'm not sure how usefull it is but users always find ways to apply such things. I attached a test file.
>> 
>> Hans
>> 
>> -----------------------------------------------------------------
>>                                          Hans Hagen | PRAGMA ADE
>>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>       tel: 038 477 53 69 | www.pragma-ade.nl <http://www.pragma-ade.nl/> | www.pragma-pod.nl <http://www.pragma-pod.nl/>
>> -----------------------------------------------------------------<adaptive-001.tex>___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki     : http://contextgarden.net <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
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-04-19 18:23 Hans Hagen via ntg-context
@ 2022-04-19 19:18 ` Jeong Dal via ntg-context
  2022-04-19 22:24   ` Jeong Dal via ntg-context
  2022-04-20  1:47 ` śrīrāma via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Jeong Dal via ntg-context @ 2022-04-19 19:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jeong Dal


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

Dear Hans,

A new upload solves the math font problem in MetaFun. The code
	label(textext("$\sin\theta$”),origin);
is working well.
Also, your sample file adaptive-001.tex is also working without error which is not compiled before.
However, \vfill is not working in column mode while it provides the same vertical spaces properly not in column mode. 
The following code is compiled well but no vertical spaces between items. If I comment out \startcolumns … \column … \stopcolumns, it provides the same vertical spaces for each items.
	\starttext
	\startcolumns
	\startitemize[n]
	\item 
	\vfill
	\item
	\vfill
	\column
	\item 
	\vfill
	\item
	\vfill
	\stopitemize
	\stopcolumns
	\stoptext

This code was working in last December. 

Thank you for your fix.

Best regards,

Dalyoung


> 2022. 4. 20. 오전 3:23, Hans Hagen via ntg-context <ntg-context@ntg.nl> 작성:
> 
> Hi,
> 
> I uploaded a new lmtx. Some more adaptive magic ... I'm not sure how usefull it is but users always find ways to apply such things. I attached a test file.
> 
> 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
> -----------------------------------------------------------------<adaptive-001.tex>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* new upload
@ 2022-04-19 18:23 Hans Hagen via ntg-context
  2022-04-19 19:18 ` Jeong Dal via ntg-context
  2022-04-20  1:47 ` śrīrāma via ntg-context
  0 siblings, 2 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-04-19 18:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

Hi,

I uploaded a new lmtx. Some more adaptive magic ... I'm not sure how 
usefull it is but users always find ways to apply such things. I 
attached a test file.

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

[-- Attachment #2: adaptive-001.tex --]
[-- Type: text/plain, Size: 3261 bytes --]

\starttext

\setupexternalfigures
  [location={default,global}]

\startMPdefinitions
    def TickTock =
        interim linecap := squared;
        save p ; path p ; p := fullsquare xysized(AdaptiveWidth,.9(AdaptiveHeight+AdaptiveDepth)) ;
        fill p withcolor AdaptiveColor ;
        draw bottomboundary (p enlarged (-AdaptiveThickness) )
            withdashes (3*AdaptiveThickness)
            withpen pencircle scaled AdaptiveThickness
            withcolor white ;
    enddef ;
\stopMPdefinitions

\startsetups adaptive:test
    \setbox\usedadaptivebox\hbox to \usedadaptivewidth yoffset -.9\usedadaptivedepth \bgroup
        \hss
        \startMPcode
            TickTock ;
        \stopMPcode
        \hss
   \egroup
\stopsetups

\definecolor[adaptive:tick][.25(blue,green)]
\definecolor[adaptive:tock][.75(blue,green)]

\defineadaptive
  [tick]
  [setups=adaptive:test,
   color=adaptive:tick,
   foregroundcolor=white,
   foregroundstyle=\infofont,
   strut=yes]

\defineadaptive
  [tock]
  [tick]
  [color=adaptive:tock]

\dorecurse{5}{
    \dostepwiserecurse{1}{150}{1}{%
        this~#1.##1 is~#1.##1 test~#1.##1
        \ifodd##1\relax
            \adaptivebox[tick]{\hss tick #1.##1\hss}
        \else
            \adaptivebox[tock]{\hss tock #1.##1\hss}
        \fi
    }
    \blank
}

\startsetups adaptive:test
    \setbox\usedadaptivebox\hbox to \usedadaptivewidth yoffset -\usedadaptivedepth \bgroup
        \externalfigure
          [cow.pdf]
          [width=\usedadaptivewidth,
           height=\dimexpr\usedadaptiveheight+\usedadaptivedepth\relax]%
   \egroup
\stopsetups

\dorecurse{5}{
    \dostepwiserecurse{1}{150}{1}{%
        this~#1.##1 is~#1.##1 test~#1.##1
        {\adaptivebox[strut=yes,setups=adaptive:test]{}}
    }
    \blank
}

\page

\startsetups adaptive:test
    \setbox\usedadaptivebox\vbox to \usedadaptivetotal \bgroup
        \externalfigure
          [cow.pdf]
          [width=\usedadaptivewidth,
           height=\usedadaptivetotal]%
   \egroup
\stopsetups

\ruledvbox to \textheight {
    \par \begstrut \samplefile{tufte} \endstrut \par
    \adaptivevbox[strut=yes,setups=adaptive:test]{\hsize\textwidth\hss}
    \par \begstrut \samplefile{tufte} \endstrut
}

\page

\startsetups adaptive:test:a
    \setbox\usedadaptivebox\vbox to \usedadaptivetotal \bgroup
        \externalfigure
          [cow.pdf]
          [width=\framedmaxwidth,
           frame=on,
           height=\usedadaptivetotal]%
   \egroup
\stopsetups

\startsetups adaptive:test:b
    \setbox\usedadaptivebox\vbox to \usedadaptivetotal \bgroup
        \externalfigure
          [cow.pdf]
          [width=\usedadaptivewidth,
           frame=on,
           height=\usedadaptivetotal]%
   \egroup
\stopsetups

\showframe

\framed[height=18cm,align=middle,adaptive=yes,top=,bottom=] {%
    \begstrut \samplefile{tufte} \endstrut
    \par
    \adaptivevbox
      [strut=yes,setups=adaptive:test:a]
      {\showstruts\strut\hsize5cm\hss}%
    \par
    \adaptivevbox
      [strut=yes,setups=adaptive:test:b]
      {\showstruts\strut\hsize5cm\hss}%
    \par
    \begstrut \samplefile{tufte} \endstrut
}

\stoptext

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-04-15 18:24 Hans Hagen via ntg-context
@ 2022-04-16  8:37 ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-04-16  8:37 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 4/15/22 20:24, Hans Hagen via ntg-context wrote:
> Hi,
>
> I uploaded a new lmtx. Apart from a experimental intersection feature in
> the mp library (and metafun, more will be revealed when MS an I are okay
> with it) there is not that much news.

Many thanks for the new upload, Hans.

I’m afraid I get compilation error with your sample:

 lua error:
  callback error: .../base/mkxl/typo-ada.lmt:78:
    attempt to call a nil value (upvalue 'traverseleader')
stack traceback:
  .../base/mkxl/typo-ada.lmt:78: in upvalue 'nodes_adaptive_handle'
    [string "local tonut  = nodes.tonut..."]:10: in function
    <[string "local tonut  = nodes.tonut..."]:7>
    (...tail calls...)
  .../base/mkxl/typo-bld.lmt:208: in function
    <.../base/mkxl/typo-bld.lmt:204>

I got the same error message with a brand new installation.

Just in case it might 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
___________________________________________________________________________________

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

* new upload
@ 2022-04-15 18:24 Hans Hagen via ntg-context
  2022-04-16  8:37 ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-04-15 18:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

I uploaded a new lmtx. Apart from a experimental intersection feature in 
the mp library (and metafun, more will be revealed when MS an I are okay 
with it) there is not that much news.

I decided to turn some test code into a mechanism which is illustrated 
below. Adaptive boxes are hboxes that act a bit like glue which means 
that when we hook in e.g. a graphic it can be made to adapt.

We can add some more methods if needed so maybe you see other usage. The 
interface is rather lightweight and the overhead is quite resonable.

Hans


===================

\starttext

\startMPdefinitions
     def TickTock =
         interim linecap := squared;
         save p ; path p ; p := fullsquare 
xysized(AdaptiveWidth,.9(AdaptiveHeight+AdaptiveDepth)) ;
         fill p withcolor AdaptiveColor ;
         draw bottomboundary (p enlarged (-AdaptiveThickness) )
             withdashes (3*AdaptiveThickness)
             withpen pencircle scaled AdaptiveThickness
             withcolor white ;
     enddef ;
\stopMPdefinitions

\startsetups adaptive:test
     \setbox\usedadaptivebox\hbox to \usedadaptivewidth yoffset 
-.9\usedadaptivedepth \bgroup
         \hss
         \startMPcode
             TickTock ;
         \stopMPcode
         \hss
    \egroup
\stopsetups

\definecolor[adaptive:tick][.25(blue,green)]
\definecolor[adaptive:tock][.75(blue,green)]

\defineadaptive
   [tick]
   [setups=adaptive:test,
    color=adaptive:tick,
    foregroundcolor=white,
    foregroundstyle=\infofont,
    strut=yes]

\defineadaptive
   [tock]
   [tick]
   [color=adaptive:tock]

% with postprocessing

\dorecurse{5}{
     \dostepwiserecurse{1}{150}{1}{%
         this~#1.##1 is~#1.##1 test~#1.##1
         \ifodd##1\relax
             \adaptivebox[tick]{\hss tick #1.##1\hss}
         \else
             \adaptivebox[tock]{\hss tock #1.##1\hss}
         \fi
     }
     \blank
}

\page

% without postprocessing

\dorecurse{5}{
     \dostepwiserecurse{1}{150}{1}{%
         this~#1.##1 is~#1.##1 test~#1.##1
         {\showboxes\adaptivebox[strut=yes,foregroundcolor=darkred]{\hss 
test #1.##1\hss}}
     }
     \blank
}

\page

% with images

% a weird one

\setupexternalfigures
   [location={default,global}]

\startsetups adaptive:test
     \setbox\usedadaptivebox\hbox to \usedadaptivewidth yoffset 
-\usedadaptivedepth \bgroup
         \externalfigure
           [cow.pdf]
           [width=\usedadaptivewidth,
            height=\dimexpr\usedadaptiveheight+\usedadaptivedepth\relax]%
    \egroup
\stopsetups

\dorecurse{5}{
     \dostepwiserecurse{1}{150}{1}{%
         this~#1.##1 is~#1.##1 test~#1.##1
         {\adaptivebox[strut=yes,setups=adaptive:test]{}}
     }
     \blank
}

\stoptext

It actually uses an already present for a while low level engine feature 
that we introduced as part of the math processing update:

\dorecurse
   {1000}
   {test \uleaders\ruledhbox{\hss#1\hss}\hskip2em minus 1em\ }


Next on the todo is to move some experimental graphic trickery related 
to math (matrices) into the core but the interfacing needs some thought.

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

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

* Re: new upload
  2022-03-15  8:53 ` śrīrāma via ntg-context
@ 2022-03-15  9:53   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-03-15  9:53 UTC (permalink / raw)
  To: śrīrāma, mailing list for ConTeXt users; +Cc: Hans Hagen

On 3/15/2022 9:53 AM, śrīrāma wrote:
> On Saturday, March 12, 2022 4:46 AM Hans Hagen via ntg-context wrote:
>> Hi,
>>
>> It has been a while since there was an updaste but there it is.
>> [...]
>> There is a rough description in the 'ontarget' document. We hope you
>> enjoy it, at least we did (and so, as we're not finished yet).
>>
>> Hans
> 
> Dear Hans,
> 
> Thank you for the remarkable upload! Also, thanks Mikael, for your work as well!
> 
> The new release coincides with the onset of warm summer months after some cold winters where I live ;)
> 
> [I am a little late to this discussion since I was held up with some college assignments and work, so sorry for that... I just updated today]
> I have tested out most of my documents (some with many MetaFun diagrams) and all work well!
> 
> I have several documents which are very mathematics-heavy and all of those work great as well. In fact, I also noticed some improvements especially with spacing around fractions and signs/other expressions around them. [I must mention that I am using Asana in most documents: it does have its quirks but it is what I have; I also use Libertinus sometimes]. Since I have many expressions with \left \right braces delimiters with large fractions (fractions of fractions, etc.) I was able to notice that the spacing is now better overall. Also I see the truth behind the remark in Asana, before the update, many more things were strange and I had to manually adjust with spaces as necessary, now those don't seem to be necessary. However, Asana continues to remain weird (at least with uppercasescript c
> haracters as subscripts + delimiters). I had relatively fewer issues with Libertinus and no issues with the fonts in LMTX itself. So overall, I am very happy with it (and grateful for it).
> I also noticed that ontarget document from the previous upload had not much in it apart from the attractive cover page. Now it has so many nice details which I look forward to studying from.
We're glad that you notice the improvements! So it's worth the effort. 
And more is coming

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

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

* Re: new upload
  2022-03-11 23:16 Hans Hagen via ntg-context
  2022-03-12 16:24 ` Henning Hraban Ramm via ntg-context
  2022-03-13 18:58 ` Rik Kabel via ntg-context
@ 2022-03-15  8:53 ` śrīrāma via ntg-context
  2022-03-15  9:53   ` Hans Hagen via ntg-context
  2 siblings, 1 reply; 205+ messages in thread
From: śrīrāma via ntg-context @ 2022-03-15  8:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: śrīrāma

On Saturday, March 12, 2022 4:46 AM Hans Hagen via ntg-context wrote:
> Hi,
> 
> It has been a while since there was an updaste but there it is. 
> [...]
> There is a rough description in the 'ontarget' document. We hope you 
> enjoy it, at least we did (and so, as we're not finished yet).
> 
> Hans

Dear Hans,

Thank you for the remarkable upload! Also, thanks Mikael, for your work as well!

The new release coincides with the onset of warm summer months after some cold winters where I live ;)

[I am a little late to this discussion since I was held up with some college assignments and work, so sorry for that... I just updated today]
I have tested out most of my documents (some with many MetaFun diagrams) and all work well!

I have several documents which are very mathematics-heavy and all of those work great as well. In fact, I also noticed some improvements especially with spacing around fractions and signs/other expressions around them. [I must mention that I am using Asana in most documents: it does have its quirks but it is what I have; I also use Libertinus sometimes]. Since I have many expressions with \left \right braces delimiters with large fractions (fractions of fractions, etc.) I was able to notice that the spacing is now better overall. Also I see the truth behind the remark in Asana, before the update, many more things were strange and I had to manually adjust with spaces as necessary, now those don't seem to be necessary. However, Asana continues to remain weird (at least with uppercasescript characters as subscripts + delimiters). I had relatively fewer issues with Libertinus and no issues with the fonts in LMTX itself. So overall, I am very happy with it (and grateful for it).

I also noticed that ontarget document from the previous upload had not much in it apart from the attractive cover page. Now it has so many nice details which I look forward to studying from.

Thanks,
Sreeram


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

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

* Re: new upload
  2022-03-14 14:05     ` Rik Kabel via ntg-context
@ 2022-03-14 15:02       ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-03-14 15:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 3/14/2022 3:05 PM, Rik Kabel via ntg-context wrote:
> 
> On 2022-03-14 04:01, Hans Hagen wrote:
>> On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote:
> 
>> ...
> 
>>>  2. How does the goodies mechanism work when the expected version
>>>     differs from the found version?
>>
>> we check the version number in the font file (a bit of fuzzyness due 
>> to the way version numbers ar ento standardized); comparing internals 
>> would be an option but also a waste of time i think
>>
> Understood, but what happens after the check? Is the goodies file used 
> even if there is a mismatch, or is it ignored?
not ignored ... more a warnign that you're on your own risk


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

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

* Re: new upload
  2022-03-14  8:01   ` Hans Hagen via ntg-context
  2022-03-14 10:34     ` Mikael Sundqvist via ntg-context
@ 2022-03-14 14:05     ` Rik Kabel via ntg-context
  2022-03-14 15:02       ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Rik Kabel via ntg-context @ 2022-03-14 14:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Rik Kabel


On 2022-03-14 04:01, Hans Hagen wrote:
> On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote:

> ...

>>  2. How does the goodies mechanism work when the expected version
>>     differs from the found version?
>
> we check the version number in the font file (a bit of fuzzyness due 
> to the way version numbers ar ento standardized); comparing internals 
> would be an option but also a waste of time i think
>
Understood, but what happens after the check? Is the goodies file used 
even if there is a mismatch, or is it ignored?

-- 
Rik

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

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

* Re: new upload
  2022-03-14  8:01   ` Hans Hagen via ntg-context
@ 2022-03-14 10:34     ` Mikael Sundqvist via ntg-context
  2022-03-14 14:05     ` Rik Kabel via ntg-context
  1 sibling, 0 replies; 205+ messages in thread
From: Mikael Sundqvist via ntg-context @ 2022-03-14 10:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mikael Sundqvist

Hi!

On Mon, Mar 14, 2022 at 9:01 AM Hans Hagen via ntg-context
<ntg-context@ntg.nl> wrote:
>
> On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote:
>
> > With regard to math fonts, I notice that the goodies file for Libertinus
> > expects version 6.8 of the font, but the current version (since February
> > 2021) is 7.040, and much work appears to have gone into the math font.
>
> the main issue with math font is in 'unfortunate' glyph dimensions and
> we doubt that these will change over time (as fonts are supposed to be
> stable); adding shapes is another matter
>
> > Two questions, then:
> >
> >  1. Is Libertinus Math considered a "useful" math font?
>
> Mikael knows .. I never used libertinus (and am an unlike candidate; i
> mostly use cambria, pagella, dejavu, lucida)

I think it could be useful, yes (I like the look of the libertinus
font, in particular in combination with the biolinum font; it is
probably worth trying to get the math font to work as well as
possible). I think there were some problems with accents and such, but
not too big. I think you could try to use it and see what you think.

>
> >  2. How does the goodies mechanism work when the expected version
> >     differs from the found version?
>
> we check the version number in the font file (a bit of fuzzyness due to
> the way version numbers ar ento standardized); comparing internals would
> be an option but also a waste of time i think
>
> > (I understand that keeping up with evolving fonts is somewhere between
> > difficult and impossible.)
>
> which is why we want to freeze on versions ... an update to another
> version then becomes explicit; of course we can also consider having
> multiple instances of a font but then we also need to set up a repository
>
> > I also note that the typescript for libertinus is quite old and does not
> > reflect the semibold variants that have been available for some time. I
> > prefer them to the bold variants, and my own typescript for libertinus
> > does incorporate them. I am happy to share it if anyone wants it.
> We cannot suddenly change the 'default', but we can have additional
> choices in the file for semi versions (some more fonts have that).  You
> can send your typesctipt file to Mikael and me and we can have a look.
>
> (Not sure if I should update libertinus now. Sometimes fonts change too
> much, like for instance ebgaramond did, and one can get rather different
> output.)
>
> Hans

I put it on my todo-list to download the new version and to run some test files.

I could also mention here that in the upload Hans did some days ago,
most changes are "behind the scenes", so the user should not really
write their code differently. One exception:

In integrals, texers have usually a \, in front of the differential.
Now there is a differential class, and the macro \dd will give a
differential d, with (hopefully) correct spacing. Thus, write for
example \int_0^1 f(x)\dd x.

If you find any strange distances between atoms, please mail me
examples. With the introduction of new classes, there are many new
pairs, and perhaps not all of them are setup "correct".

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

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

* Re: new upload
  2022-03-13 18:58 ` Rik Kabel via ntg-context
@ 2022-03-14  8:01   ` Hans Hagen via ntg-context
  2022-03-14 10:34     ` Mikael Sundqvist via ntg-context
  2022-03-14 14:05     ` Rik Kabel via ntg-context
  0 siblings, 2 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-03-14  8:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 3/13/2022 7:58 PM, Rik Kabel via ntg-context wrote:

> With regard to math fonts, I notice that the goodies file for Libertinus 
> expects version 6.8 of the font, but the current version (since February 
> 2021) is 7.040, and much work appears to have gone into the math font.

the main issue with math font is in 'unfortunate' glyph dimensions and 
we doubt that these will change over time (as fonts are supposed to be 
stable); adding shapes is another matter

> Two questions, then:
> 
>  1. Is Libertinus Math considered a "useful" math font?

Mikael knows .. I never used libertinus (and am an unlike candidate; i 
mostly use cambria, pagella, dejavu, lucida)

>  2. How does the goodies mechanism work when the expected version
>     differs from the found version?

we check the version number in the font file (a bit of fuzzyness due to 
the way version numbers ar ento standardized); comparing internals would 
be an option but also a waste of time i think

> (I understand that keeping up with evolving fonts is somewhere between 
> difficult and impossible.)

which is why we want to freeze on versions ... an update to another 
version then becomes explicit; of course we can also consider having 
multiple instances of a font but then we also need to set up a repository

> I also note that the typescript for libertinus is quite old and does not 
> reflect the semibold variants that have been available for some time. I 
> prefer them to the bold variants, and my own typescript for libertinus 
> does incorporate them. I am happy to share it if anyone wants it.
We cannot suddenly change the 'default', but we can have additional 
choices in the file for semi versions (some more fonts have that).  You 
can send your typesctipt file to Mikael and me and we can have a look.

(Not sure if I should update libertinus now. Sometimes fonts change too 
much, like for instance ebgaramond did, and one can get rather different 
output.)

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

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

* Re: new upload
  2022-03-11 23:16 Hans Hagen via ntg-context
  2022-03-12 16:24 ` Henning Hraban Ramm via ntg-context
@ 2022-03-13 18:58 ` Rik Kabel via ntg-context
  2022-03-14  8:01   ` Hans Hagen via ntg-context
  2022-03-15  8:53 ` śrīrāma via ntg-context
  2 siblings, 1 reply; 205+ messages in thread
From: Rik Kabel via ntg-context @ 2022-03-13 18:58 UTC (permalink / raw)
  To: ntg-context; +Cc: Rik Kabel


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


On 2022-03-11 18:16, Hans Hagen via ntg-context wrote:
> Hi,
>
> It has been a while since there was an updaste but there it is. The 
> most significant 'changes' are:
>
> - more automatic adaption to double sided page properties in metafun 
> (lmtx) ... blame sreeram and me for messing up
>
> - more extensibve support for indic fonts which sreeram has documented 
> on the wiki (fonts, translutaration etc)
>
> and
>
> - improved math rendering to be documented by by mikael in an upcoming 
> manual ... it tooks a couple of months so it is supposed to have some 
> impact.
>
> before we move on the the structural compoments and see what can be 
> done beter there, we decided to release the first stage that deals with:
>
> = fixing font properties; we don't expect fonts to be improved so 
> that's the route we follow
>
> = extensive inter atom spacing (we have many more math classes, some 
> in the engine, some in context) and everything can be controlled (the 
> old pairwise spacing primitives have been replaced by a more general 
> mechanism, including support for fast setup of categories and 
> inhertance from other classes)
>
> = idem for inter class penalties, including granular control over line 
> breaks using a system of (in/de)creasing penalties
>
> = auto-fenced inline material across lines and linebreaks in molecules 
> (read: complex atoms)
>
> = taking stretch and shrink in encapsulated atoms into account in 
> linbreaks (using some new box related mechanism that is also available 
> in text and will be explained later)
>
> = spacing at the edges that should not be there but always was there 
> as side effect of the engine is now removed; as with other new 
> features this can be controlled (we have rulesets for atoms to which 
> we can add more in the future)
>
> = more detailed control over (skewed) fractions, (flattened) accents, 
> (sized) fences, radicals ... there was already a lot there but it now 
> combines with mentioned spacing (when relevant the context macros have 
> been adapted to control this which is a bit cleaner)
>
> = we have a new built in muskip (tiny) but as we have an inheritance 
> system as well as binding to variables one can set up extensive 
> spacing models register and constant binding; the currently set values 
> are based on math typesetting references; in the future we might have 
> additional ones
>
> = although we did handle primes already rather transparent in mkiv / 
> lmtx, inconsistency in fonts made us decide to make primes first class 
> properties of atoms and molecules which means that we now have: pre 
> super/subscripts, post super/subscripts and primes; this permits nicer 
> anchoring under parameter control
>
> = there are more font parameters to control matters (they are not in 
> open type but we sort of assume they are); the options that we had to 
> control how the engine deals with fonts are now driving the process 
> (without them being set not much is applied) and we basically assume 
> open type fonts (where one can enable engine options for those kind of 
> fonts but also for traditional); some experimental options for testing 
> are gone
>
> = in the process tracing for what is done in math by the engine has 
> been extended (mostly for ourselves)
>
> = instead of auto patching math fonts most is now under control of the 
> goodie files; user can (as usual) make their own, but also ask Mikael 
> to add missing bits and pieces (wrt dimensions)
>
> = most known math fonts are dealt with but there are a few exceptions: 
> we no longer consider asana to be useful (it doesn't pass our qa and 
> needs too much patching); erewhon is also troublesome (dimensions, 
> missing shaped) as is concrete (idem) so we decided not to waste too 
> much time on them now
>
> = we probably need to freeze math fonts in the distribution and only 
> update when we know what has been changed
>
> = we got rid of quite some artifacts that normally go unnoticed (like 
> tiny added spaces that result from always applied spacing even if not 
> needed and/or to compensate for glyph features like too much or little 
> side bearing): by fixing inconsistencies in fonts we could get rid of 
> all and therefore inter atom spacing is what does the job; once you 
> know it, you see it and there is no going back
>
> = because we zoom in we notice these things but much went unnoticed 
> (or was just accepted) for years; it means that we think some of the 
> things we did qualify as math micro typography (like it or not) and it 
> does mean that documents can render differently (unlikely for display, 
> propably also for inline unless you have plenty of math in a paragraph)
>
> == our objective has been to make it easier for users and to get rid 
> of explicit spacing; for that we also introduced commands for 
> differentials (that have their own class), imaginary numbers (also 
> have their class) and we added exponential as class; fwiw, digits and 
> factorial are classes too so again spacing has been optimized for them
>
> = whatever i forgot in the meantime mikael will add to this list
>
> There is a rough description in the 'ontarget' document. We hope you 
> enjoy it, at least we did (and so, as we're not finished yet).
>
> 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 / 
> 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
> ___________________________________________________________________________________ 
>


With regard to math fonts, I notice that the goodies file for Libertinus 
expects version 6.8 of the font, but the current version (since February 
2021) is 7.040, and much work appears to have gone into the math font.

Two questions, then:

 1. Is Libertinus Math considered a "useful" math font?
 2. How does the goodies mechanism work when the expected version
    differs from the found version?

(I understand that keeping up with evolving fonts is somewhere between 
difficult and impossible.)

I also note that the typescript for libertinus is quite old and does not 
reflect the semibold variants that have been available for some time. I 
prefer them to the bold variants, and my own typescript for libertinus 
does incorporate them. I am happy to share it if anyone wants it.

-- 
Rik

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-03-11 23:16 Hans Hagen via ntg-context
@ 2022-03-12 16:24 ` Henning Hraban Ramm via ntg-context
  2022-03-13 18:58 ` Rik Kabel via ntg-context
  2022-03-15  8:53 ` śrīrāma via ntg-context
  2 siblings, 0 replies; 205+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-03-12 16:24 UTC (permalink / raw)
  To: ntg-context; +Cc: Henning Hraban Ramm

Am 12.03.22 um 00:16 schrieb Hans Hagen via ntg-context:
> Hi,
> 
> It has been a while since there was an updaste but there it is. The most 
> significant 'changes' are:

Thank you so much! Finally log files of reasonable size again.

My latest book (with a lot MetaPost and image trickery) ran flawlessly; 
still testing other projects.

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

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

* new upload
@ 2022-03-11 23:16 Hans Hagen via ntg-context
  2022-03-12 16:24 ` Henning Hraban Ramm via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-03-11 23:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

It has been a while since there was an updaste but there it is. The most 
significant 'changes' are:

- more automatic adaption to double sided page properties in metafun 
(lmtx) ... blame sreeram and me for messing up

- more extensibve support for indic fonts which sreeram has documented 
on the wiki (fonts, translutaration etc)

and

- improved math rendering to be documented by by mikael in an upcoming 
manual ... it tooks a couple of months so it is supposed to have some 
impact.

before we move on the the structural compoments and see what can be done 
beter there, we decided to release the first stage that deals with:

= fixing font properties; we don't expect fonts to be improved so that's 
the route we follow

= extensive inter atom spacing (we have many more math classes, some in 
the engine, some in context) and everything can be controlled (the old 
pairwise spacing primitives have been replaced by a more general 
mechanism, including support for fast setup of categories and inhertance 
from other classes)

= idem for inter class penalties, including granular control over line 
breaks using a system of (in/de)creasing penalties

= auto-fenced inline material across lines and linebreaks in molecules 
(read: complex atoms)

= taking stretch and shrink in encapsulated atoms into account in 
linbreaks (using some new box related mechanism that is also available 
in text and will be explained later)

= spacing at the edges that should not be there but always was there as 
side effect of the engine is now removed; as with other new features 
this can be controlled (we have rulesets for atoms to which we can add 
more in the future)

= more detailed control over (skewed) fractions, (flattened) accents, 
(sized) fences, radicals ... there was already a lot there but it now 
combines with mentioned spacing (when relevant the context macros have 
been adapted to control this which is a bit cleaner)

= we have a new built in muskip (tiny) but as we have an inheritance 
system as well as binding to variables one can set up extensive spacing 
models register and constant binding; the currently set values are based 
on math typesetting references; in the future we might have additional ones

= although we did handle primes already rather transparent in mkiv / 
lmtx, inconsistency in fonts made us decide to make primes first class 
properties of atoms and molecules which means that we now have: pre 
super/subscripts, post super/subscripts and primes; this permits nicer 
anchoring under parameter control

= there are more font parameters to control matters (they are not in 
open type but we sort of assume they are); the options that we had to 
control how the engine deals with fonts are now driving the process 
(without them being set not much is applied) and we basically assume 
open type fonts (where one can enable engine options for those kind of 
fonts but also for traditional); some experimental options for testing 
are gone

= in the process tracing for what is done in math by the engine has been 
extended (mostly for ourselves)

= instead of auto patching math fonts most is now under control of the 
goodie files; user can (as usual) make their own, but also ask Mikael to 
add missing bits and pieces (wrt dimensions)

= most known math fonts are dealt with but there are a few exceptions: 
we no longer consider asana to be useful (it doesn't pass our qa and 
needs too much patching); erewhon is also troublesome (dimensions, 
missing shaped) as is concrete (idem) so we decided not to waste too 
much time on them now

= we probably need to freeze math fonts in the distribution and only 
update when we know what has been changed

= we got rid of quite some artifacts that normally go unnoticed (like 
tiny added spaces that result from always applied spacing even if not 
needed and/or to compensate for glyph features like too much or little 
side bearing): by fixing inconsistencies in fonts we could get rid of 
all and therefore inter atom spacing is what does the job; once you know 
it, you see it and there is no going back

= because we zoom in we notice these things but much went unnoticed (or 
was just accepted) for years; it means that we think some of the things 
we did qualify as math micro typography (like it or not) and it does 
mean that documents can render differently (unlikely for display, 
propably also for inline unless you have plenty of math in a paragraph)

== our objective has been to make it easier for users and to get rid of 
explicit spacing; for that we also introduced commands for differentials 
(that have their own class), imaginary numbers (also have their class) 
and we added exponential as class; fwiw, digits and factorial are 
classes too so again spacing has been optimized for them

= whatever i forgot in the meantime mikael will add to this list

There is a rough description in the 'ontarget' document. We hope you 
enjoy it, at least we did (and so, as we're not finished yet).

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

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

* Re: new upload
  2022-01-28 12:28         ` hanneder--- via ntg-context
@ 2022-01-28 12:58           ` Aditya Mahajan via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-01-28 12:58 UTC (permalink / raw)
  To: hanneder--- via ntg-context; +Cc: Aditya Mahajan

On Fri, 28 Jan 2022, hanneder--- via ntg-context wrote:

> 
> I was talking about the install programm on
> https://github.com/adityam/context-pkgbuild
> for it was not clear to me which version this convenient
> tool installs.

This is the old version of the PKGBUILD script for MkIV, before AUR moved to git. Not the AUR link has the latest PKGUILD.

> But following Hans kind advice I shall keep a low profile
> and wait for a safer version:)

The PKGBUILD for luametatex will install the latest _released_ version of LMTX. 

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

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

* Re: new upload
  2022-01-27 18:45         ` Hans Hagen via ntg-context
@ 2022-01-28 12:56           ` Aditya Mahajan via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-01-28 12:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Aditya Mahajan

> On 1/27/2022 7:35 PM, Aditya Mahajan via ntg-context wrote:
> 
> > 2. luametatex: https://aur.archlinux.org/packages/luametatex/
> Just an additional warning: one should not pick up bins from the build farm
> unless oen knows what's happening ... the current builds are okay for Mikael
> and me while playing with math but therefore don't match the latest context.

I am not picking bins from the build farm. The PKGBUILD downloads the context-linux-64.zip from http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip, runs install.sh, and downloads a few modules from CTAN, installs everything in /opt/luametatex, and creates a /opt/luametatex/setuptex script.

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

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

* Re: new upload
  2022-01-27 18:35       ` Aditya Mahajan via ntg-context
  2022-01-27 18:45         ` Hans Hagen via ntg-context
@ 2022-01-28 12:28         ` hanneder--- via ntg-context
  2022-01-28 12:58           ` Aditya Mahajan via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: hanneder--- via ntg-context @ 2022-01-28 12:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: hanneder


I was talking about the install programm on
https://github.com/adityam/context-pkgbuild
for it was not clear to me which version this convenient
tool installs.

But following Hans kind advice I shall keep a low profile
and wait for a safer version:)

Greetings



----- Nachricht von Aditya Mahajan via ntg-context  
<ntg-context@ntg.nl> ---------
      Datum: Thu, 27 Jan 2022 13:35:33 -0500 (EST)
        Von: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
Antwort an: mailing list for ConTeXt users <ntg-context@ntg.nl>
    Betreff: Re: [NTG-context] new upload
         An: hanneder--- via ntg-context <ntg-context@ntg.nl>
         Cc: Aditya Mahajan <adityam@umich.edu>


> On Thu, 27 Jan 2022, hanneder--- via ntg-context wrote:
>
>>
>> I tried to install the latest CTX with context-minimals/standalone
>> pkgbuild (on manjaro Linux with
>> the manual method), but the system does not recognise the new command
>> \definetransliteration, so I
>> guess I need to specify that I really want the latest upload. What is
>> the best method for this?
>
> BTW, I am not sure which PKGBUILD you mean exactly. Note that there  
> are two PKGBUILDs for context on AUR:
>
>
> 1. context-minimal-git:  
> https://aur.archlinux.org/packages/context-minimals-git/#news
>
> which installs ConTeXt MkIV
>
> 2. luametatex: https://aur.archlinux.org/packages/luametatex/
>
> which installs LuaMetaTeX.
>
> So you probably need to use the luametatex PKGBUILD.
>
> Aditya
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


----- Ende der Nachricht von Aditya Mahajan via ntg-context  
<ntg-context@ntg.nl> -----



---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
hanneder@staff.uni-marburg.de

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

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

* Re: new upload
  2022-01-27 18:35       ` Aditya Mahajan via ntg-context
@ 2022-01-27 18:45         ` Hans Hagen via ntg-context
  2022-01-28 12:56           ` Aditya Mahajan via ntg-context
  2022-01-28 12:28         ` hanneder--- via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-27 18:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 1/27/2022 7:35 PM, Aditya Mahajan via ntg-context wrote:

> 2. luametatex: https://aur.archlinux.org/packages/luametatex/
Just an additional warning: one should not pick up bins from the build 
farm unless oen knows what's happening ... the current builds are okay 
for Mikael and me while playing with math but therefore don't match the 
latest context.

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

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

* Re: new upload
  2022-01-27 18:09     ` hanneder--- via ntg-context
  2022-01-27 18:29       ` Hans Hagen via ntg-context
@ 2022-01-27 18:35       ` Aditya Mahajan via ntg-context
  2022-01-27 18:45         ` Hans Hagen via ntg-context
  2022-01-28 12:28         ` hanneder--- via ntg-context
  1 sibling, 2 replies; 205+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-01-27 18:35 UTC (permalink / raw)
  To: hanneder--- via ntg-context; +Cc: Aditya Mahajan



On Thu, 27 Jan 2022, hanneder--- via ntg-context wrote:

> 
> I tried to install the latest CTX with context-minimals/standalone  
> pkgbuild (on manjaro Linux with
> the manual method), but the system does not recognise the new command  
> \definetransliteration, so I
> guess I need to specify that I really want the latest upload. What is  
> the best method for this?

BTW, I am not sure which PKGBUILD you mean exactly. Note that there are two PKGBUILDs for context on AUR:


1. context-minimal-git: https://aur.archlinux.org/packages/context-minimals-git/#news

which installs ConTeXt MkIV

2. luametatex: https://aur.archlinux.org/packages/luametatex/

which installs LuaMetaTeX. 

So you probably need to use the luametatex PKGBUILD. 

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

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

* Re: new upload
  2022-01-27 18:09     ` hanneder--- via ntg-context
@ 2022-01-27 18:29       ` Hans Hagen via ntg-context
  2022-01-27 18:35       ` Aditya Mahajan via ntg-context
  1 sibling, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-27 18:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 1/27/2022 7:09 PM, hanneder--- via ntg-context wrote:
> 
> I tried to install the latest CTX with context-minimals/standalone 
> pkgbuild (on manjaro Linux with
> the manual method), but the system does not recognise the new command 
> \definetransliteration, so I
> guess I need to specify that I really want the latest upload. What is 
> the best method for this?
The transliteration code is in the next upload but because we're in the 
middle of a massive math class refactoring we fitst need to get that 
right (no problem if something is messed up for a while as it's a matter 
of definitions but at least the engine should behave well).

So ... patience needed,

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

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

* new upload
  2022-01-22 20:04   ` Richard Mahoney via ntg-context
@ 2022-01-27 18:09     ` hanneder--- via ntg-context
  2022-01-27 18:29       ` Hans Hagen via ntg-context
  2022-01-27 18:35       ` Aditya Mahajan via ntg-context
  0 siblings, 2 replies; 205+ messages in thread
From: hanneder--- via ntg-context @ 2022-01-27 18:09 UTC (permalink / raw)
  To: ntg-context; +Cc: hanneder


I tried to install the latest CTX with context-minimals/standalone  
pkgbuild (on manjaro Linux with
the manual method), but the system does not recognise the new command  
\definetransliteration, so I
guess I need to specify that I really want the latest upload. What is  
the best method for this?
Thanks
Jürgen

---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
hanneder@staff.uni-marburg.de

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

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

* Re: new upload
  2022-01-24  3:42     ` śrīrāma via ntg-context
@ 2022-01-24 21:33       ` Arthur Rosendahl via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Arthur Rosendahl via ntg-context @ 2022-01-24 21:33 UTC (permalink / raw)
  To: śrīrāma; +Cc: Arthur Rosendahl, Mailing list for ConTeXt users

On Mon, Jan 24, 2022 at 09:12:57AM +0530, śrīrāma wrote:
> Yes. Just yesterday while trying to fix some devanagari fonts, I was able to 
> get a partial fix to one of the bugs in rendering. Once that work reaches some 
> conclusion, I will make a list of fonts with accompanying typescripts for the 
> wiki.

  Thank you, that would be very useful.

	Best,

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

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

* Re: new upload
  2022-01-23 22:25   ` Arthur Rosendahl via ntg-context
@ 2022-01-24  3:42     ` śrīrāma via ntg-context
  2022-01-24 21:33       ` Arthur Rosendahl via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: śrīrāma via ntg-context @ 2022-01-24  3:42 UTC (permalink / raw)
  To: Mailing list for ConTeXt users, Arthur Rosendahl; +Cc: śrīrāma

On Monday, January 24, 2022 3:55:07 AM IST Arthur Rosendahl wrote:
> Do you have a list of the fonts you know
> to be working, and those you know to have issues, and with what script?
> This would be most useful, I think.  I can help collating the
> information on a wiki page.

Yes. Just yesterday while trying to fix some devanagari fonts, I was able to 
get a partial fix to one of the bugs in rendering. Once that work reaches some 
conclusion, I will make a list of fonts with accompanying typescripts for the 
wiki.

śrīrāma (kauśika)


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

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

* Re: new upload
  2022-01-22 12:31 ` kauśika via ntg-context
  2022-01-22 20:04   ` Richard Mahoney via ntg-context
@ 2022-01-23 22:25   ` Arthur Rosendahl via ntg-context
  2022-01-24  3:42     ` śrīrāma via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Arthur Rosendahl via ntg-context @ 2022-01-23 22:25 UTC (permalink / raw)
  To: Mailing list for ConTeXt users; +Cc: Arthur Rosendahl

On Sat, Jan 22, 2022 at 06:01:42PM +0530, kauśika via ntg-context wrote:
> Recently when we were troubled by incorrect rendering of certain conjuncts in 
> malayalam, Hans added a new font-feature. More below*, but first some 
> background: from my testing, the main reason for the problems with fonts seems 
> to come from the varied interpretations and/or implementations of OTF 
> specification. To add to this complexity there are two script tags (v1, v2 in 
> OTF and -one, -two in ConTeXt) for each writing system (script). While there 
> are fonts which work very well right away many others have issues and the 
> feature was added to somewhat alleviate these issues.

  Thank you for this overview.  Do you have a list of the fonts you know
to be working, and those you know to have issues, and with what script?
This would be most useful, I think.  I can help collating the
information on a wiki page.

	Best,

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

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

* Re: new upload
  2022-01-23  7:58       ` hanneder--- via ntg-context
@ 2022-01-23  8:26         ` kauśika via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: kauśika via ntg-context @ 2022-01-23  8:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: kauśika

On Sunday, January 23, 2022 1:28:52 PM IST hanneder--- via ntg-context wrote:
> When using these fonts regularly, one notices very erratic formatting
> phenomena that must have to
> do with the Devanagarī font, or its interaction with (Xe)TeX. Perhaps
> this is the same phenomenon
> seen from the user side.
> 
> In my case things improved when I switched to Adishila (in XeTeX):
> 
> \newfontfamily\sanskritfont[Script=Devanagari,Mapping=RomDev,Scale=1.45]{Adi
> shilaSan}
> 
> This is, to my taste, the nicest Sanskrit font, but it is difficult to
> decide between Adishila and
> Shobhika.

Adishila is a great font too and comes in many more styles (letter press, etc) 
than Shobhika. However the latter has more conjuncts. For example:
ङ्क्ल 
ङ्ग्ध्व
appear as halant forms in Adishila while they are proper conjuncts in 
Shobhika. Of course, these are rare conjuncts, so …

Anyway, in ConTeXt Adishila works well with 
features=devanagari-one

> I cannot say how thrilled I am about the Indic support, thanks a lot
> to Kaushika!

It is very much an ongoing effort. I am working on some proper documentation 
soon to serve as a guide for fonts (what works, what doesn't, fixes, hacks, 
etc). But mostly it is in a very usable state (for the most part).

I am very much a non-expert and helping in very little ways. It is Hans in the 
background who is doing all the really important things with the code, design 
and engineering of the system. So really, we should thank him!

kauśika


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

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

* Re: new upload
  2022-01-22 10:38     ` kauśika via ntg-context
@ 2022-01-23  7:58       ` hanneder--- via ntg-context
  2022-01-23  8:26         ` kauśika via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: hanneder--- via ntg-context @ 2022-01-23  7:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: hanneder

> (it is a bit of a pity that support for indic scripts is such a  
> weird mix of font technology and
> engine dependent reshuffling ... probably also driven by limitations  
> of open type at that time)>

When using these fonts regularly, one notices very erratic formatting  
phenomena that must have to
do with the Devanagarī font, or its interaction with (Xe)TeX. Perhaps  
this is the same phenomenon
seen from the user side.

In my case things improved when I switched to Adishila (in XeTeX):

\newfontfamily\sanskritfont[Script=Devanagari,Mapping=RomDev,Scale=1.45]{AdishilaSan}

This is, to my taste, the nicest Sanskrit font, but it is difficult to  
decide between Adishila and
Shobhika.

The Murty font is also quite good, but it is commercial and cannot be  
used for book production. I
asked whether there was a way to get a licence, but at the time this  
was impossible. But the font
team there recommended ``Sanskrit Text'' (Sansk.ttf) which is one of  
their products that made it
into a Microsoft Windows Standard font (I am not using Windows). It is  
also very good, but Adishila
works better for me.

I cannot say how thrilled I am about the Indic support, thanks a lot  
to Kaushika!

Best
Jürgen


----- Nachricht von kauśika via ntg-context <ntg-context@ntg.nl> ---------
      Datum: Sat, 22 Jan 2022 16:08:10 +0530
        Von: kauśika via ntg-context <ntg-context@ntg.nl>
Antwort an: mailing list for ConTeXt users <ntg-context@ntg.nl>
    Betreff: Re: [NTG-context] new upload
         An: mailing list for ConTeXt users <ntg-context@ntg.nl>
         Cc: kauśika <citturs@gmail.com>


> On Saturday, January 22, 2022 3:55:12 PM IST Hans Hagen via  
> ntg-context wrote:
>> Is there a font out there that supports all these scripts in one font?
>
> Shobhika font is a free font that has some of the largest number of glyphs
> (i.e has many conjuncts) for the Devanagari script.
> https://github.com/Sandhi-IITBombay/Shobhika
>
> The font also has a good Latin component based on PT Serif. This Latin part
> has good support for the roman (IAST) transliteration for Sanskrit. But
> strictly only the IAST spec character for Sanskrit are available.
>
> It also has glyphs for some commonly used mathematical symbols.
>
> Noto Serif Devanagari is also decent for just Devanagari (not sure  
> of the IAST
> part).
>
> As for Sans typefaces, Mukta Devanagari is a free font:
> https://github.com/EkType/Mukta
>
> Of these, Shobhika has the best conjunct coverage. I will shortly update the
> wiki with a much more exhaustive list and report here.
>
> kauśika
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


----- Ende der Nachricht von kauśika via ntg-context  
<ntg-context@ntg.nl> -----



---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
hanneder@staff.uni-marburg.de

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

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

* Re: new upload
  2022-01-22 12:31 ` kauśika via ntg-context
@ 2022-01-22 20:04   ` Richard Mahoney via ntg-context
  2022-01-27 18:09     ` hanneder--- via ntg-context
  2022-01-23 22:25   ` Arthur Rosendahl via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Richard Mahoney via ntg-context @ 2022-01-22 20:04 UTC (permalink / raw)
  To: ntg-context; +Cc: Richard Mahoney


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

Thank you Kauśika, these details are v. helpful.


Best, Richard



-- 
T +6433121699  M +64210640216
rmahoney@indica-et-buddhica.org
https://indica-et-buddhica.org/

Indica et Buddhica
Littledene  Bay Road  Oxford  NZ




-----Original Message-----
From: kauśika via ntg-context <ntg-context@ntg.nl>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: kauśika <citturs@gmail.com>
Subject: Re: [NTG-context] new upload
Date: Sat, 22 Jan 2022 18:01:42 +0530
X-Spam-Score: 0.0

On Saturday, January 22, 2022 12:58:05 AM IST Hans Hagen via ntg-
context 
wrote:
> - initial indic transliteration support .. recent indic (font)
> experiences and transliteration tricks will be eplained by kauśika

Recently when we were troubled by incorrect rendering of certain
conjuncts in 
malayalam, Hans added a new font-feature. More below*, but first some 
background: from my testing, the main reason for the problems with
fonts seems 
to come from the varied interpretations and/or implementations of OTF 
specification. To add to this complexity there are two script tags
(v1, v2 in 
OTF and -one, -two in ConTeXt) for each writing system (script). While
there 
are fonts which work very well right away many others have issues and
the 
feature was added to somewhat alleviate these issues.

*The feature is 'indic'. It has two aspects: 'movematra' and
'conjuncts'.

conjuncts takes values: mixed | continue | quit | auto
movematra takes values: default | leftbeforebase | auto

By default 
indic=auto 
for indic scripts. So this "should work" in most cases. 

In case there are issues, I have seen that the following approach
usually 
yields best result in debugging:
 • try to switch between the -one and -two version of the features
(i.e. use 
the v1 or v2 OTF script tag): some fonts may have some rules defined
only under 
one of the script tags. (I am not an expert in fonts but with my
testing of 
free fonts I have seen this). 
 • if that does not fix (the particular issue), revert to a working
feature and 
then set the indic feature as indic={movematra=default,conjuncts=quit}
to see
 • Please see:
 https://www.mail-archive.com/ntg-context@ntg.nl/msg99691.html
 issues usually have a pattern (across languages/scripts so some hacks
might 
work)

For conjuncts, 'mixed' and 'auto' are synonymous. Setting
conjuncts=mixed 
ensures that for some fonts conjuncts with the reph forms are rendered
correctly. (This was tested with a relatively new font in malayalam
using the 
mlm2 script tag).

For problematic fonts, if one can identify which conjuncts work under
which 
script tag and/or with what settings for indic, then, using ConTeXt
feature 
sets one can easily fix rendering in documents by doing, for instance
 {\feature[=][devanagari-two] …}, and/or
 {\feature[=][devanagari-one] …} accordingly
 See the comprehensive wiki page: 
 https://wiki.contextgarden.net/Featuresets 
for more details on how such feautresets might be built and applied.

Now, a brief note on the transliterations macros. First, one specifies
that 
indic transliteration is desired with:
\usetransliteration[indic]

Now, one can transliterate sanskrit to and from various forms by using

\transliterate[scheme]{ … }
where scheme is one of:
    • iast to deva
    • deva to iast
    • deva to mlym
which are respectively the following schemes :
    • IAST → Devanagari
    • Devanagari → IAST
    • Devanagari → Malayalam
More schemes will be added in the near future for various other indic
scripts 
as well. Currently there is only support for sanskrit language, which
we can 
extend to other languages (wherever the script allows).

Additionally, there is also 
\definetransliteration[…][…]
which can be used to define a specific transliteration block.

So, one just sets vector accordingly to get the desired
transliteration block. 
Please see below a minimal example for both:

% SOF
\usetransliteration[indic]
\definetransliteration
    [MyIASTtoDeva]
    [color=blue,
     style=bold,
     language=sa,
     vector={iast to deva}]

\starttransliteration[MyIASTtoDeva]%[color=green]   can set a new
color here 
idaṁ śarīraṁ kaunteya kṣetramityabhidīyate.
etadyo vetti taṁ prāhuḥ kṣetrajña iti tadvidaḥ. 
\stoptransliteration

\transliteration[MyIASTtoDeva]{idaṁ śarīraṁ kaunteya
kṣetramityabhidīyate}

% or directly 
\transliterate[iast to deva]{idaṁ śarīraṁ kaunteya
kṣetramityabhidīyate}
% EOF

kauśika


______________________________________________________________________
_____________
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
______________________________________________________________________
_____________


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-01-21 19:28 Hans Hagen via ntg-context
  2022-01-21 20:11 ` Henning Hraban Ramm via ntg-context
  2022-01-22  6:06 ` Aditya Mahajan via ntg-context
@ 2022-01-22 12:31 ` kauśika via ntg-context
  2022-01-22 20:04   ` Richard Mahoney via ntg-context
  2022-01-23 22:25   ` Arthur Rosendahl via ntg-context
  2 siblings, 2 replies; 205+ messages in thread
From: kauśika via ntg-context @ 2022-01-22 12:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: kauśika

On Saturday, January 22, 2022 12:58:05 AM IST Hans Hagen via ntg-context 
wrote:
> - initial indic transliteration support .. recent indic (font)
> experiences and transliteration tricks will be eplained by kauśika

Recently when we were troubled by incorrect rendering of certain conjuncts in 
malayalam, Hans added a new font-feature. More below*, but first some 
background: from my testing, the main reason for the problems with fonts seems 
to come from the varied interpretations and/or implementations of OTF 
specification. To add to this complexity there are two script tags (v1, v2 in 
OTF and -one, -two in ConTeXt) for each writing system (script). While there 
are fonts which work very well right away many others have issues and the 
feature was added to somewhat alleviate these issues.

*The feature is 'indic'. It has two aspects: 'movematra' and 'conjuncts'.

conjuncts takes values: mixed | continue | quit | auto
movematra takes values: default | leftbeforebase | auto

By default 
indic=auto 
for indic scripts. So this "should work" in most cases. 

In case there are issues, I have seen that the following approach usually 
yields best result in debugging:
 • try to switch between the -one and -two version of the features (i.e. use 
the v1 or v2 OTF script tag): some fonts may have some rules defined only under 
one of the script tags. (I am not an expert in fonts but with my testing of 
free fonts I have seen this). 
 • if that does not fix (the particular issue), revert to a working feature and 
then set the indic feature as indic={movematra=default,conjuncts=quit} to see
 • Please see:
 https://www.mail-archive.com/ntg-context@ntg.nl/msg99691.html
 issues usually have a pattern (across languages/scripts so some hacks might 
work)

For conjuncts, 'mixed' and 'auto' are synonymous. Setting conjuncts=mixed 
ensures that for some fonts conjuncts with the reph forms are rendered 
correctly. (This was tested with a relatively new font in malayalam using the 
mlm2 script tag).

For problematic fonts, if one can identify which conjuncts work under which 
script tag and/or with what settings for indic, then, using ConTeXt feature 
sets one can easily fix rendering in documents by doing, for instance
 {\feature[=][devanagari-two] …}, and/or
 {\feature[=][devanagari-one] …} accordingly
 See the comprehensive wiki page: 
 https://wiki.contextgarden.net/Featuresets 
for more details on how such feautresets might be built and applied.

Now, a brief note on the transliterations macros. First, one specifies that 
indic transliteration is desired with:
\usetransliteration[indic]

Now, one can transliterate sanskrit to and from various forms by using

\transliterate[scheme]{ … }
where scheme is one of:
    • iast to deva
    • deva to iast
    • deva to mlym
which are respectively the following schemes :
    • IAST → Devanagari
    • Devanagari → IAST
    • Devanagari → Malayalam
More schemes will be added in the near future for various other indic scripts 
as well. Currently there is only support for sanskrit language, which we can 
extend to other languages (wherever the script allows).

Additionally, there is also 
\definetransliteration[…][…]
which can be used to define a specific transliteration block.

So, one just sets vector accordingly to get the desired transliteration block. 
Please see below a minimal example for both:

% SOF
\usetransliteration[indic]
\definetransliteration
    [MyIASTtoDeva]
    [color=blue,
     style=bold,
     language=sa,
     vector={iast to deva}]

\starttransliteration[MyIASTtoDeva]%[color=green]   can set a new color here 
idaṁ śarīraṁ kaunteya kṣetramityabhidīyate.
etadyo vetti taṁ prāhuḥ kṣetrajña iti tadvidaḥ. 
\stoptransliteration

\transliteration[MyIASTtoDeva]{idaṁ śarīraṁ kaunteya kṣetramityabhidīyate}

% or directly 
\transliterate[iast to deva]{idaṁ śarīraṁ kaunteya kṣetramityabhidīyate}
% EOF

kauśika


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

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

* Re: new upload
  2022-01-22 10:25   ` Hans Hagen via ntg-context
@ 2022-01-22 10:38     ` kauśika via ntg-context
  2022-01-23  7:58       ` hanneder--- via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: kauśika via ntg-context @ 2022-01-22 10:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: kauśika

On Saturday, January 22, 2022 3:55:12 PM IST Hans Hagen via ntg-context wrote:
> Is there a font out there that supports all these scripts in one font?

Shobhika font is a free font that has some of the largest number of glyphs 
(i.e has many conjuncts) for the Devanagari script.
https://github.com/Sandhi-IITBombay/Shobhika

The font also has a good Latin component based on PT Serif. This Latin part 
has good support for the roman (IAST) transliteration for Sanskrit. But 
strictly only the IAST spec character for Sanskrit are available.

It also has glyphs for some commonly used mathematical symbols.

Noto Serif Devanagari is also decent for just Devanagari (not sure of the IAST 
part).

As for Sans typefaces, Mukta Devanagari is a free font:
https://github.com/EkType/Mukta

Of these, Shobhika has the best conjunct coverage. I will shortly update the 
wiki with a much more exhaustive list and report here.
 
kauśika


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

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

* Re: new upload
  2022-01-21 20:11 ` Henning Hraban Ramm via ntg-context
@ 2022-01-22 10:28   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-22 10:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 1/21/2022 9:11 PM, Henning Hraban Ramm via ntg-context wrote:
> Am 21.01.22 um 20:28 schrieb Hans Hagen via ntg-context:
>> so we can have fixed values too .. will be explained in due time by 
>> Mikael (in manual) as we're still experimenting with all this
>>
>> - initial indic transliteration support .. recent indic (font) 
>> experiences and transliteration tricks will be eplained by kauśika
> 
> I’m hoping for presentations / articles!
dedicated usag emanuals that can be 'articalized' but i'm sure the math 
will become an article anyway because of the (somewhat fundamental) 
extensions to the engine

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

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

* Re: new upload
  2022-01-22  6:06 ` Aditya Mahajan via ntg-context
  2022-01-22  7:21   ` kauśika via ntg-context
@ 2022-01-22 10:25   ` Hans Hagen via ntg-context
  2022-01-22 10:38     ` kauśika via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-22 10:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 1/22/2022 7:06 AM, Aditya Mahajan via ntg-context wrote:
> On Fri, 21 Jan 2022, Hans Hagen via ntg-context wrote:
> 
>> - initial indic transliteration support .. recent indic (font)
>> experiences and transliteration tricks will be eplained by kauśika
> 
> I finally thought that I'd try out how typesetting Hindi works with ConTeXt, but I don't get the correct output.
> 
> Input: आदित्य (See complete attached file)
> 
> Output: See attached.
> 
> Note that ि  "vowel sign I" should be attached to  द "letter  da" but it is attached to  य "letter ya". Do I need to enable a particular feature?
Is there a font out there that supports all these scripts in one font?

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

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

* Re: new upload
  2022-01-22  7:21   ` kauśika via ntg-context
  2022-01-22  7:37     ` Richard Mahoney via ntg-context
@ 2022-01-22 10:21     ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-22 10:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 1/22/2022 8:21 AM, kauśika via ntg-context wrote:
> On Saturday, January 22, 2022 11:36:57 AM IST Aditya Mahajan via ntg-context
> wrote:
>> I finally thought that I'd try out how typesetting Hindi works with ConTeXt,
>> but I don't get the correct output.
>>
>> Input: आदित्य (See complete attached file)
>>
>> Output: See attached.
>>
>> Note that ि  "vowel sign I" should be attached to  द "letter  da" but it is
>> attached to  य "letter ya". Do I need to enable a particular feature?
> 
> Unfortunately some fonts don't work properly in ConTeXt. Noto Sans Devanagari
> is one of them. The accompanying serif font (Noto Serif Devanagari) works just
> fine (mostly, there are problems with that as well).
> 
> In this specific case, there does not seem to be any fix (at least that I could
> find).
> 
> I am trying to test many fonts and come up with a list of fonts which work,
> partially work, don't work, etc. and fixes wherever possible.
Side note: we tested a lot and could find some hacks around font issues 
but in the end decided that adding some heuristics for (maybe whatever 
historic issues) makes no sense because eventually one ends up fighting 
heuristics. So, in the end we removed these fixing features and instead 
just do as announced above: tell what works and not with what fonts (and 
as some fonts are in development we can just wait till things work).

(it is a bit of a pity that support for indic scripts is such a weird 
mix of font technology and engine dependent reshuffling ... probably 
also driven by limitations of open type at that time)

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

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

* Re: new upload
  2022-01-22  7:37     ` Richard Mahoney via ntg-context
@ 2022-01-22  7:59       ` kauśika via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: kauśika via ntg-context @ 2022-01-22  7:59 UTC (permalink / raw)
  To: ntg-context; +Cc: kauśika

On Saturday, January 22, 2022 1:07:22 PM IST Richard Mahoney via ntg-context 
wrote:
> I'm wondering, how have you found the new
> input/translation method with "Shobhika Regular," a font a few of us
> might be keen to use?

I have myself been using Shobhika with relative success for quite some time 
now. Due to its great conjunct support, it is a good font as well. In ConTeXt 
it is advisable to use it with the deva script tag. So, with 
features=devanagari-one

Please note that it is missing some IAST glyphs
ḻ (=ळ) l̥ ,are just two examples.
[For roman transliteration (IAST), I have seen that the Brill font has very 
good glyph coverage but it does not have vedic accents IIRC.]

However, there is one (minor) issue in the devanagari side of things:
See here (long read): 
https://www.mail-archive.com/ntg-context@ntg.nl/msg99691.html

TLDR: there are one set of conjuncts which don't work right-away, namely the 
र-based conjunct forms with the following consonant: छ, ट, ठ, ड, ढ with post-
base and below-base vowel marks, namely  ी, ा, ौ,  ु  and   ू 
For example छ्री will not render as expected in ConTeXt (with devanagari-one). To 
fix this one can temporarily switch to the devanagari-two feature set as 
follows
{\feature[=][devanagari-two] छ्री}
which can be wrapped into a macro.

Otherwise, all the features work well.

Best,
kauśika


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

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

* Re: new upload
  2022-01-22  7:21   ` kauśika via ntg-context
@ 2022-01-22  7:37     ` Richard Mahoney via ntg-context
  2022-01-22  7:59       ` kauśika via ntg-context
  2022-01-22 10:21     ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Richard Mahoney via ntg-context @ 2022-01-22  7:37 UTC (permalink / raw)
  To: ntg-context; +Cc: Richard Mahoney


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

Kauśika,

I've been following this thread and the related critical edition
thread
with some interest. I'm wondering, how have you found the new
input/translation method with "Shobhika Regular," a font a few of us
might be keen to use?


Best, Richard



-- 
T +6433121699  M +64210640216
rmahoney@indica-et-buddhica.org
https://indica-et-buddhica.org/

Indica et Buddhica
Littledene  Bay Road  Oxford  NZ




-----Original Message-----
From: kauśika via ntg-context <ntg-context@ntg.nl>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
To: Hans Hagen via ntg-context <ntg-context@ntg.nl>
Cc: kauśika <citturs@gmail.com>, Aditya Mahajan via ntg-context
<ntg-context@ntg.nl>
Subject: Re: [NTG-context] new upload
Date: Sat, 22 Jan 2022 12:51:51 +0530
X-Spam-Score: 0.0

On Saturday, January 22, 2022 11:36:57 AM IST Aditya Mahajan via ntg-
context 
wrote:
> I finally thought that I'd try out how typesetting Hindi works with
> ConTeXt,
> but I don't get the correct output.
> 
> Input: आदित्य (See complete attached file)
> 
> Output: See attached.
> 
> Note that ि  "vowel sign I" should be attached to  द "letter  da"
> but it is
> attached to  य "letter ya". Do I need to enable a particular
> feature?

Unfortunately some fonts don't work properly in ConTeXt. Noto Sans
Devanagari 
is one of them. The accompanying serif font (Noto Serif Devanagari)
works just 
fine (mostly, there are problems with that as well). 

In this specific case, there does not seem to be any fix (at least
that I could 
find).

I am trying to test many fonts and come up with a list of fonts which
work, 
partially work, don't work, etc. and fixes wherever possible.

kauśika


______________________________________________________________________
_____________
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
______________________________________________________________________
_____________


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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-01-22  6:06 ` Aditya Mahajan via ntg-context
@ 2022-01-22  7:21   ` kauśika via ntg-context
  2022-01-22  7:37     ` Richard Mahoney via ntg-context
  2022-01-22 10:21     ` Hans Hagen via ntg-context
  2022-01-22 10:25   ` Hans Hagen via ntg-context
  1 sibling, 2 replies; 205+ messages in thread
From: kauśika via ntg-context @ 2022-01-22  7:21 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: kauśika, Aditya Mahajan via ntg-context

On Saturday, January 22, 2022 11:36:57 AM IST Aditya Mahajan via ntg-context 
wrote:
> I finally thought that I'd try out how typesetting Hindi works with ConTeXt,
> but I don't get the correct output.
> 
> Input: आदित्य (See complete attached file)
> 
> Output: See attached.
> 
> Note that ि  "vowel sign I" should be attached to  द "letter  da" but it is
> attached to  य "letter ya". Do I need to enable a particular feature?

Unfortunately some fonts don't work properly in ConTeXt. Noto Sans Devanagari 
is one of them. The accompanying serif font (Noto Serif Devanagari) works just 
fine (mostly, there are problems with that as well). 

In this specific case, there does not seem to be any fix (at least that I could 
find).

I am trying to test many fonts and come up with a list of fonts which work, 
partially work, don't work, etc. and fixes wherever possible.

kauśika


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

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

* Re: new upload
  2022-01-21 19:28 Hans Hagen via ntg-context
  2022-01-21 20:11 ` Henning Hraban Ramm via ntg-context
@ 2022-01-22  6:06 ` Aditya Mahajan via ntg-context
  2022-01-22  7:21   ` kauśika via ntg-context
  2022-01-22 10:25   ` Hans Hagen via ntg-context
  2022-01-22 12:31 ` kauśika via ntg-context
  2 siblings, 2 replies; 205+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-01-22  6:06 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

On Fri, 21 Jan 2022, Hans Hagen via ntg-context wrote:

> - initial indic transliteration support .. recent indic (font) 
> experiences and transliteration tricks will be eplained by kauśika

I finally thought that I'd try out how typesetting Hindi works with ConTeXt, but I don't get the correct output.

Input: आदित्य (See complete attached file)

Output: See attached.

Note that ि  "vowel sign I" should be attached to  द "letter  da" but it is attached to  य "letter ya". Do I need to enable a particular feature?

Thanks,
Aditya

[-- Attachment #2: Type: application/x-tex, Size: 276 bytes --]

[-- Attachment #3: Type: application/pdf, Size: 5572 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-01-21 19:28 Hans Hagen via ntg-context
@ 2022-01-21 20:11 ` Henning Hraban Ramm via ntg-context
  2022-01-22 10:28   ` Hans Hagen via ntg-context
  2022-01-22  6:06 ` Aditya Mahajan via ntg-context
  2022-01-22 12:31 ` kauśika via ntg-context
  2 siblings, 1 reply; 205+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-01-21 20:11 UTC (permalink / raw)
  To: ntg-context; +Cc: Henning Hraban Ramm

Am 21.01.22 um 20:28 schrieb Hans Hagen via ntg-context:
> so we can have fixed values too .. will be explained in due time by 
> Mikael (in manual) as we're still experimenting with all this
> 
> - initial indic transliteration support .. recent indic (font) 
> experiences and transliteration tricks will be eplained by kauśika

I’m hoping for presentations / articles!

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

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

* new upload
@ 2022-01-21 19:28 Hans Hagen via ntg-context
  2022-01-21 20:11 ` Henning Hraban Ramm via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-21 19:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

Weekend uoload:

- more math parameter magic (plus a real ancient bug no one noticed fix):

\newdimen     \mydimenA  \mydimenA 10pt
\newskip      \myskipA   \myskipA  10pt
\newmuskip    \mymuskipA \mymuskipA10mu
\mugluespecdef\mymuskipB           10mu

\inherited\Umathfracfracspacing\allmathstyles \mydimenA  % dynamic
\inherited\Umathfracfracspacing\allmathstyles \mymuskipA % dynamic
\inherited\Umathfracfracspacing\allmathstyles \myskipA   % dynamic
\Umathfracfracspacing\allmathstyles\mymuskipA            % frozen

% \alltextstyles \allscriptstyles \allmathstyles \allsplitstyles
% \resetmathstyles

\starttext
\startTEXpage[offset=3bp]
     $\displaystyle\mathfrac {x}\mathfrac {x}$\par
     $\textstyle   \mathfrac {x}\mathfrac {x}$\par
     $\scriptstyle \mathfrac {x}\mathfrac {x}$\par
\stopTEXpage
\stoptext

so we can have fixed values too .. will be explained in due time by 
Mikael (in manual) as we're still experimenting with all this

- initial indic transliteration support .. recent indic (font) 
experiences and transliteration tricks will be eplained by kauśika

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

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

* Re: new upload
  2022-01-15 14:52     ` Alexandre Christe via ntg-context
  2022-01-15 15:14       ` Hans Hagen via ntg-context
@ 2022-01-15 16:45       ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-15 16:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 1/15/2022 3:52 PM, Alexandre Christe via ntg-context wrote:
> Just came across a weird behavior with the latest upload.
> 
> The following doesn't print as it should
> \startformula 4^{2x} - 4^x - 25 = 0 \stopformula
> 
> I don't think it's normal (I see the spacing to make room for anything 
> that comes after the first character in the exposant, but it is not 
> printed).

to get an idea about default and additional spacing in tex ...

\starttext

\startbuffer
     \dontleavehmode\ruledhbox{$x^2 + x$}\par
     \dontleavehmode\ruledhbox{$x_2 + x$}\par
     \dontleavehmode\ruledhbox{$x^^2 + x$}\par
     \dontleavehmode\ruledhbox{$x__2 + x$}\blank
\stopbuffer

\startTEXpage[offset=3pt]
     \getbuffer
     \Umathspaceafterscript \textstyle0pt
     \Umathspacebeforescript\textstyle0pt
     \getbuffer
     \Umathextrasupspace    \textstyle20pt
     \Umathextrasubspace    \textstyle40pt
     \Umathextrasupprespace \textstyle10pt
     \Umathextrasubprespace \textstyle30pt
     \getbuffer
\stopTEXpage

\stoptext

so by default there is space added to scripts (more in latin modern than 
in cmr btw as it is font driven) but one can argue if that makes sense 
at all ... this is why we might default to zero font spacing and 
specific super/subscript spacing instead (just as in lmtx we have 
prescripts and related (fake opentype) spacing)

in a similar fashion there is built-in pre/post fraction spacing that 
makes that we cannot have tight fractions (by default) while in fact 
that has to be driven by proper fraction-class spacing so that's another 
thing that might happen: tight fractions + proper interclass spacing 
(because we have less memory constraints than when tex showed up we can 
add classes without overhead)

(i bet that due to a 'tex does perfect math syndrome' these thinsg go 
unnoticed (not by DEK himself, just look at the chapters on finetunign 
math) ... some of it is also compensate for the width-of-glyph cheating 
that goes on in the traditional engine but that is another matter

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

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

* Re: new upload
  2022-01-15 15:16         ` Fabrice Couvreur via ntg-context
@ 2022-01-15 16:26           ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-15 16:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 1/15/2022 4:16 PM, Fabrice Couvreur via ntg-context wrote:
> Hi Hans
> I just updated lmtx and this macro does not work although it did before. 
> On the other hand, no problem with context.
> Thanks.
> Fabrice
> 
>   \protected\def\e#1{\math{{\rm e}^{#1}}\autoinsertnextspace}
> 
> \starttext
> \startformula
> \e{a+b}
> \stopformula
> \stoptext
if the test suite doesn't crash (i only test that) i'll upload ... it 
has to do with decoupling some in the engine: tex uses lots of shifting, 
cheating on dimensions and displacements that relate to (older) fonts 
and for the purpose of tracing i changed some ... so we're seeing a side 
effect of that

for a while we already have this:

\tracingmath2\tracingonline2

just to give an idea what enters tex's math machinery

5:7: > \inlinemath=
5:7: \displaystyle
5:7: \mathord
5:7: .\nucleus
5:7: ..\mathchar (fam="0,char="65)
5:7: .\superscript
5:7: ..\mathlist
5:7: ...\mathord
5:7: ....\nucleus
5:7: .....\mathchar (fam="0,char="61)
5:7: ...\mathbin
5:7: ....\nucleus
5:7: .....\mathchar (fam="0,char="2B)
5:7: ...\mathord
5:7: ....\nucleus
5:7: .....\mathchar (fam="0,char="62)

i'll upload a fixed version

fwiw: \frac and friends are currently being redone; for that we now have 
a frac class (as well as rad), so

   \mathfrac{...}
   \mathrad{...}

in addition to \mathord etc other new things are

   \beginmathgroup ... \endmathgroup

that permits better local settings without messing up the spacing due to 
classes and we have dozens more spacing class variables ... all waiting 
to be used (some features are already there for more than a year but now 
get used in low level code, which is why we can expect some instabilities)

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

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

* Re: new upload
  2022-01-15 15:14       ` Hans Hagen via ntg-context
@ 2022-01-15 15:16         ` Fabrice Couvreur via ntg-context
  2022-01-15 16:26           ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2022-01-15 15:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


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

Hi Hans
I just updated lmtx and this macro does not work although it did before. On
the other hand, no problem with context.
Thanks.
Fabrice

 \protected\def\e#1{\math{{\rm e}^{#1}}\autoinsertnextspace}

\starttext
\startformula
\e{a+b}
\stopformula
\stoptext


Le sam. 15 janv. 2022 à 16:14, Hans Hagen via ntg-context <
ntg-context@ntg.nl> a écrit :

> On 1/15/2022 3:52 PM, Alexandre Christe via ntg-context wrote:
> > Just came across a weird behavior with the latest upload.
> >
> > The following doesn't print as it should
> > \startformula 4^{2x} - 4^x - 25 = 0 \stopformula
> >
> > I don't think it's normal (I see the spacing to make room for anything
> > that comes after the first character in the exposant, but it is not
> > printed).
> i'll fix it ...
>
>
>
> -----------------------------------------------------------------
>                                            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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-01-15 14:52     ` Alexandre Christe via ntg-context
@ 2022-01-15 15:14       ` Hans Hagen via ntg-context
  2022-01-15 15:16         ` Fabrice Couvreur via ntg-context
  2022-01-15 16:45       ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-15 15:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 1/15/2022 3:52 PM, Alexandre Christe via ntg-context wrote:
> Just came across a weird behavior with the latest upload.
> 
> The following doesn't print as it should
> \startformula 4^{2x} - 4^x - 25 = 0 \stopformula
> 
> I don't think it's normal (I see the spacing to make room for anything 
> that comes after the first character in the exposant, but it is not 
> printed).
i'll fix it ...



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

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

* Re: new upload
  2022-01-15 12:30   ` Hans Hagen via ntg-context
@ 2022-01-15 14:52     ` Alexandre Christe via ntg-context
  2022-01-15 15:14       ` Hans Hagen via ntg-context
  2022-01-15 16:45       ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 205+ messages in thread
From: Alexandre Christe via ntg-context @ 2022-01-15 14:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Alexandre Christe


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

Just came across a weird behavior with the latest upload.

The following doesn't print as it should
\startformula 4^{2x} - 4^x - 25 = 0 \stopformula

I don't think it's normal (I see the spacing to make room for anything that
comes after the first character in the exposant, but it is not printed).

Le sam. 15 janv. 2022 à 13:31, Hans Hagen via ntg-context <
ntg-context@ntg.nl> a écrit :

> On 1/15/2022 12:33 PM, hanneder--- via ntg-context wrote:
> >> - We added indic language patterns ad well as defined the languages
> >> but labels are on the todo as are conversions; kauśika is working on
> >
> > Perhaps the following notes are useful.
> >
> > 1. The simplest way, and what I was talking about, is to write and print
> > Sanskrit in
> >     transliteration.
> >
> > ānandaḥ -> ānandaḥ
> >
> > 2. Then we can of course write and print the same word in the usual
> > Indian Script (Devanāgarī)
> >
> > आनन्दः  ->  आनन्दः
> >
> > 3. But for academic use, one wants an input in roman (e-text are usually
> > in roman), and the option
> >     to have an output in Devanāgarī)
> >
> > ānandaḥ ->  आनन्दः
> >
> > For this an option with the transliterator would be required, I guess(?)
> >
> > Theoretically one could write Sanskrit in many scripts -- it has been
> > written
> > with many Indian scripts in history --, but I am wondering about the
> > practical value of this.
> > For imitating historic prints it would no doubt be nice, but not urgent.
> >
> > I was not aware of the hyphenation patterns by Yves Codet, if they work,
> > they would cover case 1
> > and 2. And I just heard from a colleague that the latest babel version
> > is incorporating a Sanskrit option
> > that might cover the same ground (I am not sure whether this is useful).
> >
> > Thanks a lot! I just have to learn more about ConTeXt to able to use it:)
>
> does the attached sort of what you want
>
> 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 /
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-01-15 11:33 ` hanneder--- via ntg-context
@ 2022-01-15 12:30   ` Hans Hagen via ntg-context
  2022-01-15 14:52     ` Alexandre Christe via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-15 12:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

On 1/15/2022 12:33 PM, hanneder--- via ntg-context wrote:
>> - We added indic language patterns ad well as defined the languages 
>> but labels are on the todo as are conversions; kauśika is working on
> 
> Perhaps the following notes are useful.
> 
> 1. The simplest way, and what I was talking about, is to write and print 
> Sanskrit in
>     transliteration.
> 
> ānandaḥ -> ānandaḥ
> 
> 2. Then we can of course write and print the same word in the usual 
> Indian Script (Devanāgarī)
> 
> आनन्दः  ->  आनन्दः
> 
> 3. But for academic use, one wants an input in roman (e-text are usually 
> in roman), and the option
>     to have an output in Devanāgarī)
> 
> ānandaḥ ->  आनन्दः
> 
> For this an option with the transliterator would be required, I guess(?)
> 
> Theoretically one could write Sanskrit in many scripts -- it has been 
> written
> with many Indian scripts in history --, but I am wondering about the 
> practical value of this.
> For imitating historic prints it would no doubt be nice, but not urgent.
> 
> I was not aware of the hyphenation patterns by Yves Codet, if they work, 
> they would cover case 1
> and 2. And I just heard from a colleague that the latest babel version 
> is incorporating a Sanskrit option
> that might cover the same ground (I am not sure whether this is useful).
> 
> Thanks a lot! I just have to learn more about ConTeXt to able to use it:)

does the attached sort of what you want

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

[-- Attachment #2: indic.tex --]
[-- Type: text/plain, Size: 2968 bytes --]

\startluacode
    fonts.handlers.otf.addfeature {
        name = "iast",
        type = "ligature",
        data = {
            ["ऐ"]  = { "a", "i" },
            ["औ"] = { "a", "u" },
            ["ख"] = { "k", "h" },
            ["छ"] = { "c", "h" },
            ["ठ"] = { "ṭ", "h" },
            ["थ"] = { "t", "h" },
            ["फ"] = { "p", "h" },
            ["घ"] = { "g", "h" },
            ["झ"] = { "j", "h" },
            ["ढ"] = { "ḍ", "h" },
            ["ध"] = { "d", "h" },
            ["भ"] = { "b", "h" },
        }
    }
    fonts.handlers.otf.addfeature {
        name = "iast",
        type = "substitution",
        data = {
            ["a"] = "अ",
            ["ā"] = "आ"	,
            ["i"] = "इ",
            ["ī"] = "ई",
            ["u"] = "उ",
            ["ū"] = "ऊ",
            ["ṛ"] = "ऋ",
            ["ṝ"] = "ॠ",
            ["ḷ"] = "ऌ",
            ["ḹ"] = "ॡ",
            ["e"] = "ए",
            ["o"] = "ओ",
            ["ṃ"] = "ं",
            ["ḥ"] = "ः",
            ["˜"] = "ँ",
            ["'"] = "ऽ",
            ["k"] = "क",
            ["c"] = "च",
            ["ṭ"] = "ट",
            ["t"] = "त",
            ["p"] = "प",
            ["g"] = "ग",
            ["j"] = "ज",
            ["ḍ"] = "ड",
            ["d"] = "द",
            ["b"] = "ब",
            ["ṅ"] = "ङ",
            ["ñ"] = "ञ",
            ["ṇ"] = "ण",
            ["n"] = "न",
            ["m"] = "म",
            ["h"] = "ह",
            ["y"] = "य",
            ["r"] = "र",
            ["l"] = "ल",
            ["v"] = "व",
            ["ś"] = "श",
            ["ṣ"] = "ष",
            ["s"] = "स",
        }
    }
\stopluacode

\starttext

\definefontfeature[iast][devanagari-two][iast=yes]
\definedfont[file:shobhika-regular.otf*iast at 18pt]

vid dhātorghañā vedaśabdo niṣpadyate.
vid jñāne vid vicāraṇe vidlṛ lābhe vid
sattāyām ityādidhātubhyo jñānaṃ sattā lābhaśceti trayo'pyarthāḥ siddhyanti. lāb­
haśabdena jīvanarūpā sthitirapi prahītuṃ śakyate sattāpadena cotpattiḥ. tena ut­
pattiḥ sthitiścetyubhayamapi vid dhātorarthe'ntarbhavati. ghañpratyayaścāpi bhāve
akartari ca kārake vidhīyate iti jñānam jñānasādhanam jñānakarma jñānādhikara­
ṇam sattā sattāsādhanam sattākarma sattādhikaraṇam sthiti sthitisādhanam sthi­
tikarma sthityadhikaraṇaścetyādi sarvaṃ vedaśabdārthatayā vyākhyātuṃ śakyate.
tatra granthātmakeṣu vedeṣu śābdajñānasādhanatvameva samanvāyayanti prāyeṇa
vidvāṃsaḥ.
anveṣaṇaprakriyayā pariśīlyamāne tu sarvavidhajñānasādhanam jñā­
narūpatvam sattāsādhanatvam sattārūpatvam sthitisādhanatvam sthitirūpatvam ce­
tyādyapi vedaśabdārthe samanvitaṃ bhavati.

\stoptext

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2022-01-15 10:54 Hans Hagen via ntg-context
@ 2022-01-15 11:33 ` hanneder--- via ntg-context
  2022-01-15 12:30   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: hanneder--- via ntg-context @ 2022-01-15 11:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: hanneder

> - We added indic language patterns ad well as defined the languages  
> but labels are on the todo as are conversions; kauśika is working on

Perhaps the following notes are useful.

1. The simplest way, and what I was talking about, is to write and  
print Sanskrit in
    transliteration.

ānandaḥ -> ānandaḥ

2. Then we can of course write and print the same word in the usual  
Indian Script (Devanāgarī)

आनन्दः  ->  आनन्दः

3. But for academic use, one wants an input in roman (e-text are  
usually in roman), and the option
    to have an output in Devanāgarī)

ānandaḥ ->  आनन्दः

For this an option with the transliterator would be required, I guess(?)

Theoretically one could write Sanskrit in many scripts -- it has been written
with many Indian scripts in history --, but I am wondering about the  
practical value of this.
For imitating historic prints it would no doubt be nice, but not urgent.

I was not aware of the hyphenation patterns by Yves Codet, if they  
work, they would cover case 1
and 2. And I just heard from a colleague that the latest babel version  
is incorporating a Sanskrit option
that might cover the same ground (I am not sure whether this is useful).

Thanks a lot! I just have to learn more about ConTeXt to able to use it:)




---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
hanneder@staff.uni-marburg.de

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

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

* new upload
@ 2022-01-15 10:54 Hans Hagen via ntg-context
  2022-01-15 11:33 ` hanneder--- via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-15 10:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

I uploaded a new version but best first read this because some is 
experimental and i need to sycn with those involved, so thereofre the 
uplaod (too many files involved):

Indic:

- We added indic language patterns ad well as defined the languages but 
labels are on the todo as are conversions; kauśika is working on this

- We also added a tweak to deal with a certain class of indic fonts; 
there will be a more detailed report about the why and how by kauśika

- So, Indic should work as before but with more dedicated support coming.

Math:

- Mikael and I are stepwise going over the math machinery: constructs, 
spacing etc in the perspective of what luametatex provided.

- We think we can improve spacing (more consistent) but it needs some 
work and testing. Some gets shifted from engine heuristics to 
predictable control.

- There will be a 'traditional swedish' spacing variant, also as an 
exaple of how users can finetune and adapt to the math culture they 
like. (I will likely make one for educational purpose).

- All this is done by some fundamental extensions to the math engine (on 
top of all the already present configurability) but hopefully without 
side effects.

Rest:

- I added a few features discussed on the list (itemize and such) which 
I let others explain (omn the wiki).

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

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

* Re: new upload
  2021-12-01  8:49 ` Denis Maier via ntg-context
@ 2021-12-01  9:07   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-12-01  9:07 UTC (permalink / raw)
  To: denis.maier, ntg-context; +Cc: Hans Hagen

On 12/1/2021 9:49 AM, denis.maier@unibe.ch wrote:
> Thank you, Hans!
> 
> I don't understand 2, 3, and 4, but I can wikify 1. Just two question: What exactly are the limitations? And what is meant by horizontal registers?

% this is a variant of an example on the mailing list

\mainlanguage[es]

\setupbodyfont[dejavu]

\defineregister
   [Russian]
   [n=1,
    command=\Words,
    pagenumber=no,
    language=ru,
    textalternative=horizontal,
    distance=0pt]

\setupregister [Russian] [2] [textstyle=bold,left={, }]
\setupregister [Russian] [3] [textstyle=italic,left={, }]

% word category meaning

\setregisterentry [Russian] [entries:1={исчисление},  entries:2={n. 
neutr.},  entries:3={cálculo}]
\setregisterentry [Russian] [entries:1={исчисление},  entries:2={n. 
neutr.},  entries:3={cálculo}]
\setregisterentry [Russian] [entries:1={вероятность}, entries:2={n. 
fem.},    entries:3={probabilidad}]
\setregisterentry [Russian] [entries:1={обозначать},  entries:2={v.}, 
       entries:3={denotar}]
\setregisterentry [Russian] [entries:1={область},     entries:2={n. 
fem},     entries:3={región, área}]
\setregisterentry [Russian] [entries:1={событие},     entries:2={n. 
neutr.},  entries:3={evento}]
\setregisterentry [Russian] [entries:1={определение}, entries:2={n. 
neutr.},  entries:3={definición}]
\setregisterentry [Russian] [entries:1={знание},      entries:2={n. 
neutr,},  entries:3={conocimiento}]
\setregisterentry [Russian] [entries:1={бесконечно},  entries:2={adv.}, 
       entries:3={infinitamente}]
\setregisterentry [Russian] [entries:1={сборник},     entries:2={n. 
masc.},   entries:3={colección, compilación, compendio}]
\setregisterentry [Russian] [entries:1={неравенство}, entries:2={n. 
neutr.},  entries:3={desigualdad}]

\starttext

\starttitle[title=Ruso-español]
     \placeRussian
\stoptitle

\stoptext


> Regarding the implementation: I've just tried it, and I wondered whether the stacking of bars should not happen the other way round. As in
> \underbar{\underdot{asdf}}
> I would have expected the bar to be below the dot. But maybe that's wrong expectations...
that would become rather messy and hard to analyze (this is already a 
runtime consuming feature) and never be consistent, think of

     \underbar{%
         \underdot{xxxxxxxx}
         xxxxxxxxx
         \underdot{xxxxxxxx}%
     }



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

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

* Re: new upload
  2021-11-30 18:55 Hans Hagen via ntg-context
@ 2021-12-01  8:49 ` Denis Maier via ntg-context
  2021-12-01  9:07   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Denis Maier via ntg-context @ 2021-12-01  8:49 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier

Thank you, Hans! 

I don't understand 2, 3, and 4, but I can wikify 1. Just two question: What exactly are the limitations? And what is meant by horizontal registers?

Regarding the implementation: I've just tried it, and I wondered whether the stacking of bars should not happen the other way round. As in 
\underbar{\underdot{asdf}}
I would have expected the bar to be below the dot. But maybe that's wrong expectations...

Denis




> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Hans Hagen
> via ntg-context
> Gesendet: Dienstag, 30. November 2021 19:56
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Cc: Hans Hagen <j.hagen@xs4all.nl>
> Betreff: [NTG-context] new upload
> 
> Hi,
> 
> (1) See previous mails on the list (those who requested it have to wikify):
> 
> - mixed bars (with limitations)
> - horizontal registers (flushing)
> 
> (2) As a side effect of reshuffling some code (as well as being complete):
> 
> - \boxshift 0 = 10pt
> - hbox shift -10pt{...}
> 
> These box shifts are what \moveleft, \raise etc use as well as some internal
> constructors like math.
> 
> (3) Because there is no reason for a limitation to rules and boxes we can now
> also do:
> 
> - x\cleaders \glyph`! \hfill x
> 
> where as usual \glyph taking some options.
> 
> (4) A few internals that users are unlikely to encounter (unless they mess
> with weird tokens in lua).
> 
> Hopefully no bad side effects of all this (and if so, easy to solve).
> 
> 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 / 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
___________________________________________________________________________________

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

* new upload
@ 2021-11-30 18:55 Hans Hagen via ntg-context
  2021-12-01  8:49 ` Denis Maier via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-30 18:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

(1) See previous mails on the list (those who requested it have to wikify):

- mixed bars (with limitations)
- horizontal registers (flushing)

(2) As a side effect of reshuffling some code (as well as being complete):

- \boxshift 0 = 10pt
- hbox shift -10pt{...}

These box shifts are what \moveleft, \raise etc use as well as some 
internal constructors like math.

(3) Because there is no reason for a limitation to rules and boxes we 
can now also do:

- x\cleaders \glyph`! \hfill x

where as usual \glyph taking some options.

(4) A few internals that users are unlikely to encounter (unless they 
mess with weird tokens in lua).

Hopefully no bad side effects of all this (and if so, easy to solve).

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

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

* Re: new upload
  2021-11-13 20:19 Hans Hagen via ntg-context
@ 2021-11-16 13:29 ` Otared Kavian via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Otared Kavian via ntg-context @ 2021-11-16 13:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian

Hi Hans,

Thank you for the new upload and the rewriting of the math fonts stuff, thanks also to Mikael S. I did several tests on real size math projects and did not notice important issues.

The two issues I noticed, show up mainly with LucidaOT, and are explained in the following example:

\setupbodyfont[lucidaot]

\definemathstackers[MySymbol]
	[voffset=-1.4\mathexheight, % -.8\mathexheight
	hoffset=\zeropoint,
	mathclass=ord,
	topoffset=.3\mathemwidth, % poor man's italic correction
	middlecommand=\mathematics]

\define[1]\interior{\mathover[MySymbol]{176}{#1}} %2218 U+00B0

\definemathcommand [Argmin]  [limop] {\mfunctionlabeltext{ArgMin}}
\definemathcommand [liminfbar]  [limop] {\underline{\mfunctionlabeltext{lim}}}
\definemathcommand [limsupbar]  [limop] {\overline{\mfunctionlabeltext{lim}}}

\starttext
If $A \subset {\Bbb R}$ is a set, its interior is denoted by $\interior{A}$. Can one have the circle over $A$ slightly bigger (probbaly this is font dependent)?

The built-in commands $\liminf$ and $\limsup$ do not work properly with LucidaOT (I tried other fonts and there they are fine):
\startformula
x_{n} := (-1)^n, \quad\mbox{then} \quad \liminf_{n \geq 0}x_{n} = -1, \quad \limsup_{n\geq 0} x_{n}= +1.
\stopformula

The commands defined above, \type{\liminfbar} and \type{\limsupbar}, behave correctly in all fonts I tested:
\startformula
x_{n} := (-1)^n, \quad\mbox{then} \quad \liminfbar_{n \geq 0}x_{n} = -1, \quad \limsupbar_{n\geq 0}x_{n} = +1,
\stopformula
but not the command \type{\Argmin} (which does not show Argmin in any font…)
\startformula
\Argmin_{x\in {\Bbb R}} (x^2 - x + 1) = {1 \over 2}.
\stopformula

\stoptext

Best regards: Otared

> On 13 Nov 2021, at 21:19, Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Hi,
> 
> I uploaded a new lmtx versions. It mostly concerns new math lfg file functionality (and control) that Mikael Sundqvist and I are currently working on so there might be subtle differences in math, which is, unless there are bugs, intentional and for the best. At some point there will be additional test files in the distribution and a chapter on fonts in the math manual (the deadline is next years ctx meeting).
> 
> If you have wishes wrt fonts you can tell us and we'll take them into account (if possible) but we need proper (real) minimal examples, and not for only one font as we're looking at:
> 
> cambria     (the reference font, very little tweaking needed)
> modern      (which has some properties different from other gyre fonts)
> modernlatin (the boldened aka bachotex version)
> dejavu      (a gyre font but different from other gyre fonts)
> pagella     (a gyre font, all have subtle differences)
> schola      (a gyre font, all have subtle differences)
> termes      (a gyre font, all have subtle differences)
> bonum       (a gyre font, all have subtle differences)
> lucida      (commercial but rather cheap from tug)
> xits        (is that one still used?)
> libertinus  (a mixed bag)
> stix-two    (a mixed bag)
> asana       (we might drop it because of quality reasons)
> ebgaramond  (this one is quite cambria conforming)
> minion      (tricky because commercial and not generally available)
> 
> Maybe later the newlatin modern will get a lfg too but it's beta and we 'modernlatin' anyway which uses our normal lm lgf file as it's A runtime derived font and therefore fully compatible.
> 
> The bold (heavy) math fonts also are dealt with automagically.
> 
> For practical reasons we might freeze fonts in the distribution and only update when explicitly checked for changes (and/or I might cook up version support in the lfg file assuming version checking is doable as often version strings are somewhat messy). We're not that bound to conventions (in the perspective of tex usage) and can "fix" them once and for all (read: we can divert from how these fonts are currently tuned for usage and expectations in e.g. latex and plain tex) so feel free to suggest esthetical pleasing options. If needed we can add variants (for which we can extend the lfg format). We also have plenty of yet unused (detailed) control in the engine. We can for instance have specific parameter sets / finetuning defined in the lfg files too but I don't know how useful and in demand that is (Mikael is looking into that).
> 
> (I'm sure Aditya has some wishes. We'll deal with Euler later as that's a virtual mix and virtual opentype might be redone later because we can simply matters a bit due to the fact that we have some more and better trickery wrt virtual fonts now.)
> 
> More in due time (as it's a tedious and somewhat boring job that demands lots of testing and investigation),
> 
> 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 / 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
___________________________________________________________________________________

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

* new upload
@ 2021-11-13 20:19 Hans Hagen via ntg-context
  2021-11-16 13:29 ` Otared Kavian via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-13 20:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

I uploaded a new lmtx versions. It mostly concerns new math lfg file 
functionality (and control) that Mikael Sundqvist and I are currently 
working on so there might be subtle differences in math, which is, 
unless there are bugs, intentional and for the best. At some point there 
will be additional test files in the distribution and a chapter on fonts 
in the math manual (the deadline is next years ctx meeting).

If you have wishes wrt fonts you can tell us and we'll take them into 
account (if possible) but we need proper (real) minimal examples, and 
not for only one font as we're looking at:

cambria     (the reference font, very little tweaking needed)
modern      (which has some properties different from other gyre fonts)
modernlatin (the boldened aka bachotex version)
dejavu      (a gyre font but different from other gyre fonts)
pagella     (a gyre font, all have subtle differences)
schola      (a gyre font, all have subtle differences)
termes      (a gyre font, all have subtle differences)
bonum       (a gyre font, all have subtle differences)
lucida      (commercial but rather cheap from tug)
xits        (is that one still used?)
libertinus  (a mixed bag)
stix-two    (a mixed bag)
asana       (we might drop it because of quality reasons)
ebgaramond  (this one is quite cambria conforming)
minion      (tricky because commercial and not generally available)

Maybe later the newlatin modern will get a lfg too but it's beta and we 
'modernlatin' anyway which uses our normal lm lgf file as it's A runtime 
derived font and therefore fully compatible.

The bold (heavy) math fonts also are dealt with automagically.

For practical reasons we might freeze fonts in the distribution and only 
update when explicitly checked for changes (and/or I might cook up 
version support in the lfg file assuming version checking is doable as 
often version strings are somewhat messy). We're not that bound to 
conventions (in the perspective of tex usage) and can "fix" them once 
and for all (read: we can divert from how these fonts are currently 
tuned for usage and expectations in e.g. latex and plain tex) so feel 
free to suggest esthetical pleasing options. If needed we can add 
variants (for which we can extend the lfg format). We also have plenty 
of yet unused (detailed) control in the engine. We can for instance have 
specific parameter sets / finetuning defined in the lfg files too but I 
don't know how useful and in demand that is (Mikael is looking into that).

(I'm sure Aditya has some wishes. We'll deal with Euler later as that's 
a virtual mix and virtual opentype might be redone later because we can 
simply matters a bit due to the fact that we have some more and better 
trickery wrt virtual fonts now.)

More in due time (as it's a tedious and somewhat boring job that demands 
lots of testing and investigation),

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

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

* new upload
@ 2021-11-05 15:43 Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-05 15:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

The latest lmtx upload has this:

\starttext

\dorecurse{10} {
     \dorecurse{20}{test #1 }
     \dorecurse{10}{\insertlinebefore{BEFORE 1/#1}}
     \dorecurse{20}{test #1 }
     \blank
}

\page

\dorecurse{10} {
     \dorecurse{20}{test #1 }
     \insertlinebefore{BEFORE 1a}
     \insertlinebefore{BEFORE 1b}
     \insertlineafter {AFTER  1}
     \dorecurse{20}{test #1 \hbox{\hbox{\hbox{\footnote{!}}}}}
     \dorecurse{20}{test #1 }
     \insertlinebefore{BEFORE 2}
     \insertlineafter {AFTER  2}
     \dorecurse{20}{test #1 }
     \blank
}

\page

\dorecurse{20}{before #1 }
\insertblankbefore[big]%
\insertlinebefore{\bf patch starts here}%
\insertblankbefore[2*big]%
\dorecurse{20}{between #1 }
\insertblankafter[2*big]%
\insertlineafter{\bf and ends here}%
\insertblankafter[big]%
\dorecurse{20}{after #1 }

\stoptext

so, some experimental injection mechanism (using some upgraded low level 
\vadjust related trickery).

(now back to the math font mess with Mikael ... so if math lovers have 
test cases ... it's about time to deal with persistent issues as I don't 
see/expect math fonts being made more consistent than they are now so we 
can add tweaks to the goodie files as we go)

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

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

* Re: new upload
  2021-11-02 18:02   ` Luis Montgomery via ntg-context
@ 2021-11-02 18:33     ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-02 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 11/2/2021 7:02 PM, Luis Montgomery via ntg-context wrote:
> Maybe because a ^^^^ requires xxxx, for example, 0003. See line 1506 in 
> file /context/tex/texmf-context/tex/context/base/mkiv/syst-aux.mkiv
indeed. a hack for Tomas (only affects mkiv)

i'll do a new upload tomorrow

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

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

* Re: new upload
  2021-11-02 16:58 ` Rik Kabel via ntg-context
  2021-11-02 17:56   ` Hans Hagen via ntg-context
@ 2021-11-02 18:02   ` Luis Montgomery via ntg-context
  2021-11-02 18:33     ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Luis Montgomery via ntg-context @ 2021-11-02 18:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Luis Montgomery


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

Maybe because a ^^^^ requires xxxx, for example, 0003.

See line 1506 in file

/context/tex/texmf-context/tex/context/base/mkiv/syst-aux.mkiv


Luis Montgomery


On the first run of MkIV (context --luatex) after updating my installation
> on Win11-x64, I get a complaint just after loading
> .../base/mkiv/syst-mac-lua :
>
> open source     > level 1, order 11, name
> 'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-aux.mkiv'
> resolvers       > lua > loading file
> 'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-aux.lua'
> succeeded
> resolvers       > lua > loading file
> 'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-mac.lua'
> succeeded
> ! ^^^^ needs four hex digits.
> l.1506     {\unless\ifx##2^
>                           ^^^3}%
> ?
>
> If I let the build proceed, all seems to be well.
> --
> Rik
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2021-11-02 16:58 ` Rik Kabel via ntg-context
@ 2021-11-02 17:56   ` Hans Hagen via ntg-context
  2021-11-02 18:02   ` Luis Montgomery via ntg-context
  1 sibling, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-02 17:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 11/2/2021 5:58 PM, Rik Kabel via ntg-context wrote:
> 
> On 11/2/2021 05:43, Hans Hagen via ntg-context wrote:
>> Hi,
>>
>> I uploaded a new lmtx. There is a new low level manual 
>> (lowlevel-localboxes) that describes the extended local boxes 
>> interface as well as a layer on top. New is that we have classes which 
>> makes this (engine) mechanism more useable. It definitely is some low 
>> level mechanism but you can for instance use if for high performance 
>> efficient maginal notes and line numbering in controlled situations. 
>> (There is some room fro optimization in the engien but I deal with 
>> that later.)
>>
>> Hans
>>
> 
> On the first run of MkIV (context --luatex) after updating my 
> installation on Win11-x64, I get a complaint just after loading 
> .../base/mkiv/syst-mac-lua :
> 
>     open source > level 1, order 11, name
>     'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-aux.mkiv'
>     resolvers       > lua > loading file
>     'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-aux.lua'
>     succeeded
>     resolvers       > lua > loading file
>     'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-mac.lua'
>     succeeded
>     ! ^^^^ needs four hex digits.
>     l.1506     {\unless\ifx##2^
>                                ^^^3}%
>     ?
> 
> If I let the build proceed, all seems to be well.

should be ^^^^3


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

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

* Re: new upload
  2021-11-02  9:43 Hans Hagen via ntg-context
@ 2021-11-02 16:58 ` Rik Kabel via ntg-context
  2021-11-02 17:56   ` Hans Hagen via ntg-context
  2021-11-02 18:02   ` Luis Montgomery via ntg-context
  0 siblings, 2 replies; 205+ messages in thread
From: Rik Kabel via ntg-context @ 2021-11-02 16:58 UTC (permalink / raw)
  To: ntg-context; +Cc: Rik Kabel


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


On 11/2/2021 05:43, Hans Hagen via ntg-context wrote:
> Hi,
>
> I uploaded a new lmtx. There is a new low level manual 
> (lowlevel-localboxes) that describes the extended local boxes 
> interface as well as a layer on top. New is that we have classes which 
> makes this (engine) mechanism more useable. It definitely is some low 
> level mechanism but you can for instance use if for high performance 
> efficient maginal notes and line numbering in controlled situations. 
> (There is some room fro optimization in the engien but I deal with 
> that later.)
>
> Hans
>

On the first run of MkIV (context --luatex) after updating my 
installation on Win11-x64, I get a complaint just after loading 
.../base/mkiv/syst-mac-lua :

    open source > level 1, order 11, name
    'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-aux.mkiv'
    resolvers       > lua > loading file
    'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-aux.lua'
    succeeded
    resolvers       > lua > loading file
    'C:/ConTeXt_LMTX/tex/texmf-context/tex/context/base/mkiv/syst-mac.lua'
    succeeded
    ! ^^^^ needs four hex digits.
    l.1506     {\unless\ifx##2^
                               ^^^3}%
    ?

If I let the build proceed, all seems to be well.

-- 
Rik

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* new upload
@ 2021-11-02  9:43 Hans Hagen via ntg-context
  2021-11-02 16:58 ` Rik Kabel via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-02  9:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

I uploaded a new lmtx. There is a new low level manual 
(lowlevel-localboxes) that describes the extended local boxes interface 
as well as a layer on top. New is that we have classes which makes this 
(engine) mechanism more useable. It definitely is some low level 
mechanism but you can for instance use if for high performance efficient 
maginal notes and line numbering in controlled situations. (There is 
some room fro optimization in the engien but I deal with that later.)

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

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

* Re: new upload
  2021-10-13 20:37 ` jbf via ntg-context
@ 2021-10-14  6:50   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-14  6:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 10/13/2021 10:37 PM, jbf via ntg-context wrote:
> In fact, Hans, that was going to be my comment after updating yesterday 
> to the 10-10-21 version: some of the breaks were a bit overdone. Are 
> these changes you indicate as tests actually included in the latest 
> upload, or should I wait a bit?
they are in there; but i still need to check multiple notes and spacing 
before the first (we have some trickery in mkiv and lmtx but maybe i can 
still make that better / more reliable in lmtx/luametatex)

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

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

* Re: new upload
  2021-10-13 15:34 Hans Hagen via ntg-context
@ 2021-10-13 20:37 ` jbf via ntg-context
  2021-10-14  6:50   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: jbf via ntg-context @ 2021-10-13 20:37 UTC (permalink / raw)
  To: Hans Hagen via ntg-context
  Cc: jbf, ntg >> mailing list for ConTeXt users

In fact, Hans, that was going to be my comment after updating yesterday 
to the 10-10-21 version: some of the breaks were a bit overdone. Are 
these changes you indicate as tests actually included in the latest 
upload, or should I wait a bit?

Julian

On 14/10/21 2:34 am, Hans Hagen via ntg-context wrote:

> influences the pagebreaks in relation to inserts (footnotes) in a more 
> significant way than one would expect. 
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* new upload
@ 2021-10-13 15:34 Hans Hagen via ntg-context
  2021-10-13 20:37 ` jbf via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-13 15:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

This midweek upload has something new. There has been some discussion 
about footnotes and one thing I noticed when playing with some new 
possibilities is that the stretch in topskip (we use a default amount 
that long ago was derived from plain tex and is relative to the body 
font size) influences the pagebreaks in relation to inserts (footnotes) 
in a more significant way than one would expect.

I also noticed that this stretch component is one of the reasons why 
sometimes a side float shape will carry over to a next page in spite of 
there being room. This relates to \brokenpenalty.

At the end of this mail are some tests that demonstrate this. As a 
consequence we now have a "ntop" parameter as well as a shaping related 
penalty primitives (parameters):

   \shapingpenaltiesmode"FF    % set all (future) bits (currently 4)
   \shapingpenalty\plushundred % don't go too high

which is currently not enabled by default but might be in upcoming 
versions; this also depends on user feedback. It's a non intrusive 
extension the LuaMetaTeX engine. I have this setting in my local 
preferences file.

Hans


% test code (for Massimiliano and Hraban to play with)

\starttext

\showframe

% this is the current default behaviour; we have a topskip with
% quite some stretch and that stretch is taken into account
% when tex calculates the badness; watch the next page

\dorecurse{4}{
     \bgroup
         \shapingpenaltiesmode\zerocount
         \showmakeup[penalty]
         \placefigure[left]{}{}
         \input tufte \par
     \egroup
}

\page EMPTY \page

% the ntop is new and when >= 0 it is a multiplier for the number
% of lines stretch, here we have one line; watch the next page

\dorecurse{4}{
     \bgroup
         \shapingpenaltiesmode\zerocount
         \setupinterlinespace[ntop=1]
         \showmakeup[penalty]
         \placefigure[left]{}{}
         \input tufte \par
     \egroup
}

\page EMPTY \page

% these shaping parameters will discourage a linebreak within a
% shape; the placement macro checked available space but that
% doesn't mean that there can be no linebreak

\dorecurse{4}{
     \bgroup
         \showmakeup[penalty]
         \shapingpenaltiesmode"FF\relax
         \shapingpenalty\plushundred
         \placefigure[left]{}{}
         \input tufte \par
     \egroup
}

\page EMPTY \page

% the next pages show the effect of changed topskip on page breaks
% with footnotes

\dorecurse{10}{
     [#1] \input tufte \footnote{\input{tufte}} \par
}

\page EMPTY \page

\setupinterlinespace[ntop=2]

\dorecurse{10}{
     [#1] \input tufte \footnote{\input{tufte}} \par
}

\page EMPTY \page

\setupinterlinespace[ntop=0]

\dorecurse{10}{
     [#1] \input tufte \footnote{\input{tufte}} \par
}

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

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

* Re: new upload
  2021-08-30 18:01   ` Hans Hagen via ntg-context
@ 2021-08-31  9:19     ` mf via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: mf via ntg-context @ 2021-08-31  9:19 UTC (permalink / raw)
  To: ntg-context; +Cc: mf

The problem on lowlevel-alignments.pdf is solved too.
Now the update process is OK again.
Thanks.
Massi

Il 30/08/21 20:01, Hans Hagen via ntg-context ha scritto:
> On 8/30/2021 7:27 PM, Rik Kabel via ntg-context wrote:
>> The corrected upload (2021.08.30 16:23) still has an issue. The 
>> --autopdf option results in:
>>
>> ╰─► context --autopdf test.tex
>> lua error : function call: 
>> ...TX/tex/texmf-context/scripts/context/lua/mtx-context.lua:488: 
>> attempt to call a nil value (global 'filenewsuffix')
>>
>> Without autopdf things work as expected.
> ok. new upload
> 
> (the installer for windows arm64 should now work too, as i just tested 
> it on the rpi 4 with windows 11)
> 
> Hans
> 
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2021-08-30 17:27 ` Rik Kabel via ntg-context
@ 2021-08-30 18:01   ` Hans Hagen via ntg-context
  2021-08-31  9:19     ` mf via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-30 18:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 8/30/2021 7:27 PM, Rik Kabel via ntg-context wrote:
> The corrected upload (2021.08.30 16:23) still has an issue. The 
> --autopdf option results in:
> 
> ╰─► context --autopdf test.tex
> lua error : function call: 
> ...TX/tex/texmf-context/scripts/context/lua/mtx-context.lua:488: attempt 
> to call a nil value (global 'filenewsuffix')
> 
> Without autopdf things work as expected.
ok. new upload

(the installer for windows arm64 should now work too, as i just tested 
it on the rpi 4 with windows 11)

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

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

* Re: new upload
  2021-08-30 14:30 Hans Hagen via ntg-context
  2021-08-30 16:15 ` mf via ntg-context
@ 2021-08-30 17:27 ` Rik Kabel via ntg-context
  2021-08-30 18:01   ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: Rik Kabel via ntg-context @ 2021-08-30 17:27 UTC (permalink / raw)
  To: ntg-context; +Cc: Rik Kabel

The corrected upload (2021.08.30 16:23) still has an issue. The 
--autopdf option results in:

╰─► context --autopdf test.tex
lua error : function call: 
...TX/tex/texmf-context/scripts/context/lua/mtx-context.lua:488: attempt 
to call a nil value (global 'filenewsuffix')

Without autopdf things work as expected.

-- 
Rik

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

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

* Re: new upload
  2021-08-30 16:15 ` mf via ntg-context
@ 2021-08-30 16:41   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2021-08-30 16:41 UTC (permalink / raw)
  To: mf via ntg-context; +Cc: Pablo Rodriguez

On 8/30/21 6:15 PM, mf via ntg-context wrote:
> There's a problem downloading lowlevel-alignments.pdf.
> Here's a slice of the log of install.sh:
> [...]
> mtx-install     | added    :   7 % :      199 :
> tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
> mtx-install     |
> tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf,
> try again later:
>
> After 5 unsuccessful trials to download the file, the updating process
> does not complete. The script ends without errors, but it's clear the
> update has failed.

I’m afraid I‘m experiencing exactly the same problem that Massi reported.

Just in case it may 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2021-08-30 14:30 Hans Hagen via ntg-context
@ 2021-08-30 16:15 ` mf via ntg-context
  2021-08-30 16:41   ` Pablo Rodriguez via ntg-context
  2021-08-30 17:27 ` Rik Kabel via ntg-context
  1 sibling, 1 reply; 205+ messages in thread
From: mf via ntg-context @ 2021-08-30 16:15 UTC (permalink / raw)
  To: ntg-context; +Cc: mf

There's a problem downloading lowlevel-alignments.pdf.
Here's a slice of the log of install.sh:

mtx-install     | updating tex/texmf, 1530 files
mtx-install     | updating tex/texmf-context, 4130 files
mtx-install     | changed  :   0 % :    27550 : 
tex/texmf-context/context/data/scite/context/lexers/data/scite-context-data-context.lua
mtx-install     | changed  :   1 % :    15493 : 
tex/texmf-context/context/data/scite/context/lexers/data/scite-context-data-tex.lua
mtx-install     | changed  :   1 % :    23670 : 
tex/texmf-context/context/data/scite/context/scite-context-data-context.properties
mtx-install     | changed  :   2 % :    13061 : 
tex/texmf-context/context/data/scite/context/scite-context-data-tex.properties
mtx-install     | changed  :   2 % :    27550 : 
tex/texmf-context/context/data/textadept/context/data/scite-context-data-context.lua
mtx-install     | changed  :   3 % :    15493 : 
tex/texmf-context/context/data/textadept/context/data/scite-context-data-tex.lua
mtx-install     | changed  :   3 % :   150521 : 
tex/texmf-context/context/data/vscode/extensions/context/syntaxes/context-syntax-tex.json
mtx-install     | added    :   7 % :      199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install     | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
trying again:
mtx-install     | added    :   7 % :      199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install     | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
trying again:
mtx-install     | added    :   7 % :      199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install     | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
trying again:
mtx-install     | added    :   7 % :      199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install     | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
trying again:
mtx-install     | added    :   7 % :      199 : 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf
mtx-install     | 
tex/texmf-context/doc/context/documents/general/manuals/lowlevel-alignments.pdf, 
try again later:

After 5 unsuccessful trials to download the file, the updating process 
does not complete. The script ends without errors, but it's clear the 
update has failed.

Massi


Il 30/08/21 16:30, Hans Hagen via ntg-context ha scritto:
> Hi,
> 
> new in this upload are some features in tabulate (not all enabled yet), 
> like
> 
> \starttabulate[|lG{.}|cG{,}|rG{=}|cG{x}|]
> \NC 1.1     \NC 2,2     \NC 3=3     \NC a 0xFF   \NC \NR
> \NC 11.11   \NC 22,22   \NC 33=33   \NC b 0xFFF  \NC \NR
> \NC 111.111 \NC 222,222 \NC 333=333 \NC c 0xFFFF \NC \NR
> \stoptabulate
> 
> \starttabulate[|lG{}|lG{}|]
> \NC \showglyphs \setalignmentcharacter{.}1.1     \NC 
> \setalignmentcharacter{.}1.1     \NC\NR
> \NC \showglyphs \setalignmentcharacter{,}11,11   \NC 
> \setalignmentcharacter{,}11,11   \NC\NR
> \NC \showglyphs \setalignmentcharacter{=}111=111 \NC 
> \setalignmentcharacter{=}111=111 \NC\NR
> \stoptabulate
> 
> \starttabulate[|lG{.}|lG{}|]
> \NC 1.1     \NC \setalignmentcharacter{.}1.1     \NC\NR
> \NC 11.11   \NC \setalignmentcharacter{.}11.11   \NC\NR
> \NC 111.111 \NC \setalignmentcharacter{.}111.111 \NC\NR
> \stoptabulate
> 
> \starttabulate[|lG{.}|rG{.}|]
> \NC foo.bar \NC foo.bar \NC \NR
> \NC  oo.ba  \NC  oo.ba  \NC \NR
> \NC   o.b   \NC   o.b   \NC \NR
> \stoptabulate
> 
> \starttabulate[|cG{d}|]
> \NC \smallcaps abcdefgh \NC \NR
> \NC              xdy    \NC \NR
> \NC \sl          xdy    \NC \NR
> \NC \tttf        xdy    \NC \NR
> \NC \tfd          d     \NC \NR
> \stoptabulate
> 
> The G option is like g but better so it sort of replaces it.
> 
> updated: lowlevel-expansion   (also discusses luametatex)
> new    : lowlevel-alignments  (also discusses luametatex)
> 
> 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 / 
> 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
___________________________________________________________________________________

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

* new upload
@ 2021-08-30 14:30 Hans Hagen via ntg-context
  2021-08-30 16:15 ` mf via ntg-context
  2021-08-30 17:27 ` Rik Kabel via ntg-context
  0 siblings, 2 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-30 14:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

new in this upload are some features in tabulate (not all enabled yet), 
like

\starttabulate[|lG{.}|cG{,}|rG{=}|cG{x}|]
\NC 1.1     \NC 2,2     \NC 3=3     \NC a 0xFF   \NC \NR
\NC 11.11   \NC 22,22   \NC 33=33   \NC b 0xFFF  \NC \NR
\NC 111.111 \NC 222,222 \NC 333=333 \NC c 0xFFFF \NC \NR
\stoptabulate

\starttabulate[|lG{}|lG{}|]
\NC \showglyphs \setalignmentcharacter{.}1.1     \NC 
\setalignmentcharacter{.}1.1     \NC\NR
\NC \showglyphs \setalignmentcharacter{,}11,11   \NC 
\setalignmentcharacter{,}11,11   \NC\NR
\NC \showglyphs \setalignmentcharacter{=}111=111 \NC 
\setalignmentcharacter{=}111=111 \NC\NR
\stoptabulate

\starttabulate[|lG{.}|lG{}|]
\NC 1.1     \NC \setalignmentcharacter{.}1.1     \NC\NR
\NC 11.11   \NC \setalignmentcharacter{.}11.11   \NC\NR
\NC 111.111 \NC \setalignmentcharacter{.}111.111 \NC\NR
\stoptabulate

\starttabulate[|lG{.}|rG{.}|]
\NC foo.bar \NC foo.bar \NC \NR
\NC  oo.ba  \NC  oo.ba  \NC \NR
\NC   o.b   \NC   o.b   \NC \NR
\stoptabulate

\starttabulate[|cG{d}|]
\NC \smallcaps abcdefgh \NC \NR
\NC              xdy    \NC \NR
\NC \sl          xdy    \NC \NR
\NC \tttf        xdy    \NC \NR
\NC \tfd          d     \NC \NR
\stoptabulate

The G option is like g but better so it sort of replaces it.

updated: lowlevel-expansion   (also discusses luametatex)
new    : lowlevel-alignments  (also discusses luametatex)

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

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

* new upload
       [not found]   ` <F4B07195-C31B-4C15-8578-81CE628F152E@scorecrow.com>
@ 2021-08-24 21:12     ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-24 21:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 8/24/2021 6:12 PM, Bruce Horrocks wrote:

> Thanks. I'll wait for your upload and try again.
i uploaded new bins

just for fun (yesterday i needed a distraction) i also added some basic 
mechanism for repeatable random numbers (i can add more if needed) (the 
usual tex / lua / mp interfaces)

\starttext

    % \enabletrackers[system.randomizer.details]
     % empty == default

     \newrepeatablerandom\MyRandom {Welcome 2 America}
     \newrepeatablerandom\MyRandomN{\randomnumber{0}{1000}}
     \newrepeatablerandom\MyRandomM{\randomnumber{0}{1000}}

     \cldcontext{utilities.randomizer.getrepeatableseed()}\par
     \cldcontext{utilities.randomizer.getrepeatableseed("default")}\par
     \cldcontext{utilities.randomizer.getrepeatableseed("MyRandom")}\par
     \cldcontext{utilities.randomizer.getrepeatableseed("MyRandomN")}\par
     \cldcontext{utilities.randomizer.getrepeatableseed("MyRandomM")}\par

     \dorecurse{10}{\MyRandom\par}

     \startlinecorrection
         \startMPcode
             randomseed := repeatablerandom("MyRandom") ;
             draw image (
                 for i=1 upto 1000 :
                     draw origin randomized 100 ;
                 endfor ;
             ) withpen pencircle scaled 1 withcolor white withstacking 2 ;
             fill boundingbox currentpicture withcolor darkred 
withstacking 1 ;
         \stopMPcode
     \stoplinecorrection

     \startluacode
         context(utilities.randomizer.getrepeatableseed("MyRandom"))
         context.par()
         local rep = utilities.randomizer.getrepeatable("MyRandom")
         for i=1,5 do
             context(rep())
             context.par()
         end
     \stopluacode

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

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

* Re: new upload
  2021-08-08  0:50 ` Aditya Mahajan via ntg-context
@ 2021-08-08  7:22   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-08  7:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 8/8/2021 2:50 AM, Aditya Mahajan via ntg-context wrote:
> On Sat, 7 Aug 2021, Hans Hagen via ntg-context wrote:
> 
>> Hi,
>>
>> I did a new upload. Attached is a document describing a new cheap (lmtx only)
>> feature. It's probably not that useful for most users, because it is meant for
>> somewhat extreme situations. but you never know.
> 
> How is this different from reading files from a zip file?
no duplicates, so in my use case .8 G instead of 1.8 G, with selective 
compression (no need to zip jpg or png), probably also bit more memory 
friendly and faster but i didn't check that (it's a side track of som 
escript that i had to write to check for duplicates, conflicts, 
inconsistencies in a large set of files)

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

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

* Re: new upload
  2021-08-07 21:00 Hans Hagen via ntg-context
@ 2021-08-08  0:50 ` Aditya Mahajan via ntg-context
  2021-08-08  7:22   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Aditya Mahajan via ntg-context @ 2021-08-08  0:50 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan

On Sat, 7 Aug 2021, Hans Hagen via ntg-context wrote:

> Hi,
> 
> I did a new upload. Attached is a document describing a new cheap (lmtx only)
> feature. It's probably not that useful for most users, because it is meant for
> somewhat extreme situations. but you never know.

How is this different from reading files from a zip file?

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

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

* new upload
@ 2021-08-07 21:00 Hans Hagen via ntg-context
  2021-08-08  0:50 ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-07 21:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

Hi,

I did a new upload. Attached is a document describing a new cheap (lmtx 
only) feature. It's probably not that useful for most users, because it 
is meant for somewhat extreme situations. but you never know.

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

[-- Attachment #2: workflows-hashed.pdf --]
[-- Type: application/pdf, Size: 23086 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2021-06-14 15:22   ` Hans Hagen
@ 2021-06-14 16:01     ` Pablo Rodriguez
  0 siblings, 0 replies; 205+ messages in thread
From: Pablo Rodriguez @ 2021-06-14 16:01 UTC (permalink / raw)
  To: ntg-context

On 6/14/21 5:22 PM, Hans Hagen wrote:
> On 6/14/2021 5:13 PM, Pablo Rodriguez wrote:
>> [...]
>> Sorry, but I have no idea about what I may be doing wrong (or whether
>> there is an issue here).
> The interface is evolving (so it's not meant for production ... it's
> what Thomas and i are exploring so it might change till it suits his needs).

Many thanks for your fast reply, Hans.

It would be great to have facing streams in ConTeXt.

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

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

* Re: new upload
  2021-06-14 15:13 ` Pablo Rodriguez
@ 2021-06-14 15:22   ` Hans Hagen
  2021-06-14 16:01     ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2021-06-14 15:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 6/14/2021 5:13 PM, Pablo Rodriguez wrote:
> On 6/13/21 7:31 PM, Hans Hagen wrote:
>> Hi,
>>
>> A few things
>>
>> (1) Thomas and I picked up the facing floats thread. I will probably
>> remove the experimental code from mkiv and only work on the lmtx
>> implementation. The same can be true for streams.
> 
> Many thanks for the new latest, Hans.
> 
> I have compiled the sample from page-ffl.mkxl:
> 
>    \starttext
>    \definefacingfloat
>    [whatever]
> 
>    \setupfacingfloat
>    [whatever]
>    [style=bold,
>     width=frame,
>     offset=10pt,
>     color=white]
> 
>    \setupfacingfloat
>    [whatever:left]
>    [background=color,
>     backgroundcolor=red]
> 
>    \setupfacingfloat
>    [whatever:right]
>    [background=color,
>     backgroundcolor=green]
> 
>    \startfacingfloat[whatever]
>      {\dorecurse{10}{\samplefile{tufte} }}
>      {\dorecurse{10}{\samplefile{ward}  }}
>      {\dorecurse{10}{\samplefile{tufte} }}
>      {\dorecurse{10}{\samplefile{ward}  }}
>    \stopfacingfloat
> 
>    \startfacingfloat[whatever]
>      \startcontent \dorecurse{10}{\samplefile{tufte} } \stopcontent
>      \startcontent \dorecurse{10}{\samplefile{ward}  } \stopcontent
>      \startcontent \dorecurse{10}{\samplefile{tufte} } \stopcontent
>      \startcontent \dorecurse{10}{\samplefile{ward}  } \stopcontent
>    \stopfacingfloat

\flushfacingfloats

>    \dorecurse{10}{\samplefile{sapolsky} }
>    \stoptext
> 
> I’m afraid that the resulting PDF document only contains the text from
> Sapolsky (no facing floats).
> 
> Sorry, but I have no idea about what I may be doing wrong (or whether
> there is an issue here).
The interface is evolving (so it's not meant for production ... it's 
what Thomas and i are exploring so it might change till it suits his needs).

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

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

* Re: new upload
  2021-06-13 17:31 Hans Hagen
@ 2021-06-14 15:13 ` Pablo Rodriguez
  2021-06-14 15:22   ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez @ 2021-06-14 15:13 UTC (permalink / raw)
  To: ntg-context

On 6/13/21 7:31 PM, Hans Hagen wrote:
> Hi,
>
> A few things
>
> (1) Thomas and I picked up the facing floats thread. I will probably
> remove the experimental code from mkiv and only work on the lmtx
> implementation. The same can be true for streams.

Many thanks for the new latest, Hans.

I have compiled the sample from page-ffl.mkxl:

  \starttext
  \definefacingfloat
  [whatever]

  \setupfacingfloat
  [whatever]
  [style=bold,
   width=frame,
   offset=10pt,
   color=white]

  \setupfacingfloat
  [whatever:left]
  [background=color,
   backgroundcolor=red]

  \setupfacingfloat
  [whatever:right]
  [background=color,
   backgroundcolor=green]

  \startfacingfloat[whatever]
    {\dorecurse{10}{\samplefile{tufte} }}
    {\dorecurse{10}{\samplefile{ward}  }}
    {\dorecurse{10}{\samplefile{tufte} }}
    {\dorecurse{10}{\samplefile{ward}  }}
  \stopfacingfloat

  \startfacingfloat[whatever]
    \startcontent \dorecurse{10}{\samplefile{tufte} } \stopcontent
    \startcontent \dorecurse{10}{\samplefile{ward}  } \stopcontent
    \startcontent \dorecurse{10}{\samplefile{tufte} } \stopcontent
    \startcontent \dorecurse{10}{\samplefile{ward}  } \stopcontent
  \stopfacingfloat

  \dorecurse{10}{\samplefile{sapolsky} }
  \stoptext

I’m afraid that the resulting PDF document only contains the text from
Sapolsky (no facing floats).

Sorry, but I have no idea about what I may be doing wrong (or whether
there is an issue 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* new upload
@ 2021-06-13 17:31 Hans Hagen
  2021-06-14 15:13 ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2021-06-13 17:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

A few things

(1) Thomas and I picked up the facing floats thread. I will probably 
remove the experimental code from mkiv and only work on the lmtx 
implementation. The same can be true for streams.

(2) The \limits and \nolimist etc commands are actually modifiers and so 
are \Umathadapttoright and \Umathadapttoleft. Because we have a couple 
of 'handy' options in several math constructs in the engine I decided to 
add a few more modifiers to (ab)use those features too. The next 
examples are for 'math detail lovers':

% \displaylimits
% \limits
% \nolimits
% \ordlimits (maybe replace that one now or maybe no longer needed anyway)

% \Umathadapttoleft
% \Umathadapttoright
% \Umathaxis
% \Umathnoaxis
% \Umathphantom
% \Umathvoid
% \Umathopenupheight <dimension>
% \Umathopenupdepth  <dimension>
% \Umathlimits
% \Umathnolimits

\startTEXpage[offset=5mm]
\startformula
     x = \integral^1_2 \mathinner{\vrule height 10mm depth 10mm width 5mm} =
     x = \integral^1_2 \mathinner{\vrule height 20mm depth 20mm width 5mm} =
     x = \integral^1_2 \mathinner{\vrule height 30mm depth 30mm width 5mm} =
     x = \integral^1_2 \mathinner{x} =
     x = \integral^1_2 x
\stopformula
\stopTEXpage

\startTEXpage[offset=5mm]
$
     x = \integral^1_2 \mathinner{\vrule height 10mm depth 10mm width 5mm} =
     x = \integral^1_2 \mathinner{\vrule height 20mm depth 20mm width 5mm} =
     x = \integral^1_2 \mathinner{\vrule height 30mm depth 30mm width 5mm} =
     x = \integral^1_2 x =
$
\stopTEXpage

\def\rab {\Umathchar"1"00"007C }
\def\lrab{\Umathchar"4"00"007C }
\def\rrab{\Umathchar"5"00"007C }

% \Umathmodifier : plus\minus

\definecolor[mtestcolor][a=1,t=.5,s=.5]

\startTEXpage[offset=5mm]
$
     \color[green]{\rab\Umathadapttoright^{\black 1}_{\black 2}^^3__4}
     \color[blue] {\mathinner{\vrule height 30mm depth 30mm width 5mm}}
     \color[red]  {\rab\Umathadapttoleft ^5_6^^{\black 7}__{\black 8}}
$
\quad
$
     \rab\Umathadapttoright^1_2^^3__4
     \mathinner{\vrule height 30mm depth 30mm width 5mm}
     \rab\Umathadapttoleft^5_6^^7__8
$
\quad
$ \showboxes
     \rab\Umathadapttoright\Umathnoaxis^1_2^^3__4
     \mathinner{\vrule height 30mm depth 30mm width 5mm}
     \rab\Umathadapttoleft\Umathnoaxis^5_6^^7__8
$
\quad
$ \showboxes
     \rab\Umathadapttoright\Umathnoaxis\Umathphantom^1_2^^3__4
     \mathinner{\vrule height 30mm depth 30mm width 5mm}
     \rab\Umathadapttoleft\Umathnoaxis\Umathphantom^5_6^^7__8
$
\quad
$ \showboxes
     \rab\Umathadapttoright\Umathnoaxis\Umathvoid^1_2^^3__4
     \mathinner{\vrule height 30mm depth 30mm width 5mm}
     \rab\Umathadapttoleft\Umathnoaxis\Umathvoid^5_6^^7__8
$
\quad
$ \showboxes
 
\rab\Umathadapttoright\Umathnoaxis\Umathvoid\Umathopenupheight5mm^1_2^^3__4
     \mathinner{\vrule height 30mm depth 30mm width 5mm}
     \rab\Umathadapttoleft \Umathnoaxis\Umathvoid\Umathopenupdepth 
5mm^5_6^^7__8
$
\stopTEXpage

\startTEXpage[offset=5mm]
$ \showmakeup[math]
     \rab\Umathadapttoright\Umathnoaxis\Umathopenupheight 5mm^1_2^^3__4
     \mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
     \rab\Umathadapttoleft \Umathnoaxis\Umathopenupdepth 5mm^5_6^^7__8
$
\quad
$  \showmakeup[math]
     \openinnerspacing \textstyle 5mu
     \innerclosespacing\textstyle 5mu
     \lrab\Umathadapttoright\Umathnoaxis\Umathopenupheight 5mm^1_2^^3__4
     \mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
     \rrab\Umathadapttoleft \Umathnoaxis\Umathopenupdepth 5mm^5_6^^7__8
$
\quad
$  \showmakeup[math]
     \openinnerspacing \textstyle 5mu
     \innerclosespacing\textstyle 5mu
     \lrab\Umathnolimits\Umathadapttoright\Umathnoaxis\Umathopenupheight 
5mm^1_2^^3__4
     \mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
     \rrab\Umathlimits  \Umathadapttoleft \Umathnoaxis\Umathopenupdepth 
5mm^5_6^^7__8
$
\stopTEXpage

\startTEXpage[offset=5mm]
$  \showmakeup[math]
     \frozen\openinnerspacing \textstyle 10mu
     \frozen\innerclosespacing\textstyle 10mu
     \lrab\Umathnolimits\Umathadapttoright\Umathnoaxis^1_2^^3__4
     \mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
     \rrab\Umathlimits  \Umathadapttoleft \Umathnoaxis^5_6^^7__8
     =
     \frozen\openinnerspacing \textstyle 2mu
     \frozen\innerclosespacing\textstyle 2mu
     \lrab\Umathnolimits\Umathadapttoright\Umathnoaxis^1_2^^3__4
     \mathinner{\mtestcolor\vrule height 10mm depth 10mm width 5mm}
     \rrab\Umathlimits  \Umathadapttoleft \Umathnoaxis^5_6^^7__8
$
\stopTEXpage

\stoptext

I'm still wondering about some interfacing but that depends on it being 
used (at all) but at least we can finetune a bit more abstract if we 
want to. It is also fun to play with (come up with new math notations 
and so).

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

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

* Re: new upload
  2021-06-04 17:43   ` Hans Hagen
@ 2021-06-04 17:54     ` Pablo Rodriguez
  0 siblings, 0 replies; 205+ messages in thread
From: Pablo Rodriguez @ 2021-06-04 17:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 6/4/21 7:43 PM, Hans Hagen wrote:
> On 6/4/2021 6:18 PM, Pablo Rodriguez wrote:
>> On 6/4/21 5:46 PM, Hans Hagen wrote:
>>> Hi,
>>>
>>> I uploaded a new version of lmtx [...]
>> Hans,
>>
>> at least on Linux64, if I compile a source file named "mwe.tex", I get
>> an extra "mwe-pdf-keep.pdf", either with or without invoking the option
>> "--purgeall".
>> [...]
>> I’m afraid that this might be a bug.
>
> more an incomplete feature (should normally not be done) [...]
> no fix-upload today (not for a one line fix)
>
> thanks for noticing,

Many thanks for the fast reply, Hans.

Fine for me, this is not that important.

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

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

* Re: new upload
  2021-06-04 16:18 ` Pablo Rodriguez
@ 2021-06-04 17:43   ` Hans Hagen
  2021-06-04 17:54     ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2021-06-04 17:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 6/4/2021 6:18 PM, Pablo Rodriguez wrote:
> On 6/4/21 5:46 PM, Hans Hagen wrote:
>> Hi,
>>
>> I uploaded a new version of lmtx [...]
> Hans,
> 
> at least on Linux64, if I compile a source file named "mwe.tex", I get
> an extra "mwe-pdf-keep.pdf", either with or without invoking the option
> "--purgeall".
> 
> This happens both with MkIV (LuaTeX 1.13 7420 + ConTeXt MkIV 2021.06.04
> 17:28) and LMTX (LuaMetaTeX 2.09 20210531 + ConTeXt LMTX 2021.06.04 17:28).
> 
> Contents seem to be irrelevant, but actual contents of "mwe.tex" read:
> 
>    \starttext
>    \input zapf
>    \stoptext
> 
> I’m afraid that this might be a bug.

more an incomplete feature (should normally not be done) ... there is an

% keeppdf

(first line) feature for something Aditya and I are trying

no fix-upload today (not for a one line fix)

thanks for noticing,

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

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

* Re: new upload
  2021-06-04 15:46 Hans Hagen
@ 2021-06-04 16:18 ` Pablo Rodriguez
  2021-06-04 17:43   ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez @ 2021-06-04 16:18 UTC (permalink / raw)
  To: ntg-context

On 6/4/21 5:46 PM, Hans Hagen wrote:
> Hi,
>
> I uploaded a new version of lmtx [...]
Hans,

at least on Linux64, if I compile a source file named "mwe.tex", I get
an extra "mwe-pdf-keep.pdf", either with or without invoking the option
"--purgeall".

This happens both with MkIV (LuaTeX 1.13 7420 + ConTeXt MkIV 2021.06.04
17:28) and LMTX (LuaMetaTeX 2.09 20210531 + ConTeXt LMTX 2021.06.04 17:28).

Contents seem to be irrelevant, but actual contents of "mwe.tex" read:

  \starttext
  \input zapf
  \stoptext

I’m afraid that this might be a bug.

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

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

* new upload
@ 2021-06-04 15:46 Hans Hagen
  2021-06-04 16:18 ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2021-06-04 15:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new version of lmtx: a next step in this matrix and such 
graphic part ... (also bTABLE done).

The matrix bit has a high level MP interface, also because it's a nice 
example of implementing one (not much code needed actually).

Support in bTABLE .. eTABLE is kind of interesting as it separates the 
ornamental part from the text part. The sxample only shows some simple 
stuff.  I'll probably also add this to the other table mechanisms. (Not 
hard but I don't want to impact performance when it's not used.)

The

   \startoverlayMPgraphic{mp:whatever-6}

is new and automatically defines the overlay so that saves some code.

   \startMPoverlaydata

is just a collector that can be flushed in-line (which wilkl also reset 
it).

All this is probably mostly useful in an educational setting. We'll see.

Hans

------------------------------------------------------------
examples
------------------------------------------------------------


\starttext

\startoverlayMPgraphic{mp:whatever-6}
     fill OverlayBox withcolor "darkgray" ;
     draw matrixbox (1, 1) (2, 1) enlarged OverlayOffset shifted 
paired(OverlayOffset) withpen pencircle scaled 1pt withcolor "blue" ;
     draw matrixbox (2, 2) (4, 4) enlarged OverlayOffset shifted 
paired(OverlayOffset) withpen pencircle scaled 1pt withcolor "red" ;
\stopoverlayMPgraphic

\framed
   [synchronize=background,
    align=normal,
    frame=off,
    background=mp:whatever-6,
    backgroundoffset=.5ex,
    foregroundcolor=white]
   {\setmathmatrixanchoring[yes]% left|right|both|yes
    \startmathmatrix
       \NC a_1 \NC a   \NC b   \NC c\NR
       \NC a_2 \NC a   \NC b   \NC c\NR
       \NC a_3 \NC a^2 \NC b   \NC c\NR
       \NC a_4 \NC a   \NC b_2 \NC c\NR
       \NC a_5 \NC a   \NC b   \NC c\NR
       \NC a_6 \NC a   \NC b   \NC c\NR
   \stopmathmatrix}

% \blank

% This can also be done by Alans node module.

\startoverlayMPgraphic{mp:whatever-7}
     fill OverlayBox withcolor "darkgray" ;
     draw lmt_matrix [
         from        = (1, 1),
         to          = (5, 4),
         connect     = { "bottom", "left"  },
         color       = "blue",
         linewidth   = 1pt,
         arrowoffset = 2pt,
         label       = [
             text     = "$\white \scriptscriptstyle x =1$",
             offset   = ExHeight/2,
             anchor   = "lft",
             fraction = .25
         ],
     ] ;
     draw lmt_matrix [
         from       = (4, 1),
         to         = (1, 5),
         connect    = { "bottom", "right" }
         colors     = { "green", "magenta" },
         arrowcolor = "white",
         linewidth  = 1pt,
     ] ;
     draw lmt_matrix [
         cell      = (2, 2),
         shape     = "circle"
         color     = "red",
         linewidth = 1pt,
     ] ;
     draw lmt_matrix [
         cell      = (4, 6),
         shape     = "round",
         radius    = ExHeight/2,
         color     = "red",
         linewidth = 1pt,
     ] ;
     draw lmt_matrix [
         cell      = (2, 6),
         shape     = "path",
         path      = fulldiamond xscaled 3EmWidth yscaled 4ExHeight,
         color     = "red",
         linewidth = 1pt,
     ] ;
     draw lmt_matrix [
         cell      = (2, 6),
         shape     = "scaledpath",
         offset    = .5ExHeight,
         path      = fulldiamond,
         color     = "yellow",
         linewidth = 1pt,
     ] ;
\stopoverlayMPgraphic

\blank

\framed
   [synchronize=background,
    align=normal,
    frame=off,
    offset=overlay,
    background=mp:whatever-7,
    foregroundcolor=white]
   {\setmathmatrixanchoring[both]%
    \startmathmatrix
       \NC a \NC   \NC \quad \NC b \NC   \NR
       \NC   \NC c \NC \quad \NC   \NC   \NR
       \NC   \NC   \NC \quad \NC   \NC   \NR
       \NC   \NC   \NC \quad \NC   \NC d \NR
       \NC e \NC   \NC \quad \NC   \NC   \NR
       \NC   \NC f \NC \quad \NC g \NC   \NR
   \stopmathmatrix}

\blank

\startoverlayMPgraphic{whatever-9}
     fill anchorspan (1, 1) (1, 3) withcolor "blue" ;
     fill anchorspan (2, 1) (3, 3) withcolor "yellow" ;
     fill anchorspan (3, 1) (3, 3) withcolor "green" ;
     path p ; p := anchorcell (2, 2) ;
     fill p withcolor "red" ;
     % now some weird stuff:
     picture q ; q := externalfigure "t:/sources/cow.pdf" ;
     q := q xysized (bbwidth(p), bbheight(p)) ;
     draw q shifted - center q shifted center p ;
     % and some even weirder stuff:
     \includeMPoverlaydata
\stopoverlayMPgraphic

\enabletrackers[localanchor]

\bTABLE[frame=off,synchronize=background,background=whatever-9]
     \bTR
         \bTD[foregroundcolor=white]
             \startMPoverlaydata
                 fill anchorcell (\xanchor,\yanchor) enlarged 
-.25ExHeight withcolor "darkgray" ;
             \stopMPoverlaydata
             test
         \eTD
         \bTD
             test test
         \eTD
         \bTD
             test test test
         \eTD
     \eTD
     \bTR
         \bTD[foregroundcolor=white]
             test test
         \eTD
         \bTD[nx=2,align=middle,foregroundstyle=bold,foregroundcolor=white]
             test
         \eTD
     \eTD
     \bTR
         \bTD[foregroundcolor=white]
             test test test
         \eTD
         \bTD
             test test
         \eTD
         \bTD
             test
         \eTD
     \eTD
\eTABLE

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

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

* Re: new upload
  2021-05-31 19:04     ` Aditya Mahajan
@ 2021-06-01 15:17       ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-06-01 15:17 UTC (permalink / raw)
  To: Aditya Mahajan; +Cc: mailing list for ConTeXt users

On 5/31/2021 9:04 PM, Aditya Mahajan wrote:
> On Mon, 31 May 2021, Hans Hagen wrote:
> 
>> On 5/31/2021 6:50 PM, Aditya Mahajan wrote:
>>> On Mon, 31 May 2021, Hans Hagen wrote:
>>>
>>>> Hi,
>>>>
>>>> I uploaded a new lmtx version. This time a new mechanism.
>>>
>>> This is very interesting...I haven't played around with it, but is it the
>>> case that \markanchor does not do alignment and so can completely replace
>>> the old \hpos{...} class of macros?
>>>
>>> This also gives many interesting possibilities for math .... drawing "boxes"
>>> in matrices (e.g.,
>>> https://tex.stackexchange.com/questions/333011/draw-a-box-around-matrix-elements)
>>> or even the nath style `\wall` macro (see pg 11 of
>>> https://texdoc.org/serve/nathguide.pdf/0) ... Of course, I mean this in
>>> terms of the visual effect and not the interface.
>> Like this ... I'll think about taking some size into account (a bit like hpos
>> does).
> 
> Yes! If we can take size of cell into account, it will be perfect.
> 
> We can also think of a wrapper so that an explicit \framed is not needed.
new upload with nesxt step

\starttext

\startuseMPgraphic{whatever-5}
     fill OverlayBox withcolor "lightgray" ;
     draw matrixbox (1, 1) (2, 1) withpen pencircle scaled 1pt withcolor 
"blue" ;
     draw matrixbox (2, 2) (4, 4) withpen pencircle scaled 1pt withcolor 
"red" ;
%     drawdot anchorxy("matrix", 3, 4) withpen pencircle scaled 4pt 
withcolor "green";
     setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\defineoverlay[whatever-5][\useMPgraphic{whatever-5}]

\framed
   [synchronize=background,
    align=normal,
    frame=off,
    background=whatever-5]
   {\setmathmatrixanchoring[both]% left|right|both|yes
%   {\setmathmatrixanchoring[right]% left|right|both|yes
    \startmathmatrix
       \NC a1 \NC a   \NC b   \NC c\NR
       \NC a2 \NC a   \NC b   \NC c\NR
       \NC a3 \NC a^2 \NC b   \NC c\NR
       \NC a4 \NC a   \NC b_2 \NC c\NR
       \NC a5 \NC a   \NC b   \NC c\NR
       \NC a6 \NC a   \NC b   \NC c\NR
   \stopmathmatrix}

\blank

\startuseMPgraphic{whatever-5}
     fill OverlayBox withcolor "darkgray" ;
     draw matrixbox (1, 1) (2, 1) enlarged OverlayOffset shifted 
paired(OverlayOffset) withpen pencircle scaled 1pt withcolor "blue" ;
     draw matrixbox (2, 2) (4, 4) enlarged OverlayOffset shifted 
paired(OverlayOffset) withpen pencircle scaled 1pt withcolor "red" ;
     setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\framed
   [synchronize=background,
    align=normal,
    frame=off,
    background=whatever-5,
    backgroundoffset=.5ex,
    foregroundcolor=white]
   {\setmathmatrixanchoring[yes]% left|right|both|yes
    \startmathmatrix
       \NC a1 \NC a   \NC b   \NC c\NR
       \NC a2 \NC a   \NC b   \NC c\NR
       \NC a3 \NC a^2 \NC b   \NC c\NR
       \NC a4 \NC a   \NC b_2 \NC c\NR
       \NC a5 \NC a   \NC b   \NC c\NR
       \NC a6 \NC a   \NC b   \NC c\NR
   \stopmathmatrix}

\stoptext

as a side track / distraction I added italic correction prevention, as 
shown in:

\starttext

\startTEXpage[offset=10pt] \showglyphs
     \startcombination[nx=3,ny=1]
         \startcontent \framed[strut=no,align=normal,offset=1ex]\bgroup 
\showmakeup[math,kern]%
             $a = b + c$\par
             $b = c + d$\par
             $c = e + f$\par
         \egroup \stopcontent
         \startcaption
             italic correction
         \stopcaption
         \startcontent \framed[strut=no,align=normal,offset=1ex]\bgroup 
\showmakeup[math,kern]%
             \noitaliccorrection
             $a = b + c$\par
             $b = c + d$\par
             $c = e + f$\par
         \egroup \stopcontent
         \startcaption
             no italic correction
         \stopcaption
         \startcontent \framed[strut=no,align=normal,offset=1ex]\bgroup 
\showmakeup[math,kern]%
             $a = b + c$\par
             $\noitaliccorrection b = c + d$\par
             $c = e + f$\par
         \egroup \stopcontent
         \startcaption
             selected correction
         \stopcaption
     \stopcombination
\stopTEXpage

\stoptext

but of course different width are still a reason why this doesn't align

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

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

* Re: new upload
  2021-05-31 17:48   ` Hans Hagen
@ 2021-05-31 19:04     ` Aditya Mahajan
  2021-06-01 15:17       ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: Aditya Mahajan @ 2021-05-31 19:04 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Mon, 31 May 2021, Hans Hagen wrote:

> On 5/31/2021 6:50 PM, Aditya Mahajan wrote:
> > On Mon, 31 May 2021, Hans Hagen wrote:
> > 
> > > Hi,
> > > 
> > > I uploaded a new lmtx version. This time a new mechanism.
> > 
> > This is very interesting...I haven't played around with it, but is it the
> > case that \markanchor does not do alignment and so can completely replace
> > the old \hpos{...} class of macros?
> > 
> > This also gives many interesting possibilities for math .... drawing "boxes"
> > in matrices (e.g.,
> > https://tex.stackexchange.com/questions/333011/draw-a-box-around-matrix-elements)
> > or even the nath style `\wall` macro (see pg 11 of
> > https://texdoc.org/serve/nathguide.pdf/0) ... Of course, I mean this in
> > terms of the visual effect and not the interface.
> Like this ... I'll think about taking some size into account (a bit like hpos
> does).

Yes! If we can take size of cell into account, it will be perfect. 

We can also think of a wrapper so that an explicit \framed is not needed. 

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

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

* Re: new upload
  2021-05-31 16:50 ` Aditya Mahajan
  2021-05-31 17:12   ` Hans Hagen
@ 2021-05-31 17:48   ` Hans Hagen
  2021-05-31 19:04     ` Aditya Mahajan
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2021-05-31 17:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Aditya Mahajan

On 5/31/2021 6:50 PM, Aditya Mahajan wrote:
> On Mon, 31 May 2021, Hans Hagen wrote:
> 
>> Hi,
>>
>> I uploaded a new lmtx version. This time a new mechanism.
> 
> This is very interesting...I haven't played around with it, but is it the case that \markanchor does not do alignment and so can completely replace the old \hpos{...} class of macros?
> 
> This also gives many interesting possibilities for math .... drawing "boxes" in matrices (e.g., https://tex.stackexchange.com/questions/333011/draw-a-box-around-matrix-elements) or even the nath style `\wall` macro (see pg 11 of https://texdoc.org/serve/nathguide.pdf/0) ... Of course, I mean this in terms of the visual effect and not the interface.
Like this ... I'll think about taking some size into account (a bit like 
hpos does).

\starttext

\startuseMPgraphic{whatever-1}
     fill OverlayBox withcolor "lightgray" ;
     drawdot anchorxy("one", 0, 1)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     drawdot anchorxy("one", 0, 2)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     drawdot anchorxy("two", 0, 1)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     drawdot anchorxy("two", 0, 2)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     drawdot anchorxy("three", 0, 1)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\startuseMPgraphic{whatever-2}
     pair a ; a := anchorxy("one", 0, 1) ;
     pair b ; b := anchorxy("one", 0, 2) ;
     drawarrow
         anchorxy("one", 0, 1) { right } ..
         anchorxy("one", 0, 2)
         withcolor "blue" withtransparency (1,.75) ;
     drawarrow
         anchorxy("two", 0, 1) { down } ..
         anchorxy("two", 0, 2)
         withcolor "blue" withtransparency (1,.75) ;
     drawarrow
         anchorxy("two", 0, 1) { dir 30 } ..
         anchorxy("three", 0, 1)
         withcolor "blue" withtransparency (1,.75) ;
     setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\defineoverlay[whatever-1][\useMPgraphic{whatever-1}]
\defineoverlay[whatever-2][\useMPgraphic{whatever-2}]

\framed
   [synchronize=yes,
    align=normal,
    offset=10pt,
    frame=off,
    background={whatever-1,foreground,whatever-2}]
   {\startmathmatrix
       \NC \markanchor{two}{0}{1}a \NC b \NC c\NR
       \NC a \NC b \NC c\NR
       \NC a \NC \markanchor{one}{0}{1}b \NC c\NR
       \NC \markanchor{one}{0}{2}a \NC b \NC \markanchor{two}{0}{2}c\NR
       \NC a \NC \markanchor{three}{0}{1}b \NC c\NR
   \stopmathmatrix}

\startuseMPgraphic{whatever-3}
     pair a ; a := anchorxy("a", 0, 1) ;
     pair b ; b := anchorxy("a", 0, 2) ;
     draw boundingbox (a--b)
         leftenlarged .25EmWidth
         rightenlarged EmWidth
         topenlarged StrutHeight
         bottomenlarged .5StrutDepth
         withcolor "blue" withtransparency (1,.75) ;
     setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\defineoverlay[whatever-3][\useMPgraphic{whatever-3}]

\framed
   [synchronize=yes,
    align=normal,
    offset=10pt,
    frame=off,
    background=whatever-3]
   {\startmathmatrix
       \NC a \NC                     a \NC                       b \NC c\NR
       \NC a \NC                     a \NC                       b \NC c\NR
       \NC a \NC \markanchor{a}{0}{1}a \NC                       b \NC c\NR
       \NC a \NC                     a \NC \markanchor{a}{0}{2}b \NC c\NR
       \NC a \NC                     a \NC                       b \NC c\NR
       \NC a \NC                     a \NC                       b \NC c\NR
   \stopmathmatrix}

\stoptext

The \markanchor{a}{0}{1 can be wrapped in a simpler one, or we can have 
something \markedanchor{a}{2}{b} but that need a little thinking because 
we don't want to mess too much with math spacing. Actually we can 
consider (in this case) \MC[a,2] or so although these are probabbly not 
features used that often.

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

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

* Re: new upload
  2021-05-31 16:50 ` Aditya Mahajan
@ 2021-05-31 17:12   ` Hans Hagen
  2021-05-31 17:48   ` Hans Hagen
  1 sibling, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-05-31 17:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Aditya Mahajan

On 5/31/2021 6:50 PM, Aditya Mahajan wrote:
> On Mon, 31 May 2021, Hans Hagen wrote:
> 
>> Hi,
>>
>> I uploaded a new lmtx version. This time a new mechanism.
> 
> This is very interesting...I haven't played around with it, but is it the case that \markanchor does not do alignment and so can completely replace the old \hpos{...} class of macros?

as long as you work within a predictable namespace and box/unbox situation

> This also gives many interesting possibilities for math .... drawing "boxes" in matrices (e.g., https://tex.stackexchange.com/questions/333011/draw-a-box-around-matrix-elements) or even the nath style `\wall` macro (see pg 11 of https://texdoc.org/serve/nathguide.pdf/0) ... Of course, I mean this in terms of the visual effect and not the interface.
ah ... http://www.tug.org/tug2003/preprints/Bilotta/bilotta2.pdf

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

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

* Re: new upload
  2021-05-31 12:30 Hans Hagen
@ 2021-05-31 16:50 ` Aditya Mahajan
  2021-05-31 17:12   ` Hans Hagen
  2021-05-31 17:48   ` Hans Hagen
  0 siblings, 2 replies; 205+ messages in thread
From: Aditya Mahajan @ 2021-05-31 16:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 31 May 2021, Hans Hagen wrote:

> Hi,
> 
> I uploaded a new lmtx version. This time a new mechanism.

This is very interesting...I haven't played around with it, but is it the case that \markanchor does not do alignment and so can completely replace the old \hpos{...} class of macros?

This also gives many interesting possibilities for math .... drawing "boxes" in matrices (e.g., https://tex.stackexchange.com/questions/333011/draw-a-box-around-matrix-elements) or even the nath style `\wall` macro (see pg 11 of https://texdoc.org/serve/nathguide.pdf/0) ... Of course, I mean this in terms of the visual effect and not the interface. 

Thanks,
Aditya


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

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

* new upload
@ 2021-05-31 12:30 Hans Hagen
  2021-05-31 16:50 ` Aditya Mahajan
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2021-05-31 12:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 7246 bytes --]

Hi,

I uploaded a new lmtx version. This time a new mechanism.

-----------------------------
 From an upcoming details chapter:
-----------------------------

The mechanism described here is still experimental. Although it could be 
implemented in \MKIV\ it is only available in \LMTX. Already early in 
\MKII\ we had a positioning mechanism available. At that time we had 
\DVI\ output and specials were used to track positions. A script 
calculated the positions that were then fed back into the second run. 
Later Taco wrote \DVIPOS\ which sped up the analysis between runs. When 
\PDFTEX\ showed, an equivalent positioning mechanism was added there. In 
\MKIV\ positioning support was optimized a bit as part of the upgrading 
process but the principles remained the same. The interface to 
positioning comes with a lot of commands and many of them relate to what 
we want to do with \METAFUN. The alternative interface discussed here is 
a bit simpler and has (at least now) less commands and, combined with 
local name spaces, can be easier to use in more local situations. It's 
also integrated in the frequently used \type {\framed} commands and has 
basic support at the \METAFUN\ end. The performance is comparable to the 
regular positioning mechanisms but especially at the \METAPOST\ end has 
less overhead.

-----------------------------
Here are some examples:
-----------------------------

\framed [synchronize=yes,align=normal] {%
   test test test 1      \sync{one}{1}test test 2      \crlf
   test test 1           \sync{one}{1}test test test 2 \crlf
   test 1                \sync{one}{1}test 2           \crlf
   test test test test 1 \sync{one}{1}test test 2
}

\framed [synchronize=yes,align=normal] {%
     one one     \sync{a}{1}two     \sync{a}{2}three \crlf
     one one     \sync{a}{1}two two \sync{a}{2}three \crlf
     one         \sync{a}{1}two     \sync{a}{2}three \crlf
     one one one \sync{a}{1}two     \sync{a}{2}three
}

\framed [synchronize=yes,align=normal] {%
     \syncanchor{one}{1}{1}A
     \syncanchor{one}{2}{1}BBB
     \syncanchor{one}{3}{1}C \crlf
     \syncanchor{one}{1}{2}AA
     \syncanchor{one}{3}{2}C \crlf
     \syncanchor{one}{1}{3}AAA
     \syncanchor{one}{2}{3}BB
     \syncanchor{one}{3}{3}C
}

\framed [synchronize=yes,align=normal] {%
     \alignanchor{one}{1}{1}{l}A
     \alignanchor{one}{1}{2}{m}AA
     \alignanchor{one}{1}{3}{r}AAA
     \syncanchor {one}{1}{4}\crlf
     \alignanchor{one}{2}{1}{right}B
     \alignanchor{one}{2}{2}{middle}BB
     \alignanchor{one}{2}{3}{left}BBB
     \syncanchor {one}{2}{4}
}

\startuseMPgraphic{whatever-1}
     fill OverlayBox withcolor "lightgray" ;
     drawdot anchorxy("one", 0, 1)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     drawdot anchorxy("one", 0, 2)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     drawdot anchorxy("two", 0, 1)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     drawdot anchorxy("two", 0, 2)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     drawdot anchorxy("three", 0, 1)
         withpen pencircle scaled 1mm
         withcolor "red" ;
     setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\startuseMPgraphic{whatever-2}
     pair a ; a := anchorxy("one", 0, 1) ;
     pair b ; b := anchorxy("one", 0, 2) ;
     drawarrow
         anchorxy("one", 0, 1) { right } ..
         anchorxy("one", 0, 2)
         withcolor "blue" withtransparency (1,.75) ;
     drawarrow
         anchorxy("two", 0, 1) { down } ..
         anchorxy("two", 0, 2)
         withcolor "blue" withtransparency (1,.75) ;
     drawarrow
         anchorxy("two", 0, 1) { dir 30 } ..
         anchorxy("three", 0, 1)
         withcolor "blue" withtransparency (1,.75) ;
     setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic

\defineoverlay[whatever-1][\useMPgraphic{whatever-1}]
\defineoverlay[whatever-2][\useMPgraphic{whatever-2}]

\framed
   [synchronize=yes,
    align=normal,
    offset=10pt,
    frame=off,
    background={whatever-1,foreground,whatever-2}]
   {%
     \markanchor{two}{0}{1}{\red\bf foo}%
     \markanchor{one}{0}{1} bar rab oof\crlf
     foo bar rab oof\crlf
     oof rab bar foo\crlf
     oof rab \markanchor{two}{0}{2}{\red\bf bar}%
     \markanchor{one}{0}{2} foo%
     \markanchor{three}{0}{1}%
   }

\framed
   [synchronize=yes,
    align=normal,
    offset=10pt,
    frame=off,
    background={whatever-1,foreground,whatever-2}]
   {%
     one one one \syncanchor{a}{1}{1}two two two
                 \syncanchor{a}{2}{1}three three\par
     one         \syncanchor{a}{1}{2}two
                 \syncanchor{a}{2}{2}three\par
     one         \syncanchor{a}{1}{3}two
                 \syncanchor{a}{2}{3}three\par
     \blank
     \markanchor{two}{0}{1}{\red\bf foo}%
     \markanchor{one}{0}{1} bar rab oof\crlf
     foo bar rab oof\crlf
     oof rab bar foo\crlf
     oof rab \markanchor{two}{0}{2}{\red\bf bar}%
     \markanchor{one}{0}{2} foo%
     \markanchor{three}{0}{1}%
     \blank
     one one \syncanchor{a}{1}{4}two two
             \syncanchor{a}{2}{4}three\par
     one one \syncanchor{a}{1}{5}two two
             \syncanchor{a}{2}{5}three three%
     \markanchor{three}{0}{1}%
   }

\framed[synchronize=yes,align=normal]{%
     one one \sync{a}{1}two     \sync{a}{2}three\par
     one one \sync{a}{1}two two \sync{a}{2}three\par
     \blank
     tst tst \sync{b}{1}tst     \sync{b}{2}tst\par
     tst     \sync{b}{1}tst tst \sync{b}{2}tst\par
     \blank
     one     \sync{a}{1}two     \sync{a}{2}three
}

\page

\startpacked
     $a = b + c $\par
     $b = c + d $\par
     $c = e + f $\par
\stoppacked

\startpacked
\startsynchronizing
     $a \syncanchor{one}{1}{1}= b \syncanchor{one}{2}{1}+ c$\par
     $b \syncanchor{one}{1}{2}= c \syncanchor{one}{2}{2}+ d$\par
     $c \syncanchor{one}{1}{3}= e \syncanchor{one}{2}{3}+ f$\par
\stopsynchronizing
\stoppacked

\startpacked
\startsynchronizing
     $a \sync{one}{1}= b \sync{one}{2}+ c$\par
     $b \sync{one}{1}= c \sync{one}{2}+ d$\par
     $c \sync{one}{1}= e \sync{one}{2}+ f$\par
\stopsynchronizing
\stoppacked

\startpacked
\startsynchronizing
     $a \mathsync{1}= b \mathsync{2}+ c$\par
     $b \mathsync{1}= c \mathsync{2}+ d$\par
     $  \mordsync{1}= e \mathsync{2}+ f$\par
\stopsynchronizing
\stoppacked

-----------------------------
remark
-----------------------------

So, it's a varaant on the positioning mechanism. It also works in framed 
when the synchronization option is enabled. Don't enable that when not 
used (as there is some overhead involved).

I have no clue how useful it is but users always find a way to use 
mechanisms. One can do really freaky things with it. Who knows what gets 
added over time.

Also, it doesn't replace the existing positioning mechanism which served 
us well for decades; it's just a lightweight variant with different pros 
and cons.

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

[-- Attachment #2: todo-localanchors.pdf --]
[-- Type: application/pdf, Size: 44819 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2021-05-27 10:17 ` mf
@ 2021-05-27 12:10   ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-05-27 12:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users, mf

On 5/27/2021 12:17 PM, mf wrote:
> Il 25/05/21 18:20, Hans Hagen ha scritto:
>>
>> Inserts are somewhat complex (and interwoven) and are also somewhat 
>> fuzzy when one wants to do checking when making progress on a page.  
>> We already deal with that in context in a reasonable way but I get the 
>> feeling that we can do better. This and the above are reasons to come 
>> up with a variant memory model that permits playing with additional 
>> features more easily. The existing storage model is stil there (after 
>> all it's tex) but for those willing to check the alternative, in 
>> page-ins.mkxl one can uncomment
>>
>>     % \insertmode\plustwo
>>
>> and remake the format.
> 
> I tested it with 2 volumes (632 and 936 pages). Both have 2 kinds of 
> footnotes; in the first there are also footnotes inside footnotes.
> 
> diffpdf says the resulting PDFs are identical to the ones obtained with 
> that line commented out.
> 
> So, regarding those two samples, the change has no effect in the output.
That's good news!

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

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

* Re: new upload
  2021-05-25 16:20 Hans Hagen
  2021-05-26 17:17 ` Pablo Rodriguez
@ 2021-05-27 10:17 ` mf
  2021-05-27 12:10   ` Hans Hagen
  1 sibling, 1 reply; 205+ messages in thread
From: mf @ 2021-05-27 10:17 UTC (permalink / raw)
  To: ntg-context

Il 25/05/21 18:20, Hans Hagen ha scritto:
> 
> Inserts are somewhat complex (and interwoven) and are also somewhat 
> fuzzy when one wants to do checking when making progress on a page.  We 
> already deal with that in context in a reasonable way but I get the 
> feeling that we can do better. This and the above are reasons to come up 
> with a variant memory model that permits playing with additional 
> features more easily. The existing storage model is stil there (after 
> all it's tex) but for those willing to check the alternative, in 
> page-ins.mkxl one can uncomment
> 
>     % \insertmode\plustwo
> 
> and remake the format.

I tested it with 2 volumes (632 and 936 pages). Both have 2 kinds of 
footnotes; in the first there are also footnotes inside footnotes.

diffpdf says the resulting PDFs are identical to the ones obtained with 
that line commented out.

So, regarding those two samples, the change has no effect in the output.

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

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

* Re: new upload
  2021-05-26 17:17 ` Pablo Rodriguez
@ 2021-05-26 18:09   ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-05-26 18:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 5/26/2021 7:17 PM, Pablo Rodriguez wrote:
> On 5/25/21 6:20 PM, Hans Hagen wrote:
>> [...] but for those willing to check the alternative, in
>> page-ins.mkxl one can uncomment
>>
>>      % \insertmode\plustwo
> 
> Many thanks for the new upload, Hans.
> 
> I’m extremely interested in testing this.
> 
> How can we enable this feature in a permanent way?
> 
> I mean, how can we avoid that an update disables it?
Not ... because we define some inserts (e.g for footnotes) we need to 
decide what storage model to choose ... technically we can use the 
runtime 'experiment' feature but i expect to switch rather soon anyway.

When users who test it encounter no problems it's okay because the core 
mechanisms are the same ... read: we still have inserts as usual but a 
variant engine-metadata storage model permits future - more robust and 
predictable - extensions; it was one of the more long term pending 
things to do which i decided to do now.

fyi: As we transition to frozen mkiv i'm also removing some hybrid 
left-overs in lmtx (for instance, years ago the lmtx backend actually 
started out as an option in mkiv so that i could test the idea, so that 
resulted in some nasty code in order to deal with both cases ... but at 
some point I decided that mkiv should not go that dual route.

So, every time when I run into some "it's time to move on and clean this 
up" moment I also check my long term agenda and this insert stuff was 
one of those items: it permits me to remove some old obsolete code still 
present in lmtx (that I admit I often already forgot about).

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

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

* Re: new upload
  2021-05-25 16:20 Hans Hagen
@ 2021-05-26 17:17 ` Pablo Rodriguez
  2021-05-26 18:09   ` Hans Hagen
  2021-05-27 10:17 ` mf
  1 sibling, 1 reply; 205+ messages in thread
From: Pablo Rodriguez @ 2021-05-26 17:17 UTC (permalink / raw)
  To: ntg-context

On 5/25/21 6:20 PM, Hans Hagen wrote:
> [...] but for those willing to check the alternative, in
> page-ins.mkxl one can uncomment
>
>     % \insertmode\plustwo

Many thanks for the new upload, Hans.

I’m extremely interested in testing this.

How can we enable this feature in a permanent way?

I mean, how can we avoid that an update disables it?

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

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

* new upload
@ 2021-05-25 16:20 Hans Hagen
  2021-05-26 17:17 ` Pablo Rodriguez
  2021-05-27 10:17 ` mf
  0 siblings, 2 replies; 205+ messages in thread
From: Hans Hagen @ 2021-05-25 16:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new version of lmtx. Apart from some small fixes, the 
configuration file is hopefully okay too. I'm sure MF will check it.

However, the biggest change is hidden. In traditional tex, inserts (used 
for footnotes) are implemented using a quadruple of registers. In 
context these come from the range 132-254 which is not used by normal 
allocations. The number is basically a sort of index.

However, this box/dimen/count/skip memory model doesn't work well for 
(possible) extensions nor does the wrapped final (per page) box fit into 
the more extended regular box model (not that anyone will notice or 
abuse that, it's just that some features of boxes don't make sense in 
the perspective of inserts).

Inserts are somewhat complex (and interwoven) and are also somewhat 
fuzzy when one wants to do checking when making progress on a page.  We 
already deal with that in context in a reasonable way but I get the 
feeling that we can do better. This and the above are reasons to come up 
with a variant memory model that permits playing with additional 
features more easily. The existing storage model is stil there (after 
all it's tex) but for those willing to check the alternative, in 
page-ins.mkxl one can uncomment

    % \insertmode\plustwo

and remake the format. I rejected a mixed mode model because it makes 
the code ugly. Related mem grows on demand as with other mechanisms so 
there is no extra overhead involved.

As a consequence I had to abstract some of the insert interface in 
context a bit more (because we use accessors instead of boxes) and 
hopefully I didn't forget one. We'll see. Once I'm confident with the 
new approach we'll switch to that (low level) interface model and can 
progress. Because users don't use inserts directly themselves not much 
harm can be done.

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

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

* new upload
@ 2021-05-05 17:43 Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-05-05 17:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new lmtx version. The update mostly concerns part of the 
low level mp-tex interface, a side effect of updating some mechanisms 
(one of which MF currently is extending).

Hopefully it won't break users code that uses low level mp-tex interface 
features but anyway, if needed, adapting is not hard and gives nicer 
code, as in:

   \startuseMPgraphic{foo1}
       fill fullcircle scaled \MPvar{size} withcolor \MPvar{color} ;
   \stopuseMPgraphic

which now becomes:

   \startuseMPgraphic{foo2}
       fill fullcircle scaled mpvard("size") withcolor mpvars "color" ;
   \stopuseMPgraphic

or even can be:

   \startuseMPgraphic{foo3}
       fill fullcircle scaled mpvar "size" withcolor mpvar "color" ;
   \stopuseMPgraphic

where numerics, dimensions and strings are figured out automatically:

   \newdimen\mydimen \mydimen=1cm

   \useMPgraphic{foo1}{size=\mydimen,color=red}

   \useMPgraphic{foo2}{size=2\mydimen,color=green}

   \useMPgraphic{foo3}{size=3cm,color=blue}

So it (still) works (even better) with registers and such.

The fundamental difference is that \MPvar pushes the value of a variable 
from tex to mp (after some analysis) and that mpvar pulls the value from 
the mp end (with some help of the lua interface).

New is that we have inheritance

   \setupMPvariables[foo3][size=1cm,color=yellow]

   \useMPgraphic{foo3}

   \setupMPvariables[foo1][foo3][size=2cm]

   \useMPgraphic{foo1}

Another experiment, already active on my machine for a while, is this:

   \enabledirectives[metapost.text.fasttrack]

which can be a bit more efficient wrt texts.

Another pending change is getting rid of colorhack, which you can try with:

   \enableexperiments[disablecolorhack]

Yet another (already mentioned) experiment users can (should) play with is

   \enableexperiments[simplegroups]

And of course there are:

   \enableexperiments[fonts.compact]

and the less fundamental (and more experimental too):

   \enabledirectives[fonts.injections.method=advance]

At some point compact mode can become the default which then can trigger 
some low level code removal ... of course some sentimental issue because 
throwing away code that has been around for a long time, has evolved to 
be efficient and work well, can hurt but in the end nicer new code wins.

Finally I want to remember overload protection:

   \enabledirectives[overloadmode=warning]

or even

   \enabledirectives[overloadmode=error]

just in case you want to check if your own macros clash or harm the system.

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

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

* new upload
@ 2021-04-09 18:19 Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-04-09 18:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new version of lmtx.

(1) The only additions are in the language arena (discussed here 
before). For those working on that, the trackers

   hyphenation.applied
   hyphenation.applied.console
   hyphenation.applied.visualize[=ligatures]
   languages.patterns
   languages.goodies
   languages.applied

have been updated. Also, exceptions can be stored in the goodies files 
(and then follow a slightly different route). There's also (at the 
engine level):

   \tracinghyphenation

which is 1 by default (report bad patterns, as before); a value of 2 
reports hyphenation and exceptions states, while 3 also adds detail if 
it has been applied.

(2) A second aspect of the upload concerns windows. Till now we use 
binaries that are crosscompiled on linux. These perform somewhat better 
than native msvc compiled binaries ... until last week. The native 
windows binaries now are some 5+ % faster than the cross compiled ones. 
However, because it is still somewhat experimental, the installation 
uses the ming ones. (Running the test suite went down from 1350 sec 
cross compiled to 1200 seconds native.)

If you want to check this out, fetch the binaries from the build server:

   https://dl.contextgarden.net/build/luametatex/win64/

make sure you replace/link luametatex.exe, mtxrun.exe and context.exe so 
that all then use the replacement. Mojca also configured the setup for 
native 32 bit binaries in case you need those. (The clang variants are 
compiled because want to keep an eye on that but they are definitely 
slower.)

If this experiment works out ok I might also investigate it for other 
platforms. The gain is mostly in the lua department, less in metapost 
and tex but still a valid reason to use my laptop for another few years. 
  (It is anyway cheaper and more environment friendly to make luametatex 
faster than to buy a new machine.)

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

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

* new upload
@ 2021-03-31 16:15 Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-03-31 16:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users, denis.maier

Hi,

I uploaded a new version. However, because of some new feature there can 
be (unwanted) side effects wrt hyphenation (should not be but who knows).

As a follow up on Denis mails about ligature prevention, we now have a 
mechanism called language 'goodies' analogue to 'font goodies'. For 
practical reasons this permits (high performance) plugs into the 
mechanism that also deals with hyphenation. Basically we can have some 
feedback loop but more about that later (Denis, Wolfgang and I need to 
play with all this and settle on the interface).

Although all can be done in pure lua (and i might add that at some 
point) this particular mechanism plugs into the hyphenator so that we 
get no real performance hit (I can proabbly improve it if really needed 
but let's first see if users complain.)

Here is an exmaple (to be default or not?)

\setuplanguage
   [de]
   [goodies={lang-de.llg}]

that has to come before a lkanguage gets activated (for now). In 
addition to exceptions one can do

\startlanguageoptions[de]
     Zapf|innovation
\stoplanguageoptions

to prevent a ligature between f and i and

\startlanguageoptions[de]
     Zapf=innovation
\stoplanguageoptions

to make it into a compound word (use both to prevent ligatures too). 
There's more to come once we get the full picture.

I leave it to Denis to organize the collection of words and definitions 
that go into a goodie file.

Hans


ps. Sometimes I wonder if for every new feature added we should drop an 
old maybe useless one, like some of the obsolete pdf stuff or features 
that seem to be persistently broken or weird or unpredictable in 
viewers. After all evolution also takes care of removal.

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

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

* new upload
@ 2021-02-12 17:56 Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-02-12 17:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new version. I'v enow tagged all public macros (not that 
anyone will notice) as a step in the overload protection effort. If you 
want to get an idea about what we're talking of you can process

   s-system-macros.mkxl

This file is mostly for Wolfgang and me when we update to lmtx, but it's 
used to identify 'todo's. We're talking tex as well as metapost here. In 
the process some orphan (mkii) stuff has been removed and a few small 
fixes applied (in code that probably no one ever encounters anyway).

In lmtx I also updated the stixtwo fonts (new names again) and added 
libertinus (for Tomas Hala to test).

Up to the next step,

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

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

* new upload
@ 2021-01-08 11:00 Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2021-01-08 11:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Hi,

A new upload ... I'm playing abit with font tweaks ...

\enableexperiments[fonts.compact] % for the definitions

\starttext

     \definefont[FooA][Serif*default @ 12pt 1800 500]
     \definefont[FooB][Serif*default @ 12pt 0.85 0.50]
     \definefont[FooC][Serif*default @ 12pt]

     \definetweakedfont[runwider] [xscale=1.5]
     \definetweakedfont[runtaller][yscale=2.5,xscale=.8,yoffset=-.2ex]

     {\FooA test test \runwider test test \runtaller test test}\par
     {\FooB test test \runwider test test \runtaller test test}\par
     {\FooC test test \runwider test test \runtaller test test}\par

     \blank {\input tufte }

     \blank {\glyphxscale 1070 \input tufte }

     \definetweakedfont[squeezed] [xscale=0.9]

     \blank $a = mb^2 + \sqrt{123}$
     \blank {\squeezed $a = mb^2 + \sqrt{123}$}

\stoptext

Just run these examplex in lmtx to get an idea. It might come in handy 
for special cases, like making sure something fits in some area or make 
for instance last lines look a bit better (posters or so).

For the moment I decided for two additional (optional) scale directives 
in the font definition (hopefully i didn't mess up the ctx parser for 
that). Scales are either fractions or integers (the traditional tex 
scaling in permilles).

Hans

(also, odd in mp and ligs in some cases fixed)


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

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

* new upload
@ 2020-12-01 17:13 Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2020-12-01 17:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new version. This time some cleanup of the backend, so 
let's see where I messed up this time.

The installer has been adapted so that an apple m1 machine is 
recognized. No native arm bins, that has to wait till we have some 
hardware available.

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

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

* Re: new upload
  2020-11-26 18:43   ` Mojca Miklavec
  2020-11-26 18:59     ` Wolfgang Schuster
  2020-11-26 20:00     ` Keith McKay
@ 2020-11-26 20:01     ` Bruce Horrocks
  2 siblings, 0 replies; 205+ messages in thread
From: Bruce Horrocks @ 2020-11-26 20:01 UTC (permalink / raw)
  To: ntg-context



> On 26 Nov 2020, at 18:43, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> 
> There are three options:
> - the existing Intel binaries should work just fine
> - yes, you should be able to compile the binaries yourself
> - we should eventually get hold of one device for our build farm, or
> in the meantime just ask someone for the initial build which should
> keep you covered for a while

There's a 4th option: use Xcode on an Intel Mac to generate a fat binary containing both ARM and intel code. After all, if Xcode can cross-compile to produce native ARM iPad and iPhone apps then there's no reason why it shouldn't be able to do so for Mac apps.

The M1 code would be untested of course, but beyond that... ;-)

--
Bruce Horrocks
Hampshire, UK

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

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

* Re: new upload
  2020-11-26 18:43   ` Mojca Miklavec
  2020-11-26 18:59     ` Wolfgang Schuster
@ 2020-11-26 20:00     ` Keith McKay
  2020-11-26 20:01     ` Bruce Horrocks
  2 siblings, 0 replies; 205+ messages in thread
From: Keith McKay @ 2020-11-26 20:00 UTC (permalink / raw)
  To: ntg-context

Thanks for your interesting and very helpful reply Mojca. It's given me 
lots to think about.

Best wishes

Keith McKay

On 26/11/2020 18:43, Mojca Miklavec wrote:
> On Thu, 26 Nov 2020 at 16:26, Keith McKay wrote:
>> I was planning on getting the new entry level MAC min M1 with 8GB
>> unified memory but I see that there will be no ConTeXt binaries for
>> these new M1 chip Macs.
> It's not that there will not be, it's just that none of us has
> purchased a piece of hardware yet.
>
> A few months back it was possible to purchase one, but:
> - it was just a one year rental fee rather than the ability to purchase it
> - definitely not available in my country
> - one had to enrol to the payed developer program
> - and then do a bunch of other bureaucracy (get some special business
> number etc.)
> - and it wasn't even guaranteed that you would get a device at the end
>
> I was contemplating what to do this time around since 8 GB of memory
> is not even sufficient to run a web browser, and the TeX Live hardly
> fits on their drive :), but it should do the job purely as a build
> machine. (Not that they have "none in stock", but I could smuggle one
> from elsewhere as long as the postal services keep running ...)
>
>> Would it be possible for a ConTeXt user like
>> myself to build the binaries on my proposed new Mac? I'm not a computer
>> professional.
> There are three options:
> - the existing Intel binaries should work just fine
> - yes, you should be able to compile the binaries yourself
> - we should eventually get hold of one device for our build farm, or
> in the meantime just ask someone for the initial build which should
> keep you covered for a while
>
> Discussing when TeX Live will be available for arm is "out of
> context". We should get those binaries working before TL 2021.
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-26 17:10           ` Hans Hagen
@ 2020-11-26 19:08             ` luigi scarso
  0 siblings, 0 replies; 205+ messages in thread
From: luigi scarso @ 2020-11-26 19:08 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users


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

On Thu, Nov 26, 2020 at 6:10 PM Hans Hagen <j.hagen@xs4all.nl> wrote:

> On 11/26/2020 6:07 PM, luigi scarso wrote:
> >
> >
> > Il Gio 26 Nov 2020, 18:00 Hans Hagen <j.hagen@xs4all.nl
> > <mailto:j.hagen@xs4all.nl>> ha scritto:
> >
> >     On 11/26/2020 5:10 PM, luigi scarso wrote:
> >      >
> >      >
> >      > On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen <j.hagen@xs4all.nl
> >     <mailto:j.hagen@xs4all.nl>
> >      > <mailto:j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>>> wrote:
> >      >
> >      >       Of course, if they care about luatex cs support they
> >      >     could send an M1 mini to Mojca for the compile farm for some
> real
> >      >     testing.
> >      >
> >      >
> >      > very likely luatex will run full native on M1 on next texlive,
> >     following
> >      > http://www.tug.org/mactex/aboutarm.html
> >     <http://www.tug.org/mactex/aboutarm.html>
> >      > <http://www.tug.org/mactex/aboutarm.html
> >     <http://www.tug.org/mactex/aboutarm.html>>
> >     that's with universal binaries (as happened before when apple
> switched
> >     from powerpc to intel)
> >
> >
> > Full native:
> > """
> > Full native Arm support will arrive with MacTeX-2021 next spring.
> > """
>
> sure, but by using a unversal bin:
>

it's not bad,  13MB (or less, due the shared data) vs 6.5MB for downloading
is  still acceptable for the user.
Of course for the provider it doubles the space, but I fear that this
cannot be avoided for the next five years.

-- 
luigi

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2020-11-26 18:43   ` Mojca Miklavec
@ 2020-11-26 18:59     ` Wolfgang Schuster
  2020-11-26 20:00     ` Keith McKay
  2020-11-26 20:01     ` Bruce Horrocks
  2 siblings, 0 replies; 205+ messages in thread
From: Wolfgang Schuster @ 2020-11-26 18:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

Mojca Miklavec schrieb am 26.11.2020 um 19:43:
> There are three options:
> - the existing Intel binaries should work just fine
> - yes, you should be able to compile the binaries yourself
> - we should eventually get hold of one device for our build farm, or
> in the meantime just ask someone for the initial build which should
> keep you covered for a while

For the moment a normal intel mac should work to create a universal binary:

https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary

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

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

* Re: new upload
  2020-11-26 15:26 ` Keith McKay
  2020-11-26 16:00   ` Hans Hagen
@ 2020-11-26 18:43   ` Mojca Miklavec
  2020-11-26 18:59     ` Wolfgang Schuster
                       ` (2 more replies)
  1 sibling, 3 replies; 205+ messages in thread
From: Mojca Miklavec @ 2020-11-26 18:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 26 Nov 2020 at 16:26, Keith McKay wrote:
>
> I was planning on getting the new entry level MAC min M1 with 8GB
> unified memory but I see that there will be no ConTeXt binaries for
> these new M1 chip Macs.

It's not that there will not be, it's just that none of us has
purchased a piece of hardware yet.

A few months back it was possible to purchase one, but:
- it was just a one year rental fee rather than the ability to purchase it
- definitely not available in my country
- one had to enrol to the payed developer program
- and then do a bunch of other bureaucracy (get some special business
number etc.)
- and it wasn't even guaranteed that you would get a device at the end

I was contemplating what to do this time around since 8 GB of memory
is not even sufficient to run a web browser, and the TeX Live hardly
fits on their drive :), but it should do the job purely as a build
machine. (Not that they have "none in stock", but I could smuggle one
from elsewhere as long as the postal services keep running ...)

> Would it be possible for a ConTeXt user like
> myself to build the binaries on my proposed new Mac? I'm not a computer
> professional.

There are three options:
- the existing Intel binaries should work just fine
- yes, you should be able to compile the binaries yourself
- we should eventually get hold of one device for our build farm, or
in the meantime just ask someone for the initial build which should
keep you covered for a while

Discussing when TeX Live will be available for arm is "out of
context". We should get those binaries working before TL 2021.

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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-26 17:07         ` luigi scarso
@ 2020-11-26 17:10           ` Hans Hagen
  2020-11-26 19:08             ` luigi scarso
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-11-26 17:10 UTC (permalink / raw)
  To: luigi scarso; +Cc: mailing list for ConTeXt users

On 11/26/2020 6:07 PM, luigi scarso wrote:
> 
> 
> Il Gio 26 Nov 2020, 18:00 Hans Hagen <j.hagen@xs4all.nl 
> <mailto:j.hagen@xs4all.nl>> ha scritto:
> 
>     On 11/26/2020 5:10 PM, luigi scarso wrote:
>      >
>      >
>      > On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen <j.hagen@xs4all.nl
>     <mailto:j.hagen@xs4all.nl>
>      > <mailto:j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>>> wrote:
>      >
>      >       Of course, if they care about luatex cs support they
>      >     could send an M1 mini to Mojca for the compile farm for some real
>      >     testing.
>      >
>      >
>      > very likely luatex will run full native on M1 on next texlive,
>     following
>      > http://www.tug.org/mactex/aboutarm.html
>     <http://www.tug.org/mactex/aboutarm.html>
>      > <http://www.tug.org/mactex/aboutarm.html
>     <http://www.tug.org/mactex/aboutarm.html>>
>     that's with universal binaries (as happened before when apple switched
>     from powerpc to intel)
> 
> 
> Full native:
> """
> Full native Arm support will arrive with MacTeX-2021 next spring.
> """

sure, but by using a unversal bin:

from 2021 on they will contain both Intel and Arm code packaged together 
as a universal binary. Thus MacTeX will support Intel and Arm machines 
on an equal footing for many years to come.


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

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

* Re: new upload
  2020-11-26 17:00       ` Hans Hagen
@ 2020-11-26 17:07         ` luigi scarso
  2020-11-26 17:10           ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: luigi scarso @ 2020-11-26 17:07 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


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

Il Gio 26 Nov 2020, 18:00 Hans Hagen <j.hagen@xs4all.nl> ha scritto:

> On 11/26/2020 5:10 PM, luigi scarso wrote:
> >
> >
> > On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen <j.hagen@xs4all.nl
> > <mailto:j.hagen@xs4all.nl>> wrote:
> >
> >       Of course, if they care about luatex cs support they
> >     could send an M1 mini to Mojca for the compile farm for some real
> >     testing.
> >
> >
> > very likely luatex will run full native on M1 on next texlive, following
> > http://www.tug.org/mactex/aboutarm.html
> > <http://www.tug.org/mactex/aboutarm.html>
> that's with universal binaries (as happened before when apple switched
> from powerpc to intel)


Full native:
"""
Full native Arm support will arrive with MacTeX-2021 next spring.
"""

--
luigi

>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2020-11-26 16:10     ` luigi scarso
@ 2020-11-26 17:00       ` Hans Hagen
  2020-11-26 17:07         ` luigi scarso
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-11-26 17:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users, luigi scarso

On 11/26/2020 5:10 PM, luigi scarso wrote:
> 
> 
> On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen <j.hagen@xs4all.nl 
> <mailto:j.hagen@xs4all.nl>> wrote:
> 
>       Of course, if they care about luatex cs support they
>     could send an M1 mini to Mojca for the compile farm for some real
>     testing.
> 
> 
> very likely luatex will run full native on M1 on next texlive, following
> http://www.tug.org/mactex/aboutarm.html 
> <http://www.tug.org/mactex/aboutarm.html>
that's with universal binaries (as happened before when apple switched 
from powerpc to intel)

i suppose the buildnot can generate small arm M1 only bins

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

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

* Re: new upload
  2020-11-26 16:00   ` Hans Hagen
@ 2020-11-26 16:10     ` luigi scarso
  2020-11-26 17:00       ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: luigi scarso @ 2020-11-26 16:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen <j.hagen@xs4all.nl> wrote:

>  Of course, if they care about luatex cs support they
> could send an M1 mini to Mojca for the compile farm for some real testing.
>

very likely luatex will run full native on M1 on next texlive, following
http://www.tug.org/mactex/aboutarm.html

-- 
luigi

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2020-11-26 15:26 ` Keith McKay
@ 2020-11-26 16:00   ` Hans Hagen
  2020-11-26 16:10     ` luigi scarso
  2020-11-26 18:43   ` Mojca Miklavec
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-11-26 16:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Keith McKay

On 11/26/2020 4:26 PM, Keith McKay wrote:
> Hi,
> 
> I'm planning in the next few weeks to retire my 2012 16GB Mac mini which 
> has served me well with ConTeXt (and other software) over these past few 
> years. I was planning on getting the new entry level MAC min M1 with 8GB 
> unified memory but I see that there will be no ConTeXt binaries for 
> these new M1 chip Macs. Would it be possible for a ConTeXt user like 
> myself to build the binaries on my proposed new Mac? I'm not a computer 
> professional.
At some point yes  (because once stable the code will be in the 
distribition) but even then you probably need to mess with compilers

https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary

Maybe Mojca has to configure the build to either generate arm bins (in 
addition) or universal apple bins (of course these are larger).

We actually discussed it before but apple has been kind of secretive 
about all this. Of course, if they care about luatex cs support they 
could send an M1 mini to Mojca for the compile farm for some real testing.

Btw, aren't intel bins supposed to run on the M1 in some emulation mode?

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

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

* Re: new upload
  2020-11-24 19:07 Hans Hagen
  2020-11-25  9:12 ` Giulio Bertellini
@ 2020-11-26 15:26 ` Keith McKay
  2020-11-26 16:00   ` Hans Hagen
  2020-11-26 18:43   ` Mojca Miklavec
  1 sibling, 2 replies; 205+ messages in thread
From: Keith McKay @ 2020-11-26 15:26 UTC (permalink / raw)
  To: ntg-context

Hi,

I'm planning in the next few weeks to retire my 2012 16GB Mac mini which 
has served me well with ConTeXt (and other software) over these past few 
years. I was planning on getting the new entry level MAC min M1 with 8GB 
unified memory but I see that there will be no ConTeXt binaries for 
these new M1 chip Macs. Would it be possible for a ConTeXt user like 
myself to build the binaries on my proposed new Mac? I'm not a computer 
professional.

Best Wishes

Keith McKay

On 24/11/2020 19:07, Hans Hagen wrote:
> Hi,
>
> A new upload. Mojca upgraded the build manager and we also updated 
> some machines so all binaries (platforms) should be in sync now. (No 
> binaries for apples M1 and microsofts SQ2 as we don't have these 
> machines, so just good old intel and arm it is.)
>
> On my rusty laptop the luametatex manual takes between 10 and 10.5 sec 
> (depending on load). On the raspberry pi 64 bit it takes 32.5 sec 
> (ubuntu, ssd on usb 3). The Windows Linux Subsystem (version 1) takes 
> some 11.5 seconds and the domotica fitlet with a low power AMD A10 
> needs 27.5 sec.) The ratios match measurements of a while ago. In the 
> meantime the format file got smaller, memory more dynamic and the mem 
> footprint also smaller. I expect a modern intel laptop cpu to need 
> some 5 seconds and a decent desktop less but who knows. It's not easy 
> to squeeze out more (the bottleneck is in the lua code as the 
> (con)tex(t) code is pretty efficient so we pay a price for flexibility).
>
> (In the process I saw that I bugged the xetex logo but that has to 
> wait for a next upload. Hardly critital I suspect.)
>
> 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 / 
> 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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-25  9:12 ` Giulio Bertellini
@ 2020-11-25 11:26   ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2020-11-25 11:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/25/2020 10:12 AM, Giulio Bertellini wrote:
> 
> Great. Made a clean install from scratch and now metafun manual compiles 
> great at first run:
> 
> mkiv lua stats  > used engine:*luametatex version: 2.0803, functionality 
> level: 20201123*, format id: 547, compiler: gcc
> mkiv lua stats  > tex properties: 740024 hash slots used of 2097152, 
> approximate memory usage: 44 MB
> mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 140 MB, 
> ctx: 123 MB, max: 123 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
> mkiv lua stats  > runtime: 20.182 seconds, 396 processed pages, 396 
> shipped pages, 19.621 pages/second
Looks ok to me given the thousands of graphics. What are the specs of 
the machine?

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

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

* Re: new upload
  2020-11-24 19:07 Hans Hagen
@ 2020-11-25  9:12 ` Giulio Bertellini
  2020-11-25 11:26   ` Hans Hagen
  2020-11-26 15:26 ` Keith McKay
  1 sibling, 1 reply; 205+ messages in thread
From: Giulio Bertellini @ 2020-11-25  9:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Great. Made a clean install from scratch and now metafun manual compiles
great at first run:

mkiv lua stats  > used engine:* luametatex version: 2.0803, functionality
level: 20201123*, format id: 547, compiler: gcc
mkiv lua stats  > tex properties: 740024 hash slots used of 2097152,
approximate memory usage: 44 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 140 MB,
ctx: 123 MB, max: 123 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 20.182 seconds, 396 processed pages, 396 shipped
pages, 19.621 pages/second

giulio b.


On Tue, Nov 24, 2020 at 8:07 PM Hans Hagen <j.hagen@xs4all.nl> wrote:

> Hi,
>
> A new upload. Mojca upgraded the build manager and we also updated some
> machines so all binaries (platforms) should be in sync now. (No binaries
> for apples M1 and microsofts SQ2 as we don't have these machines, so
> just good old intel and arm it is.)
>
> On my rusty laptop the luametatex manual takes between 10 and 10.5 sec
> (depending on load). On the raspberry pi 64 bit it takes 32.5 sec
> (ubuntu, ssd on usb 3). The Windows Linux Subsystem (version 1) takes
> some 11.5 seconds and the domotica fitlet with a low power AMD A10 needs
> 27.5 sec.) The ratios match measurements of a while ago. In the meantime
> the format file got smaller, memory more dynamic and the mem footprint
> also smaller. I expect a modern intel laptop cpu to need some 5 seconds
> and a decent desktop less but who knows. It's not easy to squeeze out
> more (the bottleneck is in the lua code as the (con)tex(t) code is
> pretty efficient so we pay a price for flexibility).
>
> (In the process I saw that I bugged the xetex logo but that has to wait
> for a next upload. Hardly critital I suspect.)
>
> 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 /
> 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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* new upload
@ 2020-11-24 19:07 Hans Hagen
  2020-11-25  9:12 ` Giulio Bertellini
  2020-11-26 15:26 ` Keith McKay
  0 siblings, 2 replies; 205+ messages in thread
From: Hans Hagen @ 2020-11-24 19:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

A new upload. Mojca upgraded the build manager and we also updated some 
machines so all binaries (platforms) should be in sync now. (No binaries 
for apples M1 and microsofts SQ2 as we don't have these machines, so 
just good old intel and arm it is.)

On my rusty laptop the luametatex manual takes between 10 and 10.5 sec 
(depending on load). On the raspberry pi 64 bit it takes 32.5 sec 
(ubuntu, ssd on usb 3). The Windows Linux Subsystem (version 1) takes 
some 11.5 seconds and the domotica fitlet with a low power AMD A10 needs 
27.5 sec.) The ratios match measurements of a while ago. In the meantime 
the format file got smaller, memory more dynamic and the mem footprint 
also smaller. I expect a modern intel laptop cpu to need some 5 seconds 
and a decent desktop less but who knows. It's not easy to squeeze out 
more (the bottleneck is in the lua code as the (con)tex(t) code is 
pretty efficient so we pay a price for flexibility).

(In the process I saw that I bugged the xetex logo but that has to wait 
for a next upload. Hardly critital I suspect.)

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

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

* Re: new upload
@ 2020-11-19 17:58 Damien Thiriet
  0 siblings, 0 replies; 205+ messages in thread
From: Damien Thiriet @ 2020-11-19 17:58 UTC (permalink / raw)
  To: ntg-context

Hi,


Problem also fixed on OpenBSD 6.8 amd64.
New binaries installed and working like a charm.

Makes my workflow much easier, so many thanks to 
Pablo for finding the bug and to Hans for fixing it.

Best regards,


Damien Thiriet 
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-19 10:35 Hans Hagen
  2020-11-19 11:00 ` mf
  2020-11-19 15:28 ` Otared Kavian
@ 2020-11-19 15:43 ` Pablo Rodriguez
  2 siblings, 0 replies; 205+ messages in thread
From: Pablo Rodriguez @ 2020-11-19 15:43 UTC (permalink / raw)
  To: ntg-context

On 11/19/20 11:35 AM, Hans Hagen wrote:
> Hi,
>
> A new upload. Hopefully with the linux install fixed.

Many thanks for the new upload, Hans.

It fixes the issue in both Windows and Linux (I guess the same should
apply to macOS).

BTW, the message about resolver databases not found or outdated still
pops up. Althought this is a minor cosmetic issue.

 resolvers       | resolving | warning: no lua configuration files found
 resolvers       | resolving | no texmf paths are defined (using TEXMF)
 resolvers       | resolving |
 mtxrun          | the resolver databases are not present or outdated
 mtx-install     | server   : lmtx.pragma-ade.com
 mtx-install     | instance : install-lmtx
 mtx-install     | platform : linux-64
 mtx-install     | system   : unix
 mtx-install     | updating tex/texmf, 1541 files
 mtx-install     | updating tex/texmf-context, 3922 files

Just in case it helps,

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

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

* Re: new upload
  2020-11-19 10:35 Hans Hagen
  2020-11-19 11:00 ` mf
@ 2020-11-19 15:28 ` Otared Kavian
  2020-11-19 15:43 ` Pablo Rodriguez
  2 siblings, 0 replies; 205+ messages in thread
From: Otared Kavian @ 2020-11-19 15:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

Thanks for the new upload and the fix for the install script: it works again also for MacOS.

Best regards: OK

> On 19 Nov 2020, at 11:35, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
> Hi,
> 
> A new upload. Hopefully with the linux install fixed.
> 
> 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 / 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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-19 11:00 ` mf
@ 2020-11-19 11:04   ` mf
  0 siblings, 0 replies; 205+ messages in thread
From: mf @ 2020-11-19 11:04 UTC (permalink / raw)
  To: ntg-context

Il 19/11/20 12:00, mf ha scritto:
> Tested. It works.
> 
> - download the binaries from 
> http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip

- unzip it in your context directory

> 
> - make install.sh and bin/mtxrun executable
> 
> - run install.sh
> 
> and you can see the upgrade progression again.
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-19 10:35 Hans Hagen
@ 2020-11-19 11:00 ` mf
  2020-11-19 11:04   ` mf
  2020-11-19 15:28 ` Otared Kavian
  2020-11-19 15:43 ` Pablo Rodriguez
  2 siblings, 1 reply; 205+ messages in thread
From: mf @ 2020-11-19 11:00 UTC (permalink / raw)
  To: ntg-context

Tested. It works.

- download the binaries from 
http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip

- make install.sh and bin/mtxrun executable

- run install.sh

and you can see the upgrade progression again.

Thanks Hans,
Massi

Il 19/11/20 11:35, Hans Hagen ha scritto:
> Hi,
> 
> A new upload. Hopefully with the linux install fixed.
> 
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* new upload
@ 2020-11-19 10:35 Hans Hagen
  2020-11-19 11:00 ` mf
                   ` (2 more replies)
  0 siblings, 3 replies; 205+ messages in thread
From: Hans Hagen @ 2020-11-19 10:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

A new upload. Hopefully with the linux install fixed.

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

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

* Re: new upload
  2020-11-18 21:21   ` Wolfgang Schuster
@ 2020-11-18 23:07     ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2020-11-18 23:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Wolfgang Schuster

On 11/18/2020 10:21 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 18.11.2020 um 22:05:
>> On 11/18/20 7:42 PM, Hans Hagen wrote:
>>> Hi,
>>>
>>> A new upload ... still some 150 tex files to go (from mkiv to lmtx
>>> speak) ... after that the lua ones ... some fixes applied, maybe some
>>> new temp issues introduced ... thanks for testing.
>>
>> Many thanks for the new upload, Hans.
>>
>> Even headings and lists are indented now:
>>
>>    \showframe\showgrid
>>    \setupindenting[yes, always, big]
>>    \starttext
>>    \placelist[section]
>>    \dorecurse{5}
>>      {\section{Section \recurselevel} \input{zapf}}
>>    \stoptext
>>
>> I think this may be a bug.
> 
> 
> Minimal example:
> 
> \showgrid
> 
> \starttext
> 
> \parindent\emwidth
> 
> text
> 
> \noindent text
> 
> \stoptext
found it ... fixed in next upload (relates to normalization)

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

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

* Re: new upload
  2020-11-18 21:05 ` Pablo Rodriguez
@ 2020-11-18 21:21   ` Wolfgang Schuster
  2020-11-18 23:07     ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: Wolfgang Schuster @ 2020-11-18 21:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez

Pablo Rodriguez schrieb am 18.11.2020 um 22:05:
> On 11/18/20 7:42 PM, Hans Hagen wrote:
>> Hi,
>>
>> A new upload ... still some 150 tex files to go (from mkiv to lmtx
>> speak) ... after that the lua ones ... some fixes applied, maybe some
>> new temp issues introduced ... thanks for testing.
> 
> Many thanks for the new upload, Hans.
> 
> Even headings and lists are indented now:
> 
>    \showframe\showgrid
>    \setupindenting[yes, always, big]
>    \starttext
>    \placelist[section]
>    \dorecurse{5}
>      {\section{Section \recurselevel} \input{zapf}}
>    \stoptext
> 
> I think this may be a bug.


Minimal example:

\showgrid

\starttext

\parindent\emwidth

text

\noindent text

\stoptext

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

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

* Re: new upload
  2020-11-18 18:42 Hans Hagen
@ 2020-11-18 21:05 ` Pablo Rodriguez
  2020-11-18 21:21   ` Wolfgang Schuster
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez @ 2020-11-18 21:05 UTC (permalink / raw)
  To: ntg-context

On 11/18/20 7:42 PM, Hans Hagen wrote:
> Hi,
>
> A new upload ... still some 150 tex files to go (from mkiv to lmtx
> speak) ... after that the lua ones ... some fixes applied, maybe some
> new temp issues introduced ... thanks for testing.

Many thanks for the new upload, Hans.

Even headings and lists are indented now:

  \showframe\showgrid
  \setupindenting[yes, always, big]
  \starttext
  \placelist[section]
  \dorecurse{5}
    {\section{Section \recurselevel} \input{zapf}}
  \stoptext

I think this may be a bug.

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

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

* new upload
@ 2020-11-18 18:42 Hans Hagen
  2020-11-18 21:05 ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-11-18 18:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

A new upload ... still some 150 tex files to go (from mkiv to lmtx 
speak) ... after that the lua ones ... some fixes applied, maybe some 
new temp issues introduced ... thanks for testing.

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

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

* Re: new upload
  2020-11-07 12:11               ` Pablo Rodriguez
  2020-11-07 13:31                 ` Floris van Manen
@ 2020-11-07 18:28                 ` Floris van Manen
  1 sibling, 0 replies; 205+ messages in thread
From: Floris van Manen @ 2020-11-07 18:28 UTC (permalink / raw)
  To: ntg-context



On 07/11/2020 13:11, Pablo Rodriguez wrote:
> echo "" && curl -Ihttp://pragma-ade.com/context/latest/cont-tmf.zip
> 2>&1 | grep Last-Modified && echo ""
> 
> So you don’t mix access time with last modification.

this seems to work:


#!/usr/bin/env bash
cd  ~/context
OLD=`stat -c "%w" context-linux-64.zip`
echo "current: " $OLD
curl -s -O http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip
NEW=`stat -c "%w" context-linux-64.zip`
if [[ "$OLD" != "$NEW" ]] ; then
echo "    new: " $NEW
mtxrun --script cache --erase >ctx.log
unzip -q -o context-linux-64.zip
rm tex/*.tma
sh ./install.sh >ctx.log
context --version | grep "current version"
fi
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-07 12:11               ` Pablo Rodriguez
@ 2020-11-07 13:31                 ` Floris van Manen
  2020-11-07 18:28                 ` Floris van Manen
  1 sibling, 0 replies; 205+ messages in thread
From: Floris van Manen @ 2020-11-07 13:31 UTC (permalink / raw)
  To: ntg-context



On 07/11/2020 13:11, Pablo Rodriguez wrote:
> Improved message:
> 
> echo "" && curl -Ihttp://pragma-ade.com/context/latest/cont-tmf.zip
> 2>&1 | grep Last-Modified && echo ""
> 
> So you don’t mix access time with last modification.
> 
> Just in case it helps,

That helps.
Thx
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-07 11:53             ` Pablo Rodriguez
@ 2020-11-07 12:11               ` Pablo Rodriguez
  2020-11-07 13:31                 ` Floris van Manen
  2020-11-07 18:28                 ` Floris van Manen
  0 siblings, 2 replies; 205+ messages in thread
From: Pablo Rodriguez @ 2020-11-07 12:11 UTC (permalink / raw)
  To: ntg-context

On 11/7/20 12:53 PM, Pablo Rodriguez wrote:
> [...]
> I have a simpler approach that might help you:
>
>  curl -I http://pragma-ade.com/context/latest/cont-tmf.zip

Improved message:

echo "" && curl -I http://pragma-ade.com/context/latest/cont-tmf.zip
2>&1 | grep Last-Modified && echo ""

So you don’t mix access time with last modification.

Just in case it helps,

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

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

* Re: new upload
  2020-11-07 10:40           ` Floris van Manen
@ 2020-11-07 11:53             ` Pablo Rodriguez
  2020-11-07 12:11               ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez @ 2020-11-07 11:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/7/20 11:40 AM, Floris van Manen wrote:
> Dear Hans,
>
> Would it be possible to have a simple text file with the latest release
> version (or date) tag in it? Next to the folder containing the actual
> install script files? In that case it is easy to check that version tag
> by comparing with the local copy and decide if a further download and
> install is needed.

Dear Floris,

I have a simpler approach that might help you:

 curl -I http://pragma-ade.com/context/latest/cont-tmf.zip

I added a file with that to $HOME/bin/ and it works fine when invoking it.

To check which version you have installed on your computer:

export PATH=$PATH:$HOME/context/tex/texmf-linux-64/bin/ && context
--version && luametatex --version

Of course, you might need no export or adapt $PATH accordingly to your
ConTeXt directory.

Just in case it helps,

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

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

* Re: new upload
  2020-11-07 11:19         ` Hans Hagen
@ 2020-11-07 11:47           ` Floris van Manen
  0 siblings, 0 replies; 205+ messages in thread
From: Floris van Manen @ 2020-11-07 11:47 UTC (permalink / raw)
  To: ntg-context



On 07/11/2020 12:19, Hans Hagen wrote:
> a version mismatch normally comes from the fact that i generate an lmtx 
> update (for wolfgang to check, posted elsewhere) but nor a mkiv one and 
> then upload to the website (as happened)
> 
> also, the update script itself doesn't get updated so when that gets 
> adapted one has to get it from the bare install
> 
> (keep in mind that doing a fresh install doesn't hurt the system because 
> texmf-projects and texmf-fonts are not affected)

The version check is just to prevent the extra data from being 
downloaded and installed when there was no need for it, because the 
current installed version is the same. (it saves the coal to be burned 
for the electricity)
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-07  9:48       ` Otared Kavian
  2020-11-07 10:05         ` Pablo Rodriguez
@ 2020-11-07 11:19         ` Hans Hagen
  2020-11-07 11:47           ` Floris van Manen
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-11-07 11:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Otared Kavian

Hi,

a version mismatch normally comes from the fact that i generate an lmtx 
update (for wolfgang to check, posted elsewhere) but nor a mkiv one and 
then upload to the website (as happened)

also, the update script itself doesn't get updated so when that gets 
adapted one has to get it from the bare install

(keep in mind that doing a fresh install doesn't hurt the system because 
texmf-projects and texmf-fonts are not affected)

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

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

* Re: new upload
  2020-11-07 10:05         ` Pablo Rodriguez
@ 2020-11-07 10:40           ` Floris van Manen
  2020-11-07 11:53             ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Floris van Manen @ 2020-11-07 10:40 UTC (permalink / raw)
  To: ntg-context

Dear Hans,

Would it be possible to have a simple text file with the latest release 
version (or date) tag in it? Next to the folder containing the actual 
install script files? In that case it is easy to check that version tag 
by comparing with the local copy and decide if a further download and 
install is needed.

m.vr.gr.
Floris
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: new upload
  2020-11-07  9:48       ` Otared Kavian
@ 2020-11-07 10:05         ` Pablo Rodriguez
  2020-11-07 10:40           ` Floris van Manen
  2020-11-07 11:19         ` Hans Hagen
  1 sibling, 1 reply; 205+ messages in thread
From: Pablo Rodriguez @ 2020-11-07 10:05 UTC (permalink / raw)
  To: ntg-context

On 11/7/20 10:48 AM, Otared Kavian wrote:
> Hi Pablo,
>
> I had the same issue as the one you were reporting (on MacOS 10.14.6).
> I removed the three files
>
> texmf-context.tma
> texmf-osx-64.tma
> texmf.tma
>
> [...] and I think I will get the new version uploaded by Hans (my
> internet connection is very slow…).

Hi Otared,

I don’t know which one, but I think the LMTX installer may have a bug
that prevents updating the installation in all platforms (at least, it
seems to be so in Windows, macOS and Linux).

I thnk that removing the tex/texmf-*.tma files, allows a new
installation. It may overwrite all files (modified or not). But it might
be that this doesn’t remove deprecated files.

> Thank you for the hint…

It was by pure chance that I discovered that this might work.

But I’m glad to see that this may 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2020-11-06 23:12     ` Pablo Rodriguez
  2020-11-06 23:39       ` Floris van Manen
@ 2020-11-07  9:48       ` Otared Kavian
  2020-11-07 10:05         ` Pablo Rodriguez
  2020-11-07 11:19         ` Hans Hagen
  1 sibling, 2 replies; 205+ messages in thread
From: Otared Kavian @ 2020-11-07  9:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Pablo,

I had the same issue as the one you were reporting (on MacOS 10.14.6).
I removed the three files 

texmf-context.tma
texmf-osx-64.tma
texmf.tma

before issuing the command 
	sh install.sh

Now I am getting 

	fetching 'http://lmtx.pragma-ade.com/install-lmtx//texmf-context.zip

on my Terminal window and I think I will get the new version uploaded by Hans (my internet connection is very slow…).

Thank you for the hint…

Best regards: Otared

> On 7 Nov 2020, at 00:12, Pablo Rodriguez <oinos@gmx.es> wrote:
> 
> On 11/7/20 12:02 AM, mf wrote:
>> [...]
>> I can confirm that on my Debian 10 64bit: no update until I removed
>> 
>> texmf-context.tma
>> texmf-linux-64.tma
>> texmf.tma
>> 
>> in the tex subdir.
> 
> I had to remove these files to update from LMTX from 2020.10.20 to
> version from 2020.11.05.
> 
> But I had to remove these files again to upgrade from 2020.11.05 to
> 2020.11.06.
> 
> I wonder whether the same happens in Windows (I haven’t checked it yet).
> 
> Just in case it helps,
> 
> 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://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
___________________________________________________________________________________

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

* Re: new upload
       [not found] <mailman.506.1604696616.1206.ntg-context@ntg.nl>
  2020-11-07  9:42 ` Ivan Pešić
@ 2020-11-07  9:42 ` Ivan Pešić
  1 sibling, 0 replies; 205+ messages in thread
From: Ivan Pešić @ 2020-11-07  9:42 UTC (permalink / raw)
  To: ntg-context



Дана 07.11.2020. у 23:42, Hans Hagen пише:
> Question: do we really need all these 'named characters'  or can we at 
> some point ditch many .. I assume that users who key in greek and 
> cyrillic use unicode nowdays (no hurry, just wondering).
That's true Hans, normally I use UTF-8 encoding and a keymap in Vim so I 
can enter cyrillic text and english commands quite easilly (swapping 
between with CTRL-^).

Ivan


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

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

* Re: new upload
       [not found] <mailman.506.1604696616.1206.ntg-context@ntg.nl>
@ 2020-11-07  9:42 ` Ivan Pešić
  2020-11-07  9:42 ` Ivan Pešić
  1 sibling, 0 replies; 205+ messages in thread
From: Ivan Pešić @ 2020-11-07  9:42 UTC (permalink / raw)
  To: ntg-context



Дана 07.11.2020. у 23:42, Hans Hagen пише:
> Question: do we really need all these 'named characters'  or can we at 
> some point ditch many .. I assume that users who key in greek and 
> cyrillic use unicode nowdays (no hurry, just wondering).
That's true Hans, normally I use UTF-8 encoding and a keymap in Vim so I 
can enter cyrillic text and english commands quite easilly (swapping 
between with CTRL-^).

Ivan


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

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

* Re: new upload
  2020-11-06 23:12     ` Pablo Rodriguez
@ 2020-11-06 23:39       ` Floris van Manen
  2020-11-07  9:48       ` Otared Kavian
  1 sibling, 0 replies; 205+ messages in thread
From: Floris van Manen @ 2020-11-06 23:39 UTC (permalink / raw)
  To: ntg-context

this is my script for a daily update check which seems to do the job


#!/usr/bin/env bash
cd  ~/context
context --version | grep "current version"
echo "------------"
mtxrun --script cache --erase >ctx.log
rm tex/*.tma
sh ./install.sh >ctx.log
context --version | grep "current version"

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

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

* Re: new upload
  2020-11-06 23:02   ` mf
@ 2020-11-06 23:12     ` Pablo Rodriguez
  2020-11-06 23:39       ` Floris van Manen
  2020-11-07  9:48       ` Otared Kavian
  0 siblings, 2 replies; 205+ messages in thread
From: Pablo Rodriguez @ 2020-11-06 23:12 UTC (permalink / raw)
  To: ntg-context

On 11/7/20 12:02 AM, mf wrote:
> [...]
> I can confirm that on my Debian 10 64bit: no update until I removed
>
> texmf-context.tma
> texmf-linux-64.tma
> texmf.tma
>
> in the tex subdir.

I had to remove these files to update from LMTX from 2020.10.20 to
version from 2020.11.05.

But I had to remove these files again to upgrade from 2020.11.05 to
2020.11.06.

I wonder whether the same happens in Windows (I haven’t checked it yet).

Just in case it helps,

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

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

* Re: new upload
  2020-11-06 21:03 ` Pablo Rodriguez
  2020-11-06 21:58   ` Rik Kabel
@ 2020-11-06 23:02   ` mf
  2020-11-06 23:12     ` Pablo Rodriguez
  1 sibling, 1 reply; 205+ messages in thread
From: mf @ 2020-11-06 23:02 UTC (permalink / raw)
  To: ntg-context

Il 06/11/20 22:03, Pablo Rodriguez ha scritto:
> I’m afraid that I cannot update unless I remove tex/texmf*.tma.
> 
> I’m on Linux-64bit and I wonder whether I’m the only user affected by
> this issue.
> 
I can confirm that on my Debian 10 64bit: no update until I removed

texmf-context.tma
texmf-linux-64.tma
texmf.tma

in the tex subdir.

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

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

* Re: new upload
  2020-11-06 21:03 ` Pablo Rodriguez
@ 2020-11-06 21:58   ` Rik Kabel
  2020-11-06 23:02   ` mf
  1 sibling, 0 replies; 205+ messages in thread
From: Rik Kabel @ 2020-11-06 21:58 UTC (permalink / raw)
  To: ntg-context

On 11/6/2020 16:03, Pablo Rodriguez wrote:
> On 11/6/20 8:42 PM, Hans Hagen wrote:
>> Hi,
>>
>> Again a new lmtx upload. As these days are all about counting and
>> numbers ... of the 19K visible macros some 14K are now flagged.
> Many thanks for the new release, Hans.
>
> I’m afraid that I cannot update unless I remove tex/texmf*.tma.
>
> I’m on Linux-64bit and I wonder whether I’m the only user affected by
> this issue.
>
>> Question: do we really need all these 'named characters'  or can we at
>> some point ditch many .. I assume that users who key in greek and
>> cyrillic use unicode nowdays (no hurry, just wondering).
> As for Greek enconding, I never used anything else than UTF-8.
>
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Same problem on WIndows 10. I have taken to simply doing a fresh install 
to get updates. Minor frustration.

-- 
Rik

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

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

* Re: new upload
  2020-11-06 19:42 Hans Hagen
@ 2020-11-06 21:03 ` Pablo Rodriguez
  2020-11-06 21:58   ` Rik Kabel
  2020-11-06 23:02   ` mf
  0 siblings, 2 replies; 205+ messages in thread
From: Pablo Rodriguez @ 2020-11-06 21:03 UTC (permalink / raw)
  To: ntg-context

On 11/6/20 8:42 PM, Hans Hagen wrote:
> Hi,
>
> Again a new lmtx upload. As these days are all about counting and
> numbers ... of the 19K visible macros some 14K are now flagged.

Many thanks for the new release, Hans.

I’m afraid that I cannot update unless I remove tex/texmf*.tma.

I’m on Linux-64bit and I wonder whether I’m the only user affected by
this issue.

> Question: do we really need all these 'named characters'  or can we at
> some point ditch many .. I assume that users who key in greek and
> cyrillic use unicode nowdays (no hurry, just wondering).

As for Greek enconding, I never used anything else than UTF-8.

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

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

* new upload
@ 2020-11-06 19:42 Hans Hagen
  2020-11-06 21:03 ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-11-06 19:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Again a new lmtx upload. As these days are all about counting and 
numbers ... of the 19K visible macros some 14K are now flagged.

Question: do we really need all these 'named characters'  or can we at 
some point ditch many .. I assume that users who key in greek and 
cyrillic use unicode nowdays (no hurry, just wondering).

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

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

* Re: new upload
  2020-09-01  0:50 ` Jairo A. del Rio
@ 2020-09-01 12:31   ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2020-09-01 12:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 9/1/2020 2:50 AM, Jairo A. del Rio wrote:

> Is there an analogue for display math? Could discretionaries be 
> applicable to math formulas when "split=yes" is enabled, for instance?

can you give an example of usage

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

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

* Re: new upload
  2020-08-31 20:21 Hans Hagen
@ 2020-09-01  0:50 ` Jairo A. del Rio
  2020-09-01 12:31   ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: Jairo A. del Rio @ 2020-09-01  0:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi, Hans. :)
Is there an analogue for display math? Could discretionaries be applicable
to math formulas when "split=yes" is enabled, for instance?

Thank you in advance.

Jairo :)

El lun., 31 de ago. de 2020 a la(s) 15:21, Hans Hagen (j.hagen@xs4all.nl)
escribió:

> Hi,
>
> In order to keep the 'context is good for toy math' reputation up to
> date, in lmtx we can now have proper discretionaries in math and math in
> discretionaries. The kind of things no one asks for but they might be
> useful in educational settings.
>
> Here are some examples ():
>
> \starttext
>
> \showframe
>
> \enabletrackers[math.toysymbol]
>
> \definemathtoysymbol[Plus] [bin][+]
> \definemathtoysymbol[Minus][bin][-]
> \definemathtoysymbol[Equal][rel][=]
>
> $\dorecurse{199} {
>      x_{#1} \ifodd#1\relax\Plus\else\Minus\fi
> } x_{200} \Equal n$
>
> \blank
>
> \dorecurse{10} {
>      test \discretionary
>          {\darkred   hel  $\sqrt{y}$ lo}
>          {\darkgreen good $\sqrt{z}$ bye}
>          {\darkblue  wel  $\sqrt{x}$ come} test
> }
>
> \blank
>
> \dorecurse{10} {test me #1
>      $x + 2x \discretionary class 2
>          {$+ \, \cdots $}
>          {$     \cdots \, +$}
>          {$+ \, \cdots \, +$} nx$ test
> }
>
> \stoptext
>
> You might be able to guess from this code what is supposed to happen.
> I'll play a bit more with this later (assuming that it's somehow
> useful). We could predefine a bunch. As usual there might be issues but
> I'll sort them out when we run into them (it's a non critical feature
> with not much impact).
>
> Hans
>
> (who must not forget to document it somewhere)
>
>
> -----------------------------------------------------------------
>                                            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
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* new upload
@ 2020-08-31 20:21 Hans Hagen
  2020-09-01  0:50 ` Jairo A. del Rio
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-08-31 20:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

In order to keep the 'context is good for toy math' reputation up to 
date, in lmtx we can now have proper discretionaries in math and math in 
discretionaries. The kind of things no one asks for but they might be 
useful in educational settings.

Here are some examples ():

\starttext

\showframe

\enabletrackers[math.toysymbol]

\definemathtoysymbol[Plus] [bin][+]
\definemathtoysymbol[Minus][bin][-]
\definemathtoysymbol[Equal][rel][=]

$\dorecurse{199} {
     x_{#1} \ifodd#1\relax\Plus\else\Minus\fi
} x_{200} \Equal n$

\blank

\dorecurse{10} {
     test \discretionary
         {\darkred   hel  $\sqrt{y}$ lo}
         {\darkgreen good $\sqrt{z}$ bye}
         {\darkblue  wel  $\sqrt{x}$ come} test
}

\blank

\dorecurse{10} {test me #1
     $x + 2x \discretionary class 2
         {$+ \, \cdots $}
         {$     \cdots \, +$}
         {$+ \, \cdots \, +$} nx$ test
}

\stoptext

You might be able to guess from this code what is supposed to happen. 
I'll play a bit more with this later (assuming that it's somehow 
useful). We could predefine a bunch. As usual there might be issues but 
I'll sort them out when we run into them (it's a non critical feature 
with not much impact).

Hans

(who must not forget to document it somewhere)


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

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

* Re: new upload
  2020-08-09 20:09       ` Hans Hagen
@ 2020-08-09 20:29         ` Pablo Rodriguez
  0 siblings, 0 replies; 205+ messages in thread
From: Pablo Rodriguez @ 2020-08-09 20:29 UTC (permalink / raw)
  To: ntg-context

On 8/9/20 10:09 PM, Hans Hagen wrote:
> On 8/9/2020 8:52 PM, Pablo Rodriguez wrote:
>> On 8/9/20 8:45 PM, Jairo A. del Rio wrote:
>>> On my computer mtxrun --generate works, but context --make fails and the
>>> command line outputs:
>>
>> I ran "mtxrun --script cache --erase" before running "mtxrun --generate"
>> (as I do with each update).
> can you try again
>
> (in case of a broken mtxrun, change the error line to "tex and tex.error")

Many thanks for the fast reply, Hans.

It works fine now.

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

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

* Re: new upload
  2020-08-09 18:52     ` Pablo Rodriguez
@ 2020-08-09 20:09       ` Hans Hagen
  2020-08-09 20:29         ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-08-09 20:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/9/2020 8:52 PM, Pablo Rodriguez wrote:
> On 8/9/20 8:45 PM, Jairo A. del Rio wrote:
>> On my computer mtxrun --generate works, but context --make fails and the
>> command line outputs:
> 
> I ran "mtxrun --script cache --erase" before running "mtxrun --generate"
> (as I do with each update).
can you try again

(in case of a broken mtxrun, change the error line to "tex and tex.error")

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

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

* Re: new upload
  2020-08-09 18:45   ` Jairo A. del Rio
  2020-08-09 18:49     ` Jairo A. del Rio
@ 2020-08-09 18:52     ` Pablo Rodriguez
  2020-08-09 20:09       ` Hans Hagen
  1 sibling, 1 reply; 205+ messages in thread
From: Pablo Rodriguez @ 2020-08-09 18:52 UTC (permalink / raw)
  To: ntg-context

On 8/9/20 8:45 PM, Jairo A. del Rio wrote:
> On my computer mtxrun --generate works, but context --make fails and the
> command line outputs:

I ran "mtxrun --script cache --erase" before running "mtxrun --generate"
(as I do with each update).

Just in case it helps,

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

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

* Re: new upload
  2020-08-09 18:45   ` Jairo A. del Rio
@ 2020-08-09 18:49     ` Jairo A. del Rio
  2020-08-09 18:52     ` Pablo Rodriguez
  1 sibling, 0 replies; 205+ messages in thread
From: Jairo A. del Rio @ 2020-08-09 18:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Update: after cleaning the cache, I have the same problem as Pablo.

Jairo :)

El dom., 9 de ago. de 2020 a la(s) 13:45, Jairo A. del Rio (
jairoadelrio6@gmail.com) escribió:

> On my computer mtxrun --generate works, but context --make fails and the
> command line outputs:
>
> tex error       > tex error on line 448 in file lang-ini.mkxl: ! Undefined
> control sequence
>
>
> \dohyphens ->\hyphenationmode
>                    \plusthree
> l.448 \dohyphens
>
>
> <empty file>
>
> Jairo :)
>
> El dom., 9 de ago. de 2020 a la(s) 13:36, Pablo Rodriguez (oinos@gmx.es)
> escribió:
>
>> On 8/9/20 8:08 PM, Hans Hagen wrote:
>> > Hi,
>> >
>> > I uploaded a new lmtx ... not much done due to the heat (entered reading
>> > mode instead) but ... apart from some work in progress ... we now have
>> > some basic bitwise operations (maybe we need some more). So far we have:
>>
>> I’m afraid that even "mtxrun --generate" gives an error message:
>>
>> lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
>> index a nil value (global 'tex')
>>
>> I think something is missing there.
>>
>> Many thhanks 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : http://contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2020-08-09 18:36 ` Pablo Rodriguez
@ 2020-08-09 18:45   ` Jairo A. del Rio
  2020-08-09 18:49     ` Jairo A. del Rio
  2020-08-09 18:52     ` Pablo Rodriguez
  0 siblings, 2 replies; 205+ messages in thread
From: Jairo A. del Rio @ 2020-08-09 18:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On my computer mtxrun --generate works, but context --make fails and the
command line outputs:

tex error       > tex error on line 448 in file lang-ini.mkxl: ! Undefined
control sequence


\dohyphens ->\hyphenationmode
                   \plusthree
l.448 \dohyphens


<empty file>

Jairo :)

El dom., 9 de ago. de 2020 a la(s) 13:36, Pablo Rodriguez (oinos@gmx.es)
escribió:

> On 8/9/20 8:08 PM, Hans Hagen wrote:
> > Hi,
> >
> > I uploaded a new lmtx ... not much done due to the heat (entered reading
> > mode instead) but ... apart from some work in progress ... we now have
> > some basic bitwise operations (maybe we need some more). So far we have:
>
> I’m afraid that even "mtxrun --generate" gives an error message:
>
> lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
> index a nil value (global 'tex')
>
> I think something is missing there.
>
> Many thhanks 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

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

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new upload
  2020-08-09 18:08 Hans Hagen
@ 2020-08-09 18:36 ` Pablo Rodriguez
  2020-08-09 18:45   ` Jairo A. del Rio
  0 siblings, 1 reply; 205+ messages in thread
From: Pablo Rodriguez @ 2020-08-09 18:36 UTC (permalink / raw)
  To: ntg-context

On 8/9/20 8:08 PM, Hans Hagen wrote:
> Hi,
>
> I uploaded a new lmtx ... not much done due to the heat (entered reading
> mode instead) but ... apart from some work in progress ... we now have
> some basic bitwise operations (maybe we need some more). So far we have:

I’m afraid that even "mtxrun --generate" gives an error message:

lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
index a nil value (global 'tex')

I think something is missing there.

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

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

* new upload
@ 2020-08-09 18:08 Hans Hagen
  2020-08-09 18:36 ` Pablo Rodriguez
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2020-08-09 18:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new lmtx ... not much done due to the heat (entered reading 
mode instead) but ... apart from some work in progress ... we now have 
some basic bitwise operations (maybe we need some more). So far we have:

\startlines
\meaning\bitwiseset
\meaning\bitwisenot
\meaning\bitwisenil
\meaning\bitwiseand
\meaning\bitwiseor
\meaning\bitwisexor
\meaning\ifbitwiseand
\stoplines

used as:

\scratchcounter = \bitwiseand "01      "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseand "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseand "03      "02 
\uchexnumbers{\scratchcounter} \par

\scratchcounter = \bitwiseor  "01      "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseor  "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseor  "03      "02 
\uchexnumbers{\scratchcounter} \par

\scratchcounter = \bitwisexor "01      "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwisexor "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwisexor "03      "02 
\uchexnumbers{\scratchcounter} \par

\scratchcounter = \bitwisenil \bitwisenil "0F "02 "01 
\uchexnumbers{\scratchcounter} \par
\scratchcounter = \bitwisenil \bitwisenil "0F with "02 with "01 
\uchexnumbers{\scratchcounter} \par

\scratchcounterone\zerocount

\scratchcounterone \bitwiseset "FFFFFFF
\ifbitwiseand      \scratchcounterone "8000000 YES \else NOP \fi
\ifbitwiseand      \scratchcounterone "F000000 YES \else NOP \fi
\ifbitwiseand      \scratchcounterone "1000000 YES \else NOP \fi
\scratchcounterone \bitwisenot \scratchcounterone
\ifbitwiseand      \scratchcounterone "8000000 YES \else NOP \fi
\ifbitwiseand      \scratchcounterone "F000000 YES \else NOP \fi
\ifbitwiseand      \scratchcounterone "1000000 YES \else NOP \fi

\scratchcounter \bitwiseand "01 "02
\scratchcounter \numexpr    "01+"02\relax

\ifcase      \bitwiseand \scratchcounterone \plusone \else \fi
\ifbitwiseand            \scratchcounterone \plusone \else \fi
\ifnum                   \scratchcounterone=\plusone \else \fi

A while ago I played with bitwise operator sin \numexpr but in the end 
removed that because it's messy with the symbols to be used, but I will 
look at that agaon if needed.

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

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

* Re: new upload
  2007-08-27 18:34   ` Hans Hagen
  2007-08-27 19:01     ` Mojca Miklavec
@ 2007-08-27 21:57     ` Peter Münster
  1 sibling, 0 replies; 205+ messages in thread
From: Peter Münster @ 2007-08-27 21:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 27 Aug 2007, Hans Hagen wrote:

> > \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250]
> > \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250]
> 
> can you lookup the hex numbers of all those glyphs? (handy as comment)

From http://www.unicode.org/charts/PDF/U0080.pdf :

00AB « LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
= left guillemet
usually opening, sometimes closing

00BB » RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
= right guillemet
usually closing, sometimes opening

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___________________________________________________________________________________
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] 205+ messages in thread

* Re: new upload
  2007-08-27 18:28 ` Peter Münster
  2007-08-27 18:34   ` Hans Hagen
@ 2007-08-27 20:48   ` Arthur Reutenauer
  1 sibling, 0 replies; 205+ messages in thread
From: Arthur Reutenauer @ 2007-08-27 20:48 UTC (permalink / raw)
  To: ntg-context

> \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250]
> \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250]

  And actually, to be very precise, in French typography the space
before the colon is supposed to be the same as the normal space, not a
fraction of it like before ; ? ! etc ... :-)

	Arthur
___________________________________________________________________________________
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] 205+ messages in thread

* Re: new upload
  2007-08-27 18:34   ` Hans Hagen
@ 2007-08-27 19:01     ` Mojca Miklavec
  2007-08-27 21:57     ` Peter Münster
  1 sibling, 0 replies; 205+ messages in thread
From: Mojca Miklavec @ 2007-08-27 19:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/27/07, Hans Hagen wrote:
> Peter Münster wrote:
> > On Fri, 24 Aug 2007, Hans Hagen wrote:
> >
> >> - pre/post character spacing (for french) using similar mechanism
> >
> > Thank you very much, a feature that I highly appreciate!!
> >
> > Even this works very well (utf-encoding) and could perhaps be added into
> > core-spa.mkiv:
> >
> > \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250]
> > \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250]
>
> can you lookup the hex numbers of all those glyphs? (handy as comment)

00AB	guillemotleft	«	leftguillemot
00BB	guillemotright	»	rightguillemot

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


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

* Re: new upload
  2007-08-27 18:28 ` Peter Münster
@ 2007-08-27 18:34   ` Hans Hagen
  2007-08-27 19:01     ` Mojca Miklavec
  2007-08-27 21:57     ` Peter Münster
  2007-08-27 20:48   ` Arthur Reutenauer
  1 sibling, 2 replies; 205+ messages in thread
From: Hans Hagen @ 2007-08-27 18:34 UTC (permalink / raw)
  To: ntg-context

Peter Münster wrote:
> On Fri, 24 Aug 2007, Hans Hagen wrote:
> 
>> - pre/post character spacing (for french) using similar mechanism
> 
> Thank you very much, a feature that I highly appreciate!!
> 
> Even this works very well (utf-encoding) and could perhaps be added into
> core-spa.mkiv:
> 
> \setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250]
> \setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250]

can you lookup the hex numbers of all those glyphs? (handy as comment)

-----------------------------------------------------------------
                                           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] 205+ messages in thread

* Re: new upload
  2007-08-24 12:27 Hans Hagen
  2007-08-24 16:18 ` Aditya Mahajan
  2007-08-25 13:43 ` Mojca Miklavec
@ 2007-08-27 18:28 ` Peter Münster
  2007-08-27 18:34   ` Hans Hagen
  2007-08-27 20:48   ` Arthur Reutenauer
  2 siblings, 2 replies; 205+ messages in thread
From: Peter Münster @ 2007-08-27 18:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 24 Aug 2007, Hans Hagen wrote:

> - pre/post character spacing (for french) using similar mechanism

Thank you very much, a feature that I highly appreciate!!

Even this works very well (utf-encoding) and could perhaps be added into
core-spa.mkiv:

\setupcharacterspacing [frenchpunctuation] [\number`«] [right=.250]
\setupcharacterspacing [frenchpunctuation] [\number`»] [left=.250]

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___________________________________________________________________________________
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] 205+ messages in thread

* Re: new upload
  2007-08-27  9:06       ` Arthur Reutenauer
@ 2007-08-27 14:10         ` Aditya Mahajan
  0 siblings, 0 replies; 205+ messages in thread
From: Aditya Mahajan @ 2007-08-27 14:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 27 Aug 2007, Arthur Reutenauer wrote:

>> I do not really understand unicode. I will try to figure out which
>> unicode characters need special consideration, and then make up the
>> specs.
>
>  In Unicode the most important dash-or-hyphen-like characters are:
>
> [snip]
>
>  The above is an extract of the “Dashes and hyphen” paragraph of
> section 6.2 of the Unicode Standard (http://www.unicode.org/versions/Unicode5.0.0/ch06.pdf).
> You might also want to look into the Unicode line breaking properties
> for a complete description (http://www.unicode.org/reports/tr14/). I can
> summarize that for you if you want.
>
Thank you Arthur. This should be sufficient for the moment. I will ask 
if I do not understand something.

Thanks,
Aditya
___________________________________________________________________________________
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] 205+ messages in thread

* Re: new upload
  2007-08-24 18:26     ` Aditya Mahajan
  2007-08-25 19:21       ` Henning Hraban Ramm
@ 2007-08-27  9:06       ` Arthur Reutenauer
  2007-08-27 14:10         ` Aditya Mahajan
  1 sibling, 1 reply; 205+ messages in thread
From: Arthur Reutenauer @ 2007-08-27  9:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> I do not really understand unicode. I will try to figure out which 
> unicode characters need special consideration, and then make up the 
> specs.

  In Unicode the most important dash-or-hyphen-like characters are:

    U+002D HYPHEN-MINUS (-): The “usual” ASCII character with an ambiguous
  meaning (hyphen? minus?);

    U+00AD SOFT HYPHEN (­): Indicate a line break opportunity, no visible glyph;

    U+2010 HYPHEN (‐): Carries the “hyphenation” meaning of
  hyphen-minus; preferred over the latter to indicate a visible hyphen;

    U+2011 NON-BREAKING HYPHEN (‑): Well ... a  hyphen, but non-breaking;

    U+2012 FIGURE DASH (‒): Same ambiguous meaning as hyphen-minus, but
  has the same width as digits;

    U+2013 EN DASH (–): Used to indicate ranges of values (1910–2007);
  the equivalent to TeX's “--” ligature;

    U+2014 EM DASH (—): Used to separate quotes—like this—; the
  equivalent to TeX's “---” ligature.

  The above is an extract of the “Dashes and hyphen” paragraph of
section 6.2 of the Unicode Standard (http://www.unicode.org/versions/Unicode5.0.0/ch06.pdf).
You might also want to look into the Unicode line breaking properties
for a complete description (http://www.unicode.org/reports/tr14/). I can
summarize that for you if you want.

	Arthur
___________________________________________________________________________________
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] 205+ messages in thread

* Re: new upload
@ 2007-08-26 19:58 Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2007-08-26 19:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec wrote:
 > Hello Hans,
 >
 > On 8/24/07, Hans Hagen wrote:
 >> Hi,
 >>
 >> I uploaded a new version of mkiv (regular zip).
 >
 > Thanks a lot!
 >
 >> - case changing using attributes and node processing
 >>
 >> simple test file for spacing and casing:
 >
 > I'm attaching a not-so-trivial test file for "casing", just to see how
 > well it works for Croatian.
 >
 > A few observations:
 >
 > - LM doesn't have any lj, nj, dz, dž, ... (probably another request
 > for the Polish guys)

hm, just write a small proposal ...

however, dealing with non present chars is to be dealt with anyway

 > - It would be great if MK IV did the trasformation from digraphs to
 > normal letters in case those digraphs are not present in the font
 > itself (for ij, lj, nj, dz, dž, ... just as it would be great if
 > ccaron was automatically composed out of c and caron if the letter
 > wasn't present in that font).

\definefontfeature 
[test][mode=node,language=dflt,script=latn,complement=yes]

{\font\test = lmtypewriter8-regular*test at 12.3pt \test ljubljana 
Ljubljana  LJUBLJANA }

currently the complement only replaces LATIN/compat combinations (see 
char-def.lua)

 > Visually there is probably no difference in plain text, except in
 > exactly the cases for which you're sending the tests (that's casing
 > and spacing). See http://en.wikipedia.org/wiki/Gaj's_Latin_alphabet
 > how the word "MJENJACNICA" is split into letters.
 > Normal people still type n+j in text, not the digraph "?" (nj), but in
 > case you get some text with those digraphs which are valid Unicode
 > letters, it would be nice if they were processed ...

dealing with n+j in text is too dangerous to catch, unless we start 
implementing complex language depenent replacements, and even then it's 
messy (what to do when one really wants a nj (two char)) ... so, thos 
old docs can best be converted to proper utf then

 >> \starttext
 >>
 >> test: oeps {\setcharacterspacing[frenchpunctuation] x: xx \bfd x: xx}
 >> oeps: test
 >>
 >> test \WORD{test TEST \TeX} test
 >>
 >> test \word{test TEST \TeX} test
 >>
 >> test \Word{test TEST \TeX} test
 >
 > Another few observations:
 > - \word doesn't work in XeTeX

no, neither in pdftex i think; new

 > - What exactly is \Words supposed to do (with non-first letters in a 
word)?

make first chars uppercase but only when the next is a char; (i changed 
it a bit, defs were not seen (overloaded later by macros)

 > - ConTeXt with XeTeX outputs dozens of empty lines to the console.

indeed, has to do with the fact that i need to test if a font is present 
on the system (file vs name stuff) and the empty lines are a side effect
of entering/exiting batchmode

 > An extra challenge would be to get this work (but unless some Croats
 > ask you for that or unless you have too much time left, don't bother
 > about that - it needs slightly more than only lccode and uccode of a
 > letter since there are three forms: one for lowercase [ljubljana ->
 > lj], one for all-uppercase words [LJUBLJANA -> LJ] and one for the
 > first letter of a word starting with an uppercase [Ljubljana -> Lj]):
 >
 > In Unicode:
 >
 > \word{?ub?ana} -> ?ub?ana
 > \Word{?ub?ana} -> ?ub?ana
 > \WORD{?ub?ana} -> ?UB?ANA
 >
 > \word{?ub?ana} -> ?ub?ana
 > \Word{?ub?ana} -> ?ub?ana
 > \WORD{?ub?ana} -> ?UB?ANA
 >
 > \word{?UB?ANA} -> ?ub?ana
 > \Word{?UB?ANA} -> ?ub?ana
 > \WORD{?UB?ANA} -> ?UB?ANA

as long as we have utf it's already taken care of

 > In Latin transcript (in case you have problems seing some Unicode 
letters):
 >
 > \word{ljubljana} -> ljubljana
 > \Word{ljubljana} -> Ljubljana
 > \WORD{ljubljana} -> LJUBLJANA
 >
 > \word{Ljubljana} -> ljubljana
 > \Word{Ljubljana} -> Ljubljana
 > \WORD{Ljubljana} -> LJUBLJANA
 >
 > \word{LJUBLJANA} -> ljubljana
 > \Word{LJUBLJANA} -> Ljubljana
 > \WORD{LJUBLJANA} -> LJUBLJANA
 >
 > See also:
 >
 > http://unicode.org/cldr/data/common/collation/hr.xml
 > http://en.wikipedia.org/wiki/Gaj's_Latin_alphabet
 >
 >> {\setcharacterkerning[extrakerning]\input zapf\endgraf }
 >
 > (That could be "backported" to XeTeX. I think it enables a similar
 > feature now, but I should check.)

hm, i'm not going to backport everything; keep in mind that i these 
features are not font related; actually future mkiv versions will also 
do dynamic feature change so ...

anyhow, ... new upload to play with


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] 205+ messages in thread

* Re: new upload
  2007-08-26 19:10         ` Steffen Wolfrum
@ 2007-08-26 19:57           ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2007-08-26 19:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Steffen Wolfrum wrote:
> Am 26.08.2007 um 16:01 schrieb Hans Hagen:
>>> Does this also cover the following: The Problem of a word with |\-|
>>> moving at the and of a line and thus loosing the hyphen (see below).
>> \- is meant to work that way -)
>>
>> try |-|
>>
>> Hans
> 
> 
> 
> That doesn't help here.
> I meant those trick situations which were discussed in that thread  
> below:

that's work in progress...



-----------------------------------------------------------------
                                           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] 205+ messages in thread

* Re: new upload
  2007-08-26 14:01       ` Hans Hagen
@ 2007-08-26 19:10         ` Steffen Wolfrum
  2007-08-26 19:57           ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: Steffen Wolfrum @ 2007-08-26 19:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 26.08.2007 um 16:01 schrieb Hans Hagen:
>>
>> Does this also cover the following: The Problem of a word with |\-|
>> moving at the and of a line and thus loosing the hyphen (see below).
>
> \- is meant to work that way -)
>
> try |-|
>
> Hans



That doesn't help here.
I meant those trick situations which were discussed in that thread  
below:


> Von: Hans Hagen <pragma@wxs.nl>
> Datum: 20. März 2007 07:24:20 MEZ
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: Re: [NTG-context] broken: noligature AND hyphenation
> Antwort an: mailing list for ConTeXt users <ntg-context@ntg.nl>
>
> Steffen Wolfrum wrote:
>> Just for the records:
>>
>> One has to be careful with this kind of avoiding ligatures.
>> In most cases it works perfect, but when the word moves towards  
>> the end of the line and should be broken
>> then the hyphen misses!
>>
>> But I guess there is no solution that fits *both* situations:  
>> regularly on a line and cross lines?
>>
> not yet, luatex will be more clever
>
> Hans



Is Mark IV already that clever?

Mark II wasn't. Run the following test please.


\starttext

\showframe

\switchtobodyfont[rm,24pt]

test test test test test test test test Auflage Auflage% ligature is  
wrong here

test test test test test test test test Auf|\-|lage Auf|\-|lage% no- 
ligature is right, but missing at the line end

test test test test test test test test Auf|-|lage Auf|-|lage% right  
behaviour at the line end, but a mess otherwise

\stoptext


What should be done?

Steffen




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

* Re: new upload
  2007-08-25 13:15     ` Steffen Wolfrum
@ 2007-08-26 14:01       ` Hans Hagen
  2007-08-26 19:10         ` Steffen Wolfrum
  0 siblings, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2007-08-26 14:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Steffen Wolfrum wrote:
> Am 24.08.2007 um 19:11 schrieb Hans Hagen:
> 
>> Aditya Mahajan wrote:
>>> I have not gone through all the details, but with this new  
>>> feature, is
>>> it possible to use - instead of |-| and get normal hypenation for  
>>> both
>>> words?
>>
>> hm, not that hard to implement if we can cook up specs, i.e. we have
>>
>> bla-bla
>> bla/bla
> 
> 
> 
> Does this also cover the following: The Problem of a word with |\-|  
> moving at the and of a line and thus loosing the hyphen (see below).

\- is meant to work that way -)

try |-|

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] 205+ messages in thread

* Re: new upload
  2007-08-26 11:27             ` Henning Hraban Ramm
@ 2007-08-26 14:00               ` Hans Hagen
  0 siblings, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2007-08-26 14:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Henning Hraban Ramm wrote:
> Am 2007-08-25 um 23:24 schrieb David Wooten:
>>>> At the moment I'm not planning to switch - need my old LilyPond
>>>> module working and simply no time to cope with an "maybe working"
>>>> installation...
>>> Can you please try if the attached patch works OK with MK IV? (You
>>> need the latest ConTeXt and you may delete some commented lines at  
>>> the
>>> beginning of t-lilypond.tex. And perhaps one needs some more comments
>>> about the patch if it works.)
>>>
>>> Mojca<t-lilypond.tex>
> 
>> I've run a couple of quick tests and the patch works perfectly so far.
> 
> Thank you both!
> I don't dare to install MkIV at the moment.

you can run mkii and mkiv alongside,

texexec          somefile.tex
texexec --luatex somefile.tex

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] 205+ messages in thread

* Re: new upload
  2007-08-25 19:21       ` Henning Hraban Ramm
       [not found]         ` <6faad9f00708251335l7c39ee37l2dcac65aaa0b59fa@mail.gmail.com>
@ 2007-08-26 13:55         ` Hans Hagen
  1 sibling, 0 replies; 205+ messages in thread
From: Hans Hagen @ 2007-08-26 13:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Henning Hraban Ramm wrote:
> Am 2007-08-24 um 20:26 schrieb Aditya Mahajan:
> 
>> I do not really understand unicode. I will try to figure out which
>> unicode characters need special consideration, and then make up the
>> specs. I would really help if someone who knows about different
>> joining characters in unicode could give a pointer or two.
> 
> BTW if you're at it: MkII ConTeXt chokes on decomposed UTF-8 (as used  
> by MacOS X's file system).
> Is MkIV able to handle that?

in mkiv i collapse utf sequences

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] 205+ messages in thread

* Re: new upload
       [not found]           ` <3AA6E745-C336-40CD-BC13-4676B9FB5C45@trichotomic.net>
@ 2007-08-26 11:27             ` Henning Hraban Ramm
  2007-08-26 14:00               ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: Henning Hraban Ramm @ 2007-08-26 11:27 UTC (permalink / raw)
  To: ConTeXt ML

Am 2007-08-25 um 23:24 schrieb David Wooten:
>>> At the moment I'm not planning to switch - need my old LilyPond
>>> module working and simply no time to cope with an "maybe working"
>>> installation...
>>
>> Can you please try if the attached patch works OK with MK IV? (You
>> need the latest ConTeXt and you may delete some commented lines at  
>> the
>> beginning of t-lilypond.tex. And perhaps one needs some more comments
>> about the patch if it works.)
>>
>> Mojca<t-lilypond.tex>

> I've run a couple of quick tests and the patch works perfectly so far.

Thank you both!
I don't dare to install MkIV at the moment.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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

* Re: new upload
  2007-08-24 18:26     ` Aditya Mahajan
@ 2007-08-25 19:21       ` Henning Hraban Ramm
       [not found]         ` <6faad9f00708251335l7c39ee37l2dcac65aaa0b59fa@mail.gmail.com>
  2007-08-26 13:55         ` Hans Hagen
  2007-08-27  9:06       ` Arthur Reutenauer
  1 sibling, 2 replies; 205+ messages in thread
From: Henning Hraban Ramm @ 2007-08-25 19:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2007-08-24 um 20:26 schrieb Aditya Mahajan:

> I do not really understand unicode. I will try to figure out which
> unicode characters need special consideration, and then make up the
> specs. I would really help if someone who knows about different
> joining characters in unicode could give a pointer or two.

BTW if you're at it: MkII ConTeXt chokes on decomposed UTF-8 (as used  
by MacOS X's file system).
Is MkIV able to handle that?

At the moment I'm not planning to switch - need my old LilyPond  
module working and simply no time to cope with an "maybe working"  
installation...

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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

* Re: new upload
  2007-08-24 12:27 Hans Hagen
  2007-08-24 16:18 ` Aditya Mahajan
@ 2007-08-25 13:43 ` Mojca Miklavec
  2007-08-27 18:28 ` Peter Münster
  2 siblings, 0 replies; 205+ messages in thread
From: Mojca Miklavec @ 2007-08-25 13:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 2914 bytes --]

Hello Hans,

On 8/24/07, Hans Hagen wrote:
> Hi,
>
> I uploaded a new version of mkiv (regular zip).

Thanks a lot!

> - case changing using attributes and node processing
>
> simple test file for spacing and casing:

I'm attaching a not-so-trivial test file for "casing", just to see how
well it works for Croatian.

A few observations:

- LM doesn't have any lj, nj, dz, dž, ... (probably another request
for the Polish guys)

- It would be great if MK IV did the trasformation from digraphs to
normal letters in case those digraphs are not present in the font
itself (for ij, lj, nj, dz, dž, ... just as it would be great if
ccaron was automatically composed out of c and caron if the letter
wasn't present in that font).
Visually there is probably no difference in plain text, except in
exactly the cases for which you're sending the tests (that's casing
and spacing). See http://en.wikipedia.org/wiki/Gaj's_Latin_alphabet
how the word "MJENJAČNICA" is split into letters.
Normal people still type n+j in text, not the digraph "nj" (nj), but in
case you get some text with those digraphs which are valid Unicode
letters, it would be nice if they were processed ...

> \starttext
>
> test: oeps {\setcharacterspacing[frenchpunctuation] x: xx \bfd x: xx}
> oeps: test
>
> test \WORD{test TEST \TeX} test
>
> test \word{test TEST \TeX} test
>
> test \Word{test TEST \TeX} test

Another few observations:
- \word doesn't work in XeTeX
- What exactly is \Words supposed to do (with non-first letters in a word)?
- ConTeXt with XeTeX outputs dozens of empty lines to the console.

An extra challenge would be to get this work (but unless some Croats
ask you for that or unless you have too much time left, don't bother
about that - it needs slightly more than only lccode and uccode of a
letter since there are three forms: one for lowercase [ljubljana ->
lj], one for all-uppercase words [LJUBLJANA -> LJ] and one for the
first letter of a word starting with an uppercase [Ljubljana -> Lj]):

In Unicode:

\word{ljubljana} -> ljubljana
\Word{ljubljana} -> Ljubljana
\WORD{ljubljana} -> LJUBLJANA

\word{Ljubljana} -> ljubljana
\Word{Ljubljana} -> Ljubljana
\WORD{Ljubljana} -> LJUBLJANA

\word{LJUBLJANA} -> ljubljana
\Word{LJUBLJANA} -> Ljubljana
\WORD{LJUBLJANA} -> LJUBLJANA

In Latin transcript (in case you have problems seing some Unicode letters):

\word{ljubljana} -> ljubljana
\Word{ljubljana} -> Ljubljana
\WORD{ljubljana} -> LJUBLJANA

\word{Ljubljana} -> ljubljana
\Word{Ljubljana} -> Ljubljana
\WORD{Ljubljana} -> LJUBLJANA

\word{LJUBLJANA} -> ljubljana
\Word{LJUBLJANA} -> Ljubljana
\WORD{LJUBLJANA} -> LJUBLJANA

See also:

http://unicode.org/cldr/data/common/collation/hr.xml
http://en.wikipedia.org/wiki/Gaj's_Latin_alphabet

> {\setcharacterkerning[extrakerning]\input zapf\endgraf }

(That could be "backported" to XeTeX. I think it enables a similar
feature now, but I should check.)

Mojca

[-- Attachment #2: croatian.tex --]
[-- Type: application/x-tex, Size: 1330 bytes --]

[-- Attachment #3: croatian-lua.pdf --]
[-- Type: application/pdf, Size: 21061 bytes --]

[-- Attachment #4: 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] 205+ messages in thread

* Re: new upload
  2007-08-24 17:11   ` Hans Hagen
@ 2007-08-25 13:15     ` Steffen Wolfrum
  2007-08-26 14:01       ` Hans Hagen
  0 siblings, 1 reply; 205+ messages in thread
From: Steffen Wolfrum @ 2007-08-25 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.08.2007 um 19:11 schrieb Hans Hagen:

> Aditya Mahajan wrote:
>> I have not gone through all the details, but with this new  
>> feature, is
>> it possible to use - instead of |-| and get normal hypenation for  
>> both
>> words?
>
>
> hm, not that hard to implement if we can cook up specs, i.e. we have
>
> bla-bla
> bla/bla



Does this also cover the following: The Problem of a word with |\-|  
moving at the and of a line and thus loosing the hyphen (see below).

Steffen


> Von: Steffen Wolfrum <context@st.estfiles.de>
> Datum: 19. März 2007 14:27:53 MEZ
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: Re: [NTG-context] broken: noligature AND hyphenation
>
> Just for the records:
>
> One has to be careful with this kind of avoiding ligatures.
> In most cases it works perfect, but when the word moves towards the  
> end of the line and should be broken
> then the hyphen misses!
>
> But I guess there is no solution that fits *both* situations:  
> regularly on a line and cross lines?
>
> Steffen
>
>
> On Wed, 29 Nov 2006 15:01:14 +0100, Taco Hoekwater wrote:
>>
>>
>> Hans Hagen wrote:
>>>> In TeX (or only LaTeX?) Auf"-lagen or Auf"|lagen would do this. But
>>>> what is the equivalent in ConTeXt?
>>>>
>>> \-
>>
>> To be precise, make that Auf|\-|lagen.
>>
>> Taco



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

* Re: new upload
  2007-08-24 18:22   ` Hans Hagen
@ 2007-08-24 18:26     ` Aditya Mahajan
  2007-08-25 19:21       ` Henning Hraban Ramm
  2007-08-27  9:06       ` Arthur Reutenauer
  0 siblings, 2 replies; 205+ messages in thread
From: Aditya Mahajan @ 2007-08-24 18:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 24 Aug 2007, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> On Fri, 24 Aug 2007, Hans Hagen wrote:
>>
>>> Hi,
>>>
>>> I uploaded a new version of mkiv (regular zip).
>>>
>>> - attribute based color support, thanks to peter rolf for extensive
>>> testing of metapost related issues (colo-new.* files, original colo-ini
>>> still present do deleting the new ones brings you the old mechanism)
>>>
>>> - intercharacter spacing based on attributes and node processing
>>>
>>> - pre/post character spacing (for french) using similar mechanism
>>>
>>> - case changing using attributes and node processing
>>
>> I have not gone through all the details, but with this new feature, is
>> it possible to use - instead of |-| and get normal hypenation for both
>> words?
>
> i'll send you some code that shows in what direction to think then
>

Thanks.

I do not really understand unicode. I will try to figure out which 
unicode characters need special consideration, and then make up the 
specs. I would really help if someone who knows about different 
joining characters in unicode could give a pointer or two.

Aditya
___________________________________________________________________________________
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] 205+ messages in thread

* Re: new upload
  2007-08-24 16:18 ` Aditya Mahajan
  2007-08-24 17:11   ` Hans Hagen
@ 2007-08-24 18:22   ` Hans Hagen
  2007-08-24 18:26     ` Aditya Mahajan
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2007-08-24 18:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> On Fri, 24 Aug 2007, Hans Hagen wrote:
> 
>> Hi,
>>
>> I uploaded a new version of mkiv (regular zip).
>>
>> - attribute based color support, thanks to peter rolf for extensive
>> testing of metapost related issues (colo-new.* files, original colo-ini
>> still present do deleting the new ones brings you the old mechanism)
>>
>> - intercharacter spacing based on attributes and node processing
>>
>> - pre/post character spacing (for french) using similar mechanism
>>
>> - case changing using attributes and node processing
> 
> I have not gone through all the details, but with this new feature, is 
> it possible to use - instead of |-| and get normal hypenation for both 
> words?

i'll send you some code that shows in what direction to think then

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] 205+ messages in thread

* Re: new upload
  2007-08-24 16:18 ` Aditya Mahajan
@ 2007-08-24 17:11   ` Hans Hagen
  2007-08-25 13:15     ` Steffen Wolfrum
  2007-08-24 18:22   ` Hans Hagen
  1 sibling, 1 reply; 205+ messages in thread
From: Hans Hagen @ 2007-08-24 17:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> On Fri, 24 Aug 2007, Hans Hagen wrote:
> 
>> Hi,
>>
>> I uploaded a new version of mkiv (regular zip).
>>
>> - attribute based color support, thanks to peter rolf for extensive
>> testing of metapost related issues (colo-new.* files, original colo-ini
>> still present do deleting the new ones brings you the old mechanism)
>>
>> - intercharacter spacing based on attributes and node processing
>>
>> - pre/post character spacing (for french) using similar mechanism
>>
>> - case changing using attributes and node processing
> 
> I have not gone through all the details, but with this new feature, is 
> it possible to use - instead of |-| and get normal hypenation for both 
> words?


hm, not that hard to implement if we can cook up specs, i.e. we have

bla-bla
bla/bla

but also special unicode chars; i can make a feature but you have to 
locate all unicode slots that needs treatment then

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] 205+ messages in thread

* Re: new upload
  2007-08-24 12:27 Hans Hagen
@ 2007-08-24 16:18 ` Aditya Mahajan
  2007-08-24 17:11   ` Hans Hagen
  2007-08-24 18:22   ` Hans Hagen
  2007-08-25 13:43 ` Mojca Miklavec
  2007-08-27 18:28 ` Peter Münster
  2 siblings, 2 replies; 205+ messages in thread
From: Aditya Mahajan @ 2007-08-24 16:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 24 Aug 2007, Hans Hagen wrote:

> Hi,
>
> I uploaded a new version of mkiv (regular zip).
>
> - attribute based color support, thanks to peter rolf for extensive
> testing of metapost related issues (colo-new.* files, original colo-ini
> still present do deleting the new ones brings you the old mechanism)
>
> - intercharacter spacing based on attributes and node processing
>
> - pre/post character spacing (for french) using similar mechanism
>
> - case changing using attributes and node processing

I have not gone through all the details, but with this new feature, is 
it possible to use - instead of |-| and get normal hypenation for both 
words?

Aditya
___________________________________________________________________________________
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] 205+ messages in thread

* new upload
@ 2007-08-24 12:27 Hans Hagen
  2007-08-24 16:18 ` Aditya Mahajan
                   ` (2 more replies)
  0 siblings, 3 replies; 205+ messages in thread
From: Hans Hagen @ 2007-08-24 12:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I uploaded a new version of mkiv (regular zip).

- attribute based color support, thanks to peter rolf for extensive 
testing of metapost related issues (colo-new.* files, original colo-ini 
still present do deleting the new ones brings you the old mechanism)

- intercharacter spacing based on attributes and node processing

- pre/post character spacing (for french) using similar mechanism

- case changing using attributes and node processing

simple test file for spacing and casing:

\starttext

test: oeps {\setcharacterspacing[frenchpunctuation] x: xx \bfd x: xx} 
oeps: test

test \WORD{test TEST \TeX} test

test \word{test TEST \TeX} test

test \Word{test TEST \TeX} test

{\setcharacterkerning[extrakerning]\input zapf\endgraf }

{\setcharacterkerning[extrakerning]bla bla||bla bla effe fietsen}

\hbox{\setcharacterkerning[extrakerning]fietsen}

\hbox{\setcharacterkerning[extrakerning]fiet\-sen}

\hbox{\setcharacterkerning[extrakerning]}
\hbox{\setcharacterkerning[extrakerning]f}
\hbox{\setcharacterkerning[extrakerning]fi}

\stoptext




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] 205+ messages in thread

end of thread, other threads:[~2023-07-10 16:13 UTC | newest]

Thread overview: 205+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-09 17:51 new upload Hans Hagen via ntg-context
2023-07-10  8:43 ` denis.maier
2023-07-10  9:53   ` Hans Hagen
2023-07-10 15:51 ` Rik Kabel
2023-07-10 16:13   ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2022-12-27 17:04 Hans Hagen via ntg-context
2022-12-27 17:27 ` Floris van Manen via ntg-context
2022-12-27 17:34 ` Floris van Manen via ntg-context
2022-12-27 17:44 ` Pablo Rodriguez via ntg-context
2022-12-27 20:13   ` Hans Hagen via ntg-context
2022-12-27 22:00     ` Pablo Rodriguez via ntg-context
2022-12-27 22:32       ` Hans Hagen via ntg-context
2022-12-27 23:06         ` Floris van Manen via ntg-context
2022-11-14 22:02 Hans Hagen via ntg-context
2022-11-15 14:47 ` Pablo Rodriguez via ntg-context
2022-10-14  8:21 Hans Hagen via ntg-context
2022-10-14 14:14 ` Pablo Rodriguez via ntg-context
2022-10-14 14:29   ` Alan Braslau via ntg-context
2022-10-15  7:41   ` Hans Hagen via ntg-context
2022-10-15  8:48     ` Pablo Rodriguez via ntg-context
2022-10-15  9:28       ` Hans Hagen via ntg-context
2022-10-17 17:12         ` Pablo Rodriguez via ntg-context
2022-10-17 20:40           ` Hans Hagen via ntg-context
2022-10-18 15:40             ` Pablo Rodriguez via ntg-context
2022-10-19  1:39               ` Alan Braslau via ntg-context
2022-10-16 16:07 ` Aditya Mahajan via ntg-context
2022-10-16 17:03   ` Mikael Sundqvist via ntg-context
2022-10-17  1:38     ` Aditya Mahajan via ntg-context
2022-10-17  8:03       ` Hans Hagen via ntg-context
2022-10-17 16:41         ` Aditya Mahajan via ntg-context
2022-10-17  6:43     ` Otared Kavian via ntg-context
2022-10-17  7:36       ` Mikael Sundqvist via ntg-context
2022-10-17  7:46       ` Hans Hagen via ntg-context
2022-04-19 18:23 Hans Hagen via ntg-context
2022-04-19 19:18 ` Jeong Dal via ntg-context
2022-04-19 22:24   ` Jeong Dal via ntg-context
2022-04-20  1:47 ` śrīrāma via ntg-context
2022-04-20  8:49   ` Hans Hagen via ntg-context
2022-04-21 14:54     ` Alexandre Christe via ntg-context
2022-04-23 11:46       ` śrīrāma via ntg-context
2022-04-15 18:24 Hans Hagen via ntg-context
2022-04-16  8:37 ` Pablo Rodriguez via ntg-context
2022-03-11 23:16 Hans Hagen via ntg-context
2022-03-12 16:24 ` Henning Hraban Ramm via ntg-context
2022-03-13 18:58 ` Rik Kabel via ntg-context
2022-03-14  8:01   ` Hans Hagen via ntg-context
2022-03-14 10:34     ` Mikael Sundqvist via ntg-context
2022-03-14 14:05     ` Rik Kabel via ntg-context
2022-03-14 15:02       ` Hans Hagen via ntg-context
2022-03-15  8:53 ` śrīrāma via ntg-context
2022-03-15  9:53   ` Hans Hagen via ntg-context
2022-01-21 19:28 Hans Hagen via ntg-context
2022-01-21 20:11 ` Henning Hraban Ramm via ntg-context
2022-01-22 10:28   ` Hans Hagen via ntg-context
2022-01-22  6:06 ` Aditya Mahajan via ntg-context
2022-01-22  7:21   ` kauśika via ntg-context
2022-01-22  7:37     ` Richard Mahoney via ntg-context
2022-01-22  7:59       ` kauśika via ntg-context
2022-01-22 10:21     ` Hans Hagen via ntg-context
2022-01-22 10:25   ` Hans Hagen via ntg-context
2022-01-22 10:38     ` kauśika via ntg-context
2022-01-23  7:58       ` hanneder--- via ntg-context
2022-01-23  8:26         ` kauśika via ntg-context
2022-01-22 12:31 ` kauśika via ntg-context
2022-01-22 20:04   ` Richard Mahoney via ntg-context
2022-01-27 18:09     ` hanneder--- via ntg-context
2022-01-27 18:29       ` Hans Hagen via ntg-context
2022-01-27 18:35       ` Aditya Mahajan via ntg-context
2022-01-27 18:45         ` Hans Hagen via ntg-context
2022-01-28 12:56           ` Aditya Mahajan via ntg-context
2022-01-28 12:28         ` hanneder--- via ntg-context
2022-01-28 12:58           ` Aditya Mahajan via ntg-context
2022-01-23 22:25   ` Arthur Rosendahl via ntg-context
2022-01-24  3:42     ` śrīrāma via ntg-context
2022-01-24 21:33       ` Arthur Rosendahl via ntg-context
2022-01-15 10:54 Hans Hagen via ntg-context
2022-01-15 11:33 ` hanneder--- via ntg-context
2022-01-15 12:30   ` Hans Hagen via ntg-context
2022-01-15 14:52     ` Alexandre Christe via ntg-context
2022-01-15 15:14       ` Hans Hagen via ntg-context
2022-01-15 15:16         ` Fabrice Couvreur via ntg-context
2022-01-15 16:26           ` Hans Hagen via ntg-context
2022-01-15 16:45       ` Hans Hagen via ntg-context
2021-11-30 18:55 Hans Hagen via ntg-context
2021-12-01  8:49 ` Denis Maier via ntg-context
2021-12-01  9:07   ` Hans Hagen via ntg-context
2021-11-13 20:19 Hans Hagen via ntg-context
2021-11-16 13:29 ` Otared Kavian via ntg-context
2021-11-05 15:43 Hans Hagen via ntg-context
2021-11-02  9:43 Hans Hagen via ntg-context
2021-11-02 16:58 ` Rik Kabel via ntg-context
2021-11-02 17:56   ` Hans Hagen via ntg-context
2021-11-02 18:02   ` Luis Montgomery via ntg-context
2021-11-02 18:33     ` Hans Hagen via ntg-context
2021-10-13 15:34 Hans Hagen via ntg-context
2021-10-13 20:37 ` jbf via ntg-context
2021-10-14  6:50   ` Hans Hagen via ntg-context
2021-08-30 14:30 Hans Hagen via ntg-context
2021-08-30 16:15 ` mf via ntg-context
2021-08-30 16:41   ` Pablo Rodriguez via ntg-context
2021-08-30 17:27 ` Rik Kabel via ntg-context
2021-08-30 18:01   ` Hans Hagen via ntg-context
2021-08-31  9:19     ` mf via ntg-context
     [not found] <00DA928D-3C91-469A-B1C8-16C505565C4D@scorecrow.com>
     [not found] ` <aef36bc1-e6e3-cf0e-5f4a-ff0fe5fa4fc3@xs4all.nl>
     [not found]   ` <F4B07195-C31B-4C15-8578-81CE628F152E@scorecrow.com>
2021-08-24 21:12     ` Hans Hagen via ntg-context
2021-08-07 21:00 Hans Hagen via ntg-context
2021-08-08  0:50 ` Aditya Mahajan via ntg-context
2021-08-08  7:22   ` Hans Hagen via ntg-context
2021-06-13 17:31 Hans Hagen
2021-06-14 15:13 ` Pablo Rodriguez
2021-06-14 15:22   ` Hans Hagen
2021-06-14 16:01     ` Pablo Rodriguez
2021-06-04 15:46 Hans Hagen
2021-06-04 16:18 ` Pablo Rodriguez
2021-06-04 17:43   ` Hans Hagen
2021-06-04 17:54     ` Pablo Rodriguez
2021-05-31 12:30 Hans Hagen
2021-05-31 16:50 ` Aditya Mahajan
2021-05-31 17:12   ` Hans Hagen
2021-05-31 17:48   ` Hans Hagen
2021-05-31 19:04     ` Aditya Mahajan
2021-06-01 15:17       ` Hans Hagen
2021-05-25 16:20 Hans Hagen
2021-05-26 17:17 ` Pablo Rodriguez
2021-05-26 18:09   ` Hans Hagen
2021-05-27 10:17 ` mf
2021-05-27 12:10   ` Hans Hagen
2021-05-05 17:43 Hans Hagen
2021-04-09 18:19 Hans Hagen
2021-03-31 16:15 Hans Hagen
2021-02-12 17:56 Hans Hagen
2021-01-08 11:00 Hans Hagen
2020-12-01 17:13 Hans Hagen
2020-11-24 19:07 Hans Hagen
2020-11-25  9:12 ` Giulio Bertellini
2020-11-25 11:26   ` Hans Hagen
2020-11-26 15:26 ` Keith McKay
2020-11-26 16:00   ` Hans Hagen
2020-11-26 16:10     ` luigi scarso
2020-11-26 17:00       ` Hans Hagen
2020-11-26 17:07         ` luigi scarso
2020-11-26 17:10           ` Hans Hagen
2020-11-26 19:08             ` luigi scarso
2020-11-26 18:43   ` Mojca Miklavec
2020-11-26 18:59     ` Wolfgang Schuster
2020-11-26 20:00     ` Keith McKay
2020-11-26 20:01     ` Bruce Horrocks
2020-11-19 17:58 Damien Thiriet
2020-11-19 10:35 Hans Hagen
2020-11-19 11:00 ` mf
2020-11-19 11:04   ` mf
2020-11-19 15:28 ` Otared Kavian
2020-11-19 15:43 ` Pablo Rodriguez
2020-11-18 18:42 Hans Hagen
2020-11-18 21:05 ` Pablo Rodriguez
2020-11-18 21:21   ` Wolfgang Schuster
2020-11-18 23:07     ` Hans Hagen
     [not found] <mailman.506.1604696616.1206.ntg-context@ntg.nl>
2020-11-07  9:42 ` Ivan Pešić
2020-11-07  9:42 ` Ivan Pešić
2020-11-06 19:42 Hans Hagen
2020-11-06 21:03 ` Pablo Rodriguez
2020-11-06 21:58   ` Rik Kabel
2020-11-06 23:02   ` mf
2020-11-06 23:12     ` Pablo Rodriguez
2020-11-06 23:39       ` Floris van Manen
2020-11-07  9:48       ` Otared Kavian
2020-11-07 10:05         ` Pablo Rodriguez
2020-11-07 10:40           ` Floris van Manen
2020-11-07 11:53             ` Pablo Rodriguez
2020-11-07 12:11               ` Pablo Rodriguez
2020-11-07 13:31                 ` Floris van Manen
2020-11-07 18:28                 ` Floris van Manen
2020-11-07 11:19         ` Hans Hagen
2020-11-07 11:47           ` Floris van Manen
2020-08-31 20:21 Hans Hagen
2020-09-01  0:50 ` Jairo A. del Rio
2020-09-01 12:31   ` Hans Hagen
2020-08-09 18:08 Hans Hagen
2020-08-09 18:36 ` Pablo Rodriguez
2020-08-09 18:45   ` Jairo A. del Rio
2020-08-09 18:49     ` Jairo A. del Rio
2020-08-09 18:52     ` Pablo Rodriguez
2020-08-09 20:09       ` Hans Hagen
2020-08-09 20:29         ` Pablo Rodriguez
2007-08-26 19:58 Hans Hagen
2007-08-24 12:27 Hans Hagen
2007-08-24 16:18 ` Aditya Mahajan
2007-08-24 17:11   ` Hans Hagen
2007-08-25 13:15     ` Steffen Wolfrum
2007-08-26 14:01       ` Hans Hagen
2007-08-26 19:10         ` Steffen Wolfrum
2007-08-26 19:57           ` Hans Hagen
2007-08-24 18:22   ` Hans Hagen
2007-08-24 18:26     ` Aditya Mahajan
2007-08-25 19:21       ` Henning Hraban Ramm
     [not found]         ` <6faad9f00708251335l7c39ee37l2dcac65aaa0b59fa@mail.gmail.com>
     [not found]           ` <3AA6E745-C336-40CD-BC13-4676B9FB5C45@trichotomic.net>
2007-08-26 11:27             ` Henning Hraban Ramm
2007-08-26 14:00               ` Hans Hagen
2007-08-26 13:55         ` Hans Hagen
2007-08-27  9:06       ` Arthur Reutenauer
2007-08-27 14:10         ` Aditya Mahajan
2007-08-25 13:43 ` Mojca Miklavec
2007-08-27 18:28 ` Peter Münster
2007-08-27 18:34   ` Hans Hagen
2007-08-27 19:01     ` Mojca Miklavec
2007-08-27 21:57     ` Peter Münster
2007-08-27 20:48   ` Arthur Reutenauer

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