Joel via ntg-context schrieb am 27.10.2024 um 16:31:
[...]
%
\setupbodyfont[garamond, 12pt]

\definesymbol[bighand][{{☞}}]

\define[1]\prompt{%
     \startitemize[symbol=bighand]
         {\it #1}
     \stopitemize
}%

\defineitemgroup[prompt][symbol=bighand, style=italic]

\starttext

     Why does this work? ☞☞☞☞

     \prompt{\startitem But not here?\stopitem}

\stoptext




I am trying to make a pointing finger the bullet point symbol.

When I put the bullet point into the document, it works just fine. But when defined as the pointer, it somehow isn't showing up.

The symbol is set before the value of the symbol-key is available to the environment and therefore never used. You can now either set the symbol with \setupitemize (or \setupitemgroup) before you call \startitemize (or \startitemgroup) or pass the symbol as keyword as shown below.

%%%% begin example
\setupbodyfont[ebgaramond,12pt]

\definesymbol[bighand][☞]

\define[1]\prompt
  {\startitemize[bighand]%
     \startitem
       \italic{#1}%
     \stopitem
   \stopitemize}

\starttext

Why does this work? ☞☞☞☞

\prompt{But not here?}

\stoptext
%%%% end example

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to