On 7/17/2018 11:00 PM, Alan Braslau wrote:
\setuppagenumbering[location=footer]

\startusableMPgraphic{NumberHead}
      draw outlinetext.f
          ("\bf\namedheadnumber{chapter}")
          (withcolor "lightgray")
          ysized 50pt ;
\stopusableMPgraphic


\unexpanded\def\processMPheadnumber#1%
   {\useMPgraphic{NumberHead}}

\setuphead
    [chapter]
    [command=\HeadTitle,
     headstyle=\ss,
     numbercommand=\processMPheadnumber]


\unexpanded\def\HeadTitle#1#2%
   {\framed
     [frame=off,
     bottomframe=on,
     width=broad,
     align={broad,nothyphenated,left}]
     {#1\blank[nowhite]#2}}

\starttext

\dorecurse{6}{\startchapter
   [title={Fist chapter}]
   \input knuth
\stopchapter}

\stoptext

i assume you wiped the cache

--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to