On Sun, 20 May 2018 08:02:46 -0600, Wolfgang Schuster
\definelabel[idris][text=,headstyle=,numberconversion=R]
\defineframed [NUM] [width=fit, align=middle, frame=off, background=color, backgroundcolor=green, top={\idris\par}, location=bottom]
\starttext \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stoptext
Wow.. many thanks! Idris
Wolfgang
Idris Samawi Hamid ادريس سماوي حامد mailto:Idris.Hamid@colostate.edu 19. Mai 2018 um 23:34 Dear gang,
Just put together a macro that appears to do what's desired. However, is there a cleaner, more ConTeXt-like way to do this?
======= \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}}
\startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopTEXpage =======
-- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512