emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Simon Guest <simon.guest@tesujimath.org>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Latex export of longtable with multiline heading
Date: Sat, 06 Apr 2013 15:40:25 +1300	[thread overview]
Message-ID: <86y5cw755y.wl%simon.guest@tesujimath.org> (raw)

Dear Org-mode people,

I have an Org mode document containing a longtable, which has its
heading row split over two lines.  Exporting this to Latex doesn't work.

Here's a really small example (for which I wouldn't need longtable,
but you get the point):

#+ATTR_LaTeX: longtable align=|r|r|
|-------+---------|
| First |     Age |
| Name  | (years) |
|-------+---------|
| Bob   |       6 |
| Dave  |       7 |
| Wendy |       9 |
|-------+---------|

The PDF document is missing the first line of the header.  Looking at
the Latex file which is generated, there appear to be too many
(i.e. 2) instances of \endhead (but I'm no expert on longtables in
Latex).

It's important that I get this working, or find a work-around.

Any suggestions?

cheers,
Simon

             reply	other threads:[~2013-04-06  2:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-06  2:40 Simon Guest [this message]
2013-04-06 18:07 ` Latex export of longtable with multiline heading John Hendy
2013-04-07  2:39   ` Simon Guest

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=86y5cw755y.wl%simon.guest@tesujimath.org \
    --to=simon.guest@tesujimath.org \
    --cc=emacs-orgmode@gnu.org \
    /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).