emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: file link completion and html export...
Date: Fri, 10 Jul 2015 00:01:55 +0200	[thread overview]
Message-ID: <87y4ipout0.fsf@gmx.us> (raw)
In-Reply-To: CAN_Dec8hMdokeO+FW-buGHxofpZjBpRya-nok1gZOi_QsVBOSQ@mail.gmail.com

Matt Price <moptop99@gmail.com> 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

      reply	other threads:[~2015-07-09 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 20:38 file link completion and html export Matt Price
2015-07-09 22:01 ` Rasmus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4ipout0.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).