ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
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 14:48:38 -0300	[thread overview]
Message-ID: <Zl9TdlZO48gHNQ6v@x360.localdomain> (raw)
In-Reply-To: <eb156468-184c-98f0-695a-1972e4bc8a20@gmail.com>

On Tue, Jun  4, 2024 at 19:30 (+0200), Wolfgang Schuster wrote:

> Jim schrieb am 04.06.2024 um 18:01:
>> Hi,

>> When I run Example 1 given there, I get three bullet symbols, but no
>>          "column N ..."
>> text.

>> Note that the
>>          \starttext
>> is *after* the \startitemize ... \stopitemize

>> Q1: Is my ConTeXt installation broken, or is the wiki page showing output
>> that does not correspond to the input?

>> Q2: If the wiki page is inconsistent, is there an easy fix?

>> Q3: If my installation is correct, why do I get bullet symbols *before*
>>      \starttext ?

> The wiki adds \starttext at the start and \stoptext at the end of each
> example
> and the \starttext/\stoptext pair which is part is just ignored.

> When you try to run the example as is there is no text before \starttext
> because
> no font has been loaded yet (you can add \setupbodyfont[modern] before
> \startitemize to make the text visible).

Hi Wolfgang,

Thanks for the (prompt!) answer.

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.)

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?

And finally, might it make sense for the wiki software to do something like
this:
        if grep '\\starttext' <the-wiki-example-to-be-compiled> >/dev/null 2>&1
        then
            process the example from the wiki
        else
            augment the wiki example with \starttext and \stoptext
            process the augmented wiki example
        fi

Cheers.
                                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
___________________________________________________________________________________

  reply	other threads:[~2024-06-04 17:50 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 [this message]
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

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=Zl9TdlZO48gHNQ6v@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).