[NTG-context] new upload

2021-02-12 Thread Hans Hagen

Hi,

I uploaded a new version. I'v enow tagged all public macros (not that 
anyone will notice) as a step in the overload protection effort. If you 
want to get an idea about what we're talking of you can process


  s-system-macros.mkxl

This file is mostly for Wolfgang and me when we update to lmtx, but it's 
used to identify 'todo's. We're talking tex as well as metapost here. In 
the process some orphan (mkii) stuff has been removed and a few small 
fixes applied (in code that probably no one ever encounters anyway).


In lmtx I also updated the stixtwo fonts (new names again) and added 
libertinus (for Tomas Hala to test).


Up to the next step,

Hans

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

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


Re: [NTG-context] new font trickery

2021-01-24 Thread Hans Hagen

On 1/24/2021 6:16 PM, Pablo Rodriguez wrote:


But MuPDF and SumtraPDF (based on MuPDF) display it fine.
An (in the meantime probably old version of) okular (windows) also shows 
it ok ... time to ditch (or update) evince I guess.


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

2021-01-24 Thread Pablo Rodriguez
On 1/24/21 5:51 PM, Hans Hagen wrote:
>> [...]
>> I only get black cows and black squares for bitmap images.
>>
>> I think this isn’t intended.
> Works ok here ... so are the images found? Buggy pdf viewer?

Many thanks for your reply, Hans.

Images are found, but not with "directory=default", but with
"location=default".

Evince doesn’t display the images or colors. Acrobat for Linux doesn’t
display it either (this is why I thought it might be a bug).

But MuPDF and SumtraPDF (based on MuPDF) display it fine.

Sorry for the noise and many thanks for your help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new font trickery

2021-01-24 Thread Pablo Rodriguez
On 1/24/21 4:44 PM, Hans Hagen wrote:
> \starttext
>
> \setupexternalfigure[directory={global,default}]
>
> \startsetups box:demo:103
>  \externalfigure[cow-brown.pdf][height=12pt]
> \stopsetups
>
> \startsetups box:demo:104
>  \externalfigure[cow-black.pdf][height=10pt]
> \stopsetups
>
> \startsetups box:demo:105
>  \externalfigure[mill.png][height=12pt]
> \stopsetups
>
> \startsetups box:demo:106
>  \externalfigure[hacker.jpg][height=12pt]
> \stopsetups

Sorry, Hans, but I’m afraid it doesn’t work for me.

To find images, I neeed to add:

  \setupexternalfigure[location={default}]

I only get black cows and black squares for bitmap images.

I think this isn’t intended.

Many thanks for your help,

Pablo


--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new font trickery

2021-01-24 Thread Hans Hagen

Hi Jairo,

(to the list for those who want to play with it)

In addition to the metapost fotn subsystem I also made a tex variant. 
That one is currently based on setups. So, we now can use mp as well as 
tex to make fonts. Of course this is mostly for special purposes and for 
fun but both are quite efficient.


\starttext

\setupexternalfigure[directory={global,default}]

\startsetups box:demo:103
\externalfigure[cow-brown.pdf][height=12pt]
\stopsetups

\startsetups box:demo:104
\externalfigure[cow-black.pdf][height=10pt]
\stopsetups

\startsetups box:demo:105
\externalfigure[mill.png][height=12pt]
\stopsetups

\startsetups box:demo:106
\externalfigure[hacker.jpg][height=12pt]
\stopsetups

\registerboxglyph category {demo} unicode 103 \relax % rather low level 
for now
\registerboxglyph category {demo} unicode 104 \relax % rather low level 
for now
\registerboxglyph category {demo} unicode 105 \relax % rather low level 
for now
\registerboxglyph category {demo} unicode 106 \relax % rather low level 
for now


\definefontfeature[whatever][box=demo]

\definedfont[Serif*whatever]

% \enabletrackers[fonts.collecting]

\startTEXpage%[offset=0pt]
   %\hbox{g}%
\hbox{\char103}%
\hbox{\char104}%
\stopTEXpage

\startsetups box:demo:whatever
\startMPcode
picture p ; p := image (draw figure "hacker.jpg" ysized 10pt);
fill  boundingbox p enlarged .5pt randomized 2pt withcolor 
"darkgray" ;

clip p to boundingbox p enlarged -1pt randomized 2pt ;
draw p ;
\stopMPcode
\stopsetups

% in current font!

\iffontchar\font\privatecharactercode{demo:whatever}\else
\setboxglyph {
category {demo}
name {demo:whatever}
setups   {box:demo:whatever}
}%
\fi

\startTEXpage[offset=10pt]
\char\privatecharactercode{demo:whatever}%
\stopTEXpage

\startTEXpage%[offset=0pt]
\ruledhbox{\char103}
\ruledhbox{\char104}
\ruledhbox{\char105}
\ruledhbox{\char106}
\stopTEXpage

\dorecurse{1000}{
\char 103\relax \space
\char 104\relax \space
\char 105\relax \space
\char 106\relax \space
}

\page

\setupalign[verytolerant,flushleft]

\dorecurse{100}{
#1:
\glyph yoffset -2pt `i\relax
\glyph yoffset -3pt `j\relax\space
}

\stoptext

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

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


Re: [NTG-context] new lmtx / fonts

2021-01-22 Thread Werner Hennrich

Am 22.01.21 um 09:50 schrieb Hans Hagen:

I'm still playing a bit with metafonts so there are two new files

context --global meta-imp-clock.mkxl


> A crazy examples made in crazy times.

made me laugh =:-)

Thanks, weHe


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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 lmtx / fonts

2021-01-22 Thread Hans Hagen

Hi,

I uploaded a new lmtx. I'm still playing a bit with metafonts so there 
are two new files


context --global meta-imp-demo.mkxl
context --global meta-imp-clock.mkxl

Both show a bit. The question is, do we need / want more like this? What 
kind of interfaces are best? It's mostly about used defined symbols that 
are proper characters and efficiently used.


Hans

PS. The clock one has a hidden cut'n'paste feature that only works on 
acrobat which of course then makes it a kind of useless feature (plenty 
of them by now) because when, e.g. a  mupdf bases viewer doesn't support 
this after all these years it's could as well be kept out of the standard.




-
  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

2021-01-08 Thread Hans Hagen


Hi,

A new upload ... I'm playing abit with font tweaks ...

\enableexperiments[fonts.compact] % for the definitions

\starttext

\definefont[FooA][Serif*default @ 12pt 1800 500]
\definefont[FooB][Serif*default @ 12pt 0.85 0.50]
\definefont[FooC][Serif*default @ 12pt]

\definetweakedfont[runwider] [xscale=1.5]
\definetweakedfont[runtaller][yscale=2.5,xscale=.8,yoffset=-.2ex]

{\FooA test test \runwider test test \runtaller test test}\par
{\FooB test test \runwider test test \runtaller test test}\par
{\FooC test test \runwider test test \runtaller test test}\par

\blank {\input tufte }

\blank {\glyphxscale 1070 \input tufte }

\definetweakedfont[squeezed] [xscale=0.9]

\blank $a = mb^2 + \sqrt{123}$
\blank {\squeezed $a = mb^2 + \sqrt{123}$}

\stoptext

Just run these examplex in lmtx to get an idea. It might come in handy 
for special cases, like making sure something fits in some area or make 
for instance last lines look a bit better (posters or so).


For the moment I decided for two additional (optional) scale directives 
in the font definition (hopefully i didn't mess up the ctx parser for 
that). Scales are either fractions or integers (the traditional tex 
scaling in permilles).


Hans

(also, odd in mp and ligs in some cases fixed)


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

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


Re: [NTG-context] new font trickery

2020-12-23 Thread Hans Hagen

On 12/23/2020 11:36 AM, mf wrote:
When I started using ConTeXt, font management gave me headaches because 
I expected fonts to be indefinitely scalable and not to be designed in 
advance at fixed sizes.


That came from using software like Word, where fonts are scalable at any 
size. Since I had no background in typesetting, I took vector, 
indefinitely scalable fonts for granted.

With that mindset a 48pt font is just a 10pt font scaled 4.8 times.

