org-mode/existing_tools/exp-blocks/example-for-r.html
Eric Schulte 4985075c28 I was able to export the testing.Rorg example with org-exp-blocks.el
the results are in existing_tools/exp-blocks/example-for-r.html.  To
get this working I had to make two changes...

First in testing.Rorg, I changed every block as follows

from

 #+BEGIN_R:

 #+END_R

to

 #+BEGIN_R

 #+END_R

Second I fixed a broken regexp in org-exp-blocks.el

This is capable of running calculations on the R blocks and the inline
\R{} segments, but is not yet able to handle the image generation
commands.
2009-02-05 15:46:06 -08:00

91 lines
2.5 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
lang="en" xml:lang="en">
<head>
<title>a &lt;- 3</title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="generator" content="Org-mode"/>
<meta name="generated" content="2009-02-05 15:26:32 PST"/>
<meta name="author" content="Eric Schulte"/>
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
html { font-family: Times, serif; font-size: 12pt; }
.title { text-align: center; }
.todo { color: red; }
.done { color: green; }
.tag { background-color:lightblue; font-weight:normal }
.target { }
.timestamp { color: grey }
.timestamp-kwd { color: CadetBlue }
p.verse { margin-left: 3% }
pre {
border: 1pt solid #AEBDCC;
background-color: #F3F5F7;
padding: 5pt;
font-family: courier, monospace;
font-size: 90%;
overflow:auto;
}
table { border-collapse: collapse; }
td, th { vertical-align: top; }
dt { font-weight: bold; }
div.figure { padding: 0.5em; }
div.figure p { text-align: center; }
.linenr { font-size:smaller }
.code-highlighted {background-color:#ffff00;}
.org-info-js_info-navigation { border-style:none; }
#org-info-js_console-label { font-size:10px; font-weight:bold;
white-space:nowrap; }
.org-info-js_search-highlight {background-color:#ffff00; color:#000000;
font-weight:bold; }
/*]]>*/-->
</style>
<script type="text/javascript">
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*/-->
</script>
</head><body>
<h1 class="title">a &lt;- 3</h1>
<div id="R-1">
<pre>
> a
</pre>
</div>
<ul>
<li>
the value of a is 3
</li>
<li>
the value of a + 3 is 6
</li>
</ul>
<div id="postamble"><p class="author"> Author: Eric Schulte
<a href="mailto:schulte.eric@gmail.com">&lt;schulte.eric@gmail.com&gt;</a>
</p>
<p class="date"> Date: 2009-02-05 15:26:32 PST</p>
<p>HTML generated by org-mode 6.20f in emacs 23</p>
</div></body>
</html>