[NTG-context] New upload doesn't work on macOS 10.13.6

2024-02-18 Thread Ralf Heinrich Arning
Hi list,

after having tried to update with the new upload, ConTEXt doesn't run anymore. 

According to the output the new version requires a more recent system. I still 
use macOS 10.13.6 (High Sierra).

This is what I get:

=
context TestCode.tex
dyld: lazy symbol binding failed: Symbol not found: chkstk_darwin
  Referenced from: 
/Applications/TeX/context-osx-64/tex/texmf-osx-64/bin/context (which was built 
for Mac OS X 12.7)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: chkstk_darwin
  Referenced from: 
/Applications/TeX/context-osx-64/tex/texmf-osx-64/bin/context (which was built 
for Mac OS X 12.7)
  Expected in: /usr/lib/libSystem.B.dylib

/bin/bash: line 2:  1569 Abort trap: 6   context TestCode.tex
context TestCode.tex
dyld: lazy symbol binding failed: Symbol not found: chkstk_darwin
  Referenced from: 
/Applications/TeX/context-osx-64/tex/texmf-osx-64/bin/context (which was built 
for Mac OS X 12.7)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: chkstk_darwin
  Referenced from: 
/Applications/TeX/context-osx-64/tex/texmf-osx-64/bin/context (which was built 
for Mac OS X 12.7)
  Expected in: /usr/lib/libSystem.B.dylib

/bin/bash: line 4:  1579 Abort trap: 6   context TestCode.tex
===

Trying to install again, I get:


sh install.sh
dyld: lazy symbol binding failed: Symbol not found: chkstk_darwin
  Referenced from: /Applications/TeX/context-osx-64/bin/mtxrun (which was built 
for Mac OS X 12.7)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: chkstk_darwin
  Referenced from: /Applications/TeX/context-osx-64/bin/mtxrun (which was built 
for Mac OS X 12.7)
  Expected in: /usr/lib/libSystem.B.dylib

install.sh: line 105:  1693 Abort trap: 6   $PWD/bin/mtxrun --script 
./bin/mtx-install.lua --update --server="$LMTXSERVER" 
--instance="$LMTXINSTANCE" --platform="$PLATFORM" --erase --extras="$LMTXEXTRAS"

==


What can I do?

Do I have to reinstall an older version? How can I do this?

Desperately,

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] new upload

2023-09-04 Thread Hans Hagen

Hi,

new upload with packed itemize fix .. hopefyully no side effects of some 
work in progress (but no crashes in test suite so likely ok)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new upload

2023-08-15 Thread Hans Hagen

Hi,

I uploaded a new lmtx (some new - experimental - things will be 
explained after the ctx meeting), but there's one thing that is somewhat 
important.


In addition to the built in units we can now have so called user units. 
There is some more info about this in the lowlevel-registers manual. One 
of the predefined units is 'uu' with an associated \ununit (dimension) 
variable and it's is also interfaced to metafun. That means that when 
you use uu in metapost graphics you have to make sure that you save the 
meaning and/or numeric uu now.


The idea is that just as in mp one can say 20xx with xx being a (sort 
of) unit, one can do the same in tex. Think of


\newdimension \MyUnitA  \MyUnitA 1.23pt

\pushoverloadmode % just in case
\newuserunit\MyUnitA ua % binds the unit to the variable
\popoverloadmode

x\hskip 10ua\relax x

The units starting with 'u' are considered user units but be carefulk 
with other combinations as we have (and will have more) built into 
context ones, like


pi : pi for Mikael
ft : foot for Alan
fs : (global body) font size
tw : (layout) text width
th : (layout) text height
hs : (current) hsize
vs : (current) vsize
cd : (when set) column distance
cw : (when set) column width
cx : combination cell width
uu : user unit (\METAFUN)

So Mikael can now have

  test \hskip 3pi\relax test

and Alan can have

  \setuplayout
[width=1ft]

to be consistent with inches.

The reason why we have this mechanism is that it provides a level of 
abstraction. It might evolve over time but don't expect the 600+ units 
possible to show up because one needs sensible shortcuts. Already built 
in unit always win and you cna only bind to already defined quantities.


Here's one for those who want to go beyond the normal:

\newdimension \FooA   \FooA 1.23pt
\newdimen \FooB   \FooB 12.3pt
\protected\def\FooC   {\the\dimexpr\FooA +\FooB\relax}

So you can now figure how 'cx' is defined in a dynamic way.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new upload

2023-07-18 Thread Hans Hagen

Hi,

In todays upload there is a follow up on a new feature that is already 
present in the previous upload (but that was not yet advertised):


  context --parallel test1.tex test2.tex test3.tex

  context --parallel --pattern=test*.tex

  context --parallellist myfile.cmd  (filters context processing lines)

  context --parallel test1.tex test2.tex test3.tex --terminal

The --parellel feature will run in parallel, By default upto 8 jobs but 
you can specify less or more depending on your hardware but on my 
machine this is reasonable.


See workflows-parrallel at the end for more info. That one also mentions 
the new --forceinput flag which makes that when these


  context foo-1.tex --mode=m-1 --forceinput=whatever.tex
  context foo-3.tex --mode=m-3 --forceinput=whatever.tex

are run in parallel there is no clash in tuc/pdf. Of course not all 
scenarios might work out well. Commandline arguments given are passed on 
to the different jobs but it's good enough for the purpose I have in mind.