Then I knew about optical sizes, which were the norm with lead glyphs, 
because they came in heavy physical sets. And so the notion that as the 
font body gets bigger, the stroke gets thinner (so it's not just scaling).


I like this feature because it should make playing with sizes easier for 
people while lighter for machines, even though fixed sizes to be 
designed in advance enforce discipline and consistency in documents.
Of course we  can still keep the abstraction because we can define 
sizes, think of:


\definescaledfont[bfe][xscale=2000,yscale=6000,style=bf]

(just made this feature work in two directions, not yet uploaded).

But you're right, we have to educate users in this.

Actually, I was wondering iif this could be abused to do vertical hz ... 
filling a vbox / page with subtle scaling. It should be relatively easy 
to implement, so when I'm bored ...


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

2020-12-23 Thread mf
When I started using ConTeXt, font management gave me headaches because 
I expected fonts to be indefinitely scalable and not to be designed in 
advance at fixed sizes.


That came from using software like Word, where fonts are scalable at any 
size. Since I had no background in typesetting, I took vector, 
indefinitely scalable fonts for granted.

With that mindset a 48pt font is just a 10pt font scaled 4.8 times.

Then I knew about optical sizes, which were the norm with lead glyphs, 
because they came in heavy physical sets. And so the notion that as the 
font body gets bigger, the stroke gets thinner (so it's not just scaling).


I like this feature because it should make playing with sizes easier for 
people while lighter for machines, even though fixed sizes to be 
designed in advance enforce discipline and consistency in documents.


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

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


[NTG-context] new font trickery

2020-12-22 Thread Hans Hagen

Hi,


I finally decided to start an experiment that I had on my todo list for 
a while: dynamically scaling fonts. Below is an example of usage (plus 
some comment). In that example some 2*200 different font sizes are used 
which in mkiv demands 400 font definitions. This costs time and memory. 
The example below runs (on my old laptop) in less than 2 seconds and 
only uses two instances. I bet that our CJK users will love it.


I post it because:

(1) I need to discuss the impact with Wolfgang ... how do we integrate 
this. We can for instance define some sizes (\tfa \tfb ...) differently.


(2) I want to see if average performance improves on huge documents with 
many fonts / sizes (that is for Massimiliano to test).


(3) Are there side effects? It does work for math (rather neat trickery) 
but maybe we need an additional configration for that.


(4) I considered several variants but for now use a low level 
\glyphscale command that takes a number (in goodl old tex tradition a 
scale of 1.0 is entered as 1000).


(5) The implementation can be improved a bit (performance wise). There 
is a bit more overhead involved but usually I can compensate that.


(6) It will not be backported to MKIV so one can only test in LMTX. 
it's a bit of a mix between engine and context features.


(7) There can be bugs (unforseen side effects, or typos in the somewhat 
quick patches in the source).


Consider it an experiment, but so far I'm rather satisfied,

Hans



 EXAMPLE 

\setuplayout[middle]

\setupbodyfont[pagella,10pt]

\setupalign[verytolerant,stretch]

\setupwhitespace[big]

\starttext

\startbuffer
\definescaledfont[bfe][scale=2000,style=bf]

\setuphead[chapter][style=\bfe]

\dostepwiserecurse {10} {2020} {10} {
\title{Here we go #1!}
\start
\glyphscale#1\relax
\setupinterlinespace
\samplefile{ward}%
\bf
\samplefile{ward}
\par
\stop
\page
}
\stopbuffer

\getbuffer

\title{Scaled fonts}

Although \CONTEXT\ is quite efficient with fonts there is always room for
improvement. However, after years of finetuning the font mechanisms 
there was not

that much room left. This made me think of a different approach to scaling.
Nowadays fonts seldom come in design sizes. Also, in \CONTEXT\ \MKIV\ and
therefore \LMTX\ we always had so called dynamic features: apply additional
features locally, although that comes with a small penalty in 
performance, it
saves additional font instances. It is a good approach for the 
occasional small

stretch of glyphs, like small capped logos and such.

We now can also do dynamic font scaling, which means that we don't need 
to define
a new font instance when the same feature set is used. Or course in 
addition to

this features one can still use the dynamic features. This means that for
instance chapter titling can use the bodyfont instance and just apply 
additional
scaling. Although for a normal run the number of loaded fonts is 
normally small,
and the number of instances also isn't that impressive it can happen in 
a large
document that you end up with a few dozen. That number can now be 
reduced to half

a dozen.

Of course there can be side effects, whcich is why it's currently tagged as
experimental. There is also a small performance hit because we now need 
to track
it but that is gained back because we load less fonts and have less 
glyph runs.

It even works in math, although there some different trickery is needed.

\typebuffer

\stoptext







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

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


[NTG-context] new upload

2020-12-01 Thread Hans Hagen

Hi,

I uploaded a new version. This time some cleanup of the backend, so 
let's see where I messed up this time.


The installer has been adapted so that an apple m1 machine is 
recognized. No native arm bins, that has to wait till we have some 
hardware available.


Hans

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

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


Re: [NTG-context] new lmtx

2020-11-29 Thread Ramkumar KB
Hans,

Thank you for the new release.

I have to mirror the installer files (see below list) at
http://lmtx.pragma-ade.com inside my corporate as the site is blocked. So
whenever a new release is announced in this list, do I just replace the
*texmf-context.zip* (or do I have to replace or some all the below files)?

ConTeXt installer files for Win64:

   - tex/status.tma
   - tex/texmf.tma
   - tex/texmf-context.tma
   - tex/texmf-win64.tma
   - texmf.zip
   - *texmf-context.zip*
   - tex/texmf-win64/bin/context.exe
   - tex/texmf-win64/bin/context.lua
   - tex/texmf-win64/bin/luametatex.exe
   - tex/texmf-win64/bin/luatex.exe
   - tex/texmf-win64/bin/mtxrun.exe
   - tex/texmf-win64/bin/mtxrun.lua


Thank you for the tips, as always.

Best regards,


On Sat, Nov 28, 2020 at 3:26 AM Hans Hagen  wrote:

> Hi,
>
> A new upload ... a few lua files cleaned up (stale code removed and so)
> ... hopefully for the best.
>
> 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 lmtx

2020-11-28 Thread Pablo Rodriguez
On 11/27/20 9:05 PM, Pablo Rodriguez wrote:
> [...]
> The link rectangle goes to the end of the line.

Hans,

many thanks for having fixed the issue in latest from today.

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new lmtx

2020-11-27 Thread Pablo Rodriguez
On 11/27/20 8:26 PM, Hans Hagen wrote:
> Hi,
>
> A new upload ... a few lua files cleaned up (stale code removed and so)
> ... hopefully for the best.

Many thanks for the new upload, Hans.

A new glitch (present in the previous version too) in PDF links:

  \setuppapersize[A9]

  \setupinteraction[state=start]

  \enabledirectives[references.border]

  \unexpanded\def\MyURL#1%

{\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup}

  \starttext

  a\footnote{\dorecurse{2}{longer }\MyURL{a.b/c.de}.

\dorecurse{5}{word }}\stopasciimode

  \stoptext


The link rectangle goes to the end of the line.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new lmtx

2020-11-27 Thread Hans Hagen

Hi,

A new upload ... a few lua files cleaned up (stale code removed and so) 
... hopefully for the best.


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

2020-11-26 Thread Bruce Horrocks


> On 26 Nov 2020, at 18:43, Mojca Miklavec  
> wrote:
> 
> There are three options:
> - the existing Intel binaries should work just fine
> - yes, you should be able to compile the binaries yourself
> - we should eventually get hold of one device for our build farm, or
> in the meantime just ask someone for the initial build which should
> keep you covered for a while

There's a 4th option: use Xcode on an Intel Mac to generate a fat binary 
containing both ARM and intel code. After all, if Xcode can cross-compile to 
produce native ARM iPad and iPhone apps then there's no reason why it shouldn't 
be able to do so for Mac apps.

The M1 code would be untested of course, but beyond that... ;-)

--
Bruce Horrocks
Hampshire, UK

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

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


Re: [NTG-context] new upload

2020-11-26 Thread Keith McKay
Thanks for your interesting and very helpful reply Mojca. It's given me 
lots to think about.


Best wishes

Keith McKay

On 26/11/2020 18:43, Mojca Miklavec wrote:

On Thu, 26 Nov 2020 at 16:26, Keith McKay wrote:

I was planning on getting the new entry level MAC min M1 with 8GB
unified memory but I see that there will be no ConTeXt binaries for
these new M1 chip Macs.

It's not that there will not be, it's just that none of us has
purchased a piece of hardware yet.

A few months back it was possible to purchase one, but:
- it was just a one year rental fee rather than the ability to purchase it
- definitely not available in my country
- one had to enrol to the payed developer program
- and then do a bunch of other bureaucracy (get some special business
number etc.)
- and it wasn't even guaranteed that you would get a device at the end

I was contemplating what to do this time around since 8 GB of memory
is not even sufficient to run a web browser, and the TeX Live hardly
fits on their drive :), but it should do the job purely as a build
machine. (Not that they have "none in stock", but I could smuggle one
from elsewhere as long as the postal services keep running ...)


Would it be possible for a ConTeXt user like
myself to build the binaries on my proposed new Mac? I'm not a computer
professional.

There are three options:
- the existing Intel binaries should work just fine
- yes, you should be able to compile the binaries yourself
- we should eventually get hold of one device for our build farm, or
in the meantime just ask someone for the initial build which should
keep you covered for a while

Discussing when TeX Live will be available for arm is "out of
context". We should get those binaries working before TL 2021.

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

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

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

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


Re: [NTG-context] new upload

2020-11-26 Thread luigi scarso
On Thu, Nov 26, 2020 at 6:10 PM Hans Hagen  wrote:

> On 11/26/2020 6:07 PM, luigi scarso wrote:
> >
> >
> > Il Gio 26 Nov 2020, 18:00 Hans Hagen  > > ha scritto:
> >
> > On 11/26/2020 5:10 PM, luigi scarso wrote:
> >  >
> >  >
> >  > On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen  > 
> >  > >> wrote:
> >  >
> >  >   Of course, if they care about luatex cs support they
> >  > could send an M1 mini to Mojca for the compile farm for some
> real
> >  > testing.
> >  >
> >  >
> >  > very likely luatex will run full native on M1 on next texlive,
> > following
> >  > http://www.tug.org/mactex/aboutarm.html
> > 
> >  >  > >
> > that's with universal binaries (as happened before when apple
> switched
> > from powerpc to intel)
> >
> >
> > Full native:
> > """
> > Full native Arm support will arrive with MacTeX-2021 next spring.
> > """
>
> sure, but by using a unversal bin:
>

it's not bad,  13MB (or less, due the shared data) vs 6.5MB for downloading
is  still acceptable for the user.
Of course for the provider it doubles the space, but I fear that this
cannot be avoided for the next five years.

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

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

2020-11-26 Thread Wolfgang Schuster

Mojca Miklavec schrieb am 26.11.2020 um 19:43:

There are three options:
- the existing Intel binaries should work just fine
- yes, you should be able to compile the binaries yourself
- we should eventually get hold of one device for our build farm, or
in the meantime just ask someone for the initial build which should
keep you covered for a while


For the moment a normal intel mac should work to create a universal binary:

https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary

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

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


Re: [NTG-context] new upload

2020-11-26 Thread Mojca Miklavec
On Thu, 26 Nov 2020 at 16:26, Keith McKay wrote:
>
> I was planning on getting the new entry level MAC min M1 with 8GB
> unified memory but I see that there will be no ConTeXt binaries for
> these new M1 chip Macs.

It's not that there will not be, it's just that none of us has
purchased a piece of hardware yet.

A few months back it was possible to purchase one, but:
- it was just a one year rental fee rather than the ability to purchase it
- definitely not available in my country
- one had to enrol to the payed developer program
- and then do a bunch of other bureaucracy (get some special business
number etc.)
- and it wasn't even guaranteed that you would get a device at the end

I was contemplating what to do this time around since 8 GB of memory
is not even sufficient to run a web browser, and the TeX Live hardly
fits on their drive :), but it should do the job purely as a build
machine. (Not that they have "none in stock", but I could smuggle one
from elsewhere as long as the postal services keep running ...)

> Would it be possible for a ConTeXt user like
> myself to build the binaries on my proposed new Mac? I'm not a computer
> professional.

There are three options:
- the existing Intel binaries should work just fine
- yes, you should be able to compile the binaries yourself
- we should eventually get hold of one device for our build farm, or
in the meantime just ask someone for the initial build which should
keep you covered for a while

Discussing when TeX Live will be available for arm is "out of
context". We should get those binaries working before TL 2021.

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

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


Re: [NTG-context] new upload

2020-11-26 Thread Hans Hagen

On 11/26/2020 6:07 PM, luigi scarso wrote:



Il Gio 26 Nov 2020, 18:00 Hans Hagen > ha scritto:


On 11/26/2020 5:10 PM, luigi scarso wrote:
 >
 >
 > On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen mailto:j.ha...@xs4all.nl>
 > >> wrote:
 >
 >       Of course, if they care about luatex cs support they
 >     could send an M1 mini to Mojca for the compile farm for some real
 >     testing.
 >
 >
 > very likely luatex will run full native on M1 on next texlive,
following
 > http://www.tug.org/mactex/aboutarm.html

 > >
that's with universal binaries (as happened before when apple switched
from powerpc to intel)


Full native:
"""
Full native Arm support will arrive with MacTeX-2021 next spring.
"""


sure, but by using a unversal bin:

from 2021 on they will contain both Intel and Arm code packaged together 
as a universal binary. Thus MacTeX will support Intel and Arm machines 
on an equal footing for many years to come.



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

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


Re: [NTG-context] new upload

2020-11-26 Thread luigi scarso
Il Gio 26 Nov 2020, 18:00 Hans Hagen  ha scritto:

> On 11/26/2020 5:10 PM, luigi scarso wrote:
> >
> >
> > On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen  > > wrote:
> >
> >   Of course, if they care about luatex cs support they
> > could send an M1 mini to Mojca for the compile farm for some real
> > testing.
> >
> >
> > very likely luatex will run full native on M1 on next texlive, following
> > http://www.tug.org/mactex/aboutarm.html
> > 
> that's with universal binaries (as happened before when apple switched
> from powerpc to intel)


Full native:
"""
Full native Arm support will arrive with MacTeX-2021 next spring.
"""

--
luigi

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

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

2020-11-26 Thread Hans Hagen

On 11/26/2020 5:10 PM, luigi scarso wrote:



On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen > wrote:


  Of course, if they care about luatex cs support they
could send an M1 mini to Mojca for the compile farm for some real
testing.


very likely luatex will run full native on M1 on next texlive, following
http://www.tug.org/mactex/aboutarm.html 

that's with universal binaries (as happened before when apple switched 
from powerpc to intel)


i suppose the buildnot can generate small arm M1 only bins

Hans

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

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


Re: [NTG-context] new upload

2020-11-26 Thread luigi scarso
On Thu, Nov 26, 2020 at 5:00 PM Hans Hagen  wrote:

>  Of course, if they care about luatex cs support they
> could send an M1 mini to Mojca for the compile farm for some real testing.
>

very likely luatex will run full native on M1 on next texlive, following
http://www.tug.org/mactex/aboutarm.html

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

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

2020-11-26 Thread Hans Hagen

On 11/26/2020 4:26 PM, Keith McKay wrote:

Hi,

I'm planning in the next few weeks to retire my 2012 16GB Mac mini which 
has served me well with ConTeXt (and other software) over these past few 
years. I was planning on getting the new entry level MAC min M1 with 8GB 
unified memory but I see that there will be no ConTeXt binaries for 
these new M1 chip Macs. Would it be possible for a ConTeXt user like 
myself to build the binaries on my proposed new Mac? I'm not a computer 
professional.
At some point yes  (because once stable the code will be in the 
distribition) but even then you probably need to mess with compilers


https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary

Maybe Mojca has to configure the build to either generate arm bins (in 
addition) or universal apple bins (of course these are larger).


We actually discussed it before but apple has been kind of secretive 
about all this. Of course, if they care about luatex cs support they 
could send an M1 mini to Mojca for the compile farm for some real testing.


