emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Several questions about beamer export
Date: Fri, 12 Jul 2013 13:45:12 -0300	[thread overview]
Message-ID: <87sizj7mnb.fsf@gmail.com> (raw)
In-Reply-To: <8761wf4xm4.fsf@gmail.com>


I don't think you can change the behavior of a link type to take into
account somethink similar to graphicspath, but you can easily define
custom link types: For instance, put this in your org-file
--8<---------------cut here---------------start------------->8---
#+LINK: fig file:my_figure_path/%s
--8<---------------cut here---------------end--------------->8---

Then you will be able to You write a link such as 

--8<---------------cut here---------------start------------->8---
[[fig:some_figure.png]]
--8<---------------cut here---------------end--------------->8---


ps: Remember to do "C-c C-c" in the #+LINK line after you insert it.

-- 
Darlan Cavalcante Moreira
darcamo@gmail.com


ndokos@gmail.com writes:

> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> Nick Dokos <ndokos@gmail.com> writes:
>>
>>> Julien Cubizolles <j.cubizolles@free.fr> writes:
>>>
>>>
>>>> * in LaTeX you can use \graphicspath to define the directories in which
>>>>   to look for picture files. Does org mode offer the same possibility ?
>>>>
>>>
>>> No special mechanism afaik, but there is a general one.  Did you try
>>> adding something like
>>>
>>> #+LATEX_HEADER: \graphicspath{{images/}}
>>
>> I wasn't clear enough in my question. I would like the links in orgmode
>> made relative to a common root defined in the preamble.
>>
>
> Ah, OK - I misunderstood. AFAIK, the answer is "no".

  reply	other threads:[~2013-07-12 16:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-11 21:55 Several questions about beamer export Julien Cubizolles
2013-07-12  3:21 ` Nick Dokos
2013-07-12  5:16   ` Julien Cubizolles
2013-07-12  7:13     ` Nick Dokos
2013-07-12  7:19       ` Nicolas Goaziou
2013-07-12  7:02 ` Nick Dokos
2013-07-12 15:05   ` Julien Cubizolles
2013-07-12 15:16     ` Nick Dokos
2013-07-12 16:45       ` Darlan Cavalcante Moreira [this message]
2013-07-12 17:14         ` Nick Dokos
2013-07-15  9:03         ` Julien Cubizolles
2013-07-15 13:05           ` Nick Dokos
2013-07-15 19:58             ` Julien Cubizolles
2013-09-03  8:31               ` Julien Cubizolles
2013-07-12  7:16 ` Nicolas Goaziou

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=87sizj7mnb.fsf@gmail.com \
    --to=darcamo@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).