fwiw: a single pass teststuite run (some 1950 files) goes down from 1350 
to 700 seconds but another run with 1200 complex xml documents goes 4 
times faster. In the end this is way cheaper than updating a 5 year old 
dev machine (a new one would run about twice as fast which would bring 
about the same gain).


Hans

ps. Because tex is a memory intense application it doesn't scale with 
the number of cores unless one has the latest greatest fast memory as 
well as generous cpu caches. There's only so much one can do in the code 
base about 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
___


[NTG-context] new upload

2023-07-09 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-12-27 Thread Floris van Manen via ntg-context



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
___


Re: [NTG-context] new upload

2022-12-27 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-12-27 Thread Pablo Rodriguez via ntg-context
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
___


Re: [NTG-context] new upload

2022-12-27 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-12-27 Thread Pablo Rodriguez via ntg-context
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
___


Re: [NTG-context] new upload

2022-12-27 Thread Floris van Manen via ntg-context

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
___


Re: [NTG-context] new upload

2022-12-27 Thread Floris van Manen via ntg-context

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
___


[NTG-context] new upload

2022-12-27 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-11-15 Thread Pablo Rodriguez via ntg-context
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
___


[NTG-context] new upload

2022-11-14 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-10-18 Thread Alan Braslau via ntg-context

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
___


Re: [NTG-context] new upload

2022-10-18 Thread Pablo Rodriguez via ntg-context
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
___


Re: [NTG-context] new upload

2022-10-17 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-10-17 Thread Pablo Rodriguez via ntg-context
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
___


Re: [NTG-context] new upload

2022-10-17 Thread Aditya Mahajan via ntg-context
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
> >>  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
___


Re: [NTG-context] new upload

2022-10-17 Thread Hans Hagen via ntg-context

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


Re: [NTG-context] new upload

2022-10-17 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-10-17 Thread Mikael Sundqvist via ntg-context
On Mon, Oct 17, 2022 at 8:43 AM Otared Kavian via ntg-context
 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.
___
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
___


Re: [NTG-context] new upload

2022-10-17 Thread Otared Kavian via ntg-context
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 
>  wrote:
> 
> Hi,
> 
> On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context
>  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: ota...@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
___


Re: [NTG-context] new upload

2022-10-16 Thread Aditya Mahajan via ntg-context
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
>  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

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

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


Re: [NTG-context] new upload

2022-10-16 Thread Mikael Sundqvist via ntg-context
Hi,

On Sun, Oct 16, 2022 at 6:07 PM Aditya Mahajan via ntg-context
 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
___


Re: [NTG-context] new upload

2022-10-16 Thread Aditya Mahajan via ntg-context
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

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

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


Re: [NTG-context] new upload

2022-10-15 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-10-15 Thread Pablo Rodriguez via ntg-context
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
___


Re: [NTG-context] new upload

2022-10-15 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:14:01 +0200
Pablo Rodriguez via ntg-context  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
___


Re: [NTG-context] new upload

2022-10-14 Thread Pablo Rodriguez via ntg-context
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
___


[NTG-context] new upload

2022-10-14 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-04-23 Thread śrīrāma via ntg-context
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
___


Re: [NTG-context] new upload

2022-04-21 Thread Alexandre Christe via ntg-context
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 
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
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2022-04-20 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-04-19 Thread śrīrāma via ntg-context
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
___


Re: [NTG-context] new upload

2022-04-19 Thread Jeong Dal via ntg-context
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  작성:
> 
> 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 > > 작성:
>> 
>> 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 
>> -___
>> If your question is of interest to others as well, please add an entry to 
>> the Wiki!
>> 
>> maillist : ntg-context@ntg.nl  / 
>> http://www.ntg.nl/mailman/listinfo/ntg-context 
>> 
>> webpage  : http://www.pragma-ade.nl  / 
>> http://context.aanhet.net 
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ 
>> 
>> wiki : http://contextgarden.net 
>> ___
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

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

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


Re: [NTG-context] new upload

2022-04-19 Thread Jeong Dal via ntg-context
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  작성:
> 
> 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
> -___
> 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
___


[NTG-context] new upload

2022-04-19 Thread Hans Hagen via ntg-context

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
-\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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2022-04-16 Thread Pablo Rodriguez via ntg-context
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
___


[NTG-context] new upload

2022-04-15 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload / more math

2022-04-01 Thread Willi Egger via ntg-context
Hi Hans,

congrats for this new society! — At this date it is specially hilarious :-)

Happy CMS!

Willi

