From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Number formatting in tables for LaTeX export Date: Wed, 01 May 2013 09:03:33 +0200 Message-ID: <87zjwfi3lm.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXR4j-0006bV-0q for emacs-orgmode@gnu.org; Wed, 01 May 2013 03:03:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXR4h-0004DA-RZ for emacs-orgmode@gnu.org; Wed, 01 May 2013 03:03:36 -0400 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:42118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXR4h-0004C3-LB for emacs-orgmode@gnu.org; Wed, 01 May 2013 03:03:35 -0400 Received: by mail-we0-f177.google.com with SMTP id s47so1036594wey.22 for ; Wed, 01 May 2013 00:03:34 -0700 (PDT) In-Reply-To: (Michael Gauland's message of "Wed, 1 May 2013 01:02:26 +0000 (UTC)") 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: Michael Gauland Cc: emacs-orgmode@gnu.org Hello, Michael Gauland writes: > I have a table representing a memory map, something like this: > > | Start | End | Purpose | > |-------+------+--------------------------------| > | 0000 | 1E08 | Bootloader | > | 1E09 | 1FFF | Unused (Bootloader expansion) | > | 2000 | 3F39 | Application | > > When I export to LaTeX, '1E08' and '1E09' are interpreted as decimal > exponent numbers, and are exported as '1(08)' and '1(09)'. > > The only way I've found to prevent this is to include the line: > > #+ATTR_LaTeX: :mode verbatim > > which produces a rather ugly fixed-font table. > > Is there an existing solution to this? If not, any ideas for > addressing it? You may want to change `org-table-number-regexp' (global) or modify, at least locally, through BIND keyword, `org-latex-table-scientific-notation'. Regards, -- Nicolas Goaziou