From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Butz Subject: Re: Re: latex export and booktabs tables Date: Mon, 28 Jun 2010 22:07:51 +0200 Message-ID: References: <87tyouyx6b.fsf@mundaneum.com> <878w5zd9po.fsf@gmail.com> <2F5E3C2E-D77B-4627-8338-96D0C991D2E2@gmail.com> <87k4pjee9q.fsf@mundaneum.com> <87zkyf9ohk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=52743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTKcU-00068G-JO for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 16:07:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTKcT-0002Mi-Aq for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 16:07:54 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:65362) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTKcT-0002MP-2A for emacs-orgmode@gnu.org; Mon, 28 Jun 2010 16:07:53 -0400 Received: by bwz9 with SMTP id 9so991402bwz.0 for ; Mon, 28 Jun 2010 13:07:51 -0700 (PDT) In-Reply-To: <87zkyf9ohk.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org Hi Eric, I can only agree with what has already been said, namely that this is a very nice solution which indeed is much more generic and does not require fiddling with the core of the distribution. Thanks for this, this even closes, I think, the older thread or re-opens it to further discussion ;) Cheers, Erik On Mon, Jun 28, 2010 at 5:16 PM, Eric Schulte wrot= e: > Hi S=E9bastien, > > S=E9bastien 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 c= ore >>>> 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 tab= ular, >> 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). =A0Also= , > 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. =A0But 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. =A0This 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, >> =A0 Seb > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >