emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Vikas Rawal <vikaslists@agrarianresearch.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: orgmod: R and threeparttable
Date: Sat, 14 Dec 2013 09:46:49 +0100	[thread overview]
Message-ID: <87sitvakg6.fsf@gmail.com> (raw)
In-Reply-To: <CAFVt51KueT-NCAFT4eMDkGKrVthNRbRHBe=GZUTWMiSeYTB+ZQ@mail.gmail.com> (Vikas Rawal's message of "Sat, 14 Dec 2013 09:08:49 +0100")

Hello,

Vikas Rawal <vikaslists@agrarianresearch.org> 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

  reply	other threads:[~2013-12-14  8:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11 11:12 orgmod: R and threeparttable Vikas Rawal
2013-12-11 20:43 ` John Hendy
2013-12-13  7:07   ` Vikas Rawal
2013-12-14  8:08   ` Vikas Rawal
2013-12-14  8:46     ` Nicolas Goaziou [this message]
2013-12-14  9:40       ` Vikas Rawal
2013-12-14 11:04         ` Nicolas Goaziou
2013-12-14 12:06           ` Vikas Rawal
2013-12-14 13:48             ` Vikas Rawal
2013-12-15  9:50               ` Vikas Rawal
2013-12-15  9:55                 ` Vikas Rawal
2013-12-15  9:58                 ` Nicolas Goaziou
2013-12-15 10:21                   ` Vikas Rawal
2013-12-15 10:46                     ` Nicolas Goaziou
2013-12-15 10:50                       ` Vikas Rawal

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=87sitvakg6.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=vikaslists@agrarianresearch.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).