From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?S=E9bastien_Brisard?= Subject: Re: Org-mode-publish: link to dedicated target accross files Date: Mon, 30 Dec 2013 21:28:18 +0100 Message-ID: References: <87ppofqyjg.fsf@gmail.com> <87lhz2r7w3.fsf@gmail.com> <87ob3ydsvw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158cb54c2144d04eec64862 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxjRq-0002S6-C9 for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 15:28:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxjRl-0003XM-Or for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 15:28:26 -0500 Received: from mx1.polytechnique.org ([129.104.30.34]:59622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxjRl-0003XF-Eb for emacs-orgmode@gnu.org; Mon, 30 Dec 2013 15:28:21 -0500 Received: from mail-qa0-f49.google.com (mail-qa0-f49.google.com [209.85.216.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 8C27A140912F7 for ; Mon, 30 Dec 2013 21:28:19 +0100 (CET) Received: by mail-qa0-f49.google.com with SMTP id ii20so10970777qab.8 for ; Mon, 30 Dec 2013 12:28:18 -0800 (PST) In-Reply-To: <87ob3ydsvw.fsf@gmail.com> 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: emacs-orgmode@gnu.org --089e0158cb54c2144d04eec64862 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, yes, that might help. Org-file =3Dreferences.org=3D is a list of bibliograp= hic 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? S=E9bastien 2013/12/30 Nicolas Goaziou > Hello, > > S=E9bastien Brisard writes: > > > Correction: CUSTOM_ID does not seem to work with description lists (it > > seems it only works with headings, *, **, ***, ...). > > It would be useful to know what you wrote in your Org file, what the > output is, and what you expected. > > > Regards, > > -- > Nicolas Goaziou > --089e0158cb54c2144d04eec64862 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

yes, that might help. O= rg-file =3Dreferences.org=3D is a lis= t of bibliographic references. Each entry is actually an item in a descript= ion list, like so

#+BEGIN_SRC
=A0 - <<HASH1962>> [[http://dx.doi.org/1= 0.1016/0022-5096(62)90004-2][Hashin and Shtrikman (1962)]] :: Z. Hashin= and S. Shtrikman, /On some variational principles in anisotropic and nonho= mogeneous 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 s= omething like

Using the energy principle of Hashin and Sh= trikman (1962), an upper bound on the elastic moduli can be derived.

Once exported to html, I wo= uld like the text 'Hashin [...] (1962)' to be a hyperlink which sho= uld point to references.html#HASH1962.

Do you need more details? How can I ac= hieve that result?

S=E9bastien
<= /div>

2013/12/30 N= icolas Goaziou <n.goaziou@gmail.com>
Hello,

S=E9bastien Brisard <sebast= ien.brisard@m4x.org> writes:

> Correction: CUSTOM_ID does not seem to work wi= th description lists (it
> seems it only works with headings, *, **, ***, ...).

It would be useful to know what you wrote in your Org file, what the<= br> output is, and what you expected.


Regards,

--
Nicolas Goaziou

--089e0158cb54c2144d04eec64862--