From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: latex export and booktabs tables Date: Mon, 28 Jun 2010 22:14:01 +0200 Message-ID: <87oceulxti.fsf@mundaneum.com> 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=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, "Eric Schulte" wrote: > S=C3=A9bastien Vauban 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 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 >> 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, t= hat > 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 custom= ize > 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 wi= th > 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 --=20 S=C3=A9bastien 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