From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: org table export to pdf pagination problem Date: Thu, 11 Nov 2010 08:09:03 -1000 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============1059760900==" Return-path: Received: from [140.186.70.92] (port=43876 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGbaC-0004N0-8E for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 13:09:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGbaA-0005k2-RD for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 13:09:11 -0500 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:45837) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PGbaA-0005jC-Ic for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 13:09:10 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Amit Sethi Cc: emacs-orgmode@gnu.org --===============1059760900== Content-Type: multipart/alternative; boundary=Apple-Mail-20--193385250 --Apple-Mail-20--193385250 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Nov 11, 2010, at 7:29 AM, Amit Sethi wrote: > Hi all , I am newbie to the org-mode. I just today to create > a pdf file from the org-table I had. However I found that the page > did not paginate properly and only part of the data that was visible > on the > buffer was converted into pdf. I am attaching the org file and the > resultant > pdf. May be there is something I am doing wrong here but I really > don't know. > > > > P.S My org-mode version is 7.01h > > -- > A-M-I-T S|S > _______________________________________________ Aloha A-M-I-T S|S, By default, the Org-mode LaTeX exporter assumes that the length and width of a table will fit on the printed page. When this isn't the case, you'll need to override the default settings. This is discussed in the manual: http://orgmode.org/manual/Tables-in-LaTeX-export.html#Tables-in-LaTeX-export Looking at your pdf output, it appears to me that you will need to use a longtable and set the alignment. Fields with long entries can be wrapped in LaTeX with, e.g. p{1in}, where the part between the curly braces is a LaTeX length. You have 9 columns in the table, which might be a bit much for a printed page, but you would need to do something like this: #+ATTR_LaTeX: longtable align=llp{0.5in}p{0.5in}p{0.5in}p{0.5in}p{0.5in}p{0.5in}p{0.5in}, then fiddle with the length values until you have something that works. hth, Tom --Apple-Mail-20--193385250 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Nov 11, 2010, = at 7:29 AM, Amit Sethi wrote:

Hi = all , I am newbie to the org-mode. I just today to create
a pdf file = from the org-table I had. However I found that the page
did not = paginate properly and only part of the data that was visible on = the
buffer was converted into pdf. I am attaching the org file and = the resultant
pdf. May be there is something I am doing wrong here = but I really don't know.



P.S My org-mode version is = 7.01h

--
A-M-I-T = S|S
<whole.org><whole.pdf>_______= ________________________________________

<= div>Aloha A-M-I-T S|S,

By default, the Org-mode = LaTeX exporter assumes that the length and width of a table will fit on = the printed page.  When this isn't the case, you'll need to = override the default settings.  This is discussed in the = manual:

Looking at your pdf output, = it appears to me that you will need to use a longtable and set the = alignment.  Fields with long entries can be wrapped in LaTeX with, = e.g. p{1in}, where the part between the curly braces is a LaTeX length. =  You have 9 columns in the table, which might be a bit much for a = printed page, but you would need to do something like this: 
hth,
Tom
= --Apple-Mail-20--193385250-- --===============1059760900== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1059760900==--