> On 1 Apr 2022, at 16:30, jdh via ntg-context  wrote:
> 
> 
> 
> Wrong.  The imperial measurement system, may give Europeans a headache, but 
> is NOT obsolete, by any means.  A good chunk of the world use the imperial 
> measurment system and may be required in certain books, depending on a 
> country's standards.
> 
> dh
> 
> -
> 
> 
> Henning Hraban Ramm via ntg-context  wrote:
> 
>> Oh, great work, thank you! (While I keep working with WebCMS and avoid
>> math...)
>> 
>> And I guess you forgot to mention that you discontinued the support
>> for non-metric measures like the obsolete inch, except Potrzebie, of
>> course.
>> 
>> Hraban
>> 
>> Am 01.04.22 um 10:02 schrieb Hans Hagen via ntg-context:
>>> Hi,
>>> As most of you know by now, Mikael and I are working on a math
>>> support upgrade. In order to let users keep up we uploaded a new
>>> version. We have been revisioning some of the more obscure
>>> constructs where we have   no clue of usage, like pmod, bmod,
>>> bordermatrix etc, commands that we   took (and reimplemented)
>>> decades ago from plain TeX or AMS TeX, assuming that these are
>>> standards.
>>> In this release, encouraged by the positive response we received
>>> from users regarding the new simplealignment construction, and in
>>> particular regarding the self-explaining sesac, we have decided to
>>> introduced some new constructs. First out is
>>> \startformula
>>> \startxıɹʇɐɯ
>>> \NC a_1 \NC b_1 \NC c_1 \NR
>>> \NC a_2 \NC b_2 \NC c_2 \NR
>>> \NC a_3 \NC b_3 \NC c_3 \NR
>>> \stopxıɹʇɐɯ
>>> \stopformula
>>> for rotation matrices. This was demanded for some advanced math
>>> courses that Mikael teaches. It might inspire users to come up with
>>> demands that suits their own obscure but nevertheless interesting
>>> math.
>>> At some point we realized that, with (also) scientific publishers
>>> (of math journals) moving to MS Word and Indesign, we operate in a
>>> rather peculiar niche and the fact that we use an upgraded and more
>>> granular math engine, made us wonder how to communicate all these
>>> new features and standards that we set. It is for that reason that
>>> from now on we will operate under the CMS umbrella. That
>>> abbreviation stands for ConTeXt Math Society. It has no funny swirly
>>> TeX logo which itself is a statement: in Unicode math script and
>>> calligraphic alphabets are so messed up that it is impossible to
>>> have a reliable and predictable rendering. We go for Dutch and
>>> Swedish simplicity in the spirit of W.N. Lansburgh: back to the
>>> times before TeX was written (1964). There will be no limits and
>>> boundaries set. (Talking math limits and boundaries: these can
>>> already go everywhere anyway, as can fences.)
>>> So, when we mention CMS, we mean serious math business, but
>>> kindergarten math is also embraced! There are no consequences for
>>> users: ConTeXt users with a proven math track record are
>>> automatically a member, but we are not too picky, everyone is
>>> welcome. We don't have honorary members but Taco (the first ConTeXt
>>> math user) and Aditya (the most experienced   one) might consider
>>> themselves as such. Mikael Sundqvist is the chairman, which is a
>>> livelong appointment. (A nice side effect is that with Arthur living
>>> in Sweden too, that gives us a very strong position in the TeX
>>> landscape there.)
>>> So, today's upload is sort of special: welcome CMS (ConTeXt Math 
>>> Shines), goodbye AMS (American Math Second). Of course we're open
>>> for suggestions and it being an open society all voices will be
>>> heard, but only proper (retro) math cf Lansburgh will be honored. Of
>>> course we only listen to ConTeXt users and, as that package is not
>>> supposed to be used for serious math, we don't bother about the few
>>> publishers left that still do math.
>>> Are we done? Not yet. We're in the middle of (colorful and graphic) 
>>> alignment ornaments and after that we're going to expand and improve
>>> multi-line display formulas and equation numbering.
>>> It will be no coincidence that the cover of Landburghs book about
>>> math typesetting has a prominent 'AWE' embedded in a logo with a
>>> lion on top: we hope all users are in awe about what the TeX lion
>>> can do.
>>> Mikael S & Hans H
>>> 
>> ___
>> If your question is of interest to others as well, please add an entry to 
>> the Wiki!
>> 
>> maillist : ntg-context@ntg.nl / 
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> ___
> ___

Re: [NTG-context] new upload / more math

2022-04-01 Thread jdh via ntg-context


Wrong.  The imperial measurement system, may give Europeans a headache, but is 
NOT obsolete, by any means.  A good chunk of the world use the imperial 
measurment system and may be required in certain books, depending on a 
country's standards.

dh

-


Henning Hraban Ramm via ntg-context  wrote:

