From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23772 Path: news.gmane.org!not-for-mail From: Fabrice Larribe Newsgroups: gmane.comp.tex.context Subject: Re: How is it possible to include DraTex code in Context? Date: Fri, 25 Nov 2005 10:10:38 -0500 Organization: UQAM, Math Message-ID: <4387296E.8080306@uqam.ca> References: <3DA71F8D231E5F40956368B045D89FB4035821C0@calepin.gst.uqam.ca> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132931656 10940 80.91.229.2 (25 Nov 2005 15:14:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2005 15:14:16 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 25 16:14:15 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EffDz-0000lO-0d for gctc-ntg-context-518@m.gmane.org; Fri, 25 Nov 2005 16:10:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C065D1287C; Fri, 25 Nov 2005 16:10:54 +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 05904-03-3; Fri, 25 Nov 2005 16:10:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E8BD81286C; Fri, 25 Nov 2005 16:10:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 38B941286C for ; Fri, 25 Nov 2005 16:10:49 +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 05904-03-2 for ; Fri, 25 Nov 2005 16:10:48 +0100 (CET) Original-Received: from tomts13-srv.bellnexxia.net (tomts13.bellnexxia.net [209.226.175.34]) by ronja.ntg.nl (Postfix) with ESMTP id C64EA12867 for ; Fri, 25 Nov 2005 16:10:47 +0100 (CET) Original-Received: from [192.168.1.4] ([67.68.198.72]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20051125151046.SWAR25800.tomts13-srv.bellnexxia.net@[192.168.1.4]> for ; Fri, 25 Nov 2005 10:10:46 -0500 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <3DA71F8D231E5F40956368B045D89FB4035821C0@calepin.gst.uqam.ca> X-Originating-IP: [0] X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:23772 Archived-At: Hi, > Fabrice Larribe wrote: > > When I do: "\input DraTex.sty \input > > AlDraTex.sty" I have the message "No room for a new \dimen"... If I > > load only the first package (DraTex), this works, but for advances > > things, I need AlDraTex. So the question: how is it possible to > > include DraTex code in Context ? > > > Hans Hagen wrote: > you may try the attachec module > > - move the file to context/base > - run mktexlsr > - in the document say: \usemodule[dratex] > > the two line hack in teh file is needed to bypass dratex's dimension > allocation stuff > > no guarantees > > Hans > Thanks for your help. I have put the two files in context/base, and use \usemodule. In the log, the system inform that the two modules are loaded. But I have the same error, "No room for a new \dimen". So this is not working. Unless you have others ideas, I guess I have to do my figures in plain tex to obtain pdf, and then use the pdf in Context. Of course, a better solution is to learn metafun....!! Thanks for your help. Fabrice L.