emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Automatic inter Web-site linking ?


From: Bastien
Subject: Re: [O] Automatic inter Web-site linking ?
Date: Mon, 09 Apr 2012 14:53:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Hi François,

address@hidden (François Pinard) writes:

> Currently, here is what I would
> like to achieve: whenever there is a "file:*.org" link which is not
> translatable with the current algorithms, there is presumably some code
> somewhere, able to determine the site (from org-publish-project-alist)
> that would publish that referenced file.  If that site is found, and if
> the site has a :top-url attribute, its value could provide a base to
> build the proper URL to translate the link.  Would remain to hook the
> link conversion, likely within the current code in org-html.el; but as
> of now, I do not understand it enough to do (or at least, do cleanly).

Did you try using link abbreviations?

>From the manual:

,----
| 4.6 Link abbreviations
| ======================
| 
| Long URLs can be cumbersome to type, and often many similar links are
| needed in a document.  For this you can use link abbreviations.  An
| abbreviated link looks like this
| 
|      [[linkword:tag][description]]
`----

If that doesn't fit your need because you need internal links to get you
to the Org page, then I'll need a more "actionable" example.

HTH, thanks,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]