Re: [Orgmode] a better way with babel

2010-07-01 Thread Eric Schulte
Of course, an updated patch is attached. Best -- Eric >From 5cbb38e25a2d2eae7c3c688d347f80619ecb8463 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Thu, 1 Jul 2010 08:07:17 -0700 Subject: [PATCH] add short-names to #+captions with support for latex export captions specified with the follow

Re: [Orgmode] a better way with babel

2010-07-01 Thread Carsten Dominik
Hi Eric, I tried to apply the patch, but it does not apply cleanly, maybe due to other changes. Can I ask you to update and resubmit? Thanks! - Carsten On Jun 21, 2010, at 6:37 PM, Eric Schulte wrote: Hi Robert, Thanks for the thoughtful message. I present a couple of solutions below.

Re: [Orgmode] a better way with babel

2010-06-21 Thread Eric Schulte
Hi Robert, Thanks for the thoughtful message. I present a couple of solutions below. Robert Cunningham writes: > G'day All, > > I wonder if I've missed something and there is a better way. > > Essentially I'm trying to use org babel with R and LaTeX to create figures > with both long and shor

Re: [Orgmode] a better way with babel

2010-06-21 Thread Thomas S. Dye
Aloha Robert, One solution might be to tangle the LaTeX code blocks instead of exporting the buffer to LaTeX. I like this approach--the org-mode buffer can be full of meta-data (and messy) but I retain fine control over the LaTeX output. #+begin_src latex :noweb yes :tangle yes \begin{

Re: [Orgmode] a better way with babel

2010-06-21 Thread Erik Iverson
This does produce the figure and long/short contents BUT ALSO produces this: #+results: r-nicedata [[file:ndata.pdf]] which upon export results in a link and consequently the plot appearing both in the figure and elsewhere. This second plot is unwelcome. I believe in the latest git versi

[Orgmode] a better way with babel

2010-06-21 Thread Robert Cunningham
G'day All, I wonder if I've missed something and there is a better way. Essentially I'm trying to use org babel with R and LaTeX to create figures with both long and short captions (for contents) I'd started with: #+CAPTION: Nice data (filled points indicate less nice data) #+LABEL: fig:nice