emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: file link completion and html export...
Date: Thu, 9 Jul 2015 16:38:18 -0400	[thread overview]
Message-ID: <CAN_Dec8hMdokeO+FW-buGHxofpZjBpRya-nok1gZOi_QsVBOSQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]

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?

Thanks as always!

[-- Attachment #2: Type: text/html, Size: 1589 bytes --]

             reply	other threads:[~2015-07-09 20:38 UTC|newest]

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

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=CAN_Dec8hMdokeO+FW-buGHxofpZjBpRya-nok1gZOi_QsVBOSQ@mail.gmail.com \
    --to=moptop99@gmail.com \
    --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).