Btw, aren't intel bins supposed to run on the M1 in some emulation mode?

Hans

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

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


Re: [NTG-context] new upload

2020-11-26 Thread Keith McKay

Hi,

I'm planning in the next few weeks to retire my 2012 16GB Mac mini which 
has served me well with ConTeXt (and other software) over these past few 
years. I was planning on getting the new entry level MAC min M1 with 8GB 
unified memory but I see that there will be no ConTeXt binaries for 
these new M1 chip Macs. Would it be possible for a ConTeXt user like 
myself to build the binaries on my proposed new Mac? I'm not a computer 
professional.


Best Wishes

Keith McKay

On 24/11/2020 19:07, Hans Hagen wrote:

Hi,

A new upload. Mojca upgraded the build manager and we also updated 
some machines so all binaries (platforms) should be in sync now. (No 
binaries for apples M1 and microsofts SQ2 as we don't have these 
machines, so just good old intel and arm it is.)


On my rusty laptop the luametatex manual takes between 10 and 10.5 sec 
(depending on load). On the raspberry pi 64 bit it takes 32.5 sec 
(ubuntu, ssd on usb 3). The Windows Linux Subsystem (version 1) takes 
some 11.5 seconds and the domotica fitlet with a low power AMD A10 
needs 27.5 sec.) The ratios match measurements of a while ago. In the 
meantime the format file got smaller, memory more dynamic and the mem 
footprint also smaller. I expect a modern intel laptop cpu to need 
some 5 seconds and a decent desktop less but who knows. It's not easy 
to squeeze out more (the bottleneck is in the lua code as the 
(con)tex(t) code is pretty efficient so we pay a price for flexibility).


(In the process I saw that I bugged the xetex logo but that has to 
wait for a next upload. Hardly critital I suspect.)


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___ 

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


maillist : ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context

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


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

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


Re: [NTG-context] new upload

2020-11-25 Thread Hans Hagen

On 11/25/2020 10:12 AM, Giulio Bertellini wrote:


Great. Made a clean install from scratch and now metafun manual compiles 
great at first run:


mkiv lua stats  > used engine:*luametatex version: 2.0803, functionality 
level: 20201123*, format id: 547, compiler: gcc
mkiv lua stats  > tex properties: 740024 hash slots used of 2097152, 
approximate memory usage: 44 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 140 MB, 
ctx: 123 MB, max: 123 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 20.182 seconds, 396 processed pages, 396 
shipped pages, 19.621 pages/second
Looks ok to me given the thousands of graphics. What are the specs of 
the machine?


Hans


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

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


Re: [NTG-context] new upload

2020-11-25 Thread Giulio Bertellini
Great. Made a clean install from scratch and now metafun manual compiles
great at first run:

mkiv lua stats  > used engine:* luametatex version: 2.0803, functionality
level: 20201123*, format id: 547, compiler: gcc
mkiv lua stats  > tex properties: 740024 hash slots used of 2097152,
approximate memory usage: 44 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 140 MB,
ctx: 123 MB, max: 123 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 20.182 seconds, 396 processed pages, 396 shipped
pages, 19.621 pages/second

giulio b.


On Tue, Nov 24, 2020 at 8:07 PM Hans Hagen  wrote:

> Hi,
>
> A new upload. Mojca upgraded the build manager and we also updated some
> machines so all binaries (platforms) should be in sync now. (No binaries
> for apples M1 and microsofts SQ2 as we don't have these machines, so
> just good old intel and arm it is.)
>
> On my rusty laptop the luametatex manual takes between 10 and 10.5 sec
> (depending on load). On the raspberry pi 64 bit it takes 32.5 sec
> (ubuntu, ssd on usb 3). The Windows Linux Subsystem (version 1) takes
> some 11.5 seconds and the domotica fitlet with a low power AMD A10 needs
> 27.5 sec.) The ratios match measurements of a while ago. In the meantime
> the format file got smaller, memory more dynamic and the mem footprint
> also smaller. I expect a modern intel laptop cpu to need some 5 seconds
> and a decent desktop less but who knows. It's not easy to squeeze out
> more (the bottleneck is in the lua code as the (con)tex(t) code is
> pretty efficient so we pay a price for flexibility).
>
> (In the process I saw that I bugged the xetex logo but that has to wait
> for a next upload. Hardly critital I suspect.)
>
> Hans
>
>
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new upload

2020-11-24 Thread Hans Hagen

Hi,

A new upload. Mojca upgraded the build manager and we also updated some 
machines so all binaries (platforms) should be in sync now. (No binaries 
for apples M1 and microsofts SQ2 as we don't have these machines, so 
just good old intel and arm it is.)


On my rusty laptop the luametatex manual takes between 10 and 10.5 sec 
(depending on load). On the raspberry pi 64 bit it takes 32.5 sec 
(ubuntu, ssd on usb 3). The Windows Linux Subsystem (version 1) takes 
some 11.5 seconds and the domotica fitlet with a low power AMD A10 needs 
27.5 sec.) The ratios match measurements of a while ago. In the meantime 
the format file got smaller, memory more dynamic and the mem footprint 
also smaller. I expect a modern intel laptop cpu to need some 5 seconds 
and a decent desktop less but who knows. It's not easy to squeeze out 
more (the bottleneck is in the lua code as the (con)tex(t) code is 
pretty efficient so we pay a price for flexibility).


(In the process I saw that I bugged the xetex logo but that has to wait 
for a next upload. Hardly critital I suspect.)


Hans



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

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


Re: [NTG-context] new upload

2020-11-19 Thread Damien Thiriet
Hi,


Problem also fixed on OpenBSD 6.8 amd64.
New binaries installed and working like a charm.

Makes my workflow much easier, so many thanks to 
Pablo for finding the bug and to Hans for fixing it.

Best regards,


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

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


Re: [NTG-context] new upload

2020-11-19 Thread Pablo Rodriguez
On 11/19/20 11:35 AM, Hans Hagen wrote:
> Hi,
>
> A new upload. Hopefully with the linux install fixed.

Many thanks for the new upload, Hans.

It fixes the issue in both Windows and Linux (I guess the same should
apply to macOS).

BTW, the message about resolver databases not found or outdated still
pops up. Althought this is a minor cosmetic issue.

 resolvers   | resolving | warning: no lua configuration files found
 resolvers   | resolving | no texmf paths are defined (using TEXMF)
 resolvers   | resolving |
 mtxrun  | the resolver databases are not present or outdated
 mtx-install | server   : lmtx.pragma-ade.com
 mtx-install | instance : install-lmtx
 mtx-install | platform : linux-64
 mtx-install | system   : unix
 mtx-install | updating tex/texmf, 1541 files
 mtx-install | updating tex/texmf-context, 3922 files

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2020-11-19 Thread Otared Kavian
Hi Hans,

Thanks for the new upload and the fix for the install script: it works again 
also for MacOS.

Best regards: OK

> On 19 Nov 2020, at 11:35, Hans Hagen  wrote:
> 
> Hi,
> 
> A new upload. Hopefully with the linux install fixed.
> 
> Hans
> 
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

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

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


Re: [NTG-context] new upload

2020-11-19 Thread mf

Il 19/11/20 12:00, mf ha scritto:

Tested. It works.

- download the binaries from 
http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip


- unzip it in your context directory



- make install.sh and bin/mtxrun executable

- run install.sh

and you can see the upgrade progression again.

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

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


Re: [NTG-context] new upload

2020-11-19 Thread mf

Tested. It works.

- download the binaries from 
http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip


- make install.sh and bin/mtxrun executable

- run install.sh

and you can see the upgrade progression again.

Thanks Hans,
Massi

Il 19/11/20 11:35, Hans Hagen ha scritto:

Hi,

A new upload. Hopefully with the linux install fixed.


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

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


[NTG-context] new upload

2020-11-19 Thread Hans Hagen

Hi,

A new upload. Hopefully with the linux install fixed.

Hans


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

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


Re: [NTG-context] new upload

2020-11-18 Thread Hans Hagen

On 11/18/2020 10:21 PM, Wolfgang Schuster wrote:

Pablo Rodriguez schrieb am 18.11.2020 um 22:05:

On 11/18/20 7:42 PM, Hans Hagen wrote:

Hi,

A new upload ... still some 150 tex files to go (from mkiv to lmtx
speak) ... after that the lua ones ... some fixes applied, maybe some
new temp issues introduced ... thanks for testing.


Many thanks for the new upload, Hans.

Even headings and lists are indented now:

   \showframe\showgrid
   \setupindenting[yes, always, big]
   \starttext
   \placelist[section]
   \dorecurse{5}
 {\section{Section \recurselevel} \input{zapf}}
   \stoptext

I think this may be a bug.



Minimal example:

\showgrid

\starttext

\parindent\emwidth

text

\noindent text

\stoptext

found it ... fixed in next upload (relates to normalization)

Hans

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

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


Re: [NTG-context] new upload

2020-11-18 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 18.11.2020 um 22:05:

On 11/18/20 7:42 PM, Hans Hagen wrote:

Hi,

A new upload ... still some 150 tex files to go (from mkiv to lmtx
speak) ... after that the lua ones ... some fixes applied, maybe some
new temp issues introduced ... thanks for testing.


Many thanks for the new upload, Hans.

Even headings and lists are indented now:

   \showframe\showgrid
   \setupindenting[yes, always, big]
   \starttext
   \placelist[section]
   \dorecurse{5}
 {\section{Section \recurselevel} \input{zapf}}
   \stoptext

I think this may be a bug.



Minimal example:

\showgrid

\starttext

\parindent\emwidth

text

\noindent text

\stoptext

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

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


Re: [NTG-context] new upload

2020-11-18 Thread Pablo Rodriguez
On 11/18/20 7:42 PM, Hans Hagen wrote:
> Hi,
>
> A new upload ... still some 150 tex files to go (from mkiv to lmtx
> speak) ... after that the lua ones ... some fixes applied, maybe some
> new temp issues introduced ... thanks for testing.

Many thanks for the new upload, Hans.

Even headings and lists are indented now:

  \showframe\showgrid
  \setupindenting[yes, always, big]
  \starttext
  \placelist[section]
  \dorecurse{5}
{\section{Section \recurselevel} \input{zapf}}
  \stoptext

I think this may be a bug.

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new upload

2020-11-18 Thread Hans Hagen

Hi,

A new upload ... still some 150 tex files to go (from mkiv to lmtx 
speak) ... after that the lua ones ... some fixes applied, maybe some 
new temp issues introduced ... thanks for testing.


Hans


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

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


Re: [NTG-context] new upload

2020-11-07 Thread Floris van Manen



On 07/11/2020 13:11, Pablo Rodriguez wrote:

echo "" && curl -Ihttp://pragma-ade.com/context/latest/cont-tmf.zip
2>&1 | grep Last-Modified && echo ""

So you don’t mix access time with last modification.


this seems to work:


