[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Exporting caption with raw results from inline source blocks
From: |
John Hendy |
Subject: |
Re: [O] Exporting caption with raw results from inline source blocks |
Date: |
Fri, 26 Apr 2013 07:28:29 -0500 |
On Fri, Apr 26, 2013 at 6:49 AM, Andreas Leha
<address@hidden> wrote:
> Andreas Leha <address@hidden> writes:
>
>> Hi all,
>>
>> I am experiencing problems when exporting a document with inline source
>> blocks in captions, when I want to export raw results.
>>
>> I guess the culprit are the 'raw' results. What should I do instead?
>>
>> Here is a MWE that does not export properly to LaTeX:
>>
>>
>> #+PROPERTY: exports results
>> #+PROPERTY: results raw
>>
>> * Caption with inline source
>>
>> #+name: theplot
>> #+begin_src R :results graphics :file someplot.pdf
>> plot(1:(10+1), 1:(10+1))
>> #+end_src
>>
>> #+caption: There are src_R{10+1} points in this plot
>> #+results: theplot
>> [[file:someplot.pdf]]
>>
Do you need raw results? It works for me if I just remove the
=#+PROPERTY: results raw= line. I'm wondering if that property and the
=:results graphics= in your code block conflict?
My file:
#+PROPERTY: exports results
* Caption with inline source
#+name: theplot
#+begin_src R :results graphics :file someplot.pdf
plot(1:(10+1), 1:(10+1))
#+end_src
#+caption: There are src_R{10+1} points in this plot
#+results: theplot
[[file:someplot.pdf]]
PDF output attached. With the results raw property line, I got goofy
caption alignment and it just said "points in this plot" instead of
the full line.
Best regards,
John
>>
>
>
> Is it just me, or can someone reproduce this?
>
> Regards,
> Andreas
>
>
test.pdf
Description: Adobe PDF document
- [O] Exporting caption with raw results from inline source blocks, Andreas Leha, 2013/04/24
- Re: [O] Exporting caption with raw results from inline source blocks, Andreas Leha, 2013/04/26
- Re: [O] Exporting caption with raw results from inline source blocks,
John Hendy <=
- Re: [O] Exporting caption with raw results from inline source blocks, Andreas Leha, 2013/04/26
- Re: [O] Exporting caption with raw results from inline source blocks, John Hendy, 2013/04/26
- Re: [O] Exporting caption with raw results from inline source blocks, Eric Schulte, 2013/04/26
- Re: [O] Exporting caption with raw results from inline source blocks, Eric Schulte, 2013/04/26
- Re: [O] Exporting caption with raw results from inline source blocks, Nicolas Goaziou, 2013/04/26
- Re: [O] Exporting caption with raw results from inline source blocks, Eric Schulte, 2013/04/26
- Re: [O] Exporting caption with raw results from inline source blocks, Sebastien Vauban, 2013/04/27
- Re: [O] Exporting caption with raw results from inline source blocks, Andreas Leha, 2013/04/27