emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Brisard" <sebastien.brisard@m4x.org>
To: emacs-orgmode@gnu.org
Subject: Re: Org-mode-publish: link to dedicated target accross files
Date: Mon, 30 Dec 2013 21:28:18 +0100	[thread overview]
Message-ID: <CAGRH7Hp86CMttbxAcd4=xHo8dW=Ct2GODyTaN3nZApBtWtQXkg@mail.gmail.com> (raw)
In-Reply-To: <87ob3ydsvw.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]

Hello,

yes, that might help. Org-file =references.org= is a list of bibliographic
references. Each entry is actually an item in a description list, like so

#+BEGIN_SRC
  - <<HASH1962>>
[[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ébastien

2013/12/30 Nicolas Goaziou <n.goaziou@gmail.com>

> Hello,
>
> Sébastien Brisard <sebastien.brisard@m4x.org> 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
>

[-- Attachment #2: Type: text/html, Size: 2196 bytes --]

  reply	other threads:[~2013-12-30 20:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-29 16:20 Org-mode-publish: link to dedicated target accross files Sébastien Brisard
2013-12-29 18:53 ` Nicolas Goaziou
2013-12-29 19:17   ` Sébastien Brisard
2013-12-30  9:43     ` Nicolas Goaziou
2013-12-30 17:00       ` Sébastien Brisard
2013-12-30 17:16         ` Sébastien Brisard
2013-12-30 19:46           ` Nicolas Goaziou
2013-12-30 20:28             ` Sébastien Brisard [this message]
2013-12-30 22:05               ` Nicolas Goaziou
2013-12-31 17:44                 ` Sébastien Brisard
2014-01-01 18:13                   ` Nicolas Goaziou
2014-01-03 13:51                     ` Sébastien Brisard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGRH7Hp86CMttbxAcd4=xHo8dW=Ct2GODyTaN3nZApBtWtQXkg@mail.gmail.com' \
    --to=sebastien.brisard@m4x.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).