From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Booktabs in new LaTeX exporter Date: Fri, 28 Dec 2012 09:06:18 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TofGh-0002z1-77 for Emacs-orgmode@gnu.org; Fri, 28 Dec 2012 14:06:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TofGc-0004ig-4B for Emacs-orgmode@gnu.org; Fri, 28 Dec 2012 14:06:55 -0500 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:44168) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TofGb-0004iG-Rb for Emacs-orgmode@gnu.org; Fri, 28 Dec 2012 14:06:50 -0500 In-Reply-To: (RCY's message of "Fri, 28 Dec 2012 13:05:44 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: RCY Cc: Emacs-orgmode@gnu.org I think the :align attribute expects a string instead of a symbol, so :align "rr" is probably what you want. I don't know about the new html exporter yet, but I'd be surprised if it looks at LaTeX attributes. You might want to experiment with alignment cookies in the table to see if they do what you want: http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-= alignment I haven't used threeparttable or ctable. Org footnotes work inside tables, if you want the note to appear outside the table. Typesetting tables is hard. Let the list know if you get Org to work with either of these packages. All the best, Tom RCY writes: > Hi Tom, > Thanks for your patience. I did finally figure out what I was doing wrong. > I was using org-export-as-latex-to-buffer (which uses the default exporte= r) > instead of org-e-latex-export-as-latex or org-e-latex-export-to-pdf. > However, I am still unable to set something like ':align rr' using > org-e-export-as-html; it defaults to left alignment (the latex export wor= ks > fine). > > One of the reasons I am trying out the new exporter is to be able to use > booktabs and hopefully the threeparttable package which makes inclusion of > footnotes convenient (I prefer ctable but this probably requires a > different approach as it is implemented as a command). > Have you tried to use either of these packages? > Thanks. > > On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye wrote: > >> Aloha RCY, >> >> Here is a (too long) working example that shows how to pass attributes. >> See especially :align, where you've passed a symbol instead of a string. >> Note that the new exporter is still in contrib and that at this stage in >> its life is documented in the code and in some messages and >> announcements that Nicolas Goaziou sent to the mailing list. It is still >> necessary to refer to these scattered sources to learn about the new >> exporter. >> >> > Hi Tom,=C2=A0 > > Thanks for your patience. I did finally figure out what I was doing > wrong. I was using org-export-as-latex-to-buffer (which uses the > default exporter) instead of org-e-latex-export-as-latex or > org-e-latex-export-to-pdf. However, I am still unable to set something > like ':align rr' =C2=A0using org-e-export-as-html; it defaults to left > alignment (the latex export works fine). > > One of the reasons I am trying out the new exporter is to be able to > use booktabs and hopefully the threeparttable package=C2=A0which makes > inclusion of footnotes convenient (I prefer=C2=A0ctable but this probably > requires a different approach as it is implemented as a command).=C2=A0 > Have you tried to use either of these packages? > Thanks. > > On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye wrote: > > Aloha RCY, >=20=20=20=20=20 > Here is a (too long) working example that shows how to pass > attributes. > See especially :align, where you've passed a symbol instead of a > string. > Note that the new exporter is still in contrib and that at this > stage in > its life is documented in the code and in some messages and > announcements that Nicolas Goaziou sent to the mailing list. It is > still > necessary to refer to these scattered sources to learn about the > new > exporter. >=20=20=20=20=20 >=20=20=20=20=20 --=20 T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com