From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85646 Path: news.gmane.org!not-for-mail From: Alan Braslau Newsgroups: gmane.comp.tex.context Subject: Re: luatex lunatic Date: Thu, 19 Dec 2013 07:29:44 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <20131219072944.3bc17498@iram-hb-003386.extra.cea.fr> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1387434587 30336 80.91.229.3 (19 Dec 2013 06:29:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2013 06:29:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 19 07:29:54 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VtX7J-0003Al-6t for gctc-ntg-context-518@m.gmane.org; Thu, 19 Dec 2013 07:29:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 311C8101E7; Thu, 19 Dec 2013 07:29:52 +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 f8YX3eXXYCry; Thu, 19 Dec 2013 07:29:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 92724101E2; Thu, 19 Dec 2013 07:29:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4C59101E2 for ; Thu, 19 Dec 2013 07:29:49 +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 1sE1px1jTYn9 for ; Thu, 19 Dec 2013 07:29:48 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 16B02101DE for ; Thu, 19 Dec 2013 07:29:48 +0100 (CET) Original-Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.8]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBJ6TlCp011763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 19 Dec 2013 07:29:47 +0100 Original-Received: from epeire1.extra.cea.fr (epeire1.extra.cea.fr [132.167.198.31]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id rBJ6TjYD011973; Thu, 19 Dec 2013 07:29:45 +0100 Original-Received: from epeire1.extra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 99BEB5D98A5; Thu, 19 Dec 2013 07:29:45 +0100 (CET) Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by epeire1.extra.cea.fr (Postfix) with ESMTP id 838AD5D989E; Thu, 19 Dec 2013 07:29:45 +0100 (CET) Original-Received: from iram-hb-003386.extra.cea.fr (charybde.extra.cea.fr [132.166.43.102]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id rBJ6Tjmi000832; Thu, 19 Dec 2013 07:29:45 +0100 In-Reply-To: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd9.2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.168.224.8; country=FR; region=A3; city=Gif-sur-yvette; latitude=48.6833; longitude=2.1333; http://maps.google.com/maps?q=48.6833,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NL3itLCS - e8e3ef7c7e39 - 20131219 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85646 Archived-At: Now that we have double-precision mathematics in MetaPost, you can easily make calculations directly in MetaPost. You can also make such calculations directly in lua without relying on libraries as the functions are rather simple. Alan On Wed, 18 Dec 2013 22:16:45 +0000 DesdeChaves wrote: > Dear sirs > I would like to try luatex lunatic ( > http://wiki.contextgarden.net/User:Luigi.scarso/luatex_lunatic) but i > d'ont find the luatex-0.42. I'm looking in > https://foundry.supelec.fr/frs/?group_id=10&release_id=406#luatex-beta-0.76.0-title-content > > I've been looking for a way to simulate data with different > distributions (normal, poisson, exponential, etc.) in the .tex file. > The use of GSL library is a good option, but it seems impossible to > import in luatex. Another way is using the R-statistical through > filter module***, which seems to work well in luatex. At this time I > would try to import the GSL functions through python script. For > that i think that i need the older luatex 0.42 but I don't find that. > > *** > \defineexternalfilter > [R] > [ > filtercommand={R CMD BATCH -q --save --restore > \externalfilterinputfile\space \externalfilteroutputfile}, > output=\externalfilterbasefile.out, > directory=output, > readcommand=\typefile, > read=no, > cache=yes, > ] > > > Jorge -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.braslau@cea.fr ___________________________________________________________________________________ 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 ___________________________________________________________________________________