* [***SPAM***] blocks in LuaTex
@ 2009-02-17 17:36 batela
2009-02-17 17:57 ` Wolfgang Schuster
0 siblings, 1 reply; 9+ messages in thread
From: batela @ 2009-02-17 17:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
Dear Sirs,
Im the past I make some exams using the file in the attach. Now, I
need to prepare another exam but this old file don't work with the new
Context version.
I had defined a block designed question bat \startquestion isn't
recognised. Why? Thanks for your support.
Have a nice day.
Jorge Manuel
[-- Attachment #2: 357_2007_exam.tex --]
[-- Type: application/x-tex, Size: 15195 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1 bytes --]
[-- Attachment #4: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: blocks in LuaTex
2009-02-17 17:36 [***SPAM***] blocks in LuaTex batela
@ 2009-02-17 17:57 ` Wolfgang Schuster
2009-02-17 18:33 ` batela
2009-02-17 18:48 ` batela
0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2009-02-17 17:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.02.2009 um 18:36 schrieb batela:
> Im the past I make some exams using the file in the attach. Now, I
> need to prepare another exam but this old file don't work with the
> new Context version.
>
> I had defined a block designed question bat \startquestion isn't
> recognised. Why? Thanks for your support.
Your question has nothing to do with the block mechanism. Your example
can't work because you defined the enumerations 'Question' and 'Answer'
but not 'question' and 'answer'.
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: blocks in LuaTex
2009-02-17 17:57 ` Wolfgang Schuster
@ 2009-02-17 18:33 ` batela
2009-02-17 18:53 ` Wolfgang Schuster
2009-02-17 18:48 ` batela
1 sibling, 1 reply; 9+ messages in thread
From: batela @ 2009-02-17 18:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
Dear Sir,
thanks for your reply. The original code is written by Hans and had
worked perfectly (see the attach).
Em 17/02/2009, às 5:57, Wolfgang Schuster escreveu:
>
> Am 17.02.2009 um 18:36 schrieb batela:
>
>> Im the past I make some exams using the file in the attach. Now, I
>> need to prepare another exam but this old file don't work with the
>> new Context version.
>>
>> I had defined a block designed question bat \startquestion isn't re
[-- Attachment #2: exam_from_Hans.tex --]
[-- Type: application/x-tex, Size: 2223 bytes --]
[-- Attachment #3: Type: text/plain, Size: 833 bytes --]
>> cognised. Why? Thanks for your support.
>
> Your question has nothing to do with the block mechanism. Your example
> can't work because you defined the enumerations 'Question' and 'Answer'
> but not 'question' and 'answer'.
>
> 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://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> _______________________________________________________________________
> ____________
>
>
Abraços,
Jorge Manuel de Almeida Magalhães
[-- Attachment #4: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: blocks in LuaTex
2009-02-17 18:33 ` batela
@ 2009-02-17 18:53 ` Wolfgang Schuster
2009-02-17 19:21 ` batela
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2009-02-17 18:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.02.2009 um 19:33 schrieb batela:
> thanks for your reply. The original code is written by Hans and had
> worked perfectly (see the attach).
Are you sure, this can't be because \startquestion and \startanswer
are nowhere defined.
It works after a few modification.
1. You don't need the \startelements ... \stopelements block at the
begin
of the file, this is already done in the core.
2. Use in your document \startQuestion ... \stopQuestion and
\startAnswer ... \stopAnswer
*or*
replace \defineenumeration[Question] with
\defineenumeration[question]
and \defineenumeration[Answer] with \defineenumeration[answer] and
move
[text=Question] to the definition for the question. Replace also all
\startAnswer with \startanswer, \stopAnswer with \stopanswer ...
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: blocks in LuaTex
2009-02-17 18:53 ` Wolfgang Schuster
@ 2009-02-17 19:21 ` batela
0 siblings, 0 replies; 9+ messages in thread
From: batela @ 2009-02-17 19:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
Fixed:
\startquestion should be \beginquestion
\startanswer should be \beginanswer
and
\stopquestion should be \endquestion
\stopanswer should be \endanswer
Thanks a lot.
Em 17/02/2009, às 6:53, Wolfgang Schuster escreveu:
>
> Am 17.02.2009 um 19:33 schrieb batela:
>
>> thanks for your reply. The original code is written by Hans and had
>> worked perfectly (see the attach).
>
> Are you sure, this can't be because \startquestion and \startanswer
> are nowhere defined.
>
> It works after a few modification.
>
> 1. You don't need the \startelements ... \stopelements block at the
> begin
> of the file, this is already done in the core.
>
> 2. Use in your document \startQuestion ... \stopQuestion and
> \startAnswer ... \stopAnswer
>
> *or*
>
> replace \defineenumeration[Question] with
> \defineenumeration[question]
> and \defineenumeration[Answer] with \defineenumeration[answer] and
> move
> [text=Question] to the definition for the question. Replace also all
> \startAnswer with \startanswer, \stopAnswer with \stopanswer ...
>
> 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://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> _______________________________________________________________________
> ____________
>
>
Abraços,
Jorge Manuel de Almeida Magalhães
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: blocks in LuaTex
2009-02-17 17:57 ` Wolfgang Schuster
2009-02-17 18:33 ` batela
@ 2009-02-17 18:48 ` batela
2009-02-17 19:03 ` Wolfgang Schuster
1 sibling, 1 reply; 9+ messages in thread
From: batela @ 2009-02-17 18:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
You can find the old discussion in this link:
http://www.mail-archive.com/ntg-context@ntg.nl/msg22333.html
Em 17/02/2009, às 5:57, Wolfgang Schuster escreveu:
>
> Am 17.02.2009 um 18:36 schrieb batela:
>
>> Im the past I make some exams using the file in the attach. Now, I
>> need to prepare another exam but this old file don't work with the
>> new Context version.
>>
>> I had defined a block designed question bat \startquestion isn't
>> recognised. Why? Thanks for your support.
>
> Your question has nothing to do with the block mechanism. Your example
> can't work because you defined the enumerations 'Question' and 'Answer'
> but not 'question' and 'answer'.
>
> 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://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> _______________________________________________________________________
> ____________
>
>
Abraços,
Jorge Manuel de Almeida Magalhães
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-02-18 11:34 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-17 17:36 [***SPAM***] blocks in LuaTex batela
2009-02-17 17:57 ` Wolfgang Schuster
2009-02-17 18:33 ` batela
2009-02-17 18:53 ` Wolfgang Schuster
2009-02-17 19:21 ` batela
2009-02-17 18:48 ` batela
2009-02-17 19:03 ` Wolfgang Schuster
2009-02-17 20:00 ` batela
2009-02-18 11:34 ` Wolfgang Schuster
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).