From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13528 Path: main.gmane.org!not-for-mail From: Bernd Militzer Newsgroups: gmane.comp.tex.context Subject: Re: \setupblock[name][file=name] Date: 26 Sep 2003 17:42:58 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <1064590978.1772.9.camel@eagle.militzer.net.local> References: <5.2.0.9.1.20030926112128.01dd8f98@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064584368 15304 80.91.224.253 (26 Sep 2003 13:52:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2003 13:52:48 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Sep 26 15:52:47 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A2t1b-0002B3-00 for ; Fri, 26 Sep 2003 15:52:47 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id B3E4B10B04; Fri, 26 Sep 2003 15:52:44 +0200 (MEST) Original-Received: from ws10-zva.region-aachen.de (ws10-zva.region-aachen.de [212.117.64.203]) by ref.ntg.nl (Postfix) with ESMTP id 4AF3B10B23 for ; Fri, 26 Sep 2003 15:43:43 +0200 (MEST) Original-Received: from localhost (localhost [127.0.0.1]) by ws10-zva.region-aachen.de (Postfix) with ESMTP id 770192B743 for ; Fri, 26 Sep 2003 15:51:05 +0200 (CEST) Original-Received: by ws10-zva.region-aachen.de (Postfix, from userid 65534) id C178E2B6A9; Fri, 26 Sep 2003 15:51:03 +0200 (CEST) Original-Received: from eagle.militzer.net.local (pD9540A38.dip.t-dialin.net [217.84.10.56]) by ws10-zva.region-aachen.de (Postfix) with ESMTP id F331F2AE0B for ; Fri, 26 Sep 2003 15:51:00 +0200 (CEST) Original-To: "ntg-context@ntg.nl" In-Reply-To: <5.2.0.9.1.20030926112128.01dd8f98@server-1> X-Mailer: Ximian Evolution 1.2.2 X-Virus-Scanned: by AMaViS snapshot-20020531 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13528 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13528 Hi Hans, thanks first, blocks are defined. If I use your example in the following way: 1. texexec test.tex --> test test no homework! 2. texexec student.tex and than texexec test.tex --> test homework test Is this the right way to use external blocks?? Bernd > \defineblock[homework] > > ========== test.tex =============== > > \defineblock[homework] > \setupblock[homework][file=student] > > \starttext > > test > > \useblocks[homework] > > test > > \stoptext > > ========== student.tex ============= > > \defineblock[homework] > > \starttext > > \beginhomework > homework > \endhomework > > \stoptext > > =================================== > > normally, you will put the definitions in a shared environment > > Hans