From: Eric Schulte <schulte.eric@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: reference #+label: in export to both LaTeX and HTML
Date: Sat, 23 Nov 2013 13:12:55 -0700 [thread overview]
Message-ID: <87mwkuev20.fsf@gmail.com> (raw)
In-Reply-To: <87r4a6evaz.fsf@gmail.com> (Eric Schulte's message of "Sat, 23 Nov 2013 13:07:32 -0700")
Eric Schulte <schulte.eric@gmail.com> writes:
> Hi,
>
> How would I reference a label in export to HTML? For example.
>
> #+label: mutation-ops
> [[file:mut-ops.svg]]
>
> In LaTeX export I could use \ref{mutation-ops} which would be passed
> directly through to LaTeX, however this syntax is not understood by the
> HTML backend.
>
> Is there a general Org-mode construct for referencing labels?
>
> Thanks,
Sorry,
I should have spent another 5 minutes searching for the answer before
posting. For the above example using [[mutation-ops]] gives the desired
result.
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
next prev parent reply other threads:[~2013-11-23 20:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-23 20:07 reference #+label: in export to both LaTeX and HTML Eric Schulte
2013-11-23 20:12 ` Eric Schulte [this message]
2013-11-23 20:13 ` Thomas S. Dye
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwkuev20.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.