From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Hans Hagen <j.hagen@xs4all.nl>
Subject: [NTG-context] Re: Seeking Advice on Electron Configuration Notation in ConTeXt
Date: Wed, 30 Oct 2024 22:07:55 +0100 [thread overview]
Message-ID: <823cfeec-167b-f0c9-38f4-5f8d27773d42@gmail.com> (raw)
In-Reply-To: <10744aee-0990-47d4-95a3-0abc14a4fb32@xs4all.nl>
Hans Hagen schrieb am 30.10.2024 um 21:41:
> On 10/30/2024 9:35 PM, Wolfgang Schuster wrote:
>
>> \starttexdefinition protected tolerant electrons #=#=
>
> ok, can you check the attached 'module'
1. You're checking the wrong parameter (should be \ifparameter#1\or).
\ifparameter#2\or
\cdef\currentelectrons{#1}%
\fi
2. Using \installframedcommandhandler can be useful because it allows
changing the \framed width and height but it requires a few changes:
a) Map style and style to foregroundstyle and foregroundcolor
b) Change the depth key to another name, e.g. voffset.
3. Add \doifsymboldefinedelse to check for all input before you place
the box/symbol.
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-10-30 21:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5e4e292b-6d11-4b37-b00d-2e1aefdfe4b6@Spark>
2024-10-29 22:33 ` [NTG-context] " Jorge Manuel
2024-10-29 23:22 ` [NTG-context] " Hans Hagen
2024-10-30 0:21 ` Bruce Horrocks
2024-10-30 10:14 ` Hans Hagen
2024-10-30 10:25 ` Hans Hagen
2024-10-30 20:35 ` Wolfgang Schuster
2024-10-30 20:41 ` Hans Hagen
2024-10-30 21:07 ` Wolfgang Schuster [this message]
2024-10-30 21:45 ` Hans Hagen
2024-10-31 11:34 ` Bruce Horrocks
2024-10-31 12:13 ` Hans Hagen via ntg-context
2024-10-31 15:25 ` Jorge Manuel
2024-10-31 15:28 ` Hans Hagen via ntg-context
2024-10-31 15:47 ` Henning Hraban Ramm
2024-10-31 16:39 ` vm via ntg-context
2024-10-31 17:02 ` Henning Hraban Ramm
2024-10-31 17:38 ` vm via ntg-context
2024-10-31 18:01 ` Henning Hraban Ramm
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=823cfeec-167b-f0c9-38f4-5f8d27773d42@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=j.hagen@xs4all.nl \
--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).