> Oh, great work, thank you! (While I keep working with WebCMS and avoid
> math...)
> 
> And I guess you forgot to mention that you discontinued the support
> for non-metric measures like the obsolete inch, except Potrzebie, of
> course.
> 
> Hraban
> 
> Am 01.04.22 um 10:02 schrieb Hans Hagen via ntg-context:
> > Hi,
> > As most of you know by now, Mikael and I are working on a math
> > support upgrade. In order to let users keep up we uploaded a new
> > version. We have been revisioning some of the more obscure
> > constructs where we have   no clue of usage, like pmod, bmod,
> > bordermatrix etc, commands that we   took (and reimplemented)
> > decades ago from plain TeX or AMS TeX, assuming that these are
> > standards.
> > In this release, encouraged by the positive response we received
> > from users regarding the new simplealignment construction, and in
> > particular regarding the self-explaining sesac, we have decided to
> > introduced some new constructs. First out is
> > \startformula
> > \startxıɹʇɐɯ
> >    \NC a_1 \NC b_1 \NC c_1 \NR
> >    \NC a_2 \NC b_2 \NC c_2 \NR
> >    \NC a_3 \NC b_3 \NC c_3 \NR
> > \stopxıɹʇɐɯ
> > \stopformula
> > for rotation matrices. This was demanded for some advanced math
> > courses that Mikael teaches. It might inspire users to come up with
> > demands that suits their own obscure but nevertheless interesting
> > math.
> > At some point we realized that, with (also) scientific publishers
> > (of math journals) moving to MS Word and Indesign, we operate in a
> > rather peculiar niche and the fact that we use an upgraded and more
> > granular math engine, made us wonder how to communicate all these
> > new features and standards that we set. It is for that reason that
> > from now on we will operate under the CMS umbrella. That
> > abbreviation stands for ConTeXt Math Society. It has no funny swirly
> > TeX logo which itself is a statement: in Unicode math script and
> > calligraphic alphabets are so messed up that it is impossible to
> > have a reliable and predictable rendering. We go for Dutch and
> > Swedish simplicity in the spirit of W.N. Lansburgh: back to the
> > times before TeX was written (1964). There will be no limits and
> > boundaries set. (Talking math limits and boundaries: these can
> > already go everywhere anyway, as can fences.)
> > So, when we mention CMS, we mean serious math business, but
> > kindergarten math is also embraced! There are no consequences for
> > users: ConTeXt users with a proven math track record are
> > automatically a member, but we are not too picky, everyone is
> > welcome. We don't have honorary members but Taco (the first ConTeXt
> > math user) and Aditya (the most experienced   one) might consider
> > themselves as such. Mikael Sundqvist is the chairman, which is a
> > livelong appointment. (A nice side effect is that with Arthur living
> > in Sweden too, that gives us a very strong position in the TeX
> > landscape there.)
> > So, today's upload is sort of special: welcome CMS (ConTeXt Math 
> > Shines), goodbye AMS (American Math Second). Of course we're open
> > for suggestions and it being an open society all voices will be
> > heard, but only proper (retro) math cf Lansburgh will be honored. Of
> > course we only listen to ConTeXt users and, as that package is not
> > supposed to be used for serious math, we don't bother about the few
> > publishers left that still do math.
> > Are we done? Not yet. We're in the middle of (colorful and graphic) 
> > alignment ornaments and after that we're going to expand and improve
> > multi-line display formulas and equation numbering.
> > It will be no coincidence that the cover of Landburghs book about
> > math typesetting has a prominent 'AWE' embedded in a logo with a
> > lion on top: we hope all users are in awe about what the TeX lion
> > can do.
> > Mikael S & Hans H
> > 
> ___
> 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 / 

Re: [NTG-context] new upload / more math

2022-04-01 Thread Henning Hraban Ramm via ntg-context
Oh, great work, thank you! (While I keep working with WebCMS and avoid 
math...)


And I guess you forgot to mention that you discontinued the support for 
non-metric measures like the obsolete inch, except Potrzebie, of course.


Hraban

Am 01.04.22 um 10:02 schrieb Hans Hagen via ntg-context:

Hi,

As most of you know by now, Mikael and I are working on a math support 
upgrade. In order to let users keep up we uploaded a new version. We 
have been revisioning some of the more obscure constructs where we have 
  no clue of usage, like pmod, bmod, bordermatrix etc, commands that we 
  took (and reimplemented) decades ago from plain TeX or AMS TeX, 
assuming that these are standards.


In this release, encouraged by the positive response we received from 
users regarding the new simplealignment construction, and in particular 
regarding the self-explaining sesac, we have decided to introduced some 
new constructs. First out is


\startformula
\startxıɹʇɐɯ
   \NC a_1 \NC b_1 \NC c_1 \NR
   \NC a_2 \NC b_2 \NC c_2 \NR
   \NC a_3 \NC b_3 \NC c_3 \NR
\stopxıɹʇɐɯ
\stopformula

for rotation matrices. This was demanded for some advanced math courses 
that Mikael teaches. It might inspire users to come up with demands that 
suits their own obscure but nevertheless interesting math.


At some point we realized that, with (also) scientific publishers (of 
math journals) moving to MS Word and Indesign, we operate in a rather 
peculiar niche and the fact that we use an upgraded and more granular 
math engine, made us wonder how to communicate all these new features 
and standards that we set. It is for that reason that from now on we 
will operate under the CMS umbrella. That abbreviation stands for 
ConTeXt Math Society. It has no funny swirly TeX logo which itself is a 
statement: in Unicode math script and calligraphic alphabets are so 
messed up that it is impossible to have a reliable and predictable 
rendering. We go for Dutch and Swedish simplicity in the spirit of W.N. 
Lansburgh: back to the times before TeX was written (1964). There will 
be no limits and boundaries set. (Talking math limits and boundaries: 
these can already go everywhere anyway, as can fences.)


So, when we mention CMS, we mean serious math business, but kindergarten 
math is also embraced! There are no consequences for users: ConTeXt 
users with a proven math track record are automatically a member, but we 
are not too picky, everyone is welcome. We don't have honorary members 
but Taco (the first ConTeXt math user) and Aditya (the most experienced 
  one) might consider themselves as such. Mikael Sundqvist is the 
chairman, which is a livelong appointment. (A nice side effect is that 
with Arthur living in Sweden too, that gives us a very strong position 
in the TeX landscape there.)


So, today's upload is sort of special: welcome CMS (ConTeXt Math 
Shines), goodbye AMS (American Math Second). Of course we're open for 
suggestions and it being an open society all voices will be heard, but 
only proper (retro) math cf Lansburgh will be honored. Of course we only 
listen to ConTeXt users and, as that package is not supposed to be used 
for serious math, we don't bother about the few publishers left that 
still do math.


Are we done? Not yet. We're in the middle of (colorful and graphic) 
alignment ornaments and after that we're going to expand and improve 
multi-line display formulas and equation numbering.


