Re: [NTG-context] problems with "pagecomment"

2019-04-27 Thread Mohammad Hossein Bateni
I see. Thanks for the explanation. So the following works: --- \unprotect \setvalue{startNotes}% {\global\settrue\c_page_comment_enabled \grabbufferdatadirect{pagecomment}{startpagecomment}{stopNotes}} \protect \def\stopNotes{} --

Re: [NTG-context] problems with "pagecomment"

2019-04-26 Thread Wolfgang Schuster
Mohammad Hossein Bateni schrieb am 27.04.2019 um 05:16: Hi, Look at the following MWE: \setuppagecomment[state=start,location=right] %\definestartstop[Notes] %[before=\startpagecomment,after=\stoppagecomment] \def\startNotes{\startpagecomment} \def\stopNotes{\stoppagecomment} \starttext

[NTG-context] problems with "pagecomment"

2019-04-26 Thread Mohammad Hossein Bateni
Hi, Look at the following MWE: \setuppagecomment[state=start,location=right] %\definestartstop[Notes] %[before=\startpagecomment,after=\stoppagecomment] \def\startNotes{\startpagecomment} \def\stopNotes{\stoppagecomment} \starttext \input knuth \startpagecomment Hello \stoppagecomment \page