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: Fri, 31 Jan 2014 23:25:37 +0100 Message-ID: <87y51vhjq6.fsf@gmail.com> References: <87eh3od13z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9MWa-0006tj-H0 for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 17:25:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9MWR-00058N-VO for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 17:25:24 -0500 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:52011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9MWR-00057q-PP for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 17:25:15 -0500 Received: by mail-we0-f169.google.com with SMTP id t61so167083wes.0 for ; Fri, 31 Jan 2014 14:25:15 -0800 (PST) In-Reply-To: (John Hendy's message of "Fri, 31 Jan 2014 16:16:09 -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: emacs-orgmode John Hendy writes: > Here's the test file: > > #+begin_src org > > #+latex_class: beamer > #+options: toc:nil latex:t tex:t H:1 > #+latex_class_options: [presentation] > > * Slide > > #+begin_src R > a <- "Test of whitespace preservation" > > b <- cat("Let's see what happens when we spill", > "onto multiple lines but want the text", > "being passed to cat() to be aligned") > > #+end_src > > #+end_src > > It doesn't show up that well, but with fixed-font, the quotation is > aligned for all three lines passed to cat(). > > I also checked (from the emacs -Q session) on org-src-preserve-indentation: > > #+begin_src M-x help RET v RET org-src-preserve-indentation RET > > org-src-preserve-indentation is a variable defined in `org-src.el'. > Its value is t > Original value was nil > > #+end_src > > I attached the resultant output. I cannot reproduce the problem. Please look at the TeX source instead of the PDF. What did you expect instead? Regards, -- Nicolas Goaziou