From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: make new links show as figures? Date: Thu, 31 Oct 2013 18:06:12 +0100 Message-ID: References: <20c923d8f003b0f570dad32bfb8adcbd@mail.rickster.com> <57E3D773-303E-4E29-AACE-A0D7C78C7F01@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbvhP-0002LG-OS for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 13:06:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbvhJ-0005rV-FL for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 13:06:23 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:54682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbvhJ-0005r9-9D for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 13:06:17 -0400 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: Rick Frankel Cc: John Kitchin , emacs-orgmode@gnu.org, Carsten Dominik rick@rickster.com writes: > So, I've done some testing of the export functions (html and latex > only) and found the following behaviors with this patch: > > - HTML > - image in description only displayed if the protocol (file:) is > included. > - LaTeX > - same, required file: protocol in description > - additionally, pdflatex \includgraphics barfs on any path w/ a > =./= path prefix -- this is true for the current implmenation as > well. > > Changing the regexp for in-buffer image expansion to mimic the export > behavior is difficult at best. I think the inconsistency is > acceptable, and I will documentment the behavior in the > `org-display-inline-images' docstring. Consistency would be nice, but then we might start asking for more, such as following attr_html attributes (width, for instance). It's very useful like this, to check before exporting that the link to the expected image is indeed correct. Thanks, Alan