Hans van der Meer schrieb am 07.06.2020 um 11:50:
I gues there are errors in \margindata. See the minimal example. The
contextversion is fresh loaded just before this test.
(1) \margindata{test} gives an error. The log message is:
tex error > tex error on line 9 in file ./margindata.tex: ! Use of
\typo_margins_data_yes doesn't match its definition l.9 \margindata{
text1}%
One has to use \margindata[]{test} to avoid the error.
\margindata expects the name of the instance (e.g [inmargin]) as first
argument which is missing in your example. This means
\inmargin{...}
is the same as
\margindata[inmargin]{...}
(2) \margindata[]{test} has spurious whitespace, \margindata[]{test}%
must be used to avoid that.
This is normal because when you use \marigindata within a paragraph you
create something similar to this:
\starttext
text text
text {} text
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________