emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] Bug when updating the hash: meta-lines get deleted


From: Eric Schulte
Subject: Re: [O] [babel] Bug when updating the hash: meta-lines get deleted
Date: Fri, 13 Dec 2013 12:33:13 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

You should use a named code block if you want to decorate the results.

Best,

"Sebastien Vauban" <address@hidden> writes:

> Hello,
>
> When results caching is enabled, and when the hash must be updated, the
> "meta-lines" in front of the results block are _deleted_.
>
> Such meta-lines include:
> - ATTR_LaTeX lines
> - BEGIN/END_CENTER environments
>
> ECM:
>
> --8<---------------cut here---------------start------------->8---
> #+PROPERTY: cache yes
>
> #+begin_src R
> print("Hello")
> #+end_src
>
> #+ATTR_LaTeX: {\tiny
> #+results[824ca019826a9f384bd35371065bb2418a1afedf]:
> : Hello
> #+ATTR_LaTeX: }
> --8<---------------cut here---------------end--------------->8---
>
> If you change the source code block (such a setting the string to
> "Hello2"), you get the following Org buffer:
>
> --8<---------------cut here---------------start------------->8---
> #+PROPERTY: cache yes
>
> #+begin_src R
> print("Hello2")
> #+end_src
>
> #+results[663ebd0c20f3ed9105d254971336679e44354a3e]:
> : Hello2
>
> #+ATTR_LaTeX: }
> --8<---------------cut here---------------end--------------->8---
>
> Best regards,
>   Seb

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D



reply via email to

[Prev in Thread] Current Thread [Next in Thread]