From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59276 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Script to automatically generate typescripts Date: Fri, 4 Jun 2010 10:23:55 +0200 Message-ID: References: <4C07DD9B.7090508@uni-ulm.de> 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 1275639863 20246 80.91.229.12 (4 Jun 2010 08:24:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Jun 2010 08:24:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 04 10:24:17 2010 connect(): No such file or directory 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 1OKSCL-0007q7-1p for gctc-ntg-context-518@m.gmane.org; Fri, 04 Jun 2010 10:24:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6BEDCC9B35; Fri, 4 Jun 2010 10:24:11 +0200 (CEST) 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 0l0KUTGYhMDl; Fri, 4 Jun 2010 10:24:11 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 58200C9C22; Fri, 4 Jun 2010 10:24:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C3BCC9B35 for ; Fri, 4 Jun 2010 10:24:07 +0200 (CEST) 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 vma8MKcmBIWb for ; Fri, 4 Jun 2010 10:23:56 +0200 (CEST) Original-Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by balder.ntg.nl (Postfix) with ESMTP id 31731C9C22 for ; Fri, 4 Jun 2010 10:23:56 +0200 (CEST) Original-Received: by wwb24 with SMTP id 24so781155wwb.14 for ; Fri, 04 Jun 2010 01:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=bRWV4IsXe1o+LqFPUi8E6vQhzqasMbsmOofTwLZ4Slw=; b=a4X3GLTDQrH9QnZ9+CI29Rvh2qexDwgpVc6814+UM4//6Z69ufXjWk4By8DElN+fog jaUW3DYtHkvoE+pfpq3j/wiVSqA6ueSafwsxdkROxyCiRebZOOiXinUt37S/JXKjOpNk +5Bv4lopC+foILahsocV7EPCuSPJ/hWIi1NYA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Q7soHIjJJ1Zg1n5I1ak8UP/scnMnWM6GSijmIrVW0ayHkA1Cy408qzPD6i+PoczQb4 PifFKlSSNsWwBsk46eTpCN88NEDRl+EaYM81fGEGHPpStBS6T9/M5JG/MbJ8NFF6wwuM eudQ7KF1mIeDFm0TOSRcRm68/pDb6+Mg4cuy0= Original-Received: by 10.227.133.1 with SMTP id d1mr10528519wbt.178.1275639835957; Fri, 04 Jun 2010 01:23:55 -0700 (PDT) Original-Received: by 10.216.20.195 with HTTP; Fri, 4 Jun 2010 01:23:55 -0700 (PDT) In-Reply-To: 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:59276 Archived-At: On Fri, Jun 4, 2010 at 10:03 AM, Mojca Miklavec wrote: > On Fri, Jun 4, 2010 at 09:32, luigi scarso wrote: >> >> 2) why python ? We have lua in luatex; mkiv has a lot of lua code about fonts. > > Hmmm ... the guy who spent most of his time in community trying to > make python work with ConTeXt is now complaining about the programming > language? Come on ... :) I'm not say that it's wrong. It's the same as if I write a lua script to do "XYZ" for Plone: why ? There are a lot of python code in Plone that probably can be used to do "XYZ". > > Whenever I write something I use the language I master most (even if > it's not the most suitable language for that task), so I guess that > must be the reason. But if the script proves to be useful, it's still > short enough that anyone could convert it to Lua to get rid of > dependencies on yet another language. A python's programmer has no problem to write a lua version (and a javascript programmer too, as Mathias Nater showed to me) The key point here is the dependency on another language: for luatex it's almost useless to use a scripting/dynamic language other than lua (I hope one day we will end without ruby and perl for mkiv too, if reasonable) . Of course perl, ruby. python, are all goods programming languages but mixing them together not always make a good pie . -- 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 ___________________________________________________________________________________