ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Question about headcommand
@ 2016-07-21 22:57 Fabrice Couvreur
  2016-07-21 23:22 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Couvreur @ 2016-07-21 22:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1504 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-22  9:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-21 22:57 Question about headcommand Fabrice Couvreur
2016-07-21 23:22 ` Wolfgang Schuster
2016-07-22  0:02   ` Fabrice Couvreur
2016-07-22  6:08     ` Wolfgang Schuster
2016-07-22  7:48       ` Fabrice Couvreur
2016-07-22  8:26         ` Wolfgang Schuster
2016-07-22  9:51           ` Fabrice Couvreur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).