From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Preservation of white space in babel blocks, exporting to PDF Date: Sat, 01 Feb 2014 21:27:18 +0100 Message-ID: <87ob2qr32x.fsf@gmail.com> References: <87eh3od13z.fsf@gmail.com> <87y51vhjq6.fsf@gmail.com> <87ppn7hhwt.fsf@gmail.com> <87lhxv7mym.fsf@med.uni-goettingen.de> <87a9ebs0dn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9h9e-0003C1-8v for emacs-orgmode@gnu.org; Sat, 01 Feb 2014 15:27:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9h9V-0003Dk-Oi for emacs-orgmode@gnu.org; Sat, 01 Feb 2014 15:27:06 -0500 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:49518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9h9V-0003Cc-H5 for emacs-orgmode@gnu.org; Sat, 01 Feb 2014 15:26:57 -0500 Received: by mail-we0-f174.google.com with SMTP id x55so811896wes.5 for ; Sat, 01 Feb 2014 12:26:56 -0800 (PST) In-Reply-To: (John Hendy's message of "Sat, 1 Feb 2014 11:54:18 -0600") 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: John Hendy Cc: Andreas Leha , emacs-orgmode Hello, John Hendy writes: > On Sat, Feb 1, 2014 at 2:28 AM, Nicolas Goaziou wrote: >> There is no discrepancy. You indent your code with tabs and these tabs >> appear in the TeX file, but Beamer cannot handle them properly. The same >> problem will arise in an example block. > > From whence comes this assumption? In the previous emails, I mentioned > the different treatment between src and example blocks with the same > code. I don't know why I'd complain about the .tex containing "some > sort of tab character" if I'd put it there myself! Again, you have `indent-tabs-mode' set to a non-nil value. This is what I mean by "you indent your code with tabs". Babel happens to indent source blocks when re-inserting them after evaluation. So you get tabs even if you didn't explicitly write them in the first place. Regards, -- Nicolas Goaziou