[NTG-context] referencing is broken in version: 2018.08.15 18:45

2018-08-15 Thread Rik Kabel
With this example code from the wiki (slightly modified for use here): \setuppapersize[A5] \starttext \placeformula[eq:pythagoras] \startformula   a^2+b^2=c^2 \stopformula This is explained in \in{Equation}{.}[eq:pythagoras] \stoptext The following output is obtained:

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-15 Thread Joseph Canedo
I also noticed that (at least some) latelua functions do not seem called (They output stuff in the log and these are no longer present). De : Hans Hagen Envoyé le :mercredi 15 août 2018 23:32 À : ntg-context@ntg.nl >> mailing list for ConTeXt users Objet :Re: [NTG-context]

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-15 Thread Rik Kabel
On 8/15/2018 03:07, Hans Hagen wrote: On 8/15/2018 5:31 AM, Aditya Mahajan wrote: On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua, buffers.getcontent('name') gives the

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-15 Thread Hans Hagen
On 8/15/2018 10:37 PM, Joseph Canedo wrote: Hi, I use the global lua table ConTeXt provides called : structures.lists.ordered to perform some manipulations with sections (using structures.lists.ordered.section which is itself a lua table), but from latest beta it seems that that variable (a

[NTG-context] structures.lists.ordered empty in latest beta

2018-08-15 Thread Joseph Canedo
Hi, I use the global lua table ConTeXt provides called : structures.lists.ordered to perform some manipulations with sections (using structures.lists.ordered.section which is itself a lua table), but from latest beta it seems that that variable (a lua table) is now completely empty. Is this

Re: [NTG-context] embedded sounds aren’t played

2018-08-15 Thread Hans Hagen
On 8/15/2018 10:17 PM, Pablo Rodriguez wrote: On 08/15/2018 09:34 PM, Hans Hagen wrote: On 8/15/2018 7:25 PM, Pablo Rodriguez wrote: If you need it you can spend some time on deciphering the latest spec and tell me what is missing. I need it. I already spent some time trying to decipher what

Re: [NTG-context] embedded sounds aren’t played

2018-08-15 Thread Pablo Rodriguez
On 08/15/2018 09:34 PM, Hans Hagen wrote: > On 8/15/2018 7:25 PM, Pablo Rodriguez wrote: >>> If you need it you can spend some time on deciphering the latest spec >>> and tell me what is missing. >> >> I need it. I already spent some time trying to decipher what was wrong. >> But I failed. It

Re: [NTG-context] embedded sounds aren’t played

2018-08-15 Thread Hans Hagen
On 8/15/2018 7:25 PM, Pablo Rodriguez wrote: On 08/14/2018 06:35 PM, Hans Hagen wrote: On 8/14/2018 5:38 PM, Pablo Rodriguez wrote: Dear list, this is sounds-001.tex from the examples: [...] As I cannot check it myself with Acrobat for Linux (it seems to lack a player for MP3 files), I asked

Re: [NTG-context] latest beta (2018.08.14 23:10)

2018-08-15 Thread Pablo Rodriguez
On 08/15/2018 06:31 PM, Pablo Rodriguez wrote: > On 08/15/2018 05:49 PM, Alan Bowen wrote: >> When I run the latest standalone beta, the following >> >> \starttext >> Hello, world! >> \stoptext >> >> fails with the error message: >> [...] > > I can confirm the break in the compilation. Many

Re: [NTG-context] embedded sounds aren’t played

2018-08-15 Thread Pablo Rodriguez
On 08/14/2018 06:35 PM, Hans Hagen wrote: > On 8/14/2018 5:38 PM, Pablo Rodriguez wrote: >> Dear list, >> >> this is sounds-001.tex from the examples: >> [...] >> As I cannot check it myself with Acrobat for Linux (it seems to lack a >> player for MP3 files), I asked at the Spanish TeX mailing

Re: [NTG-context] latest beta (2018.08.14 23:10)

2018-08-15 Thread Pablo Rodriguez
On 08/15/2018 05:49 PM, Alan Bowen wrote: > When I run the latest standalone beta, the following > > \starttext > Hello, world! > \stoptext > > fails with the error message: > [...] I can confirm that the break in the compilation. Exactly the same message here. Pablo -- http://www.ousia.tk

[NTG-context] latest beta (2018.110.14)

2018-08-15 Thread Alan Bowen
When I run the latest standalone beta, the following \starttext Hello, world! \stoptext fails with the error message: lua error > lua error on line 5 in file /Users/bowen1/Desktop/TestTeX/test-01.tex: ...eXt/tex/texmf-context/tex/context/base/mkiv/cldf-ini.lua:1120: no string to print

Re: [NTG-context] XML to ConTeXt: converting date attribute from ISO date

2018-08-15 Thread Hans Hagen
On 8/15/2018 12:27 PM, Mike O'Connor wrote: G’Day, Having a first go at converting TEI XML to ConTeXt. Steep learning curve, but easier (for me) than XSLT, and first results were amazing.  Using http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf as a guide. Currently stuck on

[NTG-context] XML to ConTeXt: converting date attribute from ISO date

2018-08-15 Thread Mike O'Connor
G’Day, Having a first go at converting TEI XML to ConTeXt. Steep learning curve, but easier (for me) than XSLT, and first results were amazing. Using http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf as a guide. Currently stuck

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-15 Thread Xavier B.
On Tue, 14 Aug 2018 09:49:05 +0200 Hans Hagen ha escrit: > On 8/13/2018 11:37 PM, dxpubl...@posteo.net wrote: > > Hi, > > > > I have simple document which I define my \definetextbackground: > > \startteoria and \stopteoria (see below). When I use it and put table > > within, the table does

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-15 Thread Hans Hagen
On 8/15/2018 5:31 AM, Aditya Mahajan wrote: On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua, buffers.getcontent('name') gives the contents of the buffer labelled 'name'.

Re: [NTG-context] Use of context in lua

2018-08-15 Thread Henri Menke
On 15/08/18 17:46, Jan U. Hasecke wrote: On 14.08.2018 16:58, Pablo Rodriguez wrote: I rewrote your sample as (xtables are the only tables I know in ConTeXt): \starttext \startlua context.startxtable() context.startxrow() context.startxcell()