* Sorry: inline R source code breaks latex itemize environment
@ 2013-07-19 8:47 Dieter Wilhelm, H.
2013-07-19 13:19 ` John Hendy
0 siblings, 1 reply; 2+ messages in thread
From: Dieter Wilhelm, H. @ 2013-07-19 8:47 UTC (permalink / raw)
To: Emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
Sorry, the previous mail was sent inadvertently without attachments ...
Dear ()
please have a look at the self-contained test case. I'm using the
latest org-mode...
Thanks in advance
Dieter
[-- Attachment #2: test.org --]
[-- Type: application/octet-stream, Size: 554 bytes --]
#+PROPERTY: session *R*
* bla
#+BEGIN_SRC R :results silent :exports none
di <- 6
do <- 13
A <- pi/4*(do^2-di^2)
p <- 80 #Pressure in N/mm^2
F <- p*A;F
Fo <- mean(c(18.5 , 18.96, 17.8, 16.2));Fo
Fs <- sd(c(18.5 , 18.96, 17.8, 16.2))/Fo*100
cs <- Fo/A*1e3
#+END_SRC
** Results
- The average measured axial compression force \(F\) of 4 bearings
is src_R[:results raw :exports results]{round(Fo,1)} kN (relative stddev:
src_R[:results raw :exports results]{round(Fs,1)} %)
[-- Attachment #3: test.pdf --]
[-- Type: application/pdf, Size: 36341 bytes --]
[-- Attachment #4: test.tex --]
[-- Type: application/x-tex, Size: 868 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Sorry: inline R source code breaks latex itemize environment
2013-07-19 8:47 Sorry: inline R source code breaks latex itemize environment Dieter Wilhelm, H.
@ 2013-07-19 13:19 ` John Hendy
0 siblings, 0 replies; 2+ messages in thread
From: John Hendy @ 2013-07-19 13:19 UTC (permalink / raw)
To: Dieter Wilhelm, H.; +Cc: Emacs-orgmode@gnu.org
Try this:
- The average measured axial compression force \(F\) of 4 bearings
is src_R[:results value :exports results]{round(Fo,1)} kN
(relative stddev:
src_R[:results value :exports results]{round(Fs,1)} %)
(Switch to =:results value= instead of raw.)
I seem to recall asking about changing the fontification from
code/verbatim for the result, but don't recall the solution. Maybe it
is raw, since it's another variant of value, in which case there does
seem to be a bug since value doesn't break itemize.
John
On Fri, Jul 19, 2013 at 3:47 AM, Dieter Wilhelm, H.
<dieter.wilhelm@gmail.com> wrote:
> Sorry, the previous mail was sent inadvertently without attachments ...
>
> Dear ()
>
> please have a look at the self-contained test case. I'm using the
> latest org-mode...
>
> Thanks in advance
>
> Dieter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-19 13:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-19 8:47 Sorry: inline R source code breaks latex itemize environment Dieter Wilhelm, H.
2013-07-19 13:19 ` John Hendy
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.