Re: [NTG-context] optical bounds with hanging diacritics

2018-11-26 Thread Hans Hagen
On 11/24/2018 10:02 PM, Pablo Rodriguez wrote: Hans, I added lfbd values for GFS Didot (attached) to get hanging diacritics in Greek. The attached PDF document is the optput from the following code: \showframe \setuplayout[topspace=1cm, height=middle, footer=0cm, header=0cm]

Re: [NTG-context] Grammar to parse TeX input?

2018-11-26 Thread Hans Hagen
On 11/26/2018 3:19 PM, Joseph Canedo wrote: \startluacode function zzz_function(text) - How to process ‘text’ to get bits which are macros, groups etc… ? Eventually expanded ? end \stopluacode \definebuffer[ZZZBuffer] \def\StartZZZ{\grabbufferdata[ZZZBuffer][StartZZZ][StopZZZ]}

Re: [NTG-context] Problems with setups module

2018-11-26 Thread Wolfgang Schuster
Hi Tommaso, I sent a fix to the dev list and the problem should be fixed in a new beta. Wolfgang Tommaso Gordini schrieb am 26.11.18 um 11:08: Hi everyone. The following code gives different results by commenting and decommending the indicated lines. Could it be a problem with the setups

[NTG-context] Grammar to parse TeX input?

2018-11-26 Thread Joseph Canedo
Dear list, I use a buffer to make some text processing. That text contains TeX macros etc… and I’d like to know if there is some feature in lua to parse the text to extract bits which macros, normal text etc… ? Thanks Best regards Joseph Example of pseudo MWE follows. \startluacode

Re: [NTG-context] Problems with setups module

2018-11-26 Thread Tommaso Gordini
Sorry, the correct code is the following: \usemodule [setups] \starttext \startbuffer \framed [width=3cm,height=1cm] {testo} \stopbuffer \typebuffer \getbuffer \cmdfullsetup [setuppapersize] \startbuffer[foo] \framed [width=3cm,height=1cm] {testo} \stopbuffer \typebuffer[foo]

[NTG-context] Problems with setups module

2018-11-26 Thread Tommaso Gordini
Hi everyone. The following code gives different results by commenting and decommending the indicated lines. Could it be a problem with the setups module? Thanks in advance Tommy \usemodule [setups] \starttext %\startbuffer %\framed [width=3cm,height=1cm] {testo} %\stopbuffer %

Re: [NTG-context] Subformula numbering

2018-11-26 Thread luigi scarso
On Mon, Nov 26, 2018 at 8:40 AM adrien Licari wrote: > Hi everyone, > > I can't get cases subformula to work properly. My MWE, inspired from the > wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : > > \starttext\placeformula\startformula > \startcases > \NC x