emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: latex export and booktabs tables
Date: Mon, 28 Jun 2010 08:16:23 -0700	[thread overview]
Message-ID: <87zkyf9ohk.fsf@gmail.com> (raw)
In-Reply-To: <87k4pjee9q.fsf@mundaneum.com> ("Sébastien Vauban"'s message of "Mon, 28 Jun 2010 10:45:53 +0200")

Hi Sébastien,

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:

> Hi Eric,
>
> Carsten Dominik wrote:
>> On Jun 28, 2010, at 7:09 AM, Eric Schulte wrote:
>>
>>> One way to deal with this without adding even more complexity to the core
>>> of org-mode could be through the use of "Library of Babel" functions.
>>>
>>> The attached org-mode file provides a function for exporting to the
>>> longtable environment with some example usage. If this looks generally
>>> useful it (and maybe similar functions) could be added to the library of
>>> babel distributed w/Org-mode.
>>>
>>> What do you think? -- Eric
>>
>> This looks like a great solution to me.
>
> It does look great to me as well. Just a request on the wish-list: could the
> table environment be made a parameter (so that we can choose between tabular,
> tabular*, etc.)?
>

Sure, my thinking was that it may be more natural to use the environment
type as the function name (allowing more concise function calls).  Also,
that way if there are some arguments that only make sense for particular
environment (I'm not sure that there are) then it would be easy to
customize the functions on a per-environment bases.  But if these
environments are all pretty similar
- tabular*
- booktabs
- longtable
- tablex
- array
then I guess one single function is the way to go.

I'll add this to the library-of-babel.org in
contrib/babel/library-of-babel.org and please feel free to play around
with the function definition.  This file lives in the contrib directory
to encourage user participation -- in fact maybe the
library-of-babel.org (or a copy) should move to Worg.

Thanks -- Eric

>
> Best regards,
>   Seb

  reply	other threads:[~2010-06-28 15:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22 21:36 latex export and booktabs tables Erik Butz
2010-06-22 23:03 ` Thomas S. Dye
2010-06-23  8:23 ` Sébastien Vauban
2010-06-28  5:09   ` Eric Schulte
2010-06-28  6:05     ` Carsten Dominik
2010-06-28  8:45       ` Sébastien Vauban
2010-06-28 15:16         ` Eric Schulte [this message]
2010-06-28 20:07           ` Erik Butz
2010-06-28 20:14           ` Sébastien Vauban
2010-06-29  8:00     ` Thomas S. Dye
2010-06-29 17:10       ` Eric Schulte
2010-06-30  3:01         ` Thomas S. Dye
2010-06-30 18:54         ` Eric Schulte

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=87zkyf9ohk.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /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).