From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Subject: Re: Tables and Images are shifted to the end of document while exporting to tex file Date: Sat, 27 Mar 2010 16:35:51 +0100 Message-ID: <4BAE25D7.4010002@gmail.com> References: <4BAA68EF.1010500@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvY3A-0000c8-B7 for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 11:35:48 -0400 Received: from [140.186.70.92] (port=46650 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvY38-0000br-Pl for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 11:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvY37-0004bL-LE for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 11:35:46 -0400 Received: from smtp2.tu-cottbus.de ([141.43.99.248]:44220) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvY37-0004b2-EK for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 11:35:45 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.tu-cottbus.de (Postfix) with ESMTP id 35E96690132 for ; Sat, 27 Mar 2010 16:35:43 +0100 (CET) Received: from [141.43.2.73] (unknown [141.43.2.73]) by smtp2.tu-cottbus.de (Postfix) with ESMTP id 1D21369012E for ; Sat, 27 Mar 2010 16:35:37 +0100 (CET) In-Reply-To: <4BAA68EF.1010500@gmail.com> 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: emacs-orgmode@gnu.org I think I find where the bug is. I notice the images which are moved to the end of the document were placed just after the footnote syntax, say: here is the content.[fn:footnote] [fn:footnote] here is the footnote of the content. #+CAPTION: caption #+LABEL: fig:caption #+ATTR_LaTex: width=0.9\textwidth, placement=[ht] [[file:/img/img.jpg]] After exporting to tex file, the image part will be replaced. Keith Keith wrote: > Dear all, > > I have a document containing total around 10 images and tables with the > attribute setting "#+ATTR_LaTex: placement=[htb]". However, I notice > that two of this images and tables are placed in the end of the pdf > document where shouldn't be their place. At the beginning I thought it > might be the floating mechanism in Tex system. Nevertheless, after > trying lots of tuning in vain, I noticed the position of these image and > table were shifted to the end of the file just before "\end{document}" > and this causes the mistake of the position. > > Does anyone has idea about it? > > Keith >