From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47479 Path: news.gmane.org!not-for-mail From: batela Newsgroups: gmane.comp.tex.context Subject: Re: blocks in LuaTex Date: Tue, 17 Feb 2009 19:21:17 +0000 Message-ID: <0a54f4f82857c3e08d0e34876fe15fcf@tugamail.com> References: <8655F72B-1081-4B70-849F-AA5A83C5FA04@gmail.com> <8ba6659fc3cb564b45c7f441ce24ed2f@tugamail.com> <41C26F67-7CA3-4487-A58E-FFD12F38F5B4@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1234898625 31065 80.91.229.12 (17 Feb 2009 19:23:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2009 19:23:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 17 20:24:58 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LZVYb-0001qV-SP for gctc-ntg-context-518@m.gmane.org; Tue, 17 Feb 2009 20:24:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90B341FBCC; Tue, 17 Feb 2009 20:23:15 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28104-04-7; Tue, 17 Feb 2009 20:22:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 03D6F1FB39; Tue, 17 Feb 2009 20:22:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90A051FB39 for ; Tue, 17 Feb 2009 20:22:05 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30906-05-7 for ; Tue, 17 Feb 2009 20:21:25 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 33FAA1FB1D for ; Tue, 17 Feb 2009 20:21:22 +0100 (CET) Original-Received: from sapo.pt (relay6.ptmail.sapo.pt [212.55.154.26]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with SMTP id n1HJLJre006645 for ; Tue, 17 Feb 2009 20:21:21 +0100 Original-Received: (qmail 2827 invoked from network); 17 Feb 2009 19:21:18 -0000 Original-Received: from unknown (HELO sapo.pt) (10.134.37.163) by relay6 with SMTP; 17 Feb 2009 19:21:18 -0000 Original-Received: (qmail 17400 invoked from network); 17 Feb 2009 19:21:17 -0000 X-AntiVirus: PTMail-AV 0.3-0.92.0 X-Virus-Status: Clean (0.00644 seconds) Original-Received: from unknown (HELO [192.168.1.7]) (as9938358@sapo.pt@[85.244.56.59]) (envelope-sender ) by mta13 (qmail-ldap-1.03) with SMTP for ; 17 Feb 2009 19:21:17 -0000 In-Reply-To: <41C26F67-7CA3-4487-A58E-FFD12F38F5B4@gmail.com> X-Mailer: Apple Mail (2.624) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.55.154.26; country=PT; region=14; city=Lisboa; latitude=38.7167; longitude=-9.1333; http://maps.google.com/maps?q=38.7167,-9.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 181380441 - 62cc01a5d2ad X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47479 Archived-At: 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, =E0s 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=3DQuestion] 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=E7os, Jorge Manuel de Almeida Magalh=E3es ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________