emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Rob Stewart <robstewart57@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: latex export of org-mode: verbatim block in a figure
Date: Fri, 15 Mar 2013 06:21:02 -1000	[thread overview]
Message-ID: <m1ehfghbwx.fsf@tsdye.com> (raw)
In-Reply-To: <CA+ZOasKgoFNa70EVFDY7HsNeOqDaM1UigRxwDc0XVvSE_BzsqA@mail.gmail.com> (Rob Stewart's message of "Fri, 15 Mar 2013 11:50:34 +0000")

Aloha Rob,

Rob Stewart <robstewart57@gmail.com> writes:

>> There are some things I don't quite understand: Would you like to export to
>> LaTeX, or would you simply like to have a <<target>> to refer to in an orgmode
>> file?
>
> I'd like. in my orgmode file, to be able to say, "see Figure
> \ref{fig:my-api}". When I export to LaTeX, I'd like it to then
> correctly export the reference as it would be in LaTeX e.g. if the
> Figure is 1.1, then then pdflatex would produce: "see Figure 1.1".
>
>> And why have a figure, instead of -- in LaTeX terminology -- a listing?
>
> Good point. Yes, Listing would be good. Any idea how to solve this
> reference problem as a listing?

The LaTeX minted package has a facility for "floated listings" that
might do what you want.

hth,
Tom

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

  reply	other threads:[~2013-03-15 16:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 11:50 latex export of org-mode: verbatim block in a figure Rob Stewart
2013-03-15 16:21 ` Thomas S. Dye [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-03-14 15:33 Rob Stewart
2013-03-15 10:03 ` AW
2013-03-15 19:45 ` Nicolas Goaziou

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=m1ehfghbwx.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=robstewart57@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).