From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Grothe Subject: orgtbl export to latex :fmt() fails Date: Thu, 17 Jul 2014 21:46:45 +0200 Message-ID: <20140717214645.78f5b484@rudi> 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]:36290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7rdn-00006Z-Fo for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 15:47:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7rdh-0001L0-Af for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 15:46:55 -0400 Received: from mx02.posteo.de ([89.146.194.165]:42126 helo=posteo.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7rdh-0001Ks-4i for emacs-orgmode@gnu.org; Thu, 17 Jul 2014 15:46:49 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTP id 0765225AF52E for ; Thu, 17 Jul 2014 21:46:47 +0200 (CEST) Received: from posteo.de ([10.125.125.178]) by localhost (amavis1.posteo.de [10.125.125.165]) (amavisd-new, port 10026) with ESMTP id S9787U_4ANgm for ; Thu, 17 Jul 2014 21:46:46 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTPSA id 300582C00F6 for ; Thu, 17 Jul 2014 21:46:46 +0200 (CEST) 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 Hi List, I have a problem with a orgtbl which I would like to export with certain options to latex. The table looks like this: #+TBLNAME: test #+ORGTBL: SEND test orgtbl-to-latex :skip 2 :splice t :fmt (4"\\num{%s}") | Soll | | | Haben | |------+---+--+-------| | | | | 39000 | I would like to export the 4 column of the table with the latex \num{} tag, see :fmt (4"\\num{%s}"), I got this from the manual. this works fine but *only* if the first column is *not* empty like so: | Soll | | | Haben | |------+---+--+-------| | 0 | | | 39000 | Result: % BEGIN RECEIVE ORGTBL test 0 & & & \num{39000} \\ % END RECEIVE ORGTBL test if the first column is *empty* the result looks like this: | Soll | | | Haben | |------+---+--+-------| | | | | 39000 | Result: % BEGIN RECEIVE ORGTBL test & & 39000 \\ % END RECEIVE ORGTBL test the \num{} tag is not exported and one "&" in the table is missing. I don't know what I'm doing wrong??? Thanks in advance for your help!! Regards Th. Grothe