[NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-10-14 Thread Cron Daemon via ntg-context
receiving incremental file list ./ ctan.lsr document-2.htm download-1.htm download-2.htm logo-ade.png logo-cts.png logo-pod.png rss.xml show-fil.pdf context/latest/ context/latest/cont-mpd.zip context/latest/cont-ppc.zip context/latest/cont-sci.zip context/latest/cont-tmf.zip

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alain Delmotte via ntg-context
Hi! Le 14/10/2022 à 16:24, Pablo Rodriguez via ntg-context a écrit : Dear list, I have the following sample: \setuppapersize[A7] \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent

[NTG-context] ToC filler dots not aligned

2022-10-14 Thread Schister, Roman via ntg-context
Hi, If I typeset a table of contents with the latest version of ConTeXt on my computer (2022.09.11 20:44 LMTX), the filler dots used in list alternative C aren’t aligned (i.e., they don’t end flush next to the page number). Typesetting the same file with the online version on ConTeXt Garden

Re: [NTG-context] atan2 function

2022-10-14 Thread Thangalin via ntg-context
I don't think an atantwo is needed. I *thought* I had read somewhere that atan( y, x ) was equivalent to calling atan2 in Lua. Ensuring there's no breakage when x == y would be nice, though. It was a little surprising to see angle return degrees rather than radians, but it does simplify my code:

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:48:42 - (UTC) Nicola via ntg-context wrote: > On 2022-10-14, Alan Braslau via ntg-context > wrote: > > A recent upgrade of the editor neovim leads to the following error > > when using % identification at the head of .tex source > > files. > > The ConTeXt plugin

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Nicola via ntg-context
On 2022-10-14, Alan Braslau via ntg-context wrote: > On Fri, 14 Oct 2022 16:48:42 - (UTC) > Nicola via ntg-context wrote: > >> On 2022-10-14, Alan Braslau via ntg-context >> wrote: >> > A recent upgrade of the editor neovim leads to the following error >> > when using % identification at

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Nicola via ntg-context
On 2022-10-14, Alan Braslau via ntg-context wrote: > A recent upgrade of the editor neovim leads to the following error > when using % identification at the head of .tex source files. The ConTeXt plugin (as well as MetaPost and MetaFont ones) has recently been rewritten in Vim 9 script (the new

Re: [NTG-context] ToC filler dots not aligned

2022-10-14 Thread Pablo Rodriguez via ntg-context
On 10/14/22 17:29, Schister, Roman via ntg-context wrote: > Hi, > > If I typeset a table of contents with the latest version of ConTeXt > on my computer (2022.09.11 20:44 LMTX), the filler dots used in list > alternative C aren’t aligned [...] Hi Roman, I compiled your code with version from

Re: [NTG-context] lmt_outline not rendering properly

2022-10-14 Thread Jacob Kauffmann via ntg-context
Hi, I can confirm that the rendering is fixed in the newest upload 2022.10.14 10:16. Cheers, Jacob > Am 23.09.2022 um 17:42 schrieb Mikael Sundqvist via ntg-context > : > > On Thu, Sep 22, 2022 at 11:15 AM Jacob Kauffmann via ntg-context > wrote: >> >> Dear list, >> >> attached is an

[NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
A recent upgrade of the editor neovim leads to the following error when using % identification at the head of .tex source files. Error detected while processing BufReadPost Autocommands for "*": Error executing lua callback: /usr/local/share/nvim/runtime/lua/vim/filetype/detect.lua:1248:

Re: [NTG-context] atan2 function

2022-10-14 Thread Taco Hoekwater via ntg-context
> On 14 Oct 2022, at 14:26, Alan Braslau via ntg-context > wrote: > > Are you using MP in scaled integer or in doubleprecision mode? > > I have not looked into the MP angle operator code, but my suspicion is that > it is based on some super-clever John Hobby scheme optimized for scaled >

Re: [NTG-context] new upload

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

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 10:07:19 +0200 Hans Hagen via ntg-context wrote: > So you suggest to add atantwo? As side note, you can redure your > definition to: > > vardef atantwo(expr dy, dx) = > if dx == 0 : > if dy < 0 : - fi pi / 2 > else : >

Re: [NTG-context] atan2 function

2022-10-14 Thread luigi scarso via ntg-context
On Fri, 14 Oct 2022 at 14:58, Taco Hoekwater via ntg-context < ntg-context@ntg.nl> wrote: > > > > On 14 Oct 2022, at 14:26, Alan Braslau via ntg-context < > ntg-context@ntg.nl> wrote: > > > > Are you using MP in scaled integer or in doubleprecision mode? > > > > I have not looked into the MP

Re: [NTG-context] new upload

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:14:01 +0200 Pablo Rodriguez via ntg-context wrote: > I have discovered that it includes in > tex/texmf-context/source/luametatex what should be the LMTX source > (about 11MB). > > I wonder whether this could be made optional. Internet speed is not > constant where I live

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
Are you using MP in scaled integer or in doubleprecision mode? I have not looked into the MP angle operator code, but my suspicion is that it is based on some super-clever John Hobby scheme optimized for scaled integer calculations. Hans has integrated the entire math library (and more) into

[NTG-context] issues with current latest

2022-10-14 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A7] \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent \startsection[title={sec}, list=(before \&\ now), reference=a] \page \in[a] (after 2022.10.14

[NTG-context] new upload

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

Re: [NTG-context] atan2 function

2022-10-14 Thread Hans Hagen via ntg-context
On 10/14/2022 2:35 AM, Max Chernoff via ntg-context wrote: Hi, The angle function doesn't appear to provide the same calculation as my atantwo in all cases. They both give the same results, but "angle" gives a result in degrees while "atantwo" gives a result in radians. This demo:

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-14 Thread Hans Hagen via ntg-context
On 10/13/2022 1:52 PM, Gavin via ntg-context wrote: Hi Oli, Thank four your effort. I found out, that the following definition of a new unit, i called it SI, results also in a correct spaceing in the math environment: \defineunit[SI][alternative=text] It seems, that the option

Re: [NTG-context] issues with current latest

2022-10-14 Thread Max Chernoff via ntg-context
On Fri, 2022-10-14 at 16:38 -0600, Alan Braslau wrote: > On Fri, 14 Oct 2022 16:33:12 -0600 > Max Chernoff wrote: > > > Do you know how to rebuild the format? I've tried the following to no > > avail: > > > > --script mtx-context > > I believe that you have to give the full script path here to

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 11:59:49 -0700 Thangalin wrote: > I don't think an atantwo is needed. I *thought* I had read somewhere > that atan( y, x ) was equivalent to calling atan2 in Lua. Ensuring > there's no breakage when x == y would be nice, though. It was a little > surprising to see angle

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:09:41 -0700 Thangalin wrote: > Would making the conditional part of the API be useful to others? Of course, $\tan^{-1}(\pm 1)$ is undefined (mathematically). Alan ___ If your question is of

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 18:59:24 - (UTC) Nicola via ntg-context wrote: > Yours is a valid concern, but maintaining (Neo)Vim plugins is > a community effort. I took over the development of the ConTeXt plugin > because I wanted to improve the support for ConTeXt in Vim, and at the > time the

Re: [NTG-context] issues with current latest

2022-10-14 Thread Max Chernoff via ntg-context
Hi Alan, On Fri, 2022-10-14 at 16:20 -0600, Alan Braslau wrote: > On Fri, 14 Oct 2022 15:38:52 -0600 > Max Chernoff via ntg-context wrote: > > >$ context --luatex test.tex >mtx-context | redirect luametatex -> luatex: luatex --luaonly >

Re: [NTG-context] issues with current latest

2022-10-14 Thread Pablo Rodriguez via ntg-context
On 10/14/22 16:34, Alain Delmotte via ntg-context wrote: > Hi! Hi Alain, many thanks for your help. > For me it works! And > > also for this! I’m afraid that I cannot make latest from 2022.10.14 10:16 with LuaTeX. I’m on Linux64. I hope I may make it work with Win64. As for the issue with

[NTG-context] list not following "focus=standard"

2022-10-14 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \section{section} a\footnote{\contextversion} \stoptext With version from 2022.09.11 20:44, the link from the TOC reads in the PDF file: 4 0 obj << /D [ 1 0 R

Re: [NTG-context] issues with current latest

2022-10-14 Thread Max Chernoff via ntg-context
Hi Pablo, > I’m afraid that I cannot make latest from 2022.10.14 10:16 with LuaTeX. > > I’m on Linux64. I've got the same configuration and I'm getting the same results: $ context --luatex test.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:33:12 -0600 Max Chernoff wrote: > Do you know how to rebuild the format? I've tried the following to no > avail: > > --script mtx-context I believe that you have to give the full script path here to mtxrun Alan

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 18:59:24 - (UTC) Nicola via ntg-context wrote: > > I wonder why a lua error is reported? > > Sorry, I should have said that I am only *assuming* that what I wrote > may be the reason for the error. In fact, I have now tried to open > a file starting with %, and I get

Re: [NTG-context] atan2 function

2022-10-14 Thread Thangalin via ntg-context
That's certainly tighter, thank you, Alan. Would making the conditional part of the API be useful to others? Cheers! On Fri, Oct 14, 2022 at 3:42 PM Alan Braslau wrote: > > On Fri, 14 Oct 2022 11:59:49 -0700 > Thangalin wrote: > > > I don't think an atantwo is needed. I *thought* I had read

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Henning Hraban Ramm via ntg-context
Isn’t the tree-sitter parser enough for syntax highlighting in NeoVim? https://wiki.contextgarden.net/pm39_tree_sitter_parser https://github.com/pmazaitis/tree-sitter-context_en (I don’t use either and can’t help further.) Hraban

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 15:38:52 -0600 Max Chernoff via ntg-context wrote: $ context --luatex test.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex test.tex --redirected mtxrun |