Hi Eric, "Eric Schulte" wrote: > Sébastien Vauban <wxhgmqzgw...@spammotel.com> 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@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode