emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: RCY <recif@yahoo.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Booktabs in new LaTeX exporter
Date: Fri, 28 Dec 2012 09:06:18 -1000	[thread overview]
Message-ID: <m1mwwyhu8l.fsf@tsdye.com> (raw)
In-Reply-To: <CAD_Xbc4NuXp=XzYeBtoouCNjfRB0DH9T1MnSLiSqnH6-8LFOPw@mail.gmail.com> (RCY's message of "Fri, 28 Dec 2012 13:05:44 -0500")

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 <recif@yahoo.com> 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 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'  using
> 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 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 <tsd@tsdye.com> 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, 
>
> 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'  using 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 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 <tsd@tsdye.com> 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.
>     
>     

-- 
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

  reply	other threads:[~2012-12-28 19:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-27 23:57 Booktabs in new LaTeX exporter RCY
2012-12-28  0:17 ` Thomas S. Dye
2012-12-28  1:20   ` RCY
2012-12-28  1:42     ` Thomas S. Dye
2012-12-28 10:50       ` RCY
2012-12-28 17:27         ` Thomas S. Dye
2012-12-28 18:05           ` RCY
2012-12-28 19:06             ` Thomas S. Dye [this message]
2012-12-28 23:07               ` RCY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1mwwyhu8l.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=recif@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).