emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: "Łukasz Stelmach" <steelman@post.pl>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: customized link pointing at a src block
Date: Sun, 10 Nov 2019 11:25:16 +0000	[thread overview]
Message-ID: <87o8xkezxg.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87r22q139a.fsf%steelman@post.pl> ("Łukasz Stelmach"'s message of	"Sat, 02 Nov 2019 20:34:25 +0100")

You want the equivalent of the LaTeX exporter's

,----[ C-h v org-latex-prefer-user-labels RET ]
| org-latex-prefer-user-labels is a variable defined in ‘ox-latex.el’.
| Its value is t
| Original value was nil
| 
|   You can customize this variable.
| 
| 
| This variable was introduced, or its default value was changed, in
| version 26.1 of Emacs.
| 
| Documentation:
| Use user-provided labels instead of internal ones when non-nil.
| 
| [...]
| 
| For headlines that do not define the CUSTOM_ID property or
| elements without a NAME, Org will continue to use its default
| labeling scheme to generate labels and resolve links into proper
| references.
`----

I don't think the HTML exporter has anything similar but it should be
possible to implement...

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78

      reply	other threads:[~2019-11-10 11:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-02 19:34 customized link pointing at a src block Łukasz Stelmach
2019-11-10 11:25 ` Fraga, Eric [this message]

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=87o8xkezxg.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=steelman@post.pl \
    /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).