From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Banel Subject: Re: text-only plots Date: Mon, 9 Dec 2013 22:48:22 +0000 (UTC) Message-ID: References: <20131209121923.GD20815@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq9dG-00019V-JJ for emacs-orgmode@gnu.org; Mon, 09 Dec 2013 17:49:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vq9d9-0007IR-7l for emacs-orgmode@gnu.org; Mon, 09 Dec 2013 17:48:54 -0500 Received: from plane.gmane.org ([80.91.229.3]:55874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vq9d9-0007Hw-0i for emacs-orgmode@gnu.org; Mon, 09 Dec 2013 17:48:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vq9d6-0000mi-F1 for emacs-orgmode@gnu.org; Mon, 09 Dec 2013 23:48:44 +0100 Received: from mna75-5-82-226-29-239.fbx.proxad.net ([82.226.29.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Dec 2013 23:48:44 +0100 Received: from tbanelwebmin by mna75-5-82-226-29-239.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Dec 2013 23:48:44 +0100 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 Ivan Andrus gmail.com> writes: > > On Dec 9, 2013, at 5:19 AM, Suvayu Ali gmail.com> wrote: > > Technically speaking, it is not exported as a table since you put it as > > part of example block. However a quick test tells me, html export will > > work fine (screenshot attached). However LaTeX export is an entirely > > different story. Unicode support in normal pdflatex is quite > > non-trivial. If you use XeLaTeX, I think you could get it to work with > > some appropriate choice of fonts. I tried libertine and dejavu without > > any luck. > > Would it be possible to export it to \rule when using LaTeX? It wouldn't be text then and you couldn't copy it, > but it should work with any TeX engine regardless of fonts etc. Just a thought. > > -Ivan > > Right, Suvayu, Unicodes are not universally supported. So, what about coming back to basics ? Just Ascii like that: | x | sin(x/4) | Ascii | |----+-------------+--------------| | 0 | 0 | WWWWWh | | 1 | 0.32719470 | WWWWWWWV | | 2 | 0.61836980 | WWWWWWWWWl | | 3 | 0.84147098 | WWWWWWWWWWW | | 4 | 0.97193790 | WWWWWWWWWWWV | | 5 | 0.99540796 | WWWWWWWWWWWW | | 6 | 0.90929743 | WWWWWWWWWWW; | | 7 | 0.72308588 | WWWWWWWWWW- | | 8 | 0.45727263 | WWWWWWWWl | | 9 | 0.14112001 | WWWWWWl | | 10 | -0.19056796 | WWWWl | | 11 | -0.50127705 | WWl | | 12 | -0.75680250 | W | #+TBLFM: $3='(orgtbl-ascii-draw $2 -0.9290145 0.99540796 12) We remove Unicodes until someone comes with an idea. Ivan, the LaTex \rule might be a (pretty) solution for the LaTex exporter. But then we should also take care of all past and future exporters... Thierry