From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seweryn Kokot Subject: How to export results to latex? Date: Fri, 18 Jan 2013 15:32:54 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwDwb-0005DS-2Z for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 10:33:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwDwT-0007al-IH for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 10:33:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:50232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwDwT-0007aE-BH for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 10:33:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TwDwc-0000CF-Tu for emacs-orgmode@gnu.org; Fri, 18 Jan 2013 16:33:27 +0100 Received: from nat-warynskiego.po.opole.pl ([217.173.199.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jan 2013 16:33:26 +0100 Received: from sewkokot by nat-warynskiego.po.opole.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jan 2013 16:33:26 +0100 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: emacs-orgmode@gnu.org Hello! 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? 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? test1.org contents: #---------------------------------------------- #+title: Testing org export to latex #+STARTUP: showall #+OPTIONS: toc:nil creator:nil * Headline - first list item foo bar #+begin_src emacs-lisp :exports results :results drawer replace (let ((t1 "")) ;; (setq t1 (concat t1 (format "- foo \n\n$a = \\unit[%.3f]{m}$\n\n" 3.0))) (setq t1 (concat t1 (format "- bar \n\n$b = \\unit[%.3f]{m}$\n\n" 6.0))) (concat t1)) #+end_src #+RESULTS: :RESULTS: - second list item $a = \unit[3.000]{m}$ - third list item $b = \unit[6.000]{m}$ :END: #------------------------------------------------ [2] test1.tex: -------------------------------- % Created 2013-01-18 Fri 16:21 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[a4paper,left=1.8cm,right=1.8cm,top=1.8cm,bottom=1.8cm]{geometry} \usepackage[dvips]{graphicx} \usepackage{url} \usepackage{xcolor} \usepackage{units} \usepackage[breaklinks=true]{hyperref} \usepackage{amsmath} \title{Testing org export to latex} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={}} \begin{document} \maketitle \section{Headline} \label{sec-1} \begin{itemize} \item first list item \end{itemize} foo bar \end{document} ----------------------------