emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: latex export and booktabs tables
Date: Mon, 28 Jun 2010 22:14:01 +0200	[thread overview]
Message-ID: <87oceulxti.fsf@mundaneum.com> (raw)
In-Reply-To: 87zkyf9ohk.fsf@gmail.com

Hi Eric,

"Eric Schulte" wrote:
> Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
>> 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.

I think your argumentation is persuasive. Maybe that's better to do so, if we
want to avoid subtle differences between environments.


> But if these environments are all pretty similar
> - tabular*
> - booktabs
> - longtable
> - tablex
> - array
> then I guess one single function is the way to go.

As said, maybe stay on your initial point of view. Have different functions
for different environments.


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

I'll clearly commit to do it, on a "on need" basis. As soon as I add
something, this will be made publicly available, for review and comments.


> 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,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2010-06-28 20:14 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
2010-06-28 20:07           ` Erik Butz
2010-06-28 20:14           ` Sébastien Vauban [this message]
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=87oceulxti.fsf@mundaneum.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).