Permalink
Browse files

clean up listing 3

  • Loading branch information...
1 parent 5ae0406 commit 9ca1eb5bef61f07567a2fc3b7efb19ab9eaff2aa @kjhealy committed Feb 21, 2011
Showing with 4 additions and 7 deletions.
  1. +4 −7 workflow-apps.org
View
@@ -553,8 +553,10 @@ website, does a good job alleviating the problem.
For example, Figure \ref{fig:org-babel-example} is generated on the
fly from source-code blocks included in the =.org= source for this
-article. A piece of code can be executed, displayed, or both --- like
-this:
+article. A piece of code can be executed, displayed, or both --- as in
+the case of Listing \ref{lst:babel}. Then the figure can be created
+directly. I don't show the code for this here, but you can look in the
+[[https://github.com/kjhealy/workflow-paper][source file for this article]] to see how it's done.
#+LaTeX: \begin{listing}
#+source: setup
@@ -567,11 +569,6 @@ this:
#+LaTeX: \label{lst:babel}
#+LaTeX: \end{listing}
-
-Then the figure can be created directly. I don't show the code for
-this here, but you can look in the [[https://github.com/kjhealy/workflow-paper][source file for this article]] to see
-how it's done.
-
#+CAPTION: A figure produced from code embedded in the source (=.org=) file for this article.
#+LABEL: fig:org-babel-example
#+ATTR_LaTeX: width=5in

0 comments on commit 9ca1eb5

Please sign in to comment.