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