emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: exporting images in latex with a relative path
Date: Wed, 17 Jun 2015 13:54:38 +0200	[thread overview]
Message-ID: <877fr28s8x.fsf@selenimh.access.network> (raw)
In-Reply-To: <m2d20upqk3.fsf@polytechnique.org> (Alan Schmitt's message of "Wed, 17 Jun 2015 12:39:08 +0200")

Hello,

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> I'm fetching images using org-download, which creates links of the form:
>
>  [[~/work/talks/Formal_JavaScript/images/Adobe_logo_2015-06-17_12:22:02.gif]]
>
> Unfortunately these links are not exported when I export to latex, I get
> this output:
>
>  \url{file:///Users/schmitta/work/talks/Formal_JavaScript/images/Adobe_logo_2015-06-17_12:22:02.gif}
>
> Is there a way to get an inline image instead? I see the manual requires
> the link to start with "file:" or with ".", could it also work with
> "~"?

It already works with "~", but ".gif" is not recognized, by default, as
a valid extension for images. You can configure
`org-latex-inline-image-rules'.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2015-06-17 11:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17 10:39 exporting images in latex with a relative path Alan Schmitt
2015-06-17 11:54 ` Nicolas Goaziou [this message]
2015-06-17 12:38   ` Alan Schmitt

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=877fr28s8x.fsf@selenimh.access.network \
    --to=mail@nicolasgoaziou.fr \
    --cc=alan.schmitt@polytechnique.org \
    --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).