> > Can you help me?
>
> Your counter settings are useless because context stores only the environment
> plus content for the answers, nothing is done with them at this point. When
> you flush the answer blocks context sees them for the first time and the
> counter for the questions is 3 at thi
Am 23.02.2014 um 20:09 schrieb Xan :
>> Am 22.02.2014 um 18:45 schrieb Xan :
>>
>>> No, it does not work.
>>>
>>> I have this:
>>>
>>> % Questions
>>> \defineenumeration
>>> [exercici]
>>> [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},righ
> Am 22.02.2014 um 18:45 schrieb Xan :
>
> > No, it does not work.
> >
> > I have this:
> >
> > % Questions
> > \defineenumeration
> > [exercici]
> >
> > [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\s
Am 22.02.2014 um 18:45 schrieb Xan :
> No, it does not work.
>
> I have this:
>
> % Questions
> \defineenumeration
> [exercici]
>
> [alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,wid
No, it does not work.
I have this:
% Questions
\defineenumeration
[exercici]
[alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit,before={\incrementcounter[resposta]}]
% Answers
Thanks for that. I use incrementcounter and decrementnumber in 'before',
because I use *always* answer nested in question:
\defineenumeration
[exercici]
[alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\s
Thanx Wolfgang.
For me this is valuable information
Jaroslav Hajtmar
Dne 20.2.2014 14:13, Wolfgang Schuster napsal(a):
Am 20.02.2014 um 13:22 schrieb Xan :
Not exactly. If you don't have the same number of answers that the number of
questions, so your counter is not properly set. See that:
Thanx Thomas
very much for link to PDF file "Using ConTEXt with Databases". I'm sure
I will use it in the future.
Jaroslav Hajtmar
Dne 20.2.2014 13:57, Thomas A. Schmitz napsal(a):
On 02/20/2014 01:22 PM, Xan wrote:
If you comment one solution, then, you get "Answer to question 1",
instead o
Am 20.02.2014 um 13:22 schrieb Xan :
> Not exactly. If you don't have the same number of answers that the number of
> questions, so your counter is not properly set. See that:
>
> \defineblock[question]
> \defineblock[hint]
> \defineblock[answer]
>
> \defineenumeration[question][alternative=ha
On 02/20/2014 01:22 PM, Xan wrote:
If you comment one solution, then, you get "Answer to question 1", instead of
"Answer of question 2", which is really. No always a question has an answer provided by
me;-)
Thanks,
Obviously you will have to give every question|answer|hint some sort of
uniq
Not exactly. If you don't have the same number of answers that the number of
questions, so your counter is not properly set. See that:
\defineblock[question]
\defineblock[hint]
\defineblock[answer]
\defineenumeration[question][alternative=hanging,width=2.5cm,text={Question},stopper={.}]
\definee
Hi,
Maybe this is what you looking for:
begin question-hint-answer.tex
\defineblock[question]
\defineblock[hint]
\defineblock[answer]
\defineenumeration[question][alternative=hanging,width=2.5cm,text={Question},stopper={.}]
\defineenumeration[hint][alternative=hanging,width=4cm,text={Hi
Hi,
Just a question about blocks... I consulted the manual, but I'm in trouble:
I have this definitions:
% the exercise
\defineenumeration
[exercici]
[alternative=serried,text={\startcolor[darkblue]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,
13 matches
Mail list logo