From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How to export results to latex? Date: Sat, 26 Jan 2013 14:41:19 +0100 Message-ID: <87y5fg3vuo.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz60X-0000wk-Ec for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 08:41:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tz60V-00077r-V4 for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 08:41:21 -0500 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:37203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz60V-00077j-PP for emacs-orgmode@gnu.org; Sat, 26 Jan 2013 08:41:19 -0500 Received: by mail-wg0-f42.google.com with SMTP id 12so308761wgh.1 for ; Sat, 26 Jan 2013 05:41:18 -0800 (PST) In-Reply-To: (Seweryn Kokot's message of "Fri, 18 Jan 2013 15:32:54 +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: Seweryn Kokot Cc: emacs-orgmode@gnu.org Hi Seweryn, Seweryn Kokot writes: > I have test1.org file (see below [1]) which I want to export to latex. However > when exporting to latex (both using org-export and org-export-dispatch), the > content of RESULTS is missing in the resulting test1.tex (see below [2]). > What is the reason for that? That's because the default value for `org-export-with-drawers' is nil. You need to use (setq org-export-with-drawers t) or (setq org-export-with-drawers '("RESULTS")) So that the drawer gets exported. > One year ago when exporting the same file with ":results org replace" the output > was wrapped with "begin_org ... end_org" now it is wrapped with "begin_src org > ..." then the export to latex gives verbatim or lstlisting environments... Any > hints what to do to get the previous behaviour? :results raw should be fine, no? (#+begin_org was too confusing -- see the many discussions about this on the list, so we are not supporting this anymore.) Best, -- Bastien