emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: reference #+label: in export to both LaTeX and HTML
Date: Sat, 23 Nov 2013 10:13:05 -1000	[thread overview]
Message-ID: <m1y54e512m.fsf@poto.westell.com> (raw)
In-Reply-To: <87r4a6evaz.fsf@gmail.com> (Eric Schulte's message of "Sat, 23 Nov 2013 13:07:32 -0700")

Hi Eric,

Will this work?

#+name: mutation-ops
[[file:mut-ops.svg]]

Figure [[mutation-ops]] shows ...

hth,
Tom

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,

-- 
Thomas S. Dye
http://www.tsdye.com

      parent reply	other threads:[~2013-11-23 20:13 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
2013-11-23 20:13 ` Thomas S. Dye [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=m1y54e512m.fsf@poto.westell.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /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).