On Sun, 24 Oct 2010, Herbert Voss wrote:

The documentation and the wiki show the syntax for \mar

        1       2
\mar [...,...] {...}
     OPTIONAL
1  REFERENCE
2  CONTENT

When I use the optional argument, then the [ is taken
as an argument for the content, which is correct placed
into the margin, but the rest "foo]{+}..." is taken as
default text. I suppose, that \mar has no optional
argument?

Right. This is the definition in strc-itm.mkiv

\def\itemgroupmargin#1%
  {\the\itemgroupfinalizer
   \def\marsymbol
     {\llap
        {\dosetitemattributes\currentitemlevel\c!marstyle\c!marcolor{#1}%
         \hskip\leftskip\hskip\leftmargindistance}}%
   \itemgroupitem}

\appendtoks \letvalue\v!mar  \itemgroupmargin  \to \itemgroupcommands

Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to