From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: orgmod: R and threeparttable Date: Sat, 14 Dec 2013 09:46:49 +0100 Message-ID: <87sitvakg6.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrkrt-0008VE-C5 for emacs-orgmode@gnu.org; Sat, 14 Dec 2013 03:46:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vrkrn-0005jU-F5 for emacs-orgmode@gnu.org; Sat, 14 Dec 2013 03:46:37 -0500 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:43676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrkrn-0005jQ-7y for emacs-orgmode@gnu.org; Sat, 14 Dec 2013 03:46:31 -0500 Received: by mail-ea0-f178.google.com with SMTP id d10so1246643eaj.37 for ; Sat, 14 Dec 2013 00:46:30 -0800 (PST) In-Reply-To: (Vikas Rawal's message of "Sat, 14 Dec 2013 09:08:49 +0100") 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: Vikas Rawal Cc: "emacs-orgmode@gnu.org" Hello, Vikas Rawal writes: > It *sort of* works in that I get LaTeX table syntax wrapped with >> \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. #+begin_latex ... the whole threeparttable stuff ... #+end_latex You can also build something with special blocks: #+begin_threeparttable ... tabular with Org syntax ... #+begin_tablenotes ... probably some raw LaTeX... #+end_tablenotes #+end_threeparttable Moreover, footnotes can give you almost the same result. > I think it is a major limitation Aren't you exaggerating a bit? > and we should try to overcome it. I do not know lisp, and can't judge, > but is it very difficult to overcome? I don't know. AFAICT your problem is not clearly defined. But it seems that you already have a couple solutions to experiment first. Regards, -- Nicolas Goaziou