diff --git a/org-babel-worg.org b/org-babel-worg.org index 962f35056..852b35a63 100644 --- a/org-babel-worg.org +++ b/org-babel-worg.org @@ -8,7 +8,7 @@ #+LANGUAGE: en #+CATEGORY: worg -#+begin_html +#+begin_html

executable source code blocks in org-mode

@@ -24,16 +24,29 @@ #+end_html +#+begin_html +

+

+#+end_html + * Introduction :PROPERTIES: :CUSTOM_ID: introduction :END: Org-babel provides the following modifications to [[http://orgmode.org/manual/Literal-examples.html][the existing support]] for blocks of source code examples in the org-mode core. - 1. source code execution + 1. interactive source code execution 2. arguments to source code blocks 3. exportation of source code blocks to files (literate programming) +Much of this document includes interactive examples. The reader is +encouraged to grab either the plain text version of this file +#+HTML: org-babel-worg.org +which can be read and run in Emacs or the htmlized version of the +plain text of this file +#+HTML: org-babel-worg.html +which is viewable through the web browser. + * Getting started :PROPERTIES: :CUSTOM_ID: getting-started diff --git a/publish-babel.org b/publish-babel.org index 2441265d5..2b75bc0ae 100644 --- a/publish-babel.org +++ b/publish-babel.org @@ -21,7 +21,10 @@ publishing. Publish a project with =C-c C-e X=. :publishing-directory ,(expand-file-name "doc" org-babel-dir) :index-filename "org-babel-worg.org" :auto-postamble nil - :style "") + :style "" + :publishing-function (org-publish-org-to-html org-publish-org-to-org) + :plain-source t + :htmlized-source t) org-publish-project-alist)) #+end_src