From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: file link completion and html export... Date: Fri, 10 Jul 2015 00:01:55 +0200 Message-ID: <87y4ipout0.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDJtZ-0002ER-5W for emacs-orgmode@gnu.org; Thu, 09 Jul 2015 18:02:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDJtV-0000An-MY for emacs-orgmode@gnu.org; Thu, 09 Jul 2015 18:02:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:42554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDJtV-0000AP-FU for emacs-orgmode@gnu.org; Thu, 09 Jul 2015 18:02:13 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZDJtN-0007A2-4G for emacs-orgmode@gnu.org; Fri, 10 Jul 2015 00:02:05 +0200 Received: from tsn109-201-152-26.dyn.nltelcom.net ([109.201.152.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jul 2015 00:02:05 +0200 Received: from rasmus by tsn109-201-152-26.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Jul 2015 00:02:05 +0200 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: emacs-orgmode@gnu.org Matt Price writes: > OK, hi again, > > I realize I've been asking lots of question and generating a certain amount > of noise. Many thanks for help you've all given in last little bit. I've > finally moved over entirely reveal.js and org-reveal (it's so great!) and > want to be sure that my presentations all work (a) locally, on my laptop, > and (b) accessible online, for my students to examine afterwards. > > Most of my images are just stolen from the web, but occasionally I modify > or generatethem myself. In this case they live in a local directory. I can > easily sync these with org-publish-attachment, but only if I enter the > links properly with C-c C-l. > > The worg tutorial suggests: > > Same is true for images. To add an image, put it in =~/org/img/test.jpg= and > refer to it by > : [[file:img/test.jpg]] > When entered this way, file links are ocnverted to html relative links. > > I've tried this, but it seems as though emacs's file completion doesn't > recognize this link style, and I don't get completion. Since I almost never know > > the name of the file I'm attaching, I get frustrated and enter a > > file:///home/matt/... > > link, which doesn't get altered on export. Is there a better solution? Are you not using C-c C-l? Do you enable ido for org? I get completion (sans ido) with emacs -q. Rasmus -- Not everything that goes around comes back around, you know