Re: [NTG-context] xtables with lua

2018-10-01 Thread Aditya Mahajan
On Mon, 1 Oct 2018, Fabrice Couvreur wrote: Hi, Thank you Aditya for the link. I knew that with natural tables, but I hoped it could be done with xtables too. Almost the same code works with xtables as well (in your example, I don't know the relationship between the columns) \starttext \sta

Re: [NTG-context] xtables with lua

2018-10-01 Thread Fabrice Couvreur
Hi, Thank you Aditya for the link. I knew that with natural tables, but I hoped it could be done with xtables too. Fabrice Le lun. 1 oct. 2018 à 05:50, Aditya Mahajan a écrit : > On Mon, 1 Oct 2018, Jeong Dal wrote: > > > What do you mean “does not typeset correctly as expected”? > > As I said,

Re: [NTG-context] xtables with lua

2018-09-30 Thread Aditya Mahajan
On Mon, 1 Oct 2018, Jeong Dal wrote: What do you mean “does not typeset correctly as expected”? As I said, I fixed the post. I copied and tested the last example and got the result without error. One problem is that the vertical alignment is not centered as the example of Aditya’s. Would yo

Re: [NTG-context] xtables with lua

2018-09-30 Thread Jeong Dal
Dear Otared, What do you mean “does not typeset correctly as expected”? I copied and tested the last example and got the result without error. One problem is that the vertical alignment is not centered as the example of Aditya’s. Would you please tell me what I miss? Thank you. Best regards,

Re: [NTG-context] xtables with lua

2018-09-30 Thread Aditya Mahajan
On Mon, 1 Oct 2018, Otared Kavian wrote: Hi Aditya, Thanks for pointing to your context-blog: one learns always some good stuff there! I wanted to make an observation about the last example in that page, which does not typeset correctly as expected, and also it does not work well if one wan

Re: [NTG-context] xtables with lua

2018-09-30 Thread Otared Kavian
Hi Aditya, Thanks for pointing to your context-blog: one learns always some good stuff there! I wanted to make an observation about the last example in that page, which does not typeset correctly as expected, and also it does not work well if one wanted to make a multiplication table instead o

Re: [NTG-context] xtables with lua

2018-09-30 Thread Aditya Mahajan
On Sun, 30 Sep 2018, Fabrice Couvreur wrote: Hi, Is it possible to fill columns A, B and C using a loop with lua ? Thank you. Here is a blog post summarizing a similar question from almost a decade ago: https://adityam.github.io/context-blog/post/tex-programming/ Aditya ___

[NTG-context] xtables with lua

2018-09-30 Thread Fabrice Couvreur
Hi, Is it possible to fill columns A, B and C using a loop with lua ? Thank you. Fabrice \starttext \startxtable[align={lohi,middle},bodyfont=8pt,width=0.8cm] \startxrow \startxcell \stopxcell \startxcell A \stopxcell \startxcell