From 525bcff1881879db3acebbfc6b41a36cb911153b Mon Sep 17 00:00:00 2001 From: Thomas Dye Date: Sat, 29 Sep 2012 09:08:24 -1000 Subject: [PATCH] * org-contrib/babel/languages/ob-doc-dot.org: Small edits --- org-contrib/babel/languages/ob-doc-dot.org | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/org-contrib/babel/languages/ob-doc-dot.org b/org-contrib/babel/languages/ob-doc-dot.org index ffff15e..a1b98e1 100644 --- a/org-contrib/babel/languages/ob-doc-dot.org +++ b/org-contrib/babel/languages/ob-doc-dot.org @@ -25,7 +25,7 @@ #+end_html -* Template Checklist [7/12] :noexport: +* Template Checklist [12/12] :noexport: - [X] Revise #+TITLE: - [X] Indicate #+AUTHOR: - [X] Add #+EMAIL: @@ -37,11 +37,11 @@ - [X] Write an [[Introduction]] - [X] Describe [[Requirements%20and%20Setup][Requirements and Setup]] - [X] Replace "Language" with language name in [[Org%20Mode%20Features%20for%20Language%20Source%20Code%20Blocks][Org Mode Features for Language Source Code Blocks]] - - [ ] Describe [[Header%20Arguments][Header Arguments]] - - [ ] Describe support for [[Sessions]] - - [ ] Describe [[Result%20Types][Result Types]] - - [ ] Describe [[Other]] differences from supported languages - - [ ] Provide brief [[Examples%20of%20Use][Examples of Use]] + - [X] Describe [[Header%20Arguments][Header Arguments]] + - [X] Describe support for [[Sessions]] + - [X] Describe [[Result%20Types][Result Types]] + - [X] Describe [[Other]] differences from supported languages + - [X] Provide brief [[Examples%20of%20Use][Examples of Use]] * Introduction =Dot= is one of six layout programs in the =Graphviz= open source graph visualization software, created at AT&T. The =Graphviz= layout @@ -129,8 +129,18 @@ valid =dot= code ,#+END_SRC #+END_EXAMPLE -and this is chained to a =dot= source code block that wraps the input -in a =graph{}= command to produce the following graphic output +and this is chained to a =dot= source code block + +#+BEGIN_EXAMPLE +,#+BEGIN_SRC dot :file images/test-dot.png :var input=make-dot :exports results +graph { + $input +} +,#+END_SRC +#+END_EXAMPLE + +that wraps the input in a =graph{}= command to produce the following +graphic output #+BEGIN_SRC dot :file images/test-dot.png :var input=make-dot :exports results graph { -- 1.7.2.5