[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org-mode-publish: link to dedicated target accross files
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Org-mode-publish: link to dedicated target accross files |
Date: |
Wed, 01 Jan 2014 19:13:20 +0100 |
Hello,
Sébastien Brisard <address@hidden> writes:
> If I instead write
>
> [[file:./references.org::HASH1962][Hashin and Shtrikman (1962)]]
>
> (without the #), then the behaviour is the exact opposite
> 3. in Emacs, the link (including the dedicated target) is found
> 4. in the exported HTML file, the link is incomplete (<a
> href="./references.html">...</a>)
>
> What I would like is 2 + 3...
I have pushed a change to html back-end (in master branch) so that an
unresolved option should still appear in the exported link. IOW,
[[file:./file.org::target][...]]
will become
<a href="./file.html#target">...</a>
This is slightly different from link resolution in a single buffer,
because, in the case above, a headline named "* target" will have
priority over a "<<target>>".
Regards,
--
Nicolas Goaziou
- Re: [O] Org-mode-publish: link to dedicated target accross files,
Nicolas Goaziou <=