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