From: Mikael Sundqvist <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Why is my custom bullet point not rendering?
Date: Sun, 27 Oct 2024 16:36:14 +0100 [thread overview]
Message-ID: <CAHy-LL8HiJnzy+yL-tN9mPcVSC146siGg7Doqxeqmwoj_Y4gXA@mail.gmail.com> (raw)
In-Reply-To: <1935016405.3722477.1730043099145@mail.yahoo.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-10-27 15:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1935016405.3722477.1730043099145.ref@mail.yahoo.com>
2024-10-27 15:31 ` [NTG-context] " Joel via ntg-context
2024-10-27 15:36 ` Mikael Sundqvist [this message]
2024-10-27 17:16 ` [NTG-context] " Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHy-LL8HiJnzy+yL-tN9mPcVSC146siGg7Doqxeqmwoj_Y4gXA@mail.gmail.com \
--to=mickep@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).