On 6/17/2020 11:03 PM, Mike Cooper wrote:
OK. I'm not sure how I'm supposed to guess that. I am a rank beginner and
while there are breakthroughs now and then, frustration is still the main thing
I experience trying to learn/use ConTeXt...
In any case, my original question is still not solved. The before/inbetween
keys add space everywhere. I only want space between top-level items.
Here is something like what I need, with the spacing exaggerated:
1. Multi-line, involved question… Multi-line, involved question… Multi-line,
involved question… Multi-line, involved question… Multi-line, involved
question… Multi-line, involved question… Multi-line, involved question…
Multi-line, involved question… Multi-line, involved question… Multi-line,
involved question… Multi-line, involved question… Multi-line, involved
question… Multi-line, involved question… Multi-line, involved question…
What’s the answer?
a. An answer that may well wrap onto a second or even third line but is usually
half a line or less.
b. By the time the data has been accurately analyzed, critical failure has
already occurred.
c. Seven bands must be hired to adequately bring the funk.
2. Another question with detailed data and information and scenario. Another
question with detailed data and information and scenario. Another question with
detailed data and information and scenario. Another question with detailed data
and information and scenario. Another question with detailed data and
information and scenario. Another question with detailed data and information
and scenario. Another question with detailed data and information and scenario.
Another question with detailed data and information and scenario.
What’s the correct action to take?
a. Create a spreadsheet which compiles the salient data into a logical
order/layout, perform calculations and analysis then search the internet for a
solution.
b. Immediately report the data to the supervisory team.
c. File the data in the relevant, appropriate locations, complete a
standardized company report form, notify all vested parties, raise the flags,
abandon ship.
3. Yet another of the same. Yet another of the same. Yet another of the same.
Yet another of the same. Yet another of the same. Yet another of the same. Yet
another of the same. Yet another of the same. Yet another of the same. Yet
another of the same. Yet another of the same. Yet another of the same. Yet
another of the same. Yet another of the same. Yet another of the same. Yet
another of the same.
What would you do?
a. Run
b. Walk
c. Crawl
I want the top-level chunks to be visually separated for better readability,
etc.
\defineenumeration
[question]
[text=,
alternative=serried,
distance=1em,
width=fit,
before={\testpage[4]\blank[3*big]},
after={\blank}]
\starttext
\dorecurse{10}{
\startquestion
\input ward
\stopquestion
\startitemize[packed,a]
\startitem \input ward \stopitem
\startitem \input ward \stopitem
\startitem \input ward \stopitem
\stopitemize
}
\stoptext
-----Original Message-----
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang
Schuster
Sent: Wednesday, June 17, 2020 2:45 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] spacing before items
Mike Cooper schrieb am 17.06.2020 um 21:50:
I really should have fiddled with this before thanking you, Wolfgang. I was
focused on catching up on email etc. this morning.
Thanks for trying though!
Your "answer" is pretty much coded code to me. I don't understand it and don't have the
first notion of how to implement it in my file. For one thing, I have no clue what
"ttbf" means. Can't find it on the wiki or in the manuals. Google says it's the Texas
Teen Book Festival but I'm guessing that ain't it. ???
My example shows which key is used for which space around each item.
To insert vertical space you have to use the \blank command and set a
value in the optional argument, e.g. \blank[1cm].
To insert now a space of 1cm before the first item you need the "before"
key with \blank as argument:
\setupitemgroup[mdshw][1][before={\blank[1cm]}]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________