Re: [Orgmode] Re: latex export and booktabs tables

2010-06-30 Thread Eric Schulte
This booktabs function has now been added to the library of babel. Cheers -- Eric "Eric Schulte" writes: > Hi Tom, > > How about the following proposed library of babel function which > constructs a booktabs environment using a toprule, (conditionally) a > midrule, and a bottomrule. > > *** boo

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-29 Thread Thomas S. Dye
Hi Eric, Sweet! Here is a stripped-down version that integrates with the AucTeX function, (LaTeX-environment ARG). --8<---cut here---start->8--- #+srcname: booktabs-2 #+begin_src emacs-lisp :var table='((:head) hline (:body)) (flet ((to-tab (tab)

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-29 Thread Eric Schulte
Hi Tom, How about the following proposed library of babel function which constructs a booktabs environment using a toprule, (conditionally) a midrule, and a bottomrule. --8<---cut here---start->8--- *** booktabs This block can be used to wrap a table in the lat

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-29 Thread Thomas S. Dye
Hi Eric, This is neat, but it doesn't directly address the problem posed by the OP. Currently, the LaTeX exporter uses \hline for all the horizontal rules in a table. Booktabs defines three rules of different thickness for use at the top of the table, after the column heads, and at the b

[Orgmode] Re: latex export and booktabs tables

2010-06-28 Thread Sébastien Vauban
Hi Eric, "Eric Schulte" wrote: > Sébastien 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 core of org-mode could be through the use of "Library of Babel" functions. >>

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-28 Thread Erik Butz
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

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-28 Thread Eric Schulte
Hi Sébastien, Sébastien 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 core >>> of org-mode could be through the use of "Library of Babel" functions. >>> >>> The

[Orgmode] Re: latex export and booktabs tables

2010-06-28 Thread Sébastien Vauban
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 core >> of org-mode could be through the use of "Library of Babel" functions. >> >> The attached org-mode file provides a function for export

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-28 Thread Carsten Dominik
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 e

Re: [Orgmode] Re: latex export and booktabs tables

2010-06-27 Thread Eric Schulte
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

[Orgmode] Re: latex export and booktabs tables

2010-06-23 Thread Sébastien Vauban
Hi Erik, Erik Butz wrote: > I found a very old thread on the list about using the booktabs package to > have nicer tables in latex export. > > I found that, making the changes below I can use the booktab package to > export tables, and using standard tables only, this seems to work fine. > > Can a