From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leu Zhe Subject: Re: Display image in current section Date: Tue, 2 Dec 2014 16:59:19 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e010d9e3e1bf4720509371dc7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XviNO-0007zL-EU for emacs-orgmode@gnu.org; Tue, 02 Dec 2014 03:00:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XviNN-00033o-Ma for emacs-orgmode@gnu.org; Tue, 02 Dec 2014 03:00:02 -0500 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:41385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XviNN-00032z-Ab for emacs-orgmode@gnu.org; Tue, 02 Dec 2014 03:00:01 -0500 Received: by mail-ie0-f169.google.com with SMTP id y20so11290409ier.28 for ; Mon, 01 Dec 2014 23:59:59 -0800 (PST) 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: John Kitchin Cc: "emacs-orgmode@gnu.org" --089e010d9e3e1bf4720509371dc7 Content-Type: text/plain; charset=ISO-8859-1 Dear John, Thanks very much, it works perfect. On Tue, Dec 2, 2014 at 4:19 AM, John Kitchin wrote: > Leu Zhe writes: > > (defun show-images-subtree () > (interactive) > (save-restriction > (org-narrow-to-subtree) > (org-display-inline-images nil t (point-min) (point-max)))) > > > Should do the trick. > > Hi everyone > > > > I current use org-mode to organise lots of images in different > > sections. > > > > Sometimes i just would like to display the image in current section, > > not all the image, because it takes some time to show them all. > > Any solution? > > > > Thanks in advance. > > > > llcc > > > > -- > ----------------------------------- > John Kitchin > Professor > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > http://kitchingroup.cheme.cmu.edu > --089e010d9e3e1bf4720509371dc7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Dear John,

Thanks very much, it works p= erfect.

On Tue, Dec 2, 2014 at 4:19 AM, John Kitchin <jkitchin@andrew.cmu.= edu> wrote:
Leu Zhe <lzhes43@gmail.com> writes:

(defun show-images-subtree ()
=A0(interactive)
=A0(save-restriction
=A0 (org-narrow-to-subtree)
=A0 (org-display-inline-images nil t (point-min) (point-max))))


Should do the trick.
> Hi everyone
>
> I current use org-mode to organise lots of images in different
> sections.
>
> Sometimes i just would like to display the image in current section, > not all the image, because it takes some time to show them all.
> Any solution?
>
> Thanks in advance.
>
> llcc
>

--
-----------------------------------
John Kitchin
Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitc= hingroup.cheme.cmu.edu

--089e010d9e3e1bf4720509371dc7--