#!/usr/bin/env bash
cd  ~/context
OLD=`stat -c "%w" context-linux-64.zip`
echo "current: " $OLD
curl -s -O http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip
NEW=`stat -c "%w" context-linux-64.zip`
if [[ "$OLD" != "$NEW" ]] ; then
echo "new: " $NEW
mtxrun --script cache --erase >ctx.log
unzip -q -o context-linux-64.zip
rm tex/*.tma
sh ./install.sh >ctx.log
context --version | grep "current version"
fi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new upload lmts

2020-11-07 Thread Hans Hagen

with some fixes
--

-
  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

2020-11-07 Thread Floris van Manen



On 07/11/2020 13:11, Pablo Rodriguez wrote:

Improved message:

echo "" && curl -Ihttp://pragma-ade.com/context/latest/cont-tmf.zip
2>&1 | grep Last-Modified && echo ""

So you don’t mix access time with last modification.

Just in case it helps,


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

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


Re: [NTG-context] new upload

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 12:53 PM, Pablo Rodriguez wrote:
> [...]
> I have a simpler approach that might help you:
>
>  curl -I http://pragma-ade.com/context/latest/cont-tmf.zip

Improved message:

echo "" && curl -I http://pragma-ade.com/context/latest/cont-tmf.zip
2>&1 | grep Last-Modified && echo ""

So you don’t mix access time with last modification.

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 11:40 AM, Floris van Manen wrote:
> Dear Hans,
>
> Would it be possible to have a simple text file with the latest release
> version (or date) tag in it? Next to the folder containing the actual
> install script files? In that case it is easy to check that version tag
> by comparing with the local copy and decide if a further download and
> install is needed.

Dear Floris,

I have a simpler approach that might help you:

 curl -I http://pragma-ade.com/context/latest/cont-tmf.zip

I added a file with that to $HOME/bin/ and it works fine when invoking it.

To check which version you have installed on your computer:

export PATH=$PATH:$HOME/context/tex/texmf-linux-64/bin/ && context
--version && luametatex --version

Of course, you might need no export or adapt $PATH accordingly to your
ConTeXt directory.

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2020-11-07 Thread Floris van Manen



On 07/11/2020 12:19, Hans Hagen wrote:
a version mismatch normally comes from the fact that i generate an lmtx 
update (for wolfgang to check, posted elsewhere) but nor a mkiv one and 
then upload to the website (as happened)


also, the update script itself doesn't get updated so when that gets 
adapted one has to get it from the bare install


(keep in mind that doing a fresh install doesn't hurt the system because 
texmf-projects and texmf-fonts are not affected)


The version check is just to prevent the extra data from being 
downloaded and installed when there was no need for it, because the 
current installed version is the same. (it saves the coal to be burned 
for the electricity)

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

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


Re: [NTG-context] new upload

2020-11-07 Thread Hans Hagen

Hi,

a version mismatch normally comes from the fact that i generate an lmtx 
update (for wolfgang to check, posted elsewhere) but nor a mkiv one and 
then upload to the website (as happened)


also, the update script itself doesn't get updated so when that gets 
adapted one has to get it from the bare install


(keep in mind that doing a fresh install doesn't hurt the system because 
texmf-projects and texmf-fonts are not affected)


Hans



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

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


Re: [NTG-context] new upload

2020-11-07 Thread Floris van Manen

Dear Hans,

Would it be possible to have a simple text file with the latest release 
version (or date) tag in it? Next to the folder containing the actual 
install script files? In that case it is easy to check that version tag 
by comparing with the local copy and decide if a further download and 
install is needed.


m.vr.gr.
Floris
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2020-11-07 Thread Pablo Rodriguez
On 11/7/20 10:48 AM, Otared Kavian wrote:
> Hi Pablo,
>
> I had the same issue as the one you were reporting (on MacOS 10.14.6).
> I removed the three files
>
> texmf-context.tma
> texmf-osx-64.tma
> texmf.tma
>
> [...] and I think I will get the new version uploaded by Hans (my
> internet connection is very slow…).

Hi Otared,

I don’t know which one, but I think the LMTX installer may have a bug
that prevents updating the installation in all platforms (at least, it
seems to be so in Windows, macOS and Linux).

I thnk that removing the tex/texmf-*.tma files, allows a new
installation. It may overwrite all files (modified or not). But it might
be that this doesn’t remove deprecated files.

> Thank you for the hint…

It was by pure chance that I discovered that this might work.

But I’m glad to see that this may help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2020-11-07 Thread Otared Kavian
Hi Pablo,

I had the same issue as the one you were reporting (on MacOS 10.14.6).
I removed the three files 

texmf-context.tma
texmf-osx-64.tma
texmf.tma

before issuing the command 
sh install.sh

Now I am getting 

fetching 'http://lmtx.pragma-ade.com/install-lmtx//texmf-context.zip

on my Terminal window and I think I will get the new version uploaded by Hans 
(my internet connection is very slow…).

Thank you for the hint…

Best regards: Otared

> On 7 Nov 2020, at 00:12, Pablo Rodriguez  wrote:
> 
> On 11/7/20 12:02 AM, mf wrote:
>> [...]
>> I can confirm that on my Debian 10 64bit: no update until I removed
>> 
>> texmf-context.tma
>> texmf-linux-64.tma
>> texmf.tma
>> 
>> in the tex subdir.
> 
> I had to remove these files to update from LMTX from 2020.10.20 to
> version from 2020.11.05.
> 
> But I had to remove these files again to upgrade from 2020.11.05 to
> 2020.11.06.
> 
> I wonder whether the same happens in Windows (I haven’t checked it yet).
> 
> Just in case it helps,
> 
> Pablo
> --
> http://www.ousia.tk
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

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

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


Re: [NTG-context] new upload

2020-11-07 Thread Ivan Pešić



Дана 07.11.2020. у 23:42, Hans Hagen пише:
Question: do we really need all these 'named characters'  or can we at 
some point ditch many .. I assume that users who key in greek and 
cyrillic use unicode nowdays (no hurry, just wondering).
That's true Hans, normally I use UTF-8 encoding and a keymap in Vim so I 
can enter cyrillic text and english commands quite easilly (swapping 
between with CTRL-^).


Ivan


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

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


Re: [NTG-context] new upload

2020-11-07 Thread Ivan Pešić



Дана 07.11.2020. у 23:42, Hans Hagen пише:
Question: do we really need all these 'named characters'  or can we at 
some point ditch many .. I assume that users who key in greek and 
cyrillic use unicode nowdays (no hurry, just wondering).
That's true Hans, normally I use UTF-8 encoding and a keymap in Vim so I 
can enter cyrillic text and english commands quite easilly (swapping 
between with CTRL-^).


Ivan


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

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


Re: [NTG-context] new upload

2020-11-06 Thread Floris van Manen

this is my script for a daily update check which seems to do the job


#!/usr/bin/env bash
cd  ~/context
context --version | grep "current version"
echo ""
mtxrun --script cache --erase >ctx.log
rm tex/*.tma
sh ./install.sh >ctx.log
context --version | grep "current version"

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

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


Re: [NTG-context] new upload

2020-11-06 Thread Pablo Rodriguez
On 11/7/20 12:02 AM, mf wrote:
> [...]
> I can confirm that on my Debian 10 64bit: no update until I removed
>
> texmf-context.tma
> texmf-linux-64.tma
> texmf.tma
>
> in the tex subdir.

I had to remove these files to update from LMTX from 2020.10.20 to
version from 2020.11.05.

But I had to remove these files again to upgrade from 2020.11.05 to
2020.11.06.

I wonder whether the same happens in Windows (I haven’t checked it yet).

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2020-11-06 Thread mf

Il 06/11/20 22:03, Pablo Rodriguez ha scritto:

I’m afraid that I cannot update unless I remove tex/texmf*.tma.

I’m on Linux-64bit and I wonder whether I’m the only user affected by
this issue.


I can confirm that on my Debian 10 64bit: no update until I removed

texmf-context.tma
texmf-linux-64.tma
texmf.tma

in the tex subdir.

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

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


Re: [NTG-context] new upload

2020-11-06 Thread Rik Kabel

On 11/6/2020 16:03, Pablo Rodriguez wrote:

On 11/6/20 8:42 PM, Hans Hagen wrote:

Hi,

Again a new lmtx upload. As these days are all about counting and
numbers ... of the 19K visible macros some 14K are now flagged.

Many thanks for the new release, Hans.

I’m afraid that I cannot update unless I remove tex/texmf*.tma.

I’m on Linux-64bit and I wonder whether I’m the only user affected by
this issue.


Question: do we really need all these 'named characters'  or can we at
some point ditch many .. I assume that users who key in greek and
cyrillic use unicode nowdays (no hurry, just wondering).

As for Greek enconding, I never used anything else than UTF-8.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Same problem on WIndows 10. I have taken to simply doing a fresh install 
to get updates. Minor frustration.


--
Rik

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

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


Re: [NTG-context] new upload

2020-11-06 Thread Pablo Rodriguez
On 11/6/20 8:42 PM, Hans Hagen wrote:
> Hi,
>
> Again a new lmtx upload. As these days are all about counting and
> numbers ... of the 19K visible macros some 14K are now flagged.

Many thanks for the new release, Hans.

I’m afraid that I cannot update unless I remove tex/texmf*.tma.

I’m on Linux-64bit and I wonder whether I’m the only user affected by
this issue.

> Question: do we really need all these 'named characters'  or can we at
> some point ditch many .. I assume that users who key in greek and
> cyrillic use unicode nowdays (no hurry, just wondering).

As for Greek enconding, I never used anything else than UTF-8.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new upload

2020-11-06 Thread Hans Hagen

Hi,

Again a new lmtx upload. As these days are all about counting and 
numbers ... of the 19K visible macros some 14K are now flagged.


Question: do we really need all these 'named characters'  or can we at 
some point ditch many .. I assume that users who key in greek and 
cyrillic use unicode nowdays (no hurry, just wondering).


Hans

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

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


Re: [NTG-context] new upload

2020-09-01 Thread Hans Hagen

On 9/1/2020 2:50 AM, Jairo A. del Rio wrote:

Is there an analogue for display math? Could discretionaries be 
applicable to math formulas when "split=yes" is enabled, for instance?


can you give an example of usage

Hans


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

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


Re: [NTG-context] new upload

2020-08-31 Thread Jairo A. del Rio
Hi, Hans. :)
Is there an analogue for display math? Could discretionaries be applicable
to math formulas when "split=yes" is enabled, for instance?

Thank you in advance.

Jairo :)

El lun., 31 de ago. de 2020 a la(s) 15:21, Hans Hagen (j.ha...@xs4all.nl)
escribió:

> Hi,
>
> In order to keep the 'context is good for toy math' reputation up to
> date, in lmtx we can now have proper discretionaries in math and math in
> discretionaries. The kind of things no one asks for but they might be
> useful in educational settings.
>
> Here are some examples ():
>
> \starttext
>
> \showframe
>
> \enabletrackers[math.toysymbol]
>
> \definemathtoysymbol[Plus] [bin][+]
> \definemathtoysymbol[Minus][bin][-]
> \definemathtoysymbol[Equal][rel][=]
>
> $\dorecurse{199} {
>  x_{#1} \ifodd#1\relax\Plus\else\Minus\fi
> } x_{200} \Equal n$
>
> \blank
>
> \dorecurse{10} {
>  test \discretionary
>  {\darkred   hel  $\sqrt{y}$ lo}
>  {\darkgreen good $\sqrt{z}$ bye}
>  {\darkblue  wel  $\sqrt{x}$ come} test
> }
>
> \blank
>
> \dorecurse{10} {test me #1
>  $x + 2x \discretionary class 2
>  {$+ \, \cdots $}
>  {$ \cdots \, +$}
>  {$+ \, \cdots \, +$} nx$ test
> }
>
> \stoptext
>
> You might be able to guess from this code what is supposed to happen.
> I'll play a bit more with this later (assuming that it's somehow
> useful). We could predefine a bunch. As usual there might be issues but
> I'll sort them out when we run into them (it's a non critical feature
> with not much impact).
>
> Hans
>
> (who must not forget to document it somewhere)
>
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

2020-08-31 Thread Hans Hagen

Hi,

In order to keep the 'context is good for toy math' reputation up to 
date, in lmtx we can now have proper discretionaries in math and math in 
discretionaries. The kind of things no one asks for but they might be 
useful in educational settings.


Here are some examples ():

\starttext

\showframe

\enabletrackers[math.toysymbol]

\definemathtoysymbol[Plus] [bin][+]
\definemathtoysymbol[Minus][bin][-]
\definemathtoysymbol[Equal][rel][=]

$\dorecurse{199} {
x_{#1} \ifodd#1\relax\Plus\else\Minus\fi
} x_{200} \Equal n$

\blank

\dorecurse{10} {
test \discretionary
{\darkred   hel  $\sqrt{y}$ lo}
{\darkgreen good $\sqrt{z}$ bye}
{\darkblue  wel  $\sqrt{x}$ come} test
}

\blank

\dorecurse{10} {test me #1
$x + 2x \discretionary class 2
{$+ \, \cdots $}
{$ \cdots \, +$}
{$+ \, \cdots \, +$} nx$ test
}

\stoptext

You might be able to guess from this code what is supposed to happen. 
I'll play a bit more with this later (assuming that it's somehow 
useful). We could predefine a bunch. As usual there might be issues but 
I'll sort them out when we run into them (it's a non critical feature 
with not much impact).


Hans

(who must not forget to document it somewhere)


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

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


[NTG-context] new version

2020-08-25 Thread Hans Hagen

Hi,

The current version of lmtx has some updated tracing of memory usage. 
This is irrelevant for most users but some of you generat elarge an 
complex files so ... (I'm talking about mf here).


There is a command line option

  --usage

that will make a run report some more statistics. The info shown might 
look somewhat cryptic but we basically have (per category)


- max: the maximum allowed memory (for many categories we can make that 
larger, but I need proof that it's needed)


- min: this is how we start out

- stp: when more memory is needed, this is the step that we use to increase

- set: this is the value that context configures by default, often 
larger than min, and less than max


- mem: the memory usage (often in units)

- all: the real usage (multiplied by the unit)

- ini, ptr and top: are the startup values (when something is also 
stored in the format), the current usage and the max usage (all within 
the mentioned min-max range).


The rest speaks for itself. Font usage reflects only the tex end, of 
course there is plenty usage at the lua end. The language info  I 
might extend that with pattern and exception usage. Actually, tex memory 
usage is not that large in luametatex.


When mem gets increased, there is a message. We can use that to 
eventually determine the best values. Actually we might even lower some 
initial values (not that it matters much, lua uses more).


Of course there is also

  --timing

but that one has been there from the start, although I did update it to 
reflect the more detailed tracing. The graphics are the same as always: 
red lines are usage, the blue line is the runtime.


In general, memory management has been improved: all categories are now 
more dynamic, there is more checking for overflows, there is some 
recovery slack in allocation, etc. I will play a bit more some of it, 
for instance we might end up with more detailed configuration options, 
in addition the the already new ones.


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

2020-08-11 Thread Hans Hagen

Hi,

For those who like playing around you can use lua pettern matching in a 
match loop:


\starttext

\doloopovermatch
{(\letterpercent w+) *(\letterpercent w*)}
{aa bb cc dd}
{
  [
\doloopovermatch
  {(\letterpercent w)(\letterpercent w)}
  {#1}
  {(##1 ##2)}
\doloopovermatch
  {(\letterpercent w)(\letterpercent w)}
  {#2}
  {(##1 ##2)}
  ]
}

\blank

\doloopovermatch
  {(\letterpercent d+)}
  {this 1 is 22 a 333 test}
  { [#1] }

\blank

\doloopovermatch
{(.-)\letterpercent{\bf (.-)\letterpercent}(.*)}
{this is {\bf a} test}
{#1{\it not #2}#3}

\blank

\doloopovermatch
  {([\letterpercent w]+)}
  {\cldloadfile{tufte.tex}}
  { [#1] }

\stoptext

Probably not that useful (I never needed it but that doesn't say much) 
but it fits in the repertoire of loops.


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

2020-08-11 Thread Hans Hagen

Hi,

One can suppress hyphenation with:

  \setupalign[nothyphenated]

but it has some limitations. The low level switches are \nohyphens and 
\dohyphens. Anyway, this mechanism has now been improved a bit:


\starttext

\startbuffer
NEDERLANDS\par Nederlands\par nederlands\par
\CONTEXT  \par test\-test\par test-test \par
\stopbuffer

\blank \start \nl \hsize 2mm\getbuffer \stop \blank
\blank \start \nl \hsize 2mm \nohyphens \getbuffer \stop \blank

\startbuffer
\nohyphens NEDERLANDS {\dohyphens Nederlands} nederlands\par
\stopbuffer

\blank \start \nl \hsize 2mm \getbuffer \stop \blank

\startbuffer
NEDERLANDS {\nohyphens Nederlands} nederlands\par
\stopbuffer

\blank \start \nl \hsize 2mm \getbuffer \stop \blank

\stoptext

We can (and probably will) add more granularity in this but now 
\nohyphens will also deal with explicit \discretionary (as used in the 
\CONTEXT definition) as well as \- and - in addition to the normal 
pattern driven hyphenation. It also obeys grouping.


(this improvement concerns lmtx only)

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

2020-08-09 Thread Pablo Rodriguez
On 8/9/20 10:09 PM, Hans Hagen wrote:
> On 8/9/2020 8:52 PM, Pablo Rodriguez wrote:
>> On 8/9/20 8:45 PM, Jairo A. del Rio wrote:
>>> On my computer mtxrun --generate works, but context --make fails and the
>>> command line outputs:
>>
>> I ran "mtxrun --script cache --erase" before running "mtxrun --generate"
>> (as I do with each update).
> can you try again
>
> (in case of a broken mtxrun, change the error line to "tex and tex.error")

Many thanks for the fast reply, Hans.

It works fine now.

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2020-08-09 Thread Hans Hagen

On 8/9/2020 8:52 PM, Pablo Rodriguez wrote:

On 8/9/20 8:45 PM, Jairo A. del Rio wrote:

On my computer mtxrun --generate works, but context --make fails and the
command line outputs:


I ran "mtxrun --script cache --erase" before running "mtxrun --generate"
(as I do with each update).

can you try again

(in case of a broken mtxrun, change the error line to "tex and tex.error")

Hans


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

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


Re: [NTG-context] new upload

2020-08-09 Thread Pablo Rodriguez
On 8/9/20 8:45 PM, Jairo A. del Rio wrote:
> On my computer mtxrun --generate works, but context --make fails and the
> command line outputs:

I ran "mtxrun --script cache --erase" before running "mtxrun --generate"
(as I do with each update).

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new upload

2020-08-09 Thread Jairo A. del Rio
Update: after cleaning the cache, I have the same problem as Pablo.

Jairo :)

El dom., 9 de ago. de 2020 a la(s) 13:45, Jairo A. del Rio (
jairoadelr...@gmail.com) escribió:

> On my computer mtxrun --generate works, but context --make fails and the
> command line outputs:
>
> tex error   > tex error on line 448 in file lang-ini.mkxl: ! Undefined
> control sequence
>
>
> \dohyphens ->\hyphenationmode
>\plusthree
> l.448 \dohyphens
>
>
> 
>
> Jairo :)
>
> El dom., 9 de ago. de 2020 a la(s) 13:36, Pablo Rodriguez (oi...@gmx.es)
> escribió:
>
>> On 8/9/20 8:08 PM, Hans Hagen wrote:
>> > Hi,
>> >
>> > I uploaded a new lmtx ... not much done due to the heat (entered reading
>> > mode instead) but ... apart from some work in progress ... we now have
>> > some basic bitwise operations (maybe we need some more). So far we have:
>>
>> I’m afraid that even "mtxrun --generate" gives an error message:
>>
>> lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
>> index a nil value (global 'tex')
>>
>> I think something is missing there.
>>
>> Many thhanks for your help,
>>
>> Pablo
>> --
>> http://www.ousia.tk
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

2020-08-09 Thread Jairo A. del Rio
On my computer mtxrun --generate works, but context --make fails and the
command line outputs:

tex error   > tex error on line 448 in file lang-ini.mkxl: ! Undefined
control sequence


\dohyphens ->\hyphenationmode
   \plusthree
l.448 \dohyphens




Jairo :)

El dom., 9 de ago. de 2020 a la(s) 13:36, Pablo Rodriguez (oi...@gmx.es)
escribió:

> On 8/9/20 8:08 PM, Hans Hagen wrote:
> > Hi,
> >
> > I uploaded a new lmtx ... not much done due to the heat (entered reading
> > mode instead) but ... apart from some work in progress ... we now have
> > some basic bitwise operations (maybe we need some more). So far we have:
>
> I’m afraid that even "mtxrun --generate" gives an error message:
>
> lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
> index a nil value (global 'tex')
>
> I think something is missing there.
>
> Many thhanks for your help,
>
> Pablo
> --
> http://www.ousia.tk
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

2020-08-09 Thread Pablo Rodriguez
On 8/9/20 8:08 PM, Hans Hagen wrote:
> Hi,
>
> I uploaded a new lmtx ... not much done due to the heat (entered reading
> mode instead) but ... apart from some work in progress ... we now have
> some basic bitwise operations (maybe we need some more). So far we have:

I’m afraid that even "mtxrun --generate" gives an error message:

lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to
index a nil value (global 'tex')

I think something is missing there.

Many thhanks for your help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new upload

2020-08-09 Thread Hans Hagen

Hi,

I uploaded a new lmtx ... not much done due to the heat (entered reading 
mode instead) but ... apart from some work in progress ... we now have 
some basic bitwise operations (maybe we need some more). So far we have:


\startlines
\meaning\bitwiseset
\meaning\bitwisenot
\meaning\bitwisenil
\meaning\bitwiseand
\meaning\bitwiseor
\meaning\bitwisexor
\meaning\ifbitwiseand
\stoplines

used as:

\scratchcounter = \bitwiseand "01  "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseand "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseand "03  "02 
\uchexnumbers{\scratchcounter} \par


\scratchcounter = \bitwiseor  "01  "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseor  "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwiseor  "03  "02 
\uchexnumbers{\scratchcounter} \par


\scratchcounter = \bitwisexor "01  "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwisexor "01 with "02 
\uchexnumbers{\scratchcounter} \quad
\scratchcounter = \bitwisexor "03  "02 
\uchexnumbers{\scratchcounter} \par


\scratchcounter = \bitwisenil \bitwisenil "0F "02 "01 
\uchexnumbers{\scratchcounter} \par
\scratchcounter = \bitwisenil \bitwisenil "0F with "02 with "01 
\uchexnumbers{\scratchcounter} \par


\scratchcounterone\zerocount

\scratchcounterone \bitwiseset "FFF
\ifbitwiseand  \scratchcounterone "800 YES \else NOP \fi
\ifbitwiseand  \scratchcounterone "F00 YES \else NOP \fi
\ifbitwiseand  \scratchcounterone "100 YES \else NOP \fi
\scratchcounterone \bitwisenot \scratchcounterone
\ifbitwiseand  \scratchcounterone "800 YES \else NOP \fi
\ifbitwiseand  \scratchcounterone "F00 YES \else NOP \fi
\ifbitwiseand  \scratchcounterone "100 YES \else NOP \fi

\scratchcounter \bitwiseand "01 "02
\scratchcounter \numexpr"01+"02\relax

\ifcase  \bitwiseand \scratchcounterone \plusone \else \fi
\ifbitwiseand\scratchcounterone \plusone \else \fi
\ifnum   \scratchcounterone=\plusone \else \fi

A while ago I played with bitwise operator sin \numexpr but in the end 
removed that because it's messy with the symbols to be used, but I will 
look at that agaon if needed.


Hans



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

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


Re: [NTG-context] new version

2020-06-10 Thread Alan Bowen
The problem with vertical spacing in \frac and \over is fixed. Many thanks,
Hans!

Alan

On Wed, Jun 10, 2020 at 4:03 AM Hans Hagen  wrote:

> Hi,
>
> I uploaded a new version. There have been no changes to the typesetting
> machinery although we're still in the process of finetuning some updated
> low level macros. There was a fix in the font machinery (thanks to Kai)
> but that will probably go unnoticed as the issue has been there for years.
>
> Now, that doesn't mean that nothing has been changed. First of all there
> is a new data related mechanism. After Wolfgang had updated the
> definition files it became official. It was on the agenda for a while
> but finally a nice solution surfaced.
>
> The new thing is luatables that obey grouping. Normally what you do at
> the lua end is kind of global, but there can be cases where you really
> want it to behave like tex: obeying \bgroup/\egroup, { } etc. The
> examples given below show that you can create them at the tex end and
> access them in tex as well as lua.
>
> \starttext
>
> \dorecurse {100} {
>  \setdatavalue{#1}{#1}
> }
>
> \start \tttf \darkred \raggedright \dorecurse {100} {
>  #1=\scratchcounter\getdatavalue{#1}\the\scratchcounter
> } \par \stop \blank
>
> \start \tttf \darkgreen \raggedright \dorecurse {100} {
>  #1=\thedatavalue{#1}%
> } \par \stop \blank
>
> \bgroup \tttf
>  \newluatable\testtable
>  \setluatable\testtable{ foo = 123, bar = "456", oof = "rab" }
>% \inspectluatable\testtable
>  \darkblue
>  foo = \getfromluatable\testtable{foo}\par
>  bar = \getfromluatable\testtable{bar}\par
>  oof = \getfromluatable\testtable{oof}\blank
>  \bgroup
>  \useluatable\testtable
>  \setluatable\testtable{ foo = 123123, bar = "456456" }
>% \inspectluatable\testtable
>  \darkmagenta
>  foo = \getfromluatable\testtable{foo}\par
>  bar = \getfromluatable\testtable{bar}\par
>  oof = \getfromluatable\testtable{oof}\blank
>  \startluacode
>  local t = context.luatables.get("testtable")
>  print(t.foo,t.bar,t.oof)
>  \stopluacode
>  \egroup
>  \darkyellow
>  foo = \getfromluatable\testtable{foo}\par
>  bar = \getfromluatable\testtable{bar}\par
>  oof = \getfromluatable\testtable{oof}\blank
>  \startluacode
>  local t = context.luatables.get("testtable")
>  print(t.foo,t.bar,t.oof)
>  \stopluacode
>% \inspectluatable\testtable
> \egroup
>
> \bgroup \tttf
>  \newluatable\moretable
>  \setluatable\moretable{ 1, "foo" }
>  \darkblue
>  [1] = \getfromluatable\moretable{1}\par
>  [2] = \idxfromluatable\moretable 2 \blank
>  \bgroup
>  \useluatable\moretable
>  \setluatable\moretable{ foo = 123123, bar = "456456" }
>  \darkmagenta
>  [1] = \getfromluatable\moretable{1}\par
>  [2] = \idxfromluatable\moretable 2 \blank
>  \startluacode
>  local t = context.luatables.get("moretable")
>  print(t[1],t[2])
>  \stopluacode
>  \egroup
>  \darkyellow
>  [1] = \getfromluatable\moretable{1}\par
>  [2] = \idxfromluatable\moretable 2 \blank
>  \startluacode
>  local t = context.luatables.get("moretable")
>  print(t[1],t[2])
>  \stopluacode
> \egroup
>
> \stoptext
>
> This is only available in lmtx (until i see a real reason to cook up an
> alternative for mkiv, which is unlikely as no context code depends on
> this being available, at least not now). The datavalue macro you see
> there can be used to create massive amounts of numeric variable
> independent of counters, not that we really need it, but it was very
> cheap to implement.
>
> At the engine level there also have been some changes but these should
> not be visible for users. We just mention:
>
> - extensions to the macro definition and expansion mechanisms (for
> instance optional arguments, optional delimiters, and silent error
> recovery; there will be some explanation in the evenmore document and at
> some point - when stable - in the manual) .. this permits some cleaner
> low level code; only things were done that had no impact on performance
> (as macro definition and expansion is used a lot) and didn't make the
> code messy (it actually became cleaner)
>
> - some additional substring (ok, tex has no string, just tokens) parsing
> capabilities with optional tokens, which again permits a bit cleaner low
> level code
>
> - a slightly reorganized handling of tokens (one of tex's basic data
> structures) in the lua token interface so that we get a more meaningful
> and robust subsystem (basically getting rid of funny numbers) ... this
> also will be discussed in an evenmore chapter .. not that users need it
> (i think)
>
> - as a side effect (or necessity) some low level recoding (and
> abstraction) had to happen but as far as we can see it works ok (i admit
> it was a slow, tedious job 

[NTG-context] new version

2020-06-10 Thread Hans Hagen

Hi,

I uploaded a new version. There have been no changes to the typesetting 
machinery although we're still in the process of finetuning some updated 
low level macros. There was a fix in the font machinery (thanks to Kai) 
but that will probably go unnoticed as the issue has been there for years.


Now, that doesn't mean that nothing has been changed. First of all there 
is a new data related mechanism. After Wolfgang had updated the 
definition files it became official. It was on the agenda for a while 
but finally a nice solution surfaced.


The new thing is luatables that obey grouping. Normally what you do at 
the lua end is kind of global, but there can be cases where you really 
want it to behave like tex: obeying \bgroup/\egroup, { } etc. The 
examples given below show that you can create them at the tex end and 
access them in tex as well as lua.


\starttext

\dorecurse {100} {
\setdatavalue{#1}{#1}
}

\start \tttf \darkred \raggedright \dorecurse {100} {
#1=\scratchcounter\getdatavalue{#1}\the\scratchcounter
} \par \stop \blank

\start \tttf \darkgreen \raggedright \dorecurse {100} {
#1=\thedatavalue{#1}%
} \par \stop \blank

\bgroup \tttf
\newluatable\testtable
\setluatable\testtable{ foo = 123, bar = "456", oof = "rab" }
  % \inspectluatable\testtable
\darkblue
foo = \getfromluatable\testtable{foo}\par
bar = \getfromluatable\testtable{bar}\par
oof = \getfromluatable\testtable{oof}\blank
\bgroup
\useluatable\testtable
\setluatable\testtable{ foo = 123123, bar = "456456" }
  % \inspectluatable\testtable
\darkmagenta
foo = \getfromluatable\testtable{foo}\par
bar = \getfromluatable\testtable{bar}\par
oof = \getfromluatable\testtable{oof}\blank
\startluacode
local t = context.luatables.get("testtable")
print(t.foo,t.bar,t.oof)
\stopluacode
\egroup
\darkyellow
foo = \getfromluatable\testtable{foo}\par
bar = \getfromluatable\testtable{bar}\par
oof = \getfromluatable\testtable{oof}\blank
\startluacode
local t = context.luatables.get("testtable")
print(t.foo,t.bar,t.oof)
\stopluacode
  % \inspectluatable\testtable
\egroup

\bgroup \tttf
\newluatable\moretable
\setluatable\moretable{ 1, "foo" }
\darkblue
[1] = \getfromluatable\moretable{1}\par
[2] = \idxfromluatable\moretable 2 \blank
\bgroup
\useluatable\moretable
\setluatable\moretable{ foo = 123123, bar = "456456" }
\darkmagenta
[1] = \getfromluatable\moretable{1}\par
[2] = \idxfromluatable\moretable 2 \blank
\startluacode
local t = context.luatables.get("moretable")
print(t[1],t[2])
\stopluacode
\egroup
\darkyellow
[1] = \getfromluatable\moretable{1}\par
[2] = \idxfromluatable\moretable 2 \blank
\startluacode
local t = context.luatables.get("moretable")
print(t[1],t[2])
\stopluacode
\egroup

\stoptext

This is only available in lmtx (until i see a real reason to cook up an 
alternative for mkiv, which is unlikely as no context code depends on 
this being available, at least not now). The datavalue macro you see 
there can be used to create massive amounts of numeric variable 
independent of counters, not that we really need it, but it was very 
cheap to implement.


At the engine level there also have been some changes but these should 
not be visible for users. We just mention:


- extensions to the macro definition and expansion mechanisms (for 
instance optional arguments, optional delimiters, and silent error 
recovery; there will be some explanation in the evenmore document and at 
some point - when stable - in the manual) .. this permits some cleaner 
low level code; only things were done that had no impact on performance 
(as macro definition and expansion is used a lot) and didn't make the 
code messy (it actually became cleaner)


- some additional substring (ok, tex has no string, just tokens) parsing 
capabilities with optional tokens, which again permits a bit cleaner low 
level code


- a slightly reorganized handling of tokens (one of tex's basic data 
structures) in the lua token interface so that we get a more meaningful 
and robust subsystem (basically getting rid of funny numbers) ... this 
also will be discussed in an evenmore chapter .. not that users need it 
(i think)


- as a side effect (or necessity) some low level recoding (and 
abstraction) had to happen but as far as we can see it works ok (i admit 
it was a slow, tedious job with lots of intermediate testing on the 
suite to make sure nothign was broken) .. in the end it was all doable 
because most of the preparation was already done over the last years


- in the process we got rid of a traditional tex data structure that was 
left over from the 32 bit times but no longer needed in our 64 bit 
luatex/luametatex universe (i might backport that 

[NTG-context] new lmtx upload

2020-05-12 Thread Hans Hagen

Hi,

The tex engine has at most 65K dimen and count registers and these can 
be local and global (although mixing these two models for the same 
variable can be inefficient).


Anyway, in the current upload there is a mechanism for using way more 
variables, global ones, that are managed by lua:


\luadimen test 100pt

\scratchdimen = .25 \luadimen test

\the\scratchdimen

\the\luadimen test

So, they act as normal dimensions and counters wrt assignment and 
serialization and such. There are also floats and booleans (in addition 
to integers and cardinals).


Then, as another experiment, there are one/two dimensional arrays of 
variables. Think of:


\newarray name whatever type integer nx 100 ny 500

\arrayvalue whatever 20 30 1024

\the\arrayvalue whatever 10 30

\the\arrayvalue whatever 20 30

\the\arrayvalue whatever 30 30

Some more info can be found in the last chapoter of the evenmore.pdf 
document. The question is: do we need this, and if so, do we need more 
of that. It's a bit chicken-egg case: we can have lua and can pipe back 
to tex, and we can stay at the tex end.


This is a lmtx only feature. Just for the record: these are macros, not 
primitives, but they are rather efficient and have hardly any overhead.


The floats can be in 1.23 format, 1.23e45 format and also in 0x12p34 
format, while integers can be in 123 format and 0x123 format; the hex 
float format is lua's way of being roundtrip.


Hopefully there are no side effects.

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

2020-04-19 Thread Hans Hagen

On 4/19/2020 12:44 PM, Henning Hraban Ramm wrote:




Am 19.04.2020 um 11:57 schrieb Hans Hagen :



As a side note: a while ago mojca and i discussed the future repository and 
installation setup which will use github repositories

(1) - context (including luametatex sources)
(2) - binaries (for a subset of platforms)
(3) - resources (like fonts and such)
(4) - modules (stable ones pushed from the main garden repos)

but we simply didn't find time to follow up on that. We have to adapt 
installers too and we want to do it right from the start.

Now, we're not in a particular hurry, but in playing with all this it can 
happen that the current distributions get flaws.

(As a side effect the more or less official release of luametatex has been 
postponed a few times because it depends on (1) which in turn depends on 
pushing older context distributions etc. But then, due to the current health 
crisis, time has slowed down anyway.)


Sounds good. Is documentation part of (3) or can it be another section?


It's part of (1) as it is now but of course we can have an additional 
one (5) for extra documentation.



While I want to install "everything" on my work machine, it would make sense to 
restrict a server installation (or a beta version for tests) to the bare minimum (without 
docs, but maybe with fonts).


Nowadays even 'everything' is not that much is it? not compared to the 
whole of tex live. There was a time that a tex installation was 
considered large but nowadays many single task programs come with a 
larger installation.



I also would very much appreciate to be able to install older versions (like "in the 
old times") to check when some changes happened. Git repositories serve the same 
purpose, probably even better.

I’d suggest to keep those sections in separate repositories and install them as 
texmf-context, texmf-fonts, texmf-docs or the like (similar to the current state, but 
selectable). Git submodules *should* work to combine several repos, but the 
implementation has flaws (e.g. "git submodule update" tries to access all 
submodules at once, and if you must enter credentials, the prompts get mixed up).

Basically we're talking

(1) texmf-context(tex, mp, lua sources, documentation, luametatex code)
(2) texmf- (luametatex and luatex bin)
(3) texmf(mostly fonts as it is now)
(4) texmf-modules(from the garden)

and if you want

(5) texmf-docs

but context documentation goes into texmf-context.

We're not going top be too clever ... these systems come and go (as do 
some 'standards') so any installation model should be simple kind of 
'copy/fetch something' (with no dependencies on anything we don't have 
in the repository either, apart from a compiler is one wants to compile 
luametatex for some platform we don't provide).


Keep in mind that for specific usage demands are too different so all we 
can do is provide what there is.


Also keep in mind that too much split also makes for tricky 
dependencies, for instance binaries are the latest so when you want an 
older context - something that you can do now too when you use the 
existing github repository - you have to make sure you have the right 
binary. This is why (1) will have the engine source code: integrity 
(don't worry the source code compresses to < 2 meg and uncompressed is 
less that some of these large fonts).


Anyway, once we have it we can always make clever installers. Actually 
when you want to go real small it's easier to just install and wipe what 
you don't need.


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 installation setup (was: Cannot build plain format)

2020-04-19 Thread Henning Hraban Ramm


> Am 19.04.2020 um 11:57 schrieb Hans Hagen :

> As a side note: a while ago mojca and i discussed the future repository and 
> installation setup which will use github repositories
> 
> (1) - context (including luametatex sources)
> (2) - binaries (for a subset of platforms)
> (3) - resources (like fonts and such)
> (4) - modules (stable ones pushed from the main garden repos)
> 
> but we simply didn't find time to follow up on that. We have to adapt 
> installers too and we want to do it right from the start.
> 
> Now, we're not in a particular hurry, but in playing with all this it can 
> happen that the current distributions get flaws.
> 
> (As a side effect the more or less official release of luametatex has been 
> postponed a few times because it depends on (1) which in turn depends on 
> pushing older context distributions etc. But then, due to the current health 
> crisis, time has slowed down anyway.)

Sounds good. Is documentation part of (3) or can it be another section?

While I want to install "everything" on my work machine, it would make sense to 
restrict a server installation (or a beta version for tests) to the bare 
minimum (without docs, but maybe with fonts).

I also would very much appreciate to be able to install older versions (like 
"in the old times") to check when some changes happened. Git repositories serve 
the same purpose, probably even better.

I’d suggest to keep those sections in separate repositories and install them as 
texmf-context, texmf-fonts, texmf-docs or the like (similar to the current 
state, but selectable). Git submodules *should* work to combine several repos, 
but the implementation has flaws (e.g. "git submodule update" tries to access 
all submodules at once, and if you must enter credentials, the prompts get 
mixed up).

Best, 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 to metapost, could use some help with first steps

2020-02-02 Thread Gerben Wierda
Hans was so kind to help me with a setup for some generated output. I am trying 
to understand every line of his example so I can expand on his exmaple to make 
it fully functional. In his example there is:

context('draw 
textext("\\framed[frame=off,offset=5bp,align={middle,lohi,verytolerant,broad},width=%sbp]{%s}")
 shifted center AllNodes[%i] ;',w,name,i)

as command to draw a node and the node type is defined like this:
context("save ApplicationComponent ; path ApplicationComponent ; 
ApplicationComponent := unitsquare ; ") 

For a quick example this works, but ‘unitsquare’ is a simple thing. How do I 
create a more complex shape that is reusable? What if I would like the path to 
be like this:



With this as the complex behaviour of the shape
The font size scaled so the label fits inside the image (choice yes/no)
The small boxes sized according to the font size or sized according to the box 
size (choice text/box)
The bounding box following the actual complex outline
The upper of the two small boxes in line with the upper text line (in case the 
size is coupled to the text size)
The colour of the background a default colour or given as parameter

This is one of the more complex shapes, if I can do this one it might give me 
enough information to define all the other ones. Sorry to bother all of you but 
the learning curve is steep and I always have not enough time.

Gerben Wierda
Chess and the Art of Enterprise Architecture 
Mastering ArchiMate 
Architecture for Real Enterprises 
 at InfoWorld
On Slippery Ice  at EAPJ

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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 lmtx beta

2020-01-26 Thread Hans Hagen

On 1/26/2020 7:40 PM, Mojca Miklavec wrote:

Dear Hans,

On Sun, 26 Jan 2020 at 19:39, Hans Hagen wrote:


I uploaded a new beta (mostly lmtx).


Thanks a lot.
What about musl binaries?


Yes, i need to do that (assuming that you're confident that they work) 
.. thanks for reminding me.


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

2020-01-26 Thread Mojca Miklavec
Dear Hans,

On Sun, 26 Jan 2020 at 19:39, Hans Hagen wrote:
>
> I uploaded a new beta (mostly lmtx).

Thanks a lot.
What about musl binaries?

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
___


[NTG-context] new lmtx beta

2020-01-26 Thread Hans Hagen

Hi,

I uploaded a new beta (mostly lmtx). Challenged by Mojca we managed to 
get native compilation under mswindows working in visual studio (and 
soon the compile farm will do several windows compilation variants) so 
future installation can have either native binaries or crosscompiles 
(they have comparable performance with the native ones being a bit 
smaller). The current upload still has crosscompiled 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 / http://www.ntg.nl/mailman/listinfo/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 beta

2019-12-27 Thread Hans Hagen

Hi,

I uploaded an mkiv and lmtx beta (remake/cache needed).

---
1 spacekerns for own features (experimental)
---

% decouple feature from 'kern' only

\definefontfeature [TestA] [default]
\definefontfeature [TestB] [default][kern=no]
\definefontfeature [TestC] [default][kern=no,xkern=yes]

\startluacode
  fonts.handlers.otf.addfeature {
  name = "kern",
  type = "kern",
  data = {
  [" "] = { ["X"] = 4000 }
  }
  }

  fonts.handlers.otf.addfeature {
  name = "xkern",
  type = "kern",
  data = {
  [" "] = { ["X"] = 1500 }
  }
  }

\stopluacode

\starttext
\definedfont[Serif*TestA]\dorecurse{3}{#1 x x X\par}
\definedfont[Serif*TestB]\dorecurse{3}{#1 x x X\par}
\definedfont[Serif*TestC]\dorecurse{3}{#1 x x X\par}
\stoptext

---
2 hanging captions
---

% a follow up on HM request / WS discussion

\setupexternalfigures[location=default]

\setupcaption
  [figure]
  [align=tolerant]

\starttext

\startplacefigure[title={\samplefile{jojomayer}}]
  \externalfigure[hacker][width=.75\textwidth]
\stopplacefigure

\setupcaption
  [figure]
  [hang=yes]

\startplacefigure[title={\samplefile{jojomayer}}]
  \externalfigure[hacker][width=.75\textwidth]
\stopplacefigure

\stoptext

---
3 background fix in contour labels
---

% gray background was left over from testing

---
4 some stuff for offlist dev / discussion
---

% lmtx functionality related

---
5 some more 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 / http://www.ntg.nl/mailman/listinfo/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 beta

2019-12-06 Thread Otared Kavian
Hi Hans,

Thanks a lot for the new beta and for having fixed the issue with luametatex 
binaries.
Everything works great with version 2019.12.06 21:40.

Best regards: OK

> On 6 Dec 2019, at 15:05, Hans Hagen  wrote:
> 
> On 12/6/2019 1:34 PM, Otared Kavian wrote:
> 
>> Is this too old? Is this file created during installation or is it contained 
>> in the zip files downloaded from Pragma's site?
> Ok, I think that there is some issue with the builder. Mojca, it looks like 
> there is no binary upload happening after a build. If needed I can revert to 
> Alan for building but maybe it's something simple.
> 
> (There are two mac variants.)
> 
> 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 beta

2019-12-06 Thread Hans Hagen

On 12/6/2019 1:34 PM, Otared Kavian wrote:


Is this too old? Is this file created during installation or is it contained in 
the zip files downloaded from Pragma's site?
Ok, I think that there is some issue with the builder. Mojca, it looks 
like there is no binary upload happening after a build. If needed I can 
revert to Alan for building but maybe it's something simple.


(There are two mac variants.)

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 beta

2019-12-06 Thread Otared Kavian
Hi again,

I just installed anew lmtx from Pragma website

http://lmtx.pragma-ade.nl/install-lmtx/context-osx-64.zip

and I have the same problem: the format cannot be made.
Looking at luametatex in a Terminal window, I get

-rwxr--r-- 1 kavian staff 2.7M Dec 6 13:15 
/context-osx-64/tex/texmf-osx-64/bin/luametatex*

and I cannot tell whether it is old or recent, but typing

luametatex --version 

gives among other things:

Functionality : level 20191029

Is this too old? Is this file created during installation or is it contained in 
the zip files downloaded from Pragma's site?

Thanks for any help,
Best regards: Otared K.


> 
> On 6 Dec 2019, at 06:21, Wolfgang Schuster 
>  wrote:
> 
> Otared Kavian schrieb am 06.12.2019 um 04:23:
>> Dear Hans,
>> 
>> The problem I described in my previous message comes indeed from 
>> \defineexpansion which is not defined.
>> Upon commenting out the lines 95--98 in the file « hand-ini.mkxl » that is 
>> the four lines:
>> 
>> \defineexpansion
>>   [\c!step=1,
>>\c!stretch=40,
>>\c!shrink=20]
>> 
>> I could remake the format with version 2019.12.05 18:59. Then lmtx works 
>> fine as far as my files are concerned, but I don't know if there are side 
>> effects…
>> (However, once the format is made, if I uncomment those lines then lmtx 
>> works fine, but clearly one cannot make again the format)
> 
> You Luametatex binary is too old which missed the new \adjustspacingstep 
> command shown in the error message from your previous mail.
> 
> Wolfgang
> 

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

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


Re: [NTG-context] new beta

2019-12-06 Thread Hans Hagen

On 12/5/2019 8:28 PM, Otared Kavian wrote:

Hi Hans,

Thanks for the new features and the new release.
I could download the new installer  for MacOS which installs the latest version 
but it cannot make the formats ending with the error message which I copy below.

Best regards: OK
PS: this is the error message when installing:

tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
control sequence
that means that the binary is not updated ... can this relate to the new 
osx policies?


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 beta

2019-12-05 Thread Wolfgang Schuster

Otared Kavian schrieb am 06.12.2019 um 04:23:

Dear Hans,

The problem I described in my previous message comes indeed from 
\defineexpansion which is not defined.
Upon commenting out the lines 95--98 in the file « hand-ini.mkxl » that is the 
four lines:

\defineexpansion
   [\c!step=1,
\c!stretch=40,
\c!shrink=20]

I could remake the format with version 2019.12.05 18:59. Then lmtx works fine 
as far as my files are concerned, but I don't know if there are side effects…
(However, once the format is made, if I uncomment those lines then lmtx works 
fine, but clearly one cannot make again the format)


You Luametatex binary is too old which missed the new \adjustspacingstep 
command shown in the error message from your previous mail.


Wolfgang

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

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


Re: [NTG-context] new beta

2019-12-05 Thread Vladimir Lomov
Hello,
** Otared Kavian  [2019-12-06 04:23:28 +0100]:

> Dear Hans,
 
> The problem I described in my previous message comes indeed from
> \defineexpansion which is not defined.  Upon commenting out the lines
> 95--98 in the file « hand-ini.mkxl » that is the four lines:
 
> \defineexpansion
>   [\c!step=1,
>\c!stretch=40,
>\c!shrink=20]

That's strange. I indeed see these lines in 'hand-ini.mkxl' but I could
recreate format without problem on my Linux box (Archlinux x86_64), even
after clearing the cache and doing

  $ mtxrun --generate ; context --make

gives me working context (lmtx).

> I could remake the format with version 2019.12.05 18:59. Then lmtx
> works fine as far as my files are concerned, but I don't know if there
> are side effects… (However, once the format is made, if I uncomment
> those lines then lmtx works fine, but clearly one cannot make again
> the format)

I tried two examples with lmtx and they typeset fine.

> Best regards: OK

[...]

---
WBR, Vladimir Lomov

-- 
There is grandeur in this view of life, with its several powers, having been
originally breathed into a few forms or into one; and that, whilst this planet
has gone cycling on according to the fixed law of gravity, from so simple a
beginning endless forms most beautiful and most wonderful have been, and are
being, evolved.
-- Darwin


signature.asc
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

2019-12-05 Thread Otared Kavian
Dear Hans,

The problem I described in my previous message comes indeed from 
\defineexpansion which is not defined.
Upon commenting out the lines 95--98 in the file « hand-ini.mkxl » that is the 
four lines:

\defineexpansion
  [\c!step=1,
   \c!stretch=40,
   \c!shrink=20]

I could remake the format with version 2019.12.05 18:59. Then lmtx works fine 
as far as my files are concerned, but I don't know if there are side effects…
(However, once the format is made, if I uncomment those lines then lmtx works 
fine, but clearly one cannot make again the format)

Best regards: OK

> On 5 Dec 2019, at 20:28, Otared Kavian  wrote:
> 
> Hi Hans,
> 
> Thanks for the new features and the new release.
> I could download the new installer  for MacOS which installs the latest 
> version but it cannot make the formats ending with the error message which I 
> copy below.
> 
> Best regards: OK
> PS: this is the error message when installing:
> 
> tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
> control sequence
> 
>  ...ansion :\currentexpansion }{\adjustspacingstep 
>  \expansionparameter \c!ste...
> \define_expansion ...i \the \everydefineexpansion 
>  \let \currentexpansion \sa...
>  \syst_helpers_triple_empty_two_nop 
>\par 
> l.99 
> 
> 
> 
> 
> 
> The control sequence at the end of the top line of your error message was 
> never
> \def'ed. You can just continue as I'll forget about whatever was undefined.
> 
> 
> resolvers   | formats |
> resolvers   | formats | binary path  : 
> /context-osx-64/tex/texmf-osx-64/bin
> resolvers   | formats | format path  : 
> /context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex
> resolvers   | formats | luatex engine: luametatex
> resolvers   | formats | lua startup file : 
> /context-osx-64/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua
> resolvers   | formats | context file : 
> /context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-en.mkxl
> resolvers   | formats | run time : 0.494 seconds
> resolvers   | formats | return value : error
> resolvers   | formats |
> system  | total runtime: 0.567 seconds of 0.623 seconds
> 
> 
>> On 5 Dec 2019, at 19:31, Hans Hagen  wrote:
>> 
>> Hi,
>> 
>> I uploaded a new lmtx beta. Hopefully the installer works ok as I redid some 
>> of the "zip" related code (simpler, smaller binary too). FWIW, the 
>> luametatex codebase is now pretty close to okay, but of course there can be 
>> bugs, but nothing thay can't be solved fast.
>> 
>> Given some earlier discussions on the list, I wonder about running context 
>> in containers and (behind the screens) web applications. Is there anything 
>> needed, mostly in the support scripts I guess, that can make that more 
>> comfortable / efficient / etc?
>> 
>> 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 beta

2019-12-05 Thread Otared Kavian
Hi Hans,

Thanks for the new features and the new release.
I could download the new installer  for MacOS which installs the latest version 
but it cannot make the formats ending with the error message which I copy below.

Best regards: OK
PS: this is the error message when installing:

tex error   > tex error on line 99 in file hand-ini.mkxl: ! Undefined 
control sequence

 ...ansion :\currentexpansion }{\adjustspacingstep 
  \expansionparameter \c!ste...
\define_expansion ...i \the \everydefineexpansion 
  \let \currentexpansion \sa...
 \syst_helpers_triple_empty_two_nop 
\par 
l.99 
   




The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.


resolvers   | formats |
resolvers   | formats | binary path  : 
/context-osx-64/tex/texmf-osx-64/bin
resolvers   | formats | format path  : 
/context-osx-64/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex
resolvers   | formats | luatex engine: luametatex
resolvers   | formats | lua startup file : 
/context-osx-64/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua
resolvers   | formats | context file : 
/context-osx-64/tex/texmf-context/tex/context/base/mkiv/cont-en.mkxl
resolvers   | formats | run time : 0.494 seconds
resolvers   | formats | return value : error
resolvers   | formats |
system  | total runtime: 0.567 seconds of 0.623 seconds


> On 5 Dec 2019, at 19:31, Hans Hagen  wrote:
> 
> Hi,
> 
> I uploaded a new lmtx beta. Hopefully the installer works ok as I redid some 
> of the "zip" related code (simpler, smaller binary too). FWIW, the luametatex 
> codebase is now pretty close to okay, but of course there can be bugs, but 
> nothing thay can't be solved fast.
> 
> Given some earlier discussions on the list, I wonder about running context in 
> containers and (behind the screens) web applications. Is there anything 
> needed, mostly in the support scripts I guess, that can make that more 
> comfortable / efficient / etc?
> 
> 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 beta

2019-12-05 Thread Hans Hagen

Hi,

I uploaded a new lmtx beta. Hopefully the installer works ok as I redid 
some of the "zip" related code (simpler, smaller binary too). FWIW, the 
luametatex codebase is now pretty close to okay, but of course there can 
be bugs, but nothing thay can't be solved fast.


Given some earlier discussions on the list, I wonder about running 
context in containers and (behind the screens) web applications. Is 
there anything needed, mostly in the support scripts I guess, that can 
make that more comfortable / efficient / etc?


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 beta

2019-11-13 Thread Pablo Rodriguez
On 11/13/19 9:34 AM, Hans Hagen wrote:
> On 11/12/2019 10:20 PM, Pablo Rodriguez wrote:
>
>> LMTX has no problems with this. Could you fix this in MkIV?
>
> Can you check again?

Many thanks for your fast fix, Hans.

Everything works fine now.

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] new beta

2019-11-13 Thread Hans Hagen

On 11/12/2019 10:20 PM, Pablo Rodriguez wrote:


LMTX has no problems with this. Could you fix this in MkIV?


Can you check again?

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 beta

2019-11-12 Thread Pablo Rodriguez
On 11/12/19 7:50 PM, Hans Hagen wrote:
> Hi,
>
> I uploaded a new beta. Apart from some fixes, the main change in lmtx is
> that on windows most (a few exceptions) of the mechanisms that interface
> to the operating system support the internal wide character model which
> should make the lot more robust for file names, environment variables,
> command line options etc that (at the tex/lua end utf8) have characters
> other than ascii. Another improvement in lmtx is support for ancient
> type 1 fonts (like the type 1 lucidas) but that's more 'being complete'
> than a 'real need' (when such fonts are used wiping the cache is
> needed). Both these (lmtx only) patches can have unforseen (by me) side
> effects but nothing that can't be fixed fast.

Many thanks for the new beta, Hans.

I cannot find any of these documents (in MkIV, with first-setup.sh
installer):

tex/texmf-context/tex/context/interface/mkiv/i-context.pdf
tex/texmf-context/doc/context/documents/general/qrcs/setup-en.pdf
tex/texmf-context/doc/context/documents/general/qrcs/setup-mapping-en.pdf

It doesn’t seem to be renamed (at least, to me).

BTW, I cannot compile this sample with MkIV :

\starttext
a
\stoptext

Here you have the error message:

tex error   > tex error on line 133 in file math-ini.mkiv:
! Undefined control sequence
l.133 \ordlimits
  \limits

LMTX has no problems with this. Could you fix this in MkIV?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


[NTG-context] new beta

2019-11-12 Thread Hans Hagen

Hi,

I uploaded a new beta. Apart from some fixes, the main change in lmtx is 
that on windows most (a few exceptions) of the mechanisms that interface 
to the operating system support the internal wide character model which 
should make the lot more robust for file names, environment variables, 
command line options etc that (at the tex/lua end utf8) have characters 
other than ascii. Another improvement in lmtx is support for ancient 
type 1 fonts (like the type 1 lucidas) but that's more 'being complete' 
than a 'real need' (when such fonts are used wiping the cache is 
needed). Both these (lmtx only) patches can have unforseen (by me) side 
effects but nothing that can't be fixed fast.


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 (lmtx) beta

2019-10-11 Thread Jeong Dal
Dear Hans,


>> Though it calculates function using “x^2 + y^2”,  it is better to write the 
>> name of it as the output of $x^2 + y^2$.
>> Is it possible to write  it as in mathematical form?
> 
>functionstyle = "math”,
> 
It works nicely.

>> Is there any reason to use two different names “function” and “code” to 
>> define functions?
> we can still decide as it's beta ...
> 
>  function | functions
> 
> or
> 
>  code | codelist
> 
> (it's basically lua code ...)
> 
> i have no preference and as you're the first to bring it up you may decide 
> ... (unless others can convince you otherwise)
> 

I think that it is better to use the same name if there is no special reason to 
distinguish, and I prefer to use “function | functions”.  
However, I am OK whether you keep both or choose one. 

Thank you and your team again.

Best regards,

Dalyoung

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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 (lmtx) beta

2019-10-11 Thread Hans Hagen

On 10/11/2019 4:09 PM, Jeong Dal wrote:


Dear Hans,

I read the manual of luametafun and do some examples.
Thanks for many new features.
It is  really great.

I’d like to ask two things.

1. On  page 26,27, in the manual,


http://www.pragma-ade.com/general/manuals/luametafun.pdf


a function name of the graphics are appeared as same as in the argument 
‘function = “x^2 + y^2”’.
Though it calculates function using “x^2 + y^2”,  it is better to write 
the name of it as the output of $x^2 + y^2$.

Is it possible to write  it as in mathematical form?


functionstyle = "math",


2. To define a mathematical function, it uses “function = “ in Contour, 
while it uses “code = “ in Surfaces and in Functions.
Is there any reason to use two different names “function” and “code” to 
define functions?

we can still decide as it's beta ...

  function | functions

or

  code | codelist

(it's basically lua code ...)

i have no preference and as you're the first to bring it up you may 
decide ... (unless others can convince you otherwise)


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 beta

2019-10-11 Thread Hans Hagen

Hi,

I uploaded a new beta. Some might have noticed that stepwise some font 
support has been redone. We're talking of lmtx only here. For instance 
low level handling of color fonts as used for emoji but there are also 
other (often incomplete) fonts out there (overlay, png, svg) has become 
(on the average) a bit more efficient. It's somewhat tricky to satisfy 
viewers but at my end things work ok. It should also work in a cmyk only 
mode. As usual it's work in progress (and in this case very likely lmtx 
only).


Also some first (runtime) metafun (2) font creation support has been 
added (was always possible but it's a bit more convenient now). An 
example can be found in: meta-imp-gamesymbols.mkxl (the file can be 
processed with the 'context' command and will produce an example).


As usual imagination determines the limits of what context provides, so 
feel free to suggest more (examples). Again this is lmtx specific.


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 (lmtx) beta

2019-10-11 Thread Jeong Dal

Dear Hans,

I read the manual of luametafun and do some examples.
Thanks for many new features.
It is  really great.

I’d like to ask two things. 

1. On  page 26,27, in the manual, 
> 
> http://www.pragma-ade.com/general/manuals/luametafun.pdf 
> 

a function name of the graphics are appeared as same as in the argument 
‘function = “x^2 + y^2”’. 
Though it calculates function using “x^2 + y^2”,  it is better to write the 
name of it as the output of $x^2 + y^2$.
Is it possible to write  it as in mathematical form?

2. To define a mathematical function, it uses “function = “ in Contour, while 
it uses “code = “ in Surfaces and in Functions.
Is there any reason to use two different names “function” and “code” to define 
functions?  

Thank you again.

Best regards,

Dalyoung



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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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 (lmtx) beta

2019-10-06 Thread Fabrice Couvreur
Hello,
Thanks.
Fabrice

Le sam. 5 oct. 2019 à 12:53, Mikael P. Sundqvist  a
écrit :

> Den lör 5 okt. 2019 09:45Wolfgang Schuster <
> wolfgang.schuster.li...@gmail.com> skrev:
>
>> Fabrice Couvreur schrieb am 05.10.2019 um 09:39:
>>
>> Hi Hans,
>> Where is this documentation ?
>>
>> Make a update and you will find luametafun.pdf in the documentation
>> ($TEXMF/tex/texmf-context/doc/context/documents/general/manuals/) folder.
>>
>> Wolfgang
>>
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>>
>
> I found it is also available at
>
> http://www.pragma-ade.com/general/manuals/luametafun.pdf
>
> in case one does not want to upgrade at the moment.
>
> /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
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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 (lmtx) beta

2019-10-05 Thread Mikael P. Sundqvist
Den lör 5 okt. 2019 09:45Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> skrev:

> Fabrice Couvreur schrieb am 05.10.2019 um 09:39:
>
> Hi Hans,
> Where is this documentation ?
>
> Make a update and you will find luametafun.pdf in the documentation
> ($TEXMF/tex/texmf-context/doc/context/documents/general/manuals/) folder.
>
> Wolfgang
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>

I found it is also available at

http://www.pragma-ade.com/general/manuals/luametafun.pdf

in case one does not want to upgrade at the moment.

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


  1   2   3   4   5   6   7   8   9   10   >