From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: orgmod: R and threeparttable Date: Sat, 14 Dec 2013 10:40:57 +0100 Message-ID: References: <87sitvakg6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04451a392ce26104ed7b605e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrlia-0007pB-6D for emacs-orgmode@gnu.org; Sat, 14 Dec 2013 04:41:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrliU-0002k7-5y for emacs-orgmode@gnu.org; Sat, 14 Dec 2013 04:41:04 -0500 Received: from mail-ob0-f180.google.com ([209.85.214.180]:43028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrliT-0002k1-W9 for emacs-orgmode@gnu.org; Sat, 14 Dec 2013 04:40:58 -0500 Received: by mail-ob0-f180.google.com with SMTP id wo20so3004587obc.11 for ; Sat, 14 Dec 2013 01:40:57 -0800 (PST) In-Reply-To: <87sitvakg6.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: "emacs-orgmode@gnu.org" --f46d04451a392ce26104ed7b605e Content-Type: text/plain; charset=ISO-8859-1 >> \begin/end{threeparttable}, but then I caught that threeparttable is > >> actually a wrapper around tabular. Not sure how you can currently use > >> Org to specify two layered wrappers like that? Or you might need > >> someone to write an equivalent of #+begin/end_center for > >> threeparttable? > >> > >> #+begin_threeparttable > >> table-generating-stuff > >> #+end_threeparttable > >> > >> Even more complicate is that tabular ends, then a tablenotes > >> environment begins/ends, and only *then* does threeparttable end. > >> > >> > > This is precisely the problem. At the moment, there does not seem to be a > > way of doing it. > > Of doing what? You can always write raw LaTeX in an Org buffer. > Nicolas, The objective is to be able to add notes to a table generated by an R source code. It is indeed possible to use raw latex to use threeparttable. I did that when I prepared a book manuscript earlier this year, my biggest experiment so far with use of org mode for writing. This was not entirely satisfactory because it broke the link between my R source code and the table. Doing this compromises easy reproducibility that is such a big plus with working on org mode. I do not know if I am expressing myself clearly. The table is being generated by an R source code. We need a way of adding notes to such a table. > Moreover, footnotes can give you almost the same result. > > Unfortunately, on such matters, one has to work with the conventions in different disciplines. At least in social sciences, it is usually expected that notes are placed below Tables and Figures, and not as part of footnotes, which are reserved for notes to text. At least my collaborators and readers frown when I put table sources and notes in the footnotes. > > I think it is a major limitation > > Aren't you exaggerating a bit? > I meant to say that this is the major limitation in my use of org mode, which is primarily for writing research papers. I would really like to know if this is a limitation faced by others using org mode to write research papers. I do understand that there are innumerable requests for adding this feature and that. In particular, it has been said many times before that we cannot support every possible latex table environment. But I still think that, in this area of application of org mode, capability to neatly add a footer to tables and graphics, including when they are made by a source block, would be very useful. Vikas --f46d04451a392ce26104ed7b605e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

= >> \begin/end{threeparttable}, but then I caught that threeparttable = is
>> actually a wrapper around tabular. Not sure how you can currently = use
>> Org to specify two layered wrappers like that? Or you might need >> someone to write an equivalent of #+begin/end_center for
>> threeparttable?
>>
>> #+begin_threeparttable
>> table-generating-stuff
>> #+end_threeparttable
>>
>> Even more complicate is that tabular ends, then a tablenotes
>> environment begins/ends, and only *then* does threeparttable end.<= br> >>
>>
> This is precisely the problem. At the moment, there does not seem to b= e a
> way of doing it.

Of doing what?
You can always write raw LaTeX in an Org buffer.

Nicolas,

The objective is to be = able to add notes to a table generated by an R source code.

It is indeed possible to use raw latex to use threeparttable. I did that= when I prepared a book manuscript earlier this year, my biggest experiment= so far with use of org mode for writing.

This was not entirely satisfactory because it broke the link between my= R source code and the table. Doing this compromises easy reproducibility that is=20 such a big plus with working on org mode.

I do= not know if I am expressing myself clearly. The table is being generated b= y an R source code. We need a way of adding notes to such a table.
=A0
Moreover, footnotes can give you almost the same result.


Unfortunately,= on such matters, one has to work with the conventions in different discipl= ines. At least in social sciences, it is usually expected that notes are pl= aced below Tables and Figures, and not as part of footnotes, which are rese= rved for notes to text. At least my collaborators and readers frown when I = put table sources and notes in the footnotes.
=A0
> I think it is a major limitation

Aren't you exaggerating a bit?

I meant to say that this is the major limitation in my use of org mode, w= hich is primarily for writing research papers. I would really like to know = if this is a limitation faced by others using org mode to write research pa= pers.

I do understand that there are innumerable requests for addi= ng this feature and that. In particular, it has been said many times before= that we cannot support every possible latex table environment.=A0 But I st= ill think that, in this area of application of org mode, capability to neat= ly add a footer to tables and graphics, including when they are made by a s= ource block, would be very useful.

Vikas


--f46d04451a392ce26104ed7b605e--