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)
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
prev parent 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 How to export results to latex? 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* 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 \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.