[NTG-context] problems with "pagecomment"

Mohammad Hossein Bateni bateni at gmail.com
Sat Apr 27 05:16:51 CEST 2019


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
\input tufte
\startNotes
Testing
\stopNotes
\stoptext


This snippet does not compile.  Page comments work when I use the commands
\startpagecomment and \stoppagecomment directly (like in the first page),
but when I invoke via macros (as in the second page), ConTeXt produces
errors.

What is wrong there?

Thanks!
~MHB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190426/4c74a21c/attachment.html>


More information about the ntg-context mailing list