Re: [O] latex export of org-mode: verbatim block in a figure

2013-03-15 Thread Nicolas Goaziou
Hello, Rob Stewart writes: > What I would like to do is simple: wrap a verbatim code block within a > Figure, so that I can refer to it elsewhere in my org-mode file. How > is this achieved? A naive solution, which does not work, looks like: > > #+CAPTION:My caption > #+LABEL: fig:my-ap

Re: [O] latex export of org-mode: verbatim block in a figure

2013-03-15 Thread Thomas S. Dye
Aloha Rob, Rob Stewart 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 <> 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

Re: [O] latex export of org-mode: verbatim block in a figure

2013-03-15 Thread Rob Stewart
> There are some things I don't quite understand: Would you like to export to > LaTeX, or would you simply like to have a <> 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 expor

Re: [O] latex export of org-mode: verbatim block in a figure

2013-03-15 Thread AW
Am Donnerstag, 14. März 2013, 15:33:50 schrieb Rob Stewart: > What I would like to do is simple: wrap a verbatim code block within a > Figure, so that I can refer to it elsewhere in my org-mode file. How > is this achieved? A naive solution, which does not work, looks like: > > #+CAPTION:My ca

[O] latex export of org-mode: verbatim block in a figure

2013-03-14 Thread Rob Stewart
What I would like to do is simple: wrap a verbatim code block within a Figure, so that I can refer to it elsewhere in my org-mode file. How is this achieved? A naive solution, which does not work, looks like: #+CAPTION:My caption #+LABEL: fig:my-api #+ATTR_LaTeX: width=130mm,height=30mm #