From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marvin Doyley Subject: Re: positioning inline image Date: Wed, 20 May 2009 10:54:02 -0400 Message-ID: <6566A7E5-9BB6-4019-8C25-926742223E91@ece.rochester.edu> References: <312D561F-47E0-41D7-9825-435610198DA6@ece.rochester.edu> <200D2EB3-262E-4E11-8D10-A22FDA7B60E6@gmail.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6nBO-0006Aj-S8 for emacs-orgmode@gnu.org; Wed, 20 May 2009 10:54:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6nBK-00066b-9u for emacs-orgmode@gnu.org; Wed, 20 May 2009 10:54:14 -0400 Received: from [199.232.76.173] (port=60429 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6nBK-00066U-2y for emacs-orgmode@gnu.org; Wed, 20 May 2009 10:54:10 -0400 Received: from cowpens.ceas.rochester.edu ([128.151.162.25]:63977) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6nBJ-0000bC-L8 for emacs-orgmode@gnu.org; Wed, 20 May 2009 10:54:09 -0400 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: Eric Schulte Cc: emacs-orgmode@gnu.org, Carsten Dominik Thanks cheers MMD On May 20, 2009, at 9:33 AM, Eric Schulte wrote: > Carsten Dominik writes: > >> On May 20, 2009, at 12:56 AM, Marvin Doyley wrote: >> >>> Hi everyone, >>> >>> Does anyone knows how to vary the position of inline images. The >>> default position appear to be is center, but it would be nice to >>> vary the location especially when exporting as html >> >> I am not sure. >> >> http://orgmode.org/manual/Images-in-HTML-export.html#Images-in-HTML-export >> >> shows how to add attributes to the img tag, but that may not be >> enough. >> > > I've actually been wondering this myself, and the attributes line did > the trick for me. The position (left, center, right) of the image can > be controlled with the float style directive. > > #+ATTR_HTML: style="float:left" > [[file:out.png]] > > This actually works for images exported using org-exp-blocks as well, > which was a nice surprise. > > Thanks -- Eric > >> >> I don't know much about HTML. Can you describe what kind of HTML >> code >> you'd like to generate to vary the position of an image? >> >> - Carsten >> >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >