# [NTG-context] custom itemize bullet

Hans Hagen pragma at wxs.nl
Thu Jul 28 21:52:02 CEST 2005

Stuart Jansen wrote:

>I've added a custom font and defined symbols from it:
>
>%%%%%%%%%%%%%%%%%%%%%%%%%
>\definefontsynonym
>[GlamoconRetrobats][texnansi-glambats][encoding=texnansi]
>\def\GlamoconRetrobatsSym#1{\getglyph{GlamoconRetrobats}{\char#1}}
>\startsymbolset[Glamocon Retrobats]
>\definesymbol[GuruBullet][\GlamoconRetrobatsSym{121}]
>% other symbols
>\stopsymbolset
>\starttext
>\symbol[Glamocon Retrobats][GuruBullet]
>\stoptext
>%%%%%%%%%%%%%%%%%%%%%%%%%
>
>This produces the right symbol. But I can't figure out how to use that
>bullet in an itemized list. I don't think I can use \usesymbols because
>in some lists I want the regular bullet, and in others I want the custom
>bullet. Any tips would be appreciated.
>
>
see symb-mis.tex

\definesymbol [1] [{\symbol[bullet]}]
\definesymbol [2] [{\symbol[dash]}]
...

so

\definesymbol[1]{{\symbol[Glamocon Retrobats][GuruBullet]}}

\definesymbol[xx]{{\symbol[Glamocon Retrobats][GuruBullet]}}

etc

-----------------------------------------------------------------