From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: latex export and booktabs tables Date: Mon, 28 Jun 2010 08:16:23 -0700 Message-ID: <87zkyf9ohk.fsf@gmail.com> References: <87tyouyx6b.fsf@mundaneum.com> <878w5zd9po.fsf@gmail.com> <2F5E3C2E-D77B-4627-8338-96D0C991D2E2@gmail.com> <87k4pjee9q.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56514 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTG4l-0002eR-3o for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 11:16:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTG4j-0000ZA-T4 for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 11:16:47 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:38766) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTG4j-0000Yx-Mi for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 11:16:45 -0400 Received: by pxi17 with SMTP id 17so7993326pxi.0 for ; Mon, 28 Jun 2010 08:16:42 -0700 (PDT) In-Reply-To: <87k4pjee9q.fsf@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastien?= Vauban"'s message of "Mon, 28 Jun 2010 10:45:53 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org Hi S=C3=A9bastien, S=C3=A9bastien Vauban 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 co= re >>> 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 tabu= lar, > 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