From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanjib Sikder Subject: Re: Longtable in orgmode latex export is breaking table header Date: Fri, 5 Oct 2012 21:57:02 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae93411b3e781bd04cb52598a Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKAkb-0006SL-B9 for emacs-orgmode@gnu.org; Fri, 05 Oct 2012 12:27:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKAkZ-00072T-Pe for emacs-orgmode@gnu.org; Fri, 05 Oct 2012 12:27:45 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:43885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKAkZ-00072G-JP for emacs-orgmode@gnu.org; Fri, 05 Oct 2012 12:27:43 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so5103657ied.0 for ; Fri, 05 Oct 2012 09:27:43 -0700 (PDT) In-Reply-To: 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: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org --14dae93411b3e781bd04cb52598a Content-Type: text/plain; charset=ISO-8859-1 Hi, Thanks for your reply. It is working now. #+CAPTION:Table name \citep{myref} here after #+CAPTION: One space is needed before starting the actual table caption. The space was not there initially and it was giving error. ----------------------------- *Sanjib Sikder *Ph.D. Fellow Chemical Engineering IIT Bombay* * On Fri, Oct 5, 2012 at 9:47 PM, Thomas S. Dye wrote: > Hi Sanjib Sikder, > > Hmmm, I don't think I've seen this one before. Can you post a complete > minimal example (ECM) with the intermediate LaTeX output? > > All the best, > Tom > > Sanjib Sikder writes: > > > Hi, > > > > The longtable attribute is breaking the table header in two rows. > > > > For example, take the following table > > > >> #+CAPTION:Table name \citep{myref} > >> #+LABEL: tbl:mylabel > >> #+ATTR_LaTeX: longtable > >> > >> | header1 | header2 | header3 | header4 | header5 | > >> header6 | header7 | > >> > >> > |---------+----------+----------+----------+----------+----------+----------| > >> | Col1 | 1 | 1 | 4 | 6 | 7 | 8 | > >> | Col2 | 6 | 7 | 2 | 1 | 3 | 2 | > >> > > > > In pdf it is showing like > > > >> > >> header1 > >> header2 header3 header4 header5 header6 header7 > >> > > > > Any solution ? > > > > Thanks > > > > ----------------------------- > > *Sanjib Sikder > > *Ph.D. Fellow > > Chemical Engineering > > IIT Bombay* > > > > * > > Hi, > > > > The longtable attribute is breaking the table header in two rows. > > > > For example, take the following table > > > > #+CAPTION:Table name \citep{myref} > > #+LABEL: tbl:mylabel > > #+ATTR_LaTeX: longtable > > > > | header1 | header2 | header3 | header4 | > > header5 | header6 | header7 | > > |---------+----------+----------+----------+----------+----------+- > > ---------| > > | Col1 | 1 | 1 | 4 | 6 | 7 | 8 | > > | Col2 | 6 | 7 | 2 | 1 | 3 | 2 | > > > > > > In pdf it is showing like > > > > > > > header1 > > header2 header3 header4 header5 header6 header7 > > > > > > Any solution ? > > > > Thanks > > > > ----------------------------- > > Sanjib Sikder > > Ph.D. Fellow > > Chemical Engineering > > IIT Bombay > > > > > > > > -- > Thomas S. Dye > http://www.tsdye.com > --14dae93411b3e781bd04cb52598a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

Thanks for your reply. It is working now.

#+CAPTION:Tab= le name \citep{myref}

here after #+CAPTION:

One space is nee= ded before starting the actual table caption.

The space was not ther= e initially and it was giving error.

-----------------------------
Sanjib Sikder
Ph.D. Fellow
Chemical Engineering
IIT Bombay






On Fri, Oct 5, 2012 at 9:47 PM, Thomas S= . Dye <tsd@tsdye.com> wrote:
Hi Sanjib Sikder,

Hmmm, I don't think I've seen this one before. Can you post a compl= ete
minimal example (ECM) with the intermediate LaTeX output?

All the best,
Tom

Sanjib Sikder <sanjibju2002@gm= ail.com> writes:

> Hi,
>
> The longtable attribute is breaking the table header in two rows.
>
> For example, take the following table
>
>> #+CAPTION:Table name \citep{myref}
>> #+LABEL: tbl:mylabel
>> #+ATTR_LaTeX: longtable
>>
>> | header1 =A0 =A0| =A0 =A0 header2 | =A0 =A0 =A0header3 | =A0 =A0h= eader4 | =A0 =A0header5 |
>> header6 | =A0 =A0header7 |
>>
>> |---------+----------+----------+----------+----------+----------+= ----------|
>> | Col1 =A0 =A0 | 1 | 1 | =A04 | =A06 | 7 | 8 |
>> | Col2 =A0 =A0 =A0| =A06 | 7 | =A0 2 | =A01 | =A03 | =A02 |
>>
>
> In pdf it is showing like
>
>>
>> header1
>> header2 =A0 =A0 =A0header3 =A0 header4 =A0 =A0header5 =A0 =A0heade= r6 =A0 =A0 header7
>>
>
> Any solution ?
>
> Thanks
>
> -----------------------------
> *Sanjib Sikder
> *Ph.D. Fellow
> Chemical Engineering
> IIT Bombay*
>
> *
> Hi,
>
> The longtable attribute is breaking the table header in two rows.
>
> For example, take the following table
>
> =A0 =A0 #+CAPTION:Table name \citep{myref}
> =A0 =A0 #+LABEL: tbl:mylabel
> =A0 =A0 #+ATTR_LaTeX: longtable
>
> =A0 =A0 | header1 =A0=A0 |=A0=A0=A0=A0 header2 |=A0=A0=A0=A0=A0 header= 3 |=A0=A0=A0 header4 |=A0=A0=A0
> =A0 =A0 header5 |=A0=A0=A0 header6 |=A0=A0=A0 header7 |
> =A0 =A0 |---------+----------+----------+----------+----------+-------= ---+-
> =A0 =A0 ---------|
> =A0 =A0 | Col1 =A0=A0=A0 | 1 | 1 |=A0 4 |=A0 6 | 7 | 8 |
> =A0 =A0 | Col2 =A0=A0=A0=A0 |=A0 6 | 7 |=A0=A0 2 |=A0 1 |=A0 3 |=A0 2 = |
>
>
> In pdf it is showing like
>
> =A0 =A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0
> =A0 =A0 header1
> =A0 =A0 header2=A0=A0=A0=A0=A0 header3=A0=A0 header4=A0=A0=A0 header5= =A0=A0=A0 header6=A0=A0=A0=A0 header7
>
>
> Any solution ?
>
> Thanks
>
> -----------------------------
> Sanjib Sikder
> Ph.D. Fellow
> Chemical Engineering
> IIT Bombay
>
>
>

--
Thomas S. Dye
http://www.tsdye.com=

--14dae93411b3e781bd04cb52598a--