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 12:04:21 +0100	[thread overview]
Message-ID: <87ob4jae2y.fsf@gmail.com> (raw)
In-Reply-To: <CAFVt51LVzsT+Ed0wHhft80zafJeDSGOhW_rrDQ5LDpyxVew_aw@mail.gmail.com> (Vikas Rawal's message of "Sat, 14 Dec 2013 10:40:57 +0100")

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

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

There are two different problems:

  1. How to generate "threeparttable" environment using Org syntax and
     `latex' export back-end.
  2. How to generate Org syntax specified above from a source block.

At the moment, my only concern is point 1.

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

Understood. You didn't answer to my suggestion to use special blocks,
though.

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

If my suggestion to use special blocks doesn't apply, you still need to
properly define your problem. In particular:

- How table notes are generated? Do you want to hijack footnotes in
  table to produce them?
- Should note numbers be configurable?
- Should "threeparttable" be generated only when table contains at least
  a note and some global option is set to a non-nil value? Or should
  a user explicitly write that he requires such an environment for the
  current table?
- Can another environment than "tabular" be used within
  "threeparttable"?
- Is the "table" environment around mandatory?
- ...


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-12-14 11:04 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
2013-12-14  9:40       ` Vikas Rawal
2013-12-14 11:04         ` Nicolas Goaziou [this message]
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=87ob4jae2y.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).