[NTG-context] Question about headcommand

Fabrice Couvreur fabrice1.couvreur at gmail.com
Fri Jul 22 00:57:26 CEST 2016


Hello,
In the code below, why headcommand enough ?
thanks,
Fabrice

\setupbodyfont[pagella,11pt]

 \defineframed
       [ACFRAME]
       [width=0.5cm,
        height=0.5cm,
        background=color,
        backgroundcolor=red,
        foregroundcolor=white,
        forgroundstyle=bold,
        framecolor=red,
        ]

\defineenumeration
  [ex]
   [text=,
    distance=0.3em,
    width=fit,
    headcommand=\ACFRAME,
    %numberconversionset=ACCONVERSION,
    alternative=serried,
   ]

%\defineprocessor[ACPROCESSOR][color=white,command=\groupedcommand{}{}]
%\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]

\starttext

\dorecurse {5} {
            \startex
              \input knuth
            \stopex
     }


\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160722/e7169806/attachment-0001.html>


More information about the ntg-context mailing list