From: Jim <zlists+context@jdvb.ca>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: https://wiki.contextgarden.net/Command/blank
Date: Tue, 4 Jun 2024 15:37:02 -0300 [thread overview]
Message-ID: <Zl9ezkn8BZ8eroA6@x360.localdomain> (raw)
In-Reply-To: <10a2ad78-8152-a913-e2c1-f7ffcfcc54e4@gmail.com>
On Tue, Jun 4, 2024 at 20:14 (+0200), Wolfgang Schuster wrote:
> Jim schrieb am 04.06.2024 um 19:48:
>> I did not realize the wiki software did that. On reflection I suppose that
>> is useful in many (most?) cases. But I'd argue that it is not always a good
>> thing, such as in this case. (If nothing else, it might mislead a n00b
>> into thinking that you should get output for text preceding \starttext.)
> The reason why you get no text isn't that you wrote it before \starttext but
> that no font was loaded yet. By default ConTeXt postpones the loading of the
> default fonts until \starttext because when you use a different font on your
> document this is normally before \starttext and with the postponing there is
> no need to load a unused font.
> At the point where you load a font with \setupbodyfont text even if it
> appears before \starttext is shown as expected but this isn't recommended.
>> If you (or some other knowledgeable person reading this) don't (doesn't)
>> mind another question,...
>> Is the bullet symbol not from some font? If so, why is that font loaded in
>> time to see the bullet?
> When no font has been loaded yet with \setupbodyfont ConTeXt prints text
> which is put in a \hbox in a monospaced font as shown in the example below.
> %%%% begin example
> This is before \tex{starttext}.
> \hbox{This is also before \tex{starttext}}
> \starttext
> This is after \tex{starttext}.
> \stoptext
> %%%% end example
Thanks again. Without looking at the code, I (boldly) conclude that the
bullet is in an \hbox.
While I'm curious about why text in an \hbox is printed, I'm thinking that
I may not have need to know. ;-)
Jim
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2024-06-04 18:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-04 16:01 [NTG-context] https://wiki.contextgarden.net/Command/blank Jim
2024-06-04 17:30 ` [NTG-context] https://wiki.contextgarden.net/Command/blank Wolfgang Schuster
2024-06-04 17:48 ` Jim
2024-06-04 18:14 ` Wolfgang Schuster
2024-06-04 18:31 ` Taco Hoekwater
2024-06-04 19:29 ` Jim
2024-06-04 19:50 ` Wolfgang Schuster
2024-06-05 0:02 ` Jim
2024-06-04 18:37 ` Jim [this message]
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=Zl9ezkn8BZ8eroA6@x360.localdomain \
--to=zlists+context@jdvb.ca \
--cc=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/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).