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: Mon, 30 Dec 2013 23:05:22 +0100 Message-ID: <87k3emdmfx.fsf@gmail.com> References: <87ppofqyjg.fsf@gmail.com> <87lhz2r7w3.fsf@gmail.com> <87ob3ydsvw.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]:56048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxkxP-0005dk-CL for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 17:05:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxkxK-0004s9-Ui for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 17:05:07 -0500 Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]:45455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxkxK-0004rM-NP for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 17:05:02 -0500 Received: by mail-we0-f181.google.com with SMTP id x55so10649423wes.12 for ; Mon, 30 Dec 2013 14:05:01 -0800 (PST) In-Reply-To: (=?utf-8?Q?=22S=C3=A9bastien?= Brisard"'s message of "Mon, 30 Dec 2013 21:28:18 +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: emacs-orgmode@gnu.org S=C3=A9bastien Brisard writes: > yes, that might help. Org-file =3Dreferences.org=3D is a list of bibliogr= aphic > references. Each entry is actually an item in a description list, like so > > #+BEGIN_SRC > - <> > [[http://dx.doi.org/10.1016/0022-5096(62)90004-2][Hashinand Shtrikman > (1962)]] :: Z. Hashin and S. Shtrikman, /On some variational > principles in anisotropic and nonhomogeneous elasticity/, Journal of the > Mechanics and Physics of Solids 10(4):335-342, 1962 > #+END_SRC > > Then, in other org files, I'd like to refer to one of the items in the > list. For example, I would like to write something like > > Using the energy principle of Hashin and Shtrikman (1962), an upper bound > on the elastic moduli can be derived. > > Once exported to html, I would like the text 'Hashin [...] (1962)' to be a > hyperlink which should point to references.html#HASH1962. > > Do you need more details? How can I achieve that result? What happens if you write [[file:./references.org::#HASH1962][Hashin and Shtrikman (1962)]] in other Org files? Regards, --=20 Nicolas Goaziou