* [NTG-context] Why is my custom bullet point not rendering? [not found] <1935016405.3722477.1730043099145.ref@mail.yahoo.com> @ 2024-10-27 15:31 ` Joel via ntg-context 2024-10-27 15:36 ` [NTG-context] " Mikael Sundqvist 2024-10-27 17:16 ` Wolfgang Schuster 0 siblings, 2 replies; 3+ messages in thread From: Joel via ntg-context @ 2024-10-27 15:31 UTC (permalink / raw) To: Mailing List for ConTeXt Users; +Cc: Joel [-- Attachment #1.1: Type: text/plain, Size: 2326 bytes --] \starttypescript[serif] [garamond] \definefontsynonym[Serif] [file:/home/joel/.fonts/EBGaramond-Regular.otf] \definefontsynonym[SerifBold] [file:/home/joel/.fonts/EBGaramond-Bold.otf] \definefontsynonym[SerifItalic] [file:/home/joel/.fonts/EBGaramond-Italic.otf] \definefontsynonym[SerifBoldItalic] [file:/home/joel/.fonts/EBGaramond-BoldItalic.otf] \definefontsynonym[SerifCaps] [file:/home/joel/.fonts/EBGaramond12-AllSC.otf] \stoptypescript % \starttypescript[sans] [garamond] \definefontsynonym[Sans] [file:/home/joel/.fonts/EBGaramond-Regular.otf] \definefontsynonym[SansBold] [file:/home/joel/.fonts/EBGaramond-Bold.otf] \definefontsynonym[SansItalic] [file:/home/joel/.fonts/EBGaramond-Italic.otf] \definefontsynonym[SansBoldItalic] [file:/home/joel/.fonts/EBGaramond-BoldItalic.otf] \definefontsynonym[SansCaps] [file:/home/joel/.fonts/EBGaramond12-AllSC.otf] \stoptypescript % \starttypescript[garamond] \definetypeface[garamond] [rm][serif][garamond][default] \definetypeface[garamond] [ss][sans][garamond][default] \definetypeface[garamond] [mm][math][modern][default] \stoptypescript % \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. What am I doing wrong? [-- Attachment #1.2: Type: text/html, Size: 4205 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Why is my custom bullet point not rendering? 2024-10-27 15:31 ` [NTG-context] Why is my custom bullet point not rendering? Joel via ntg-context @ 2024-10-27 15:36 ` Mikael Sundqvist 2024-10-27 17:16 ` Wolfgang Schuster 1 sibling, 0 replies; 3+ messages in thread From: Mikael Sundqvist @ 2024-10-27 15:36 UTC (permalink / raw) To: mailing list for ConTeXt users Hi, On Sun, Oct 27, 2024 at 4:31 PM Joel via ntg-context <ntg-context@ntg.nl> wrote: > > \starttypescript[serif] [garamond] > \definefontsynonym[Serif] [file:/home/joel/.fonts/EBGaramond-Regular.otf] > \definefontsynonym[SerifBold] [file:/home/joel/.fonts/EBGaramond-Bold.otf] > \definefontsynonym[SerifItalic] [file:/home/joel/.fonts/EBGaramond-Italic.otf] > \definefontsynonym[SerifBoldItalic] [file:/home/joel/.fonts/EBGaramond-BoldItalic.otf] > \definefontsynonym[SerifCaps] [file:/home/joel/.fonts/EBGaramond12-AllSC.otf] > \stoptypescript > % > \starttypescript[sans] [garamond] > \definefontsynonym[Sans] [file:/home/joel/.fonts/EBGaramond-Regular.otf] > \definefontsynonym[SansBold] [file:/home/joel/.fonts/EBGaramond-Bold.otf] > \definefontsynonym[SansItalic] [file:/home/joel/.fonts/EBGaramond-Italic.otf] > \definefontsynonym[SansBoldItalic] [file:/home/joel/.fonts/EBGaramond-BoldItalic.otf] > \definefontsynonym[SansCaps] [file:/home/joel/.fonts/EBGaramond12-AllSC.otf] > \stoptypescript > % > \starttypescript[garamond] > \definetypeface[garamond] [rm][serif][garamond][default] > \definetypeface[garamond] [ss][sans][garamond][default] > \definetypeface[garamond] [mm][math][modern][default] > \stoptypescript > % > \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. > > What am I doing wrong? You can separate the definition from the setup. Try \defineitemgroup[prompt] \setupitemgroup[symbol=bighand,style=italic] /Mikael ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: Why is my custom bullet point not rendering? 2024-10-27 15:31 ` [NTG-context] Why is my custom bullet point not rendering? Joel via ntg-context 2024-10-27 15:36 ` [NTG-context] " Mikael Sundqvist @ 2024-10-27 17:16 ` Wolfgang Schuster 1 sibling, 0 replies; 3+ messages in thread From: Wolfgang Schuster @ 2024-10-27 17:16 UTC (permalink / raw) To: mailing list for ConTeXt users, Joel via ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-27 17:18 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1935016405.3722477.1730043099145.ref@mail.yahoo.com> 2024-10-27 15:31 ` [NTG-context] Why is my custom bullet point not rendering? Joel via ntg-context 2024-10-27 15:36 ` [NTG-context] " Mikael Sundqvist 2024-10-27 17:16 ` Wolfgang Schuster
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).