emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: "Maximilian Matthé" <Maxi.Matthe@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Bug] Exporting subtree with code
Date: Tue, 13 Sep 2011 09:36:16 -0600	[thread overview]
Message-ID: <87wrdce9ov.fsf@gmail.com> (raw)
In-Reply-To: <87d3f4wkjb.fsf@googlemail.com> ("Maximilian Matthé"'s message of "Tue, 13 Sep 2011 17:04:40 +0200")

>>
>> I just pushed up a fix for this issue.  Thanks for reporting and
>>please let me know if the problem persists with the latest version of
>>Org-mode from git head.
>>
>> Best -- Eric
>>
>
> Hi,
>
> I just pulled the new version, but now I get another error message,
> here's the message lock
>

I just pushed up another fix which should resolve this problem.

What is happening is that the latex export is processing the buffer
twice.  On the first pass through the code block is evaluated, its
results inserted, and its body removed.  On the second pass through the
code block processing is choking on a block with no body.  The
processing should now be robust to blocks with no bodies, however a
better fix would be to find out why the buffer is processed twice on
latex export and change that behavior.

Cheers -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2011-09-13 15:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 11:56 [Bug] Exporting subtree with code Maximilian Matthé
2011-09-13 11:59 ` Maximilian Matthé
2011-09-13 14:58 ` Eric Schulte
2011-09-13 15:04   ` Maximilian Matthé
2011-09-13 15:36     ` Eric Schulte [this message]
2011-09-13 16:39       ` Maximilian Matthé

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

  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=87wrdce9ov.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=Maxi.Matthe@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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