emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Seweryn Kokot <sewkokot@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to export results to latex?
Date: Sat, 26 Jan 2013 14:41:19 +0100	[thread overview]
Message-ID: <87y5fg3vuo.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20130118T161554-592@post.gmane.org> (Seweryn Kokot's message of "Fri, 18 Jan 2013 15:32:54 +0000 (UTC)")

Hi Seweryn,

Seweryn Kokot <sewkokot@gmail.com> 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) 


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



      reply	other threads:[~2013-01-26 13:41 UTC|newest]

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

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=87y5fg3vuo.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=sewkokot@gmail.com \
    --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).