From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: [Babel] Difficult to follow code execution in HTML exported file Date: Fri, 26 Nov 2010 11:59:57 +0100 Message-ID: <80oc9c2vv6.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org #+TITLE: Tables don't have their name exported #+DATE: 2010-11-26 #+LANGUAGE: en_US * Abstract Chunks of code are exported to HTML with their parameters, such as table names. But *tables aren't exported with their name*. * Playing with data and code Here is one table: #+tblname: numbers-1 | 1 | | 2 | | 45 | | test | | 3.141592 | Another one is here: #+tblname: numbers-2 | 21 | | 22 | | 245 | | test2 | | 23.14159 | When applying the following chunk of code to some data (find who is =3Dnumbers-1=3D!): #+srcname: add-type #+begin_src emacs-lisp :var data=3Dnumbers-1 :exports both (mapcar (lambda (line) (let ((number (car line))) (list number (type-of number)))) data) #+end_src I get the following results: #+results: add-type #+BEGIN_RESULT | 1 | integer | | 2 | integer | | 45 | integer | | test | string | | 3.141592 | float | #+END_RESULT * Explanation In HTML, I can't entirely follow the explanation, as the code's parameter (here: =3Dnumbers-1=3D) is not visible anywhere: *tables don't have their n= ame exported*... I well see that the chunk of code is called on table =3Dnumbers-1=3D, but I= don't which one of the two tables it is. Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode