David Arnold dwarnold45 at cox.net
Sat Jul 15 18:48:59 CEST 2006

All,

Below I have our environment for our question and answer blocks. We
are attempting to have questions that have parts, as in:

2,

2a)

2b)

Etc.

However, we want to "hide" some of the shortsubanswers. We try with:

\startbuffer

...

When typeset, the first three subanswers here are hidden, but the
first subanswer that is not hidden, which should be the answer to
"part d," it winds up be labeled "part a" in the pdf output.

Can anyone help?

\def\genericqacommands#1{\unnumberedsubsection{#1}\vskip 1em}

\def\startgenericqasingle#1{\genericqacommands{#1}}
\def\stopgenericqasingle{}

\def\preqacontainment{\vskip 0.5ex plus 1ex}
\def\postqacontainment{\vskip 0.5ex plus 1ex}

\def\questionbreak{\vskip 2em plus 1ex minus 1 ex}

\doifmodeelse{short}
{
}
{
}
}

\defineenumeration
[question]
[text=,

\setupenumerations
[question]
[location=left,
width=fit,
distance=1em,
hang=1,
margin=0pt,
right=.,
way=bysection,
sectionnumber=no,
before=\preqacontainment,
after=\postqacontainment]

\defineenumeration
[subquestion]
[location=hanging,
text=,
conversion=characters]

\setupenumerations
[subquestion]
[right=)]

\defineenumeration
[text=,

\setupenumerations
[location=left,
width=fit,
distance=1em,
hang=1,
margin=0pt,
right=.,
way=bysection,
sectionnumber=no,
before=\preqacontainment,
after=\postqacontainment]

\defineenumeration
[location=hanging,
text=,
conversion=characters]

\setupenumerations