It will be no coincidence that the cover of Landburghs book about math 
typesetting has a prominent 'AWE' embedded in a logo with a lion on top: 
we hope all users are in awe about what the TeX lion can do.


Mikael S & Hans H


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


[NTG-context] new upload / more math

2022-04-01 Thread Hans Hagen via ntg-context

Hi,

As most of you know by now, Mikael and I are working on a math support 
upgrade. In order to let users keep up we uploaded a new version. We 
have been revisioning some of the more obscure constructs where we have 
 no clue of usage, like pmod, bmod, bordermatrix etc, commands that we 
 took (and reimplemented) decades ago from plain TeX or AMS TeX, 
assuming that these are standards.


In this release, encouraged by the positive response we received from 
users regarding the new simplealignment construction, and in particular 
regarding the self-explaining sesac, we have decided to introduced some 
new constructs. First out is


\startformula
\startxıɹʇɐɯ
  \NC a_1 \NC b_1 \NC c_1 \NR
  \NC a_2 \NC b_2 \NC c_2 \NR
  \NC a_3 \NC b_3 \NC c_3 \NR
\stopxıɹʇɐɯ
\stopformula

for rotation matrices. This was demanded for some advanced math courses 
that Mikael teaches. It might inspire users to come up with demands that 
suits their own obscure but nevertheless interesting math.


At some point we realized that, with (also) scientific publishers (of 
math journals) moving to MS Word and Indesign, we operate in a rather 
peculiar niche and the fact that we use an upgraded and more granular 
math engine, made us wonder how to communicate all these new features 
and standards that we set. It is for that reason that from now on we 
will operate under the CMS umbrella. That abbreviation stands for 
ConTeXt Math Society. It has no funny swirly TeX logo which itself is a 
statement: in Unicode math script and calligraphic alphabets are so 
messed up that it is impossible to have a reliable and predictable 
rendering. We go for Dutch and Swedish simplicity in the spirit of W.N. 
Lansburgh: back to the times before TeX was written (1964). There will 
be no limits and boundaries set. (Talking math limits and boundaries: 
these can already go everywhere anyway, as can fences.)


So, when we mention CMS, we mean serious math business, but kindergarten 
math is also embraced! There are no consequences for users: ConTeXt 
users with a proven math track record are automatically a member, but we 
are not too picky, everyone is welcome. We don't have honorary members 
but Taco (the first ConTeXt math user) and Aditya (the most experienced 
 one) might consider themselves as such. Mikael Sundqvist is the 
chairman, which is a livelong appointment. (A nice side effect is that 
with Arthur living in Sweden too, that gives us a very strong position 
in the TeX landscape there.)


So, today's upload is sort of special: welcome CMS (ConTeXt Math 
Shines), goodbye AMS (American Math Second). Of course we're open for 
suggestions and it being an open society all voices will be heard, but 
only proper (retro) math cf Lansburgh will be honored. Of course we only 
listen to ConTeXt users and, as that package is not supposed to be used 
for serious math, we don't bother about the few publishers left that 
still do math.


Are we done? Not yet. We're in the middle of (colorful and graphic) 
alignment ornaments and after that we're going to expand and improve 
multi-line display formulas and equation numbering.


It will be no coincidence that the cover of Landburghs book about math 
typesetting has a prominent 'AWE' embedded in a logo with a lion on top: 
we hope all users are in awe about what the TeX lion can do.


Mikael S & Hans H

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-16 Thread Bruce Horrocks via ntg-context


> On 15 Mar 2022, at 22:31, Gavin via ntg-context  wrote:
> 
> Hi Thomas,
> 
>> I can confirm that context version: 2022.03.12 17:56 is running fine on my 
>> MacBook M1.
> 
> Thanks for that. I’ll troubleshoot my installation.
> 
>> And excuse my snark, but….
> 
> Snark excused.

Ditto - working for me as well.

I completely deleted everything and re-installed using the 64-bit MacOS ARM 
image on this page.


