[NTG-context] MetaFun: how to check the number of arguments

2019-01-14 Thread Jeong Dal
Dear all, In the following sample, it draws squares with label which is given. I’d like to know how to check the number of elements in the second argument? If it is 0, then I just draw grids only. Thank you for reading. Best regards, Dalyoung \startbuffer[defs] def drawGridF (expr

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-14 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 14.01.19 um 08:39: Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: Here is a example which shows how you can change the background color of a empty page before the chapter title. \setuppagenumbering   [alternative=doublesided] \startsetups [chapter:before]