From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org-mode-publish: link to dedicated target accross files Date: Wed, 01 Jan 2014 19:13:20 +0100 Message-ID: <878uuzefjz.fsf@gmail.com> References: <87ppofqyjg.fsf@gmail.com> <87lhz2r7w3.fsf@gmail.com> <87ob3ydsvw.fsf@gmail.com> <87k3emdmfx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyQI2-000775-B0 for emacs-orgmode@gnu.org; Wed, 01 Jan 2014 13:13:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VyQHw-0004nX-OV for emacs-orgmode@gnu.org; Wed, 01 Jan 2014 13:13:10 -0500 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:33054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VyQHw-0004nQ-Hl for emacs-orgmode@gnu.org; Wed, 01 Jan 2014 13:13:04 -0500 Received: by mail-we0-f169.google.com with SMTP id w61so12017419wes.14 for ; Wed, 01 Jan 2014 10:13:03 -0800 (PST) In-Reply-To: (=?utf-8?Q?=22S=C3=A9bastien?= Brisard"'s message of "Tue, 31 Dec 2013 18:44:40 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Brisard Cc: Rick Frankel , emacs-orgmode@gnu.org Hello, S=C3=A9bastien Brisard 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 ( href=3D"./references.html">...) > > 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 ... 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 "<>". Regards, --=20 Nicolas Goaziou