emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-attach-expand-link in latex exports (Emacs-24.3)
@ 2013-03-12 18:18 Dieter Wilhelm, H.
  2013-04-16  7:26 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Dieter Wilhelm, H. @ 2013-03-12 18:18 UTC (permalink / raw)
  To: emacs-orgmode

Hello dear list,

I added to org-link-abbrev-alist the list ("att" .
org-attach-expand-link) and it works nicely when I'm opening links
(C-c C-o) to images in the attachment directory.  But when I try to
export the document org-attach-expand-link is not to working.

I'm using the org-mode code provided with Emacs-24.3.
Where am I wrong or is this functionallity not yet implemented in the
latex exporter?

Best wishes

    H. Dieter Wilhelm

Darmstadt
Germany

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-attach-expand-link in latex exports (Emacs-24.3)
  2013-03-12 18:18 org-attach-expand-link in latex exports (Emacs-24.3) Dieter Wilhelm, H.
@ 2013-04-16  7:26 ` Bastien
  2013-04-16 12:50   ` Dieter Wilhelm, H.
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2013-04-16  7:26 UTC (permalink / raw)
  To: Dieter Wilhelm, H.; +Cc: emacs-orgmode

Hi Dieter,

"Dieter Wilhelm, H." <dieter@duenenhof-wilhelm.de> writes:

> I added to org-link-abbrev-alist the list ("att" .
> org-attach-expand-link) and it works nicely when I'm opening links
> (C-c C-o) to images in the attachment directory.  But when I try to
> export the document org-attach-expand-link is not to working.

Instead of modifying `org-link-abbrev-alist', you can simply use 

#+LINK: att %(org-attach-expand-link)

in your buffer.  It will open the correct attachment in links and
export them correctly.  There was a bug that prevented the correct
export of abbreviated links of the form %(org-attach-expand-link)
but I just fixed this bug.

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-attach-expand-link in latex exports (Emacs-24.3)
  2013-04-16  7:26 ` Bastien
@ 2013-04-16 12:50   ` Dieter Wilhelm, H.
  0 siblings, 0 replies; 3+ messages in thread
From: Dieter Wilhelm, H. @ 2013-04-16 12:50 UTC (permalink / raw)
  To: Bastien; +Cc: Emacs-orgmode@gnu.org

2013/4/16 Bastien <bzg@gnu.org>:
> Hi Dieter,
>
> "Dieter Wilhelm, H." <dieter@duenenhof-wilhelm.de> writes:
>
>> I added to org-link-abbrev-alist the list ("att" .
>> org-attach-expand-link) and it works nicely when I'm opening links
>> (C-c C-o) to images in the attachment directory.  But when I try to
>> export the document org-attach-expand-link is not to working.
>
> Instead of modifying `org-link-abbrev-alist', you can simply use
>
> #+LINK: att %(org-attach-expand-link)

Crazy!  Thanks for the information.

> in your buffer.  It will open the correct attachment in links and
> export them correctly.  There was a bug that prevented the correct
> export of abbreviated links of the form %(org-attach-expand-link)
> but I just fixed this bug.

I see, the org-link-abbrev-alist way worked for me since you prodded
me to use 8.0-pre... :-)
---
All the best

   Dieter

> Best,
>
> --
>  Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-16 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12 18:18 org-attach-expand-link in latex exports (Emacs-24.3) Dieter Wilhelm, H.
2013-04-16  7:26 ` Bastien
2013-04-16 12:50   ` Dieter Wilhelm, H.

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).