Re: [NTG-context] Homebrew packaging for macOS

2018-10-06 Thread Andrew Dunning
> On 7 Oct 2018, at 01:32, Hans Hagen wrote: > > How do you now update? It's just one recall to first-setup.sh Thanks for the response: to be more precise, my suggestion is more about building discoverability and trust for ConTeXt. Homebrew provides an extremely simple way of installing and

Re: [NTG-context] Homebrew packaging for macOS

2018-10-06 Thread Hans Hagen
On 10/7/2018 1:24 AM, Andrew Dunning wrote: Dear list, Has anyone ever looked into packaging ConTeXt for Homebrew on macOS (see )? Providing it as an installation option would make it far easier to obtain the latest version. How do you now update? It's just one recall to

Re: [NTG-context] Unexpected space after hyphen in xml/html export

2018-10-06 Thread Hans Hagen
On 10/7/2018 12:19 AM, Rik Kabel wrote: List, Occasionally an unexpected and unwanted space is inserted following the hyphen of a compound word in html/xml exports. In a document with about 500 such compounds, this occurs 30 times. The following input: \setupbackend

[NTG-context] Homebrew packaging for macOS

2018-10-06 Thread Andrew Dunning
Dear list, Has anyone ever looked into packaging ConTeXt for Homebrew on macOS (see )? Providing it as an installation option would make it far easier to obtain the latest version. In looking into it myself, I immediately came across the problem of not being exactly sure

[NTG-context] Unexpected space after hyphen in xml/html export

2018-10-06 Thread Rik Kabel
List, Occasionally an unexpected and unwanted space is inserted following the hyphen of a compound word in html/xml exports. In a document with about 500 such compounds, this occurs 30 times. The following input: \setupbackend [export=yes,xhtml=yes] \starttext Theocracy, the

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Hans Hagen
On 10/6/2018 10:19 PM, Aditya Mahajan wrote: Now, what I want to do (at some stage) is to extend the functionality of the filter module to call jupyter kernels. So, instead of passing messages between context and the external program through text files, the messages can be passed as JSON

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Aditya Mahajan
On Sat, 6 Oct 2018, Alan Braslau wrote: On Sat, 6 Oct 2018 13:06:18 -0400 (EDT) Aditya Mahajan wrote: In my opinion, a better long-term option is to write a jupyter client in lua that can be called by context. Then we can easily interface with all languages that provide a jupyter kernel

Re: [NTG-context] context and sqlite

2018-10-06 Thread luigi scarso
On Sat, Oct 6, 2018 at 9:02 PM luigi scarso wrote: > > > On Sat, Oct 6, 2018 at 8:01 PM Jörg Hofmann wrote: > >> I've been trying to connect ConTeXt to sqlite for almost a week >> but I have repeatedly failed. Neither the >> "internal" variant according to the documentation, nor the attempt on

Re: [NTG-context] context and sqlite

2018-10-06 Thread Hans Hagen
On 10/6/2018 8:01 PM, Jörg Hofmann wrote: I've been trying to connect ConTeXt to sqlite for almost a week but I have repeatedly failed. Neither the "internal" variant according to the documentation, nor the attempt on luasql have worked. Above all, the Google request showed me that not alone

Re: [NTG-context] context and sqlite

2018-10-06 Thread luigi scarso
On Sat, Oct 6, 2018 at 8:01 PM Jörg Hofmann wrote: > I've been trying to connect ConTeXt to sqlite for almost a week > but I have repeatedly failed. Neither the > "internal" variant according to the documentation, nor the attempt on > luasql > have worked. Above all, the Google request showed me

[NTG-context] context and sqlite

2018-10-06 Thread Jörg Hofmann
I've been trying to connect ConTeXt to sqlite for almost a week but I have repeatedly failed. Neither the "internal" variant according to the documentation, nor the attempt on luasql have worked. Above all, the Google request showed me that not alone with this problem - how reassuring. ;-) At the

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Alan Braslau
On Sat, 6 Oct 2018 13:06:18 -0400 (EDT) Aditya Mahajan wrote: > In my opinion, a better long-term option is to write a jupyter client in > lua that can be called by context. Then we can easily interface with all > languages that provide a jupyter kernel >

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 06.10.18 um 19:06: The interface of a jupter-client is available here https://jupyter-client.readthedocs.io/en/stable/index.html. It seems relatively straight forward (send a JSON message and receive a JSON message). Translating the JSON messages to ConTeXt should

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Kelley, Claire
I also just got an incredibly helpful answer over on stack overflow : https://tex.stackexchange.com/questions/453868/how-can-i-use-context-and-r-together Which shows how to use Lua and filter together Claire On 10/6/18, 1:06 PM, "ntg-context on behalf of Aditya Mahajan" wrote: >On Sat, 6

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Aditya Mahajan
On Sat, 6 Oct 2018, Kelley, Claire wrote: Again thank you everyone for their incredibly helpful advice and responsiveness! The work flow I am envisioning is: 1) Use R to read in a csv file, filter according to some rules and then use propensity score matching (based on r packages) to create

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Kelley, Claire
Again thank you everyone for their incredibly helpful advice and responsiveness! The work flow I am envisioning is: 1) Use R to read in a csv file, filter according to some rules and then use propensity score matching (based on r packages) to create a model. 2) The final data output is a

[NTG-context] \enabletrackers[*] gives lua error.

2018-10-06 Thread Ulrike Fischer
I tried to look at a font and enabled the trackers like this \enabletrackers[*] \definefont [test][name:texgyreheros] \starttext abcäöü \stoptext The context compilations fails then with ...ext/tex/texmf-context/tex/context/base/mkiv/font-oup.lua:718: attempt to call a nil value (global