The normal install steps worked: i.e unzip; move the "context-osx-arm64" parent 
directory to where you want it to be (/home/Users//Applications) in my 
case; ran the install script  using the command ". ./install.sh" and it all 
installed nicely. I then added the path it told me about to my .zprofile file 
and to the engine file that I use. Logged out and in just to make sure the 
paths were picked up and it all works from both command line and from TeXShop.

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-16 Thread Gavin via ntg-context
Hi List,

ConTeXt is running well after a fresh install. (context version: 2022.03.12 
17:56, I didn’t even need to mess with permissions.) I don’t know why the usual 
update procedure failed for me before. I look forward to checking out the new 
math spacing with Libertinus.

Sorry for the noise, and thanks to everyone who offered me help. 

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

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-15 Thread Gavin via ntg-context
Hi Thomas,

> I can confirm that context version: 2022.03.12 17:56 is running fine on my 
> MacBook M1.

Thanks for that. I’ll troubleshoot my installation.

> And excuse my snark, but….

Snark excused.

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

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-15 Thread Thomas A. Schmitz via ntg-context


> On 15. Mar 2022, at 15:03, Gavin via ntg-context  wrote:
> 
> JP and Bruce,
> 
> Do either of you have the new upload working on an M1 Mac?
> 
> I appreciate the ideas, but I’m not entirely new to this. I’ve kept several 
> different ConTeXt installations. I can run them from terminal or TeXShop. 
> I’ve written TeXShop engines to switch between different installations and to 
> use TeXShop’s alternative path. I’ve never had a problem like the one I am 
> having with the new upload.
> 
> TeXShop and Terminal both have full disk access. Before I devote much more 
> time trying to figure out what might be wrong with my set-up – where other 
> installations work fine – I’d love to get confirmation that somebody got the 
> new upload to work on an M1 Mac.
> 
> Gavin

I can confirm that context version: 2022.03.12 17:56 is running fine on my 
MacBook M1. And excuse my snark, but 

> zsh: permission denied: mtxrun
> 
> I’m not sure how to get around this.

made me also think you were entirely new to this. These security settings have 
been around for a long time now on macOS. 

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

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-15 Thread Gavin via ntg-context
JP and Bruce,

Do either of you have the new upload working on an M1 Mac?

I appreciate the ideas, but I’m not entirely new to this. I’ve kept several 
different ConTeXt installations. I can run them from terminal or TeXShop. I’ve 
written TeXShop engines to switch between different installations and to use 
TeXShop’s alternative path. I’ve never had a problem like the one I am having 
with the new upload.

TeXShop and Terminal both have full disk access. Before I devote much more time 
trying to figure out what might be wrong with my set-up – where other 
installations work fine – I’d love to get confirmation that somebody got the 
new upload to work on an M1 Mac.

Gavin


> On Mar 13, 2022, at 5:53 PM, Bruce Horrocks  wrote:
> 
> 
> 
>> On 12 Mar 2022, at 19:55, Gavin via ntg-context  wrote:
>> 
>> Hi Hans,
>> 
>>> i uploaded a new installer / uopdates with mojca's bin
>> 
>> Thanks for putting that together. Unfortunately, same result:
>> 
>>  TeXShop produces no output in console
>>  "mtxrun —generate” produces "zsh: killed mtxrun --generate"
>> 
>> 
>> JP,
>> 
>> The control-open trick seemed like a good idea, but it didn’t change my 
>> results. TeXShop findes an old version from TeXLive, probably because it 
>> can’t use the new one. In Terminal I still get “permission denied."
> 
> The instance of mtxrun that TeXShop finds is entirely down to path settings 
> and/or TexShop preferences settings (in its 'engine' files) and nothing to do 
> with the security permissions.
> 
> Regarding the security permissions there is something else to check: go to 
> System Preferences -> Security & Privacy -> Privacy tab -> Full Disk Access.
> Make sure 'TeXShop.app' and 'Terminal.app' are both in the list.
> 
> If that still doesn't work then there is one more thing but it will be a 
> PITA. :-(
> 
> And that is to install Xcode and the Xcode developer tools. This then gives 
> you another Privacy entry in the left hand list called "Developer Tools" and, 
> above the apps list on the right, the description reads "Allow the apps below 
> to run software locally that does not meet the system's security policy." Add 
> Terminal.app here.
> 
> —
> 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
___


Re: [NTG-context] new upload

2022-03-15 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-03-15 Thread śrīrāma via ntg-context
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
___


Re: [NTG-context] new upload

2022-03-14 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-03-14 Thread Rik Kabel via ntg-context


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
___


Re: [NTG-context] new upload

2022-03-14 Thread Mikael Sundqvist via ntg-context
Hi!

On Mon, Mar 14, 2022 at 9:01 AM Hans Hagen via ntg-context
 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
___


Re: [NTG-context] new upload

2022-03-14 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-13 Thread Bruce Horrocks via ntg-context


> On 12 Mar 2022, at 19:55, Gavin via ntg-context  wrote:
> 
> Hi Hans,
> 
>> i uploaded a new installer / uopdates with mojca's bin
> 
> Thanks for putting that together. Unfortunately, same result:
> 
>   TeXShop produces no output in console
>   "mtxrun —generate” produces "zsh: killed mtxrun --generate"
> 
> 
> JP,
> 
> The control-open trick seemed like a good idea, but it didn’t change my 
> results. TeXShop findes an old version from TeXLive, probably because it 
> can’t use the new one. In Terminal I still get “permission denied."

The instance of mtxrun that TeXShop finds is entirely down to path settings 
and/or TexShop preferences settings (in its 'engine' files) and nothing to do 
with the security permissions.

Regarding the security permissions there is something else to check: go to 
System Preferences -> Security & Privacy -> Privacy tab -> Full Disk Access.
Make sure 'TeXShop.app' and 'Terminal.app' are both in the list.

If that still doesn't work then there is one more thing but it will be a PITA. 
:-(

And that is to install Xcode and the Xcode developer tools. This then gives you 
another Privacy entry in the left hand list called "Developer Tools" and, above 
the apps list on the right, the description reads "Allow the apps below to run 
software locally that does not meet the system's security policy." Add 
Terminal.app here.

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


Re: [NTG-context] new upload

2022-03-13 Thread Rik Kabel via ntg-context


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' 

Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Jean-Pierre Delange via ntg-context

Gavin,

Make sure your PATH is correct 
:|PATH=$PATH:/Users/Gavin/.../context/tex/texmf-osx-64/bin||and have a 
look on the Internet: 
https://www.lifewire.com/can-i-fix-application-thats-not-starting-2260192|||


Le 12/03/2022 à 20:55, Gavin via ntg-context a écrit :

Hi Hans,


i uploaded a new installer / uopdates with mojca's bin

Thanks for putting that together. Unfortunately, same result:

TeXShop produces no output in console
"mtxrun —generate” produces "zsh: killed mtxrun --generate"


JP,

The control-open trick seemed like a good idea, but it didn’t change my results. 
TeXShop findes an old version from TeXLive, probably because it can’t use the new 
one. In Terminal I still get “permission denied."

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


--
Jean-Pierre Delange
Ancients
Professeur Agrégé de Philosophie (HC)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Gavin via ntg-context
Hi Hans,

> i uploaded a new installer / uopdates with mojca's bin

Thanks for putting that together. Unfortunately, same result:

TeXShop produces no output in console
"mtxrun —generate” produces "zsh: killed mtxrun --generate"


JP,

The control-open trick seemed like a good idea, but it didn’t change my 
results. TeXShop findes an old version from TeXLive, probably because it can’t 
use the new one. In Terminal I still get “permission denied."

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

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Jean-Pierre Delange via ntg-context

Hi Gavin!

On MacOSX go to "Finder" and search the app. Then, click the app icon 
while holding down the "Control" key on the keyboard, then choose "Open" 
from the pop-up menu.


Click on "Open". The app is saved as an exception in your security 
settings and you can open it later by double-clicking it, like any saved 
app.


Hope it helps !

JP

Le 12/03/2022 à 17:18, Gavin via ntg-context a écrit :

Hi Mojca,

I think my security settings are preventing me from using this luametatex file. 
When trying to update the installation, I got a window that says:

“luametatex” can’t be opened because Apple cannot check it for 
malicious software.

When I tried running mtxrun --generate, in Terminal, I got the response:

zsh: permission denied: mtxrun

I’m not sure how to get around this.

Gavin



On Mar 12, 2022, at 8:31 AM, Mojca Miklavec via ntg-context 
 wrote:

Hans,

I manually uploaded luametatex for arm64-darwin now.
Not that I actually checked anything.

Gavin, are you willing to try the binary from
https://dl.contextgarden.net/build/luametatex/arm64-darwin/
?

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
___


--
Jean-Pierre Delange
Ancients
Professeur Agrégé de Philosophie (HC)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Hans Hagen via ntg-context

On 3/12/2022 5:18 PM, Gavin wrote:

Hi Mojca,

I think my security settings are preventing me from using this luametatex file. 
When trying to update the installation, I got a window that says:

“luametatex” can’t be opened because Apple cannot check it for 
malicious software.

When I tried running mtxrun --generate, in Terminal, I got the response:

zsh: permission denied: mtxrun

I’m not sure how to get around this.

i uploaded a new installer / uopdates with mojca's bin

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
___


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Hans Hagen via ntg-context

On 3/12/2022 5:18 PM, Gavin wrote:

Hi Mojca,

I think my security settings are preventing me from using this luametatex file. 
When trying to update the installation, I got a window that says:

“luametatex” can’t be opened because Apple cannot check it for 
malicious software.

When I tried running mtxrun --generate, in Terminal, I got the response:

zsh: permission denied: mtxrun

I’m not sure how to get around this.
wasn't that discussed on the list at some point? some tricks to tell osx 
it's okay? maybe search the archives



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


Re: [NTG-context] new upload

2022-03-12 Thread Henning Hraban Ramm via ntg-context

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
___


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Gavin via ntg-context
Hi Mojca,

I think my security settings are preventing me from using this luametatex file. 
When trying to update the installation, I got a window that says:

“luametatex” can’t be opened because Apple cannot check it for 
malicious software.

When I tried running mtxrun --generate, in Terminal, I got the response:

zsh: permission denied: mtxrun

I’m not sure how to get around this.

Gavin


> On Mar 12, 2022, at 8:31 AM, Mojca Miklavec via ntg-context 
>  wrote:
> 
> Hans,
> 
> I manually uploaded luametatex for arm64-darwin now.
> Not that I actually checked anything.
> 
> Gavin, are you willing to try the binary from
>https://dl.contextgarden.net/build/luametatex/arm64-darwin/
> ?
> 
> 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
___


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Gavin via ntg-context
Hi Mojca,

> Gavin, are you willing to try the binary from
>https://dl.contextgarden.net/build/luametatex/arm64-darwin/
> ?

I am willing to try. I downloaded the luametatex file at that address, but I’m 
not sure what to do with it. Do I just replace the luametatex in my 
installation, or should I install usining my usual procedure and then replace?

Gavin

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

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Mojca Miklavec via ntg-context
Hans,

I manually uploaded luametatex for arm64-darwin now.
Not that I actually checked anything.

Gavin, are you willing to try the binary from
https://dl.contextgarden.net/build/luametatex/arm64-darwin/
?

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

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Mojca Miklavec via ntg-context
> question for mojca: i see al getting compiled, even the vm on the mac
> but not the arm mac bin itself so is the main one listening to the
> master? : luametatex.darwin-arm64.moj stays inactive

I noticed that problem already before reaching the machine, but I
couldn't quite figure out what was wrong (I was too tired to debug
yesterday evening).

Python apparently keeps throwing some exceptions on the buildbot master.

Maybe I should just compile the binary and upload it manually for now.

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

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


Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Hans Hagen via ntg-context

On 3/12/2022 3:12 PM, Gavin via ntg-context wrote:

Hi List,

I just installed the new upload on my M1 mac using my usual procedure, which is 
to update the modules and then run sh ./install.sh (details here: 
https://wiki.contextgarden.net/Modules#ConTeXt_LMTX, simplified method).

Afterwords, a hello world context document produced no effect, not even a 
single entry in the console, when using TeXShop. Using the command line to run 
mtxrun --generate. All I got from the effort was:

zsh: killed mtxrun --generate

I’m not sure what that means, but it isn’t promising. I restored my previous 
ConTeXt installation any everything is fine again.

If anyone else has the new upload working on an M1 Mac, or can confirm that it 
isn’t working, I’d like to hear about it.
there are occasional issues with the M1 mac in the build farm (can be 
the vm crashing or some network issues or some osx update or ...) so 
maybe it relates to a recent drop out


I pushed a new 'version' to force a build so you can try to pick up the 
right binary from


https://build.contextgarden.net/#/waterfall?tags=c.luametatex

and see if that one works (so run the update and then use that bin and 
remake the formats) .. if that fails i need to make new zips


question for mojca: i see al getting compiled, even the vm on the mac 
but not the arm mac bin itself so is the main one listening to the 
master? : luametatex.darwin-arm64.moj stays inactive


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
___


[NTG-context] New upload is DOA on my M1 Mac

2022-03-12 Thread Gavin via ntg-context
Hi List,

I just installed the new upload on my M1 mac using my usual procedure, which is 
to update the modules and then run sh ./install.sh (details here: 
https://wiki.contextgarden.net/Modules#ConTeXt_LMTX, simplified method).

Afterwords, a hello world context document produced no effect, not even a 
single entry in the console, when using TeXShop. Using the command line to run 
mtxrun --generate. All I got from the effort was:

zsh: killed mtxrun --generate

I’m not sure what that means, but it isn’t promising. I restored my previous 
ConTeXt installation any everything is fine again.

If anyone else has the new upload working on an M1 Mac, or can confirm that it 
isn’t working, I’d like to hear about it.

Thanks!
Gavin
___
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
___


[NTG-context] new upload

2022-03-11 Thread 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:


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

Re: [NTG-context] new upload

2022-01-28 Thread Aditya Mahajan via ntg-context
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
___


Re: [NTG-context] new upload

2022-01-28 Thread Aditya Mahajan via ntg-context
> 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
___


Re: [NTG-context] new upload

2022-01-28 Thread hanneder--- via ntg-context


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  
 -

 Datum: Thu, 27 Jan 2022 13:35:33 -0500 (EST)
   Von: Aditya Mahajan via ntg-context 
Antwort an: mailing list for ConTeXt users 
   Betreff: Re: [NTG-context] new upload
An: 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
___



- Ende der Nachricht von Aditya Mahajan via ntg-context  
 -




---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
hanne...@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
___


Re: [NTG-context] new upload

2022-01-27 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-01-27 Thread Aditya Mahajan via ntg-context


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
___


Re: [NTG-context] new upload

2022-01-27 Thread Hans Hagen via ntg-context

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
___


[NTG-context] new upload

2022-01-27 Thread hanneder--- via ntg-context


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
hanne...@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
___


Re: [NTG-context] new upload

2022-01-24 Thread Arthur Rosendahl via ntg-context
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
___


Re: [NTG-context] new upload

2022-01-23 Thread śrīrāma via ntg-context
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
___


Re: [NTG-context] new upload

2022-01-23 Thread Arthur Rosendahl via ntg-context
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
___


Re: [NTG-context] new upload

2022-01-23 Thread kauśika via ntg-context
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
___


Re: [NTG-context] new upload

2022-01-23 Thread hanneder--- via ntg-context
(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  -
 Datum: Sat, 22 Jan 2022 16:08:10 +0530
   Von: kauśika via ntg-context 
Antwort an: mailing list for ConTeXt users 
   Betreff: Re: [NTG-context] new upload
An: 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
___



- Ende der Nachricht von kauśika via ntg-context  
 -




---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
hanne...@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
___


Re: [NTG-context] new upload

2022-01-22 Thread Richard Mahoney via ntg-context
Thank you Kauśika, these details are v. helpful.


Best, Richard



-- 
T +6433121699  M +64210640216
rmaho...@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 
Reply-To: mailing list for ConTeXt users 
To: mailing list for ConTeXt users 
Cc: kauśika 
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
__
_

___
If your questio

Re: [NTG-context] new upload

2022-01-22 Thread kauśika via ntg-context
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
___


Re: [NTG-context] new upload

2022-01-22 Thread kauśika via ntg-context
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
___


Re: [NTG-context] new upload

2022-01-22 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-01-22 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-01-22 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-01-21 Thread kauśika via ntg-context
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
___


Re: [NTG-context] new upload

2022-01-21 Thread Richard Mahoney via ntg-context
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
rmaho...@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 
Reply-To: mailing list for ConTeXt users 
To: Hans Hagen via ntg-context 
Cc: kauśika , Aditya Mahajan via ntg-context

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

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

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


Re: [NTG-context] new upload

2022-01-21 Thread kauśika 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
___


Re: [NTG-context] new upload

2022-01-21 Thread Aditya Mahajan via ntg-context
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

test.tex
Description: TeX document


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

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


Re: [NTG-context] new upload

2022-01-21 Thread Henning Hraban Ramm via ntg-context

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
___


[NTG-context] new upload

2022-01-21 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-01-15 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-01-15 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] new upload

2022-01-15 Thread Fabrice Couvreur via ntg-context
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
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2022-01-15 Thread Hans Hagen via ntg-context

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
___


  1   2   3   >