From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: LaTeX table export issue Date: Mon, 16 Aug 2010 14:36:08 +0200 Message-ID: <3B36F7BC-9821-407B-A7D9-C9835C126E95@gmail.com> References: <87eiev20y8.fsf@bunting.net.au> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=40581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OkyvM-00045n-4e for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 08:36:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OkyvF-0000rA-4e for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 08:36:20 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:49621) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OkyvE-0000qt-VF for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 08:36:13 -0400 Received: by eyg7 with SMTP id 7so1400033eyg.0 for ; Mon, 16 Aug 2010 05:36:12 -0700 (PDT) In-Reply-To: <87eiev20y8.fsf@bunting.net.au> 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@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bart Bunting Cc: emacs-orgmode@gnu.org Hi Bart, thanks for the detailed description, this is now fixed (not in a nice way, but fixed anyway ...) - Carsten On Jul 22, 2010, at 1:46 PM, Bart Bunting wrote: > Hi all, > > I have found what is possibly a bug in the LaTeX export in org-mode > but > I'm not totally sure. > > I am no LaTeX expert, in fact I know very little about it. I have > used > a process of ilimination to try and produce the simplest case I can to > demonstrate the issue. > > What happens is that if I have a table at the top of my document > before > a heading line and use the #+ATTR_LaTeX: setting it appears that the > settings used in that #+ATTR_LaTeX: line are then used for all > subsequent tables and other #+ATTR_LaTeX: lines are ignored. > > If I add a heading line before the first #+ATTR_LaTeX: line then each > table works as expected. > > To demonstrate the issue I have created the small org-mode file below. > > Steps to reproduce: > > - copy the below text into a .org file. > - remove the "Section One" heading. > - export to pdf. > > You will see that the second table inherits the settings from the > first. > > Next: > - Put the "Section One" heading back. > - Export to pdf again. > > You will see that now each table has it's own correct settings. > > I hope this makes sense to someone :) > > Regards > > Bart > > --- Sample org file --- > > > * Section One > #+ATTR_LaTeX: align=|p{50mm}|p{50mm}| > |---+------------------+--------------------------| > | | Reference | 333 | > |---+------------------+--------------------------| > | | Document Name: | wibble | > |---+------------------+--------------------------| > > > * Section Two > > #+ATTR_LaTeX: align=|p{50mm}|p{40mm}|p{30mm}| > |---------------+------------+-----------| > | Plan | Contention | Monthly | > |---------------+------------+-----------| > | 512/256Kbps | 16:1 | $565.00 | > |---------------+------------+-----------| > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten