Re: [NTG-context] LMTX-latest | SciTE 5.1.6 --- 5.2.1 | Not working with tex/texmf-context/context/data/scite

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

On 3/3/2022 12:08 AM, Richard Mahoney via ntg-context wrote:

[Gentoo]

I've found that the config included with LMTX in:

tex/texmf-context/context/data/scite

does not work with SciTE 5.1.6+

The latest version that seems to be working is SciTE 5.1.5.

Version 5.1.5 Scintilla: 5.1.4 Lexilla: 5.1.3
compiled for GTK:3.24.29
Nov 14 2021 12:15:50

Is anyone else having any issues?
for long i time tried to keep up with the changes in the lpef plugin but 
it kept changing to i quit using it; in the zip below is a version of 
scite with a built in lpeg ... i have adapted teh lexers but need to 
have a look at them again (i now go via some scite interfaces but these 
sometimes have side effects i need to nail down more).


http://www.pragma-ade.com/context/latest/cont-sci.zip

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] LMTX-latest | SciTE 5.1.6 --- 5.2.1 | Not working with tex/texmf-context/context/data/scite

2022-03-02 Thread Richard Mahoney via ntg-context
[Gentoo]

I've found that the config included with LMTX in:

tex/texmf-context/context/data/scite

does not work with SciTE 5.1.6+

The latest version that seems to be working is SciTE 5.1.5.

Version 5.1.5 Scintilla: 5.1.4 Lexilla: 5.1.3
compiled for GTK:3.24.29
Nov 14 2021 12:15:50

Is anyone else having any issues? 


Best, Richard



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

Indica et Buddhica Publishers
Littledene  Bay Road  Oxford  NZ
NZBN: 9429041761809



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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] gzip.compress in ConTeXt mkiv

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

On 3/2/2022 12:47 AM, Marcel Fabian Krüger via ntg-context wrote:

Hi,

The following document

   \directlua{
 local arch = gzip.compress"I will become much much smaller, once the overhead 
is compensated"
 local orig = gzip.decompress(arch)
 print(arch:len(), orig:len(), orig)
   }
   \starttext
   \stoptext

used to work in ConTeXt mkiv and still works in ConTeXt lmtx, but for
current mkiv versions it breaks with

   ...mtx/tex/texmf-context/tex/context/base/mkiv/util-zip.lua:610: attempt to 
call a nil value (upvalue 'tocardinal1')
   stack traceback:
  ...mtx/tex/texmf-context/tex/context/base/mkiv/util-zip.lua:610: in 
upvalue 'putcompressed'
  ...mtx/tex/texmf-context/tex/context/base/mkiv/util-zip.lua:662: in 
function 'gzip.compress'
  [ctxlua]:1: in main chunk


i'll check it (at some point i need to split code paths a bit more i think)

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] PageNumber in MetaFun

2022-03-02 Thread Marco Patzer via ntg-context
On Wed, 2 Mar 2022 13:15:18 +0100
"Thomas A. Schmitz via ntg-context"  wrote:

> try "RealPageNumber" instead of "PageNumber."

That works. Thanks for the quick reply.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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] PageNumber in MetaFun

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


On 3/2/22 13:05, Marco Patzer via ntg-context wrote:

LMTX 2022.01.21 20:13 produces a rectangle on page 2, an older MkIV
produces a circle on page 2. Is this expected behaviour?

Marco


This has changed some time ago; try "RealPageNumber" instead of 
"PageNumber."


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
___


[NTG-context] PageNumber in MetaFun

2022-03-02 Thread Marco Patzer via ntg-context
Hi!

Has something changed regarding PageNumber? Take the following
example:

\starttext
  foo\page

  \startMPcode
if PageNumber==1:
  fill unitsquare scaled 1cm;
elseif PageNumber==2:
  fill fullcircle scaled 2cm;
fi
  \stopMPcode
\stoptext

LMTX 2022.01.21 20:13 produces a rectangle on page 2, an older MkIV
produces a circle on page 2. Is this expected behaviour?

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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] mathalignment not working (? again ?)

2022-03-02 Thread śrīrāma via ntg-context
On Wednesday, March 2, 2022 1:15 PM Mikael Sundqvist via ntg-context wrote:
> \starttext
> \placeformula
> \startformula
> \startmathalignment[n=7,align={1:right,2:left,3:right,4:left,5:right,6:left,7:righ
> t}] \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR
> \NC 3x_1 \NC - \NC 110x_2 \NC - \NC x_3 \NC = \NC 4, \NR
> \NC 14x_1 \NC + \NC 13x_2 \NC + \NC 10x_3 \NC = \NC 25. \NR
> \stopmathalignment
> \stopformula
> \stoptext
> 
> This was done while changing alignments in matrices (and thus also in
> alignments, it seems). You can now do align=all:right for example to
> get all columns in a matrix right-aligned.

Oh! I see! Thanks. Indeed, that works. I have edited the wiki page to now 
reflect the new behavior:
  https://wiki.contextgarden.net/Multiline_equations

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
___