Re: [NTG-context] two nested \mathbin command changes spacing

2018-05-17 Thread Hans Hagen
On 4/30/2018 6:50 PM, Ulrike Fischer wrote: In the following document the second a is much nearer placed to the V: \starttext $V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $ \stoptext (in the second case an italic kern seems to be missing) Can one avoid this side effect of nested

Re: [NTG-context] roadmap

2018-05-17 Thread Hans Hagen
On 5/17/2018 5:47 PM, Otared Kavian wrote: Hi Mohammad Hossein, Thanks for your work regarding the RawSteps! However I tried just now the examples you have on github, but it seems that it does not work out of the box: ConTeXt reports an error at line 114 of p-rsteps.tex, complaining about an

Re: [NTG-context] roadmap

2018-05-17 Thread Otared Kavian
Hi Mohammad Hossein, Thanks for your work regarding the RawSteps! However I tried just now the examples you have on github, but it seems that it does not work out of the box: ConTeXt reports an error at line 114 of p-rsteps.tex, complaining about an « Undefined control sequence » which points

Re: [NTG-context] roadmap

2018-05-17 Thread Mohammad Hossein Bateni
Fabrice, Accepting the caveats Hans pointed out for problematic spacing and some issues with references, you might find [ https://github.com/bateni/rawsteps-mkiv] useful. I ported RawSteps to MkIV and have used it in a few presentations. The version on github might be buggy, but a good start if

Re: [NTG-context] roadmap

2018-05-17 Thread Hans Hagen
On 5/16/2018 9:14 PM, Fabrice L wrote: Dear all, > - Check what additional features users want (miss) and decide to what extent and with what priority we will put effort in this. As asked, I add a wish to the list... One feature which I depend a lot on is to be able to do animations: I

[NTG-context] libcurl via FFI

2018-05-17 Thread Henri Menke
Dear list, As announced in another thread, here a better annotated example of using libcurl via FFI in ConTeXt, see attached. On my old laptop: context: 3.482 seconds context --jit:2.742 seconds context --jiton: 2.693 seconds Cheers, Henri \startluacode local ffi =

Re: [NTG-context] Files on a server

2018-05-17 Thread Henri Menke
On 05/17/2018 09:03 PM, Taco Hoekwater wrote: > > >> On 17 May 2018, at 10:31, Taco Hoekwater wrote: >> >> Anyway, perhaps someone can answer me this? I tried the ffi/curl code, >> and the network stuff works, but only when I comment out the write >> callback: >> >>

Re: [NTG-context] Files on a server

2018-05-17 Thread Taco Hoekwater
> On 17 May 2018, at 10:31, Taco Hoekwater wrote: > > Anyway, perhaps someone can answer me this? I tried the ffi/curl code, > and the network stuff works, but only when I comment out the write > callback: > > lcurl.curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, >

Re: [NTG-context] Files on a server

2018-05-17 Thread luigi scarso
On Thu, May 17, 2018 at 9:54 AM, Taco Hoekwater wrote: > > Doing https would need openssl support, which is unlikely to > ever be built into luatex. > > We could provide a ffi wrapper (once ffi is stable) or a swiglib wrapper as module. Something to discuss at meeting. --

Re: [NTG-context] Files on a server

2018-05-17 Thread Hans Hagen
On 5/17/2018 9:54 AM, Taco Hoekwater wrote: On 17 May 2018, at 09:39, Taco Hoekwater wrote: On 17 May 2018, at 09:32, Ulrike Fischer wrote: Am Wed, 16 May 2018 14:23:42 +0200 schrieb Taco Hoekwater: Or use luasocket, which is included in the

Re: [NTG-context] Files on a server

2018-05-17 Thread Taco Hoekwater
> On 17 May 2018, at 10:20, Ulrike Fischer wrote: > > Am Thu, 17 May 2018 09:39:47 +0200 schrieb Taco Hoekwater: > Or use luasocket, which is included in the luatex binary: > >>> But I'm right that this works only with http and not with https? > >> Works ok for me.

Re: [NTG-context] Files on a server

2018-05-17 Thread Ulrike Fischer
Am Thu, 17 May 2018 09:54:25 +0200 schrieb Taco Hoekwater: >> Works ok for me. Did you test? > > Oh, sorry. It seems it is sneakily rewriting the https:// to http://, > and so does not _actually_ work. Ah. This explains why it seemed to work for https://httpbin.org/html, http://httpbin.org/html

Re: [NTG-context] Files on a server

2018-05-17 Thread Ulrike Fischer
Am Thu, 17 May 2018 09:39:47 +0200 schrieb Taco Hoekwater: >>> Or use luasocket, which is included in the luatex binary: >> But I'm right that this works only with http and not with https? > Works ok for me. Did you test? I tried a few links and always got 301 back regardless if they exist or

Re: [NTG-context] Files on a server

2018-05-17 Thread Taco Hoekwater
> On 17 May 2018, at 09:39, Taco Hoekwater wrote: > > > >> On 17 May 2018, at 09:32, Ulrike Fischer wrote: >> >> Am Wed, 16 May 2018 14:23:42 +0200 schrieb Taco Hoekwater: >> >>> Or use luasocket, which is included in the luatex binary: >> >> But

Re: [NTG-context] Files on a server

2018-05-17 Thread Hans van der Meer
I too have the impression it is working for both. Hans van der Meer > On 17 May 2018, at 09:39, Taco Hoekwater wrote: > > > >> On 17 May 2018, at 09:32, Ulrike Fischer wrote: >> >> Am Wed, 16 May 2018 14:23:42 +0200 schrieb Taco Hoekwater: >> >>> Or

Re: [NTG-context] Files on a server

2018-05-17 Thread Taco Hoekwater
> On 17 May 2018, at 09:32, Ulrike Fischer wrote: > > Am Wed, 16 May 2018 14:23:42 +0200 schrieb Taco Hoekwater: > >> Or use luasocket, which is included in the luatex binary: > > But I'm right that this works only with http and not with https? Works ok for me. Did you

Re: [NTG-context] Files on a server

2018-05-17 Thread Ulrike Fischer
Am Wed, 16 May 2018 14:23:42 +0200 schrieb Taco Hoekwater: > Or use luasocket, which is included in the luatex binary: But I'm right that this works only with http and not with https? -- Ulrike Fischer http://www.troubleshooting-tex.de/