emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] centering export of babel results
@ 2012-11-17 10:52 Andreas Leha
  2012-11-17 10:56 ` Andreas Leha
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Leha @ 2012-11-17 10:52 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

There is a bug in the newly introduced centering-instead-of-center
feature when it comes to babel results.

Here is the problem (already *unintentionally* centered):
#+begin_src R :exports results :colnames yes
  data.frame(a=1:2, b=3:4)
#+end_src

#+results:
| a | b |
|---+---|
| 1 | 3 |
| 2 | 4 |

This remains *unintentionally* centered.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] centering export of babel results
  2012-11-17 10:52 [BUG] centering export of babel results Andreas Leha
@ 2012-11-17 10:56 ` Andreas Leha
  2012-11-17 15:30   ` Myles English
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Leha @ 2012-11-17 10:56 UTC (permalink / raw)
  To: emacs-orgmode

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Hi all,
>
> There is a bug in the newly introduced centering-instead-of-center
> feature when it comes to babel results.
>
> Here is the problem (already *unintentionally* centered):
> #+begin_src R :exports results :colnames yes
>   data.frame(a=1:2, b=3:4)
> #+end_src
>
> #+results:
> | a | b |
> |---+---|
> | 1 | 3 |
> | 2 | 4 |
>
> This remains *unintentionally* centered.
>
> Regards,
> Andreas

I should have added, that a simple work-around would be sth like


Here is the problem (already *unintentionally* centered):
#+LaTeX: { \\%}
#+begin_src R :exports results :colnames yes
  data.frame(a=1:2, b=3:4)
#+end_src

#+results:
| a | b |
|---+---|
| 1 | 3 |
| 2 | 4 |
#+LaTeX: }

This remains *unintentionally* centered.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] centering export of babel results
  2012-11-17 10:56 ` Andreas Leha
@ 2012-11-17 15:30   ` Myles English
  0 siblings, 0 replies; 3+ messages in thread
From: Myles English @ 2012-11-17 15:30 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode


Hi Andreas,

Andreas Leha writes:

> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> Hi all,
>>
>> There is a bug in the newly introduced centering-instead-of-center
>> feature when it comes to babel results.

Thanks for reporting it.

>> Here is the problem (already *unintentionally* centered):

I don't know how to intentionally uncenter tables.

>> #+begin_src R :exports results :colnames yes data.frame(a=1:2, b=3:4)
>> #+end_src
>>
>> #+results:
>> | a | b |
>> |---+---|
>> | 1 | 3 |
>> | 2 | 4 |
>>
>> This remains *unintentionally* centered.
>>
>> Regards,
>> Andreas
>
> I should have added, that a simple work-around would be sth like
>
>
> Here is the problem (already *unintentionally* centered):
> #+LaTeX: { \\%}
> #+begin_src R :exports results :colnames yes
>   data.frame(a=1:2, b=3:4)
> #+end_src
>
> #+results:
> | a | b |
> |---+---|
> | 1 | 3 |
> | 2 | 4 |
> #+LaTeX: }
>
> This remains *unintentionally* centered.

I have just sent a patch to the mailing list to fix the problem you
hinted at.

Myles

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-17 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-17 10:52 [BUG] centering export of babel results Andreas Leha
2012-11-17 10:56 ` Andreas Leha
2012-11-17 15:30   ` Myles English

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