From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?b?QW5kcsOhcw==?= Major Subject: Re: Bug: Babel: asymptote: erroneous conversion of heterogeneous-typed table Date: Mon, 29 Aug 2011 10:42:45 +0000 (UTC) Message-ID: References: <20110829080003.GA12790@discus> <87hb50li4b.fsf@gmail.com> <878vqclf64.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxzIy-0003x4-9D for emacs-orgmode@gnu.org; Mon, 29 Aug 2011 06:43:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxzIx-0001N3-Fh for emacs-orgmode@gnu.org; Mon, 29 Aug 2011 06:43:00 -0400 Received: from lo.gmane.org ([80.91.229.12]:47716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxzIx-0001Ms-AC for emacs-orgmode@gnu.org; Mon, 29 Aug 2011 06:42:59 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QxzIv-0007Vx-Kr for emacs-orgmode@gnu.org; Mon, 29 Aug 2011 12:42:57 +0200 Received: from ip4e8b0e39.rubicom.hu ([78.139.14.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Aug 2011 12:42:57 +0200 Received: from andras.g.major by ip4e8b0e39.rubicom.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Aug 2011 12:42:57 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > Why? You can always write an intermediary step to "stringify" every > cell. Choose your language. Nick Dokos showed you one way. Apparently, only if you set a global/per-user option in .emacs or suchlike, which I think is a bad way of doing it. > > Why isn't it possible to force ob-asymptote to make all cells strings? > > It is possible to force ob-asymptote to make all cells strings. But > I don't think ob-asymptote should try that hard to compensate users' > misuses of data types. I don't think this is misuse in any way. Consider a table which is a result of your research: the columns are the maker (e.g., "Mazda"), the type (e.g., "MX-5"), engine displacement (a number), the mileage/fuel consumption (a number), etc., and I want to create some asymptote plot from this data. If there is no way of doing this without requiring global/per-user settings, then I think that something must be changed. AndrĂ¡s