Hi François, pin...@iro.umontreal.ca (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