Re: [NTG-context] developer not verified error

2019-11-19 Thread Hans Hagen
On 11/18/2019 10:32 PM, Henri Menke wrote: In macOS Catalina Apple introduced “notarization”, i.e. anything you install has to have Apple's blessing, otherwise it will refuse to install and show you a message that it is malware. Dick Koch, maintainer of MacTeX ran into the same problems, as he

Re: [NTG-context] developer not verified error

2019-11-19 Thread Taco Hoekwater
> On 18 Nov 2019, at 22:25, Alan Bowen wrote: > > This seems to be a problem peculiar to Catalina (macOS 10.15.1). There is a > fix, as Otared and Glen have indicated. > > go to Apple menu -> Preferences -> Security & Privacy > on the Security & Privacy, login, choose the tab General >

Re: [NTG-context] context command line interface documentation?

2019-11-19 Thread Hans Hagen
Hi, What you’re describing is the behavior I’m trying to achieve. The error location reporting works for me, but context will still continue after an error for me: If I don’t specify --nonstopmode or so it’ll try to recover, and even when I specify it, there will be other output after the

Re: [NTG-context] developer not verified error

2019-11-19 Thread Hans Hagen
On 11/19/2019 10:06 AM, Taco Hoekwater wrote: On 18 Nov 2019, at 22:25, Alan Bowen wrote: This seems to be a problem peculiar to Catalina (macOS 10.15.1). There is a fix, as Otared and Glen have indicated. go to Apple menu -> Preferences -> Security & Privacy on the Security &

Re: [NTG-context] context command line interface documentation?

2019-11-19 Thread Hans Hagen
Concerning errors, one can say context --directives="system.showerror" somefile and on an error an html file is generated (old feature) ... i still couldn't figure out a way to reliable launch a browser and target the same tab (so autolaunch is disabled for now) Hans

Re: [NTG-context] Exchangeing content of variables between luacode and context

2019-11-19 Thread Henning Hraban Ramm
Hi Rudolf, storing variable states within the script sounds like AppleScript… Why don’t you write your settings into some file (a Lua table representation would make sense, otherwise something like JSON or INI) and read that in in every run, if it exists? Grüßlinge, Hraban ---

[NTG-context] Exchangeing content of variables between luacode and context

2019-11-19 Thread Rudolf Bahr
Hello All! To send variable contents from context to luacode I can put them into the function invocation or use 'tokens.getters.macro("TestA")', an interesting and very nice possibility to let luacode itself getting contents of context macros. The (only?) way back, from luacode to context, could

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-19 Thread Paul Mazaitis
Some further progress! On 18 Nov 2019, at 13:56, Hans Hagen wrote: the problem with calculate is that there are also settings related to it (plus some built-in addition stuff, at least that's what i see in the viewer preferences and such, which is likely to interfere) From what I've been

[NTG-context] layers and \llap

2019-11-19 Thread Pablo Rodriguez
Hi Hans, this comes from a previous message about an issue with \llap and layers. Here is the sample: \defineviewerlayer[print][state=stop,printable=yes] \defineviewerlayer[view][state=start,printable=no] \starttext \startviewerlayer[view]\color[red]{\TeX}\stopviewerlayer%

Re: [NTG-context] Exchangeing content of variables between luacode and context

2019-11-19 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 19.11.2019 um 14:19: Hello All! To send variable contents from context to luacode I can put them into the function invocation or use 'tokens.getters.macro("TestA")', an interesting and very nice possibility to let luacode itself getting contents of context macros. The

Re: [NTG-context] layers and \llap

2019-11-19 Thread Henri Menke
On 11/20/19 3:16 AM, Pablo Rodriguez wrote: > Hi Hans, > > this comes from a previous message about an issue with \llap and layers. > > Here is the sample: > > \defineviewerlayer[print][state=stop,printable=yes] > \defineviewerlayer[view][state=start,printable=no] > > \starttext >

Re: [NTG-context] Exchangeing content of variables between luacode and context

2019-11-19 Thread Rudolf Bahr
On Tue, Nov 19, 2019 at 04:55:15PM +0100, Wolfgang Schuster wrote: > > Can you make a minimal example of your actual problem. No, sorry, I can't. My 'actual problem' is more or less a design problem: Should in a book project ConTeXt be the master and Luacode the slave or vice versa? Both seems

Re: [NTG-context] context command line interface documentation?

2019-11-19 Thread Philipp A.
That’s pretty cool, overriding that hook allows to build a ConTeXt language server for editors like VS Code! https://microsoft.github.io/language-server-protocol/ Sadly I’m still a bit lost: When calling `context file_with_error.tex`, I see “This is LuaTeX, Version 1.10 … tex error on line … ?”

Re: [NTG-context] layers and \llap

2019-11-19 Thread Pablo Rodriguez
On 11/19/19 9:48 PM, Henri Menke wrote: > On 11/20/19 3:16 AM, Pablo Rodriguez wrote: >> [...] >> Everything works fine if the layer with \llap is placed first. >> >> I guess this might be a bug. > > Works for me on both Evince and Foxit Reader. I can't test Adobe because I'm > on Linux. > > Try

Re: [NTG-context] layers and \llap

2019-11-19 Thread Otared Kavian
Hi Pablo, I can reproduce the issue on MacOS on Acrobat Reader, and also on Adobe Acrobat Pro. In fact turning off any last viewerlayer makes the text disappear. Best regards: OK > On 19 Nov 2019, at 22:10, Pablo Rodriguez wrote: > > On 11/19/19 9:48 PM, Henri Menke wrote: >> On 11/20/19

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-19 Thread Paul Mazaitis
On 18 Nov 2019, at 3:48, Hans Hagen wrote: Here's something to play with ... note the Number conversion! A ha! Many thanks (for some reason I didn't get this email until just now); I'll try to tackle it this way and see what I can make work. \usemodule[fields] \starttext [...]