[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] [bug] inline src_R breaks downstream src block
From: |
Bastien |
Subject: |
Re: [O] [babel] [bug] inline src_R breaks downstream src block |
Date: |
Sat, 20 Aug 2011 00:50:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Charles,
yes, there are some problems with parsing inline source blocks.
Stephen also reported that these colon lines
: were $\beta_2$ = src_R{round(out3$coef[3], 4)}
: and $\beta_3$ = src_R{round(out3$coef[4], 4)}
where not exporting correctly... Eric, can you have a look at
these problems?
Thanks!
"Charles C. Berry" <address@hidden> writes:
> ,----
> | | * inline code block example
> | | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> | blah blah src_R[:results output]{cat(rnorm(2))}
> | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
> | #+begin_src R :eval never :exports none
> | 1+2
> | a <- b + c
> | xyz
> | #+end_src
> | DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
> `----
>
>
> When I run C-c C-e A y, I get a buffer that misses the 'DDD...' line.
>
> When I run C-c C-e L y, I get a buffer that ends like this:
>
> ----
> | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> | blah blah \texttt{-1.172165 -0.5324113}
> | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
> | \begin{src}R DDDDDDDDDDDDDDDDDDDDDDDDDDD
> | | \end{document}
> `----
>
> More complicated examples exhibit other problems, I speculate that
> parsing the inline src_R and setting up to find the next
> #+begin_src...#+end_src instance is what has gone wrong.
>
> FWIW, changing the :exports header to 'code' seems to give correct
> results
>
> Also, placing a dummy example like this:
>
> ,----
> | #+begin_example
> | #+end_example
> `----
>
> after the src_R line produces correct results.
>
> Chuck
>
>
> Charles C. Berry Dept of Family/Preventive Medicine
> address@hidden UC San Diego
> http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
>
>
>
>
--
Bastien
- [O] [babel] [bug] inline src_R breaks downstream src block, Charles C. Berry, 2011/08/09
- Re: [O] [babel] [bug] inline src_R breaks downstream src block,
Bastien <=
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Eric Schulte, 2011/08/21
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Eric Schulte, 2011/08/21
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Eric Schulte, 2011/08/21
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Charles C. Berry, 2011/08/21
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Eric Schulte, 2011/08/22
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Charles C. Berry, 2011/08/22
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Rasmus, 2011/08/22
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Eric Schulte, 2011/08/22
- Re: [O] [babel] [bug] inline src_R breaks downstream src block, Bastien, 2011/08/23