emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Seweryn Kokot <sewkokot@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to export results to latex?
Date: Fri, 18 Jan 2013 15:32:54 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130118T161554-592@post.gmane.org> (raw)


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))

- second list item

$a = \unit[3.000]{m}$

- third list item

$b = \unit[6.000]{m}$


[2] test1.tex:
% Created 2013-01-18 Fri 16:21

\title{Testing org export to latex}



\item first list item

foo bar

             reply	other threads:[~2013-01-18 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 15:32 Seweryn Kokot [this message]
2013-01-26 13:41 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20130118T161554-592@post.gmane.org \
    --to=sewkokot@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: How to export results to latex?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).