From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72915 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Saving module data in tuc file Date: Sun, 4 Dec 2011 02:36:52 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322962637 20819 80.91.229.12 (4 Dec 2011 01:37:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Dec 2011 01:37:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 04 02:37:12 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RX10x-0002yx-LF for gctc-ntg-context-518@m.gmane.org; Sun, 04 Dec 2011 02:37:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFFDBCB12B; Sun, 4 Dec 2011 02:37:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x8PppNHb0TTv; Sun, 4 Dec 2011 02:37:07 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 828CDCB111; Sun, 4 Dec 2011 02:37:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4359CB111 for ; Sun, 4 Dec 2011 02:37:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ayp6XwN15EaM for ; Sun, 4 Dec 2011 02:36:54 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 7D5A0CB0FF for ; Sun, 4 Dec 2011 02:36:54 +0100 (CET) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB41areS011968 for ; Sun, 4 Dec 2011 02:36:53 +0100 Original-Received: by iapp10 with SMTP id p10so4879509iap.14 for ; Sat, 03 Dec 2011 17:36:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uMg3qtNwMQ3QwB0vsS+dbnQHSKh7rWb9NzaRA88hj28=; b=gz5hXUk/tqj4RIrdFm10+AFglLB1ejwivZWvmNjWntV56KVe507aRvndMNIZPGineS UBb3uM+1oD2ibIH9zpexvghd8TILN3yVOkL0pkyq738T5v5eV4d+IeCp7Bcl14Oxn08J OUHkMlTUeaQgvEyFGVQdbjZbYPS6C9CvmAehA= Original-Received: by 10.42.29.1 with SMTP id p1mr4675365icc.40.1322962612531; Sat, 03 Dec 2011 17:36:52 -0800 (PST) Original-Received: by 10.50.178.103 with HTTP; Sat, 3 Dec 2011 17:36:52 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xG4NARQC - 02d60d7b9fc7 - 20111204 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:72915 Archived-At: On Sun, Dec 4, 2011 at 1:20 AM, Aditya Mahajan wrote: > Hi, > > How does one save and read third-party data in tuc file at the lua end? You can read the data with loadfile or dofile: utilitydata=dofile('test.tuc') and then you have the table stored into utilitydata See for the difference with loadfile http://www.lua.org/pil/8.html -- luigi ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________