org-ruby 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/History.txt +81 -77
  2. data/README.rdoc +66 -66
  3. data/Rakefile +28 -28
  4. data/bin/org-ruby +40 -40
  5. data/lib/org-ruby.rb +50 -50
  6. data/lib/org-ruby/headline.rb +102 -120
  7. data/lib/org-ruby/html_output_buffer.rb +174 -156
  8. data/lib/org-ruby/line.rb +206 -260
  9. data/lib/org-ruby/output_buffer.rb +227 -191
  10. data/lib/org-ruby/parser.rb +320 -272
  11. data/lib/org-ruby/regexp_helper.rb +156 -156
  12. data/lib/org-ruby/textile_output_buffer.rb +67 -68
  13. data/spec/data/freeform-example.org +113 -113
  14. data/spec/data/freeform.org +111 -111
  15. data/spec/data/hyp-planning.org +335 -335
  16. data/spec/data/remember.org +53 -53
  17. data/spec/headline_spec.rb +55 -55
  18. data/spec/html_examples/advanced-code.html +36 -36
  19. data/spec/html_examples/advanced-code.org +53 -53
  20. data/spec/html_examples/advanced-lists.html +31 -31
  21. data/spec/html_examples/advanced-lists.org +31 -31
  22. data/spec/html_examples/block_code.html +28 -28
  23. data/spec/html_examples/block_code.org +35 -35
  24. data/spec/html_examples/blockquote.html +7 -7
  25. data/spec/html_examples/blockquote.org +13 -13
  26. data/spec/html_examples/code-comment.html +18 -18
  27. data/spec/html_examples/code-comment.org +22 -22
  28. data/spec/html_examples/custom-seq-todo.html +15 -15
  29. data/spec/html_examples/custom-seq-todo.org +24 -24
  30. data/spec/html_examples/custom-todo.html +15 -15
  31. data/spec/html_examples/custom-todo.org +24 -24
  32. data/spec/html_examples/custom-typ-todo.html +15 -15
  33. data/spec/html_examples/custom-typ-todo.org +24 -24
  34. data/spec/html_examples/entities.html +4 -4
  35. data/spec/html_examples/entities.org +11 -11
  36. data/spec/html_examples/escape-pre.html +6 -6
  37. data/spec/html_examples/escape-pre.org +6 -6
  38. data/spec/html_examples/export-exclude-only.html +13 -13
  39. data/spec/html_examples/export-exclude-only.org +81 -81
  40. data/spec/html_examples/export-keywords.html +4 -4
  41. data/spec/html_examples/export-keywords.org +18 -18
  42. data/spec/html_examples/export-tags.html +8 -8
  43. data/spec/html_examples/export-tags.org +82 -82
  44. data/spec/html_examples/export-title.html +2 -2
  45. data/spec/html_examples/export-title.org +4 -4
  46. data/spec/html_examples/html-literal.html +2 -2
  47. data/spec/html_examples/html-literal.org +6 -6
  48. data/spec/html_examples/inline-formatting.html +10 -10
  49. data/spec/html_examples/inline-formatting.org +17 -17
  50. data/spec/html_examples/link-features.html +8 -8
  51. data/spec/html_examples/link-features.org +19 -19
  52. data/spec/html_examples/lists.html +19 -19
  53. data/spec/html_examples/lists.org +36 -36
  54. data/spec/html_examples/metadata-comment.html +27 -27
  55. data/spec/html_examples/metadata-comment.org +30 -30
  56. data/spec/html_examples/only-list.html +5 -5
  57. data/spec/html_examples/only-list.org +3 -3
  58. data/spec/html_examples/only-table.html +6 -6
  59. data/spec/html_examples/only-table.org +5 -5
  60. data/spec/html_examples/skip-header.html +3 -3
  61. data/spec/html_examples/skip-header.org +28 -28
  62. data/spec/html_examples/skip-table.html +4 -4
  63. data/spec/html_examples/skip-table.org +19 -19
  64. data/spec/html_examples/tables.html +20 -20
  65. data/spec/html_examples/tables.org +26 -26
  66. data/spec/html_examples/text.html +2 -2
  67. data/spec/html_examples/text.org +16 -16
  68. data/spec/line_spec.rb +151 -151
  69. data/spec/output_buffer_spec.rb +19 -0
  70. data/spec/parser_spec.rb +152 -166
  71. data/spec/regexp_helper_spec.rb +57 -57
  72. data/spec/spec_helper.rb +21 -21
  73. data/spec/textile_examples/block_code.org +35 -35
  74. data/spec/textile_examples/block_code.textile +29 -29
  75. data/spec/textile_examples/blockquote.org +13 -13
  76. data/spec/textile_examples/blockquote.textile +11 -11
  77. data/spec/textile_examples/keywords.org +13 -13
  78. data/spec/textile_examples/keywords.textile +11 -11
  79. data/spec/textile_examples/links.org +11 -11
  80. data/spec/textile_examples/links.textile +10 -10
  81. data/spec/textile_examples/lists.org +36 -36
  82. data/spec/textile_examples/lists.textile +20 -20
  83. data/spec/textile_examples/single-space-plain-list.org +13 -13
  84. data/spec/textile_examples/single-space-plain-list.textile +10 -10
  85. data/spec/textile_examples/tables.org +26 -26
  86. data/spec/textile_examples/tables.textile +23 -23
  87. data/spec/textile_output_buffer_spec.rb +21 -21
  88. data/tasks/test_case.rake +49 -49
  89. metadata +3 -2
@@ -1,15 +1,15 @@
1
- <p class="title">custom-todo.org</p>
2
- <p>I copied this todo sequence from Worg. It shows a lot of power of the built-in todo functionality. Now, let&#8217;s make sure all of these are recognized (and therefore NOT exported.)</p>
3
- <h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
4
- <ul>
5
- <li>State &#8220;CANCELED&#8221; from &#8220;INPROGRESS&#8221; [2009-12-29 Tue 22:26] &#92; I gave up.</li>
6
- <li>State &#8220;WAITING&#8221; from &#8220;&#8221; [2009-12-29 Tue 22:25] &#92; huh?</li>
7
- </ul>
8
- <h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one&#8217;s in progress</h1>
9
- <h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
10
- <h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
11
- <h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
12
- <h1>DONT be fooled by just a random word in all caps.</h1>
13
- <h1>todo &lt;== this word doesn&#8217;t match because the case doesn&#8217;t match.</h1>
14
- <h1>TODOX</h1>
15
- <p>don&#8217;t be fooled by the initial substring above!</p>
1
+ <p class="title">custom-todo.org</p>
2
+ <p>I copied this todo sequence from Worg. It shows a lot of power of the built-in todo functionality. Now, let&#8217;s make sure all of these are recognized (and therefore NOT exported.)</p>
3
+ <h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
4
+ <ul>
5
+ <li>State &#8220;CANCELED&#8221; from &#8220;INPROGRESS&#8221; [2009-12-29 Tue 22:26] &#92; I gave up.</li>
6
+ <li>State &#8220;WAITING&#8221; from &#8220;&#8221; [2009-12-29 Tue 22:25] &#92; huh?</li>
7
+ </ul>
8
+ <h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one&#8217;s in progress</h1>
9
+ <h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
10
+ <h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
11
+ <h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
12
+ <h1>DONT be fooled by just a random word in all caps.</h1>
13
+ <h1>todo &lt;== this word doesn&#8217;t match because the case doesn&#8217;t match.</h1>
14
+ <h1>TODOX</h1>
15
+ <p>don&#8217;t be fooled by the initial substring above!</p>
@@ -1,24 +1,24 @@
1
- #+TITLE: custom-todo.org
2
- #+DESCRIPTION: Makes sure I can handle custom todo entries
3
- #+TYP_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
4
- #+OPTIONS: todo:t
5
-
6
- I copied this todo sequence from Worg. It shows a lot of power of the
7
- built-in todo functionality. Now, let's make sure all of these are
8
- recognized (and therefore NOT exported.)
9
-
10
- * TODO Sample
11
-
12
- - State "CANCELED" from "INPROGRESS" [2009-12-29 Tue 22:26] \\
13
- I gave up.
14
- - State "WAITING" from "" [2009-12-29 Tue 22:25] \\
15
- huh?
16
-
17
- * INPROGRESS this one's in progress
18
- * WAITING who am I waiting on?
19
- * DONE Finished this one!
20
- * CANCELED I gave up here.
21
- * DONT be fooled by just a random word in all caps.
22
- * todo <== this word doesn't match because the case doesn't match.
23
- * TODOX
24
- don't be fooled by the initial substring above!
1
+ #+TITLE: custom-todo.org
2
+ #+DESCRIPTION: Makes sure I can handle custom todo entries
3
+ #+TYP_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
4
+ #+OPTIONS: todo:t
5
+
6
+ I copied this todo sequence from Worg. It shows a lot of power of the
7
+ built-in todo functionality. Now, let's make sure all of these are
8
+ recognized (and therefore NOT exported.)
9
+
10
+ * TODO Sample
11
+
12
+ - State "CANCELED" from "INPROGRESS" [2009-12-29 Tue 22:26] \\
13
+ I gave up.
14
+ - State "WAITING" from "" [2009-12-29 Tue 22:25] \\
15
+ huh?
16
+
17
+ * INPROGRESS this one's in progress
18
+ * WAITING who am I waiting on?
19
+ * DONE Finished this one!
20
+ * CANCELED I gave up here.
21
+ * DONT be fooled by just a random word in all caps.
22
+ * todo <== this word doesn't match because the case doesn't match.
23
+ * TODOX
24
+ don't be fooled by the initial substring above!
@@ -1,4 +1,4 @@
1
- <p class="title">ENTITIES</p>
2
- <p><code>Org-ruby</code> supports &#8220;smart double quotes,&#8221; &#8216;smart single quotes,&#8217; apostrophes for contractions like won&#8217;t and can&#8217;t, and other things&#8230; like elipses. Oh &#8211; and dashes.</p>
3
- <p>Question: What does org-mode do for ampersands, like R&amp;R? or &amp;lt;? Answer: Those get escaped, too.</p>
4
- <h1>&lt;Even in headlines! funner &amp; funner!&gt;</h1>
1
+ <p class="title">ENTITIES</p>
2
+ <p><code>Org-ruby</code> supports &#8220;smart double quotes,&#8221; &#8216;smart single quotes,&#8217; apostrophes for contractions like won&#8217;t and can&#8217;t, and other things&#8230; like elipses. Oh &#8211; and dashes.</p>
3
+ <p>Question: What does org-mode do for ampersands, like R&amp;R? or &amp;lt;? Answer: Those get escaped, too.</p>
4
+ <h1>&lt;Even in headlines! funner &amp; funner!&gt;</h1>
@@ -1,11 +1,11 @@
1
- ENTITIES
2
-
3
- =Org-ruby= supports "smart double quotes," 'smart single quotes,'
4
- apostrophes for contractions like won't and can't, and other
5
- things... like elipses. Oh -- and dashes.
6
-
7
- Question: What does org-mode do for ampersands, like R&R? or &lt;?
8
- Answer: Those get escaped, too.
9
-
10
- * <Even in headlines! funner & funner!>
11
-
1
+ ENTITIES
2
+
3
+ =Org-ruby= supports "smart double quotes," 'smart single quotes,'
4
+ apostrophes for contractions like won't and can't, and other
5
+ things... like elipses. Oh -- and dashes.
6
+
7
+ Question: What does org-mode do for ampersands, like R&R? or &lt;?
8
+ Answer: Those get escaped, too.
9
+
10
+ * <Even in headlines! funner & funner!>
11
+
@@ -1,6 +1,6 @@
1
- <pre class="example">
2
- &lt;li&gt;[ ] &amp;#8220;smart quotes&amp;#8221;&lt;/li&gt;
3
- &lt;li&gt;[ ] I think I need this for &amp;#8216;single quotes&amp;#8217; too. Don&amp;#8217;t I?&lt;/li&gt;
4
- &lt;li&gt;[ ] Em dashes would be great &amp;#8212; wouldn&amp;#8217;t they?&lt;/li&gt;
5
- &lt;li&gt;[ ] I hope to develop an en dash sometime in 2010 &amp;#8211; 2011.&lt;/li&gt;
6
- </pre>
1
+ <pre class="example">
2
+ &lt;li&gt;[ ] &amp;#8220;smart quotes&amp;#8221;&lt;/li&gt;
3
+ &lt;li&gt;[ ] I think I need this for &amp;#8216;single quotes&amp;#8217; too. Don&amp;#8217;t I?&lt;/li&gt;
4
+ &lt;li&gt;[ ] Em dashes would be great &amp;#8212; wouldn&amp;#8217;t they?&lt;/li&gt;
5
+ &lt;li&gt;[ ] I hope to develop an en dash sometime in 2010 &amp;#8211; 2011.&lt;/li&gt;
6
+ </pre>
@@ -1,6 +1,6 @@
1
- #+BEGIN_EXAMPLE
2
- <li>[ ] &#8220;smart quotes&#8221;</li>
3
- <li>[ ] I think I need this for &#8216;single quotes&#8217; too. Don&#8217;t I?</li>
4
- <li>[ ] Em dashes would be great &#8212; wouldn&#8217;t they?</li>
5
- <li>[ ] I hope to develop an en dash sometime in 2010 &#8211; 2011.</li>
6
- #+END_EXAMPLE
1
+ #+BEGIN_EXAMPLE
2
+ <li>[ ] &#8220;smart quotes&#8221;</li>
3
+ <li>[ ] I think I need this for &#8216;single quotes&#8217; too. Don&#8217;t I?</li>
4
+ <li>[ ] Em dashes would be great &#8212; wouldn&#8217;t they?</li>
5
+ <li>[ ] I hope to develop an en dash sometime in 2010 &#8211; 2011.</li>
6
+ #+END_EXAMPLE
@@ -1,13 +1,13 @@
1
- <p class="title">export-headline-levels.org</p>
2
- <p>What happens when you exceed the number of headline levels to export?</p>
3
- <h1><span class="heading-number heading-number-1">1 </span>Headline 1</h1>
4
- <h2><span class="heading-number heading-number-2">1.1 </span>Headline 2</h2>
5
- <p>This bit of body <b>should</b> get exported.</p>
6
- <h3><span class="heading-number heading-number-3">1.1.1 </span>Headline 3</h3>
7
- <p>This bit of body gets exported.</p>
8
- <h4><span class="heading-number heading-number-4">1.1.1.1 </span>Headline 4 (include)</h4>
9
- <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
10
- <h3><span class="heading-number heading-number-3">1.1.2 </span>Another headline 3</h3>
11
- <p>This one <b>should not</b> get exported!!</p>
12
- <h4><span class="heading-number heading-number-4">1.1.2.1 </span>Another headline 4</h4>
13
- <p>This also <b>cannot</b> get exported!!</p>
1
+ <p class="title">export-headline-levels.org</p>
2
+ <p>What happens when you exceed the number of headline levels to export?</p>
3
+ <h1><span class="heading-number heading-number-1">1 </span>Headline 1</h1>
4
+ <h2><span class="heading-number heading-number-2">1.1 </span>Headline 2</h2>
5
+ <p>This bit of body <b>should</b> get exported.</p>
6
+ <h3><span class="heading-number heading-number-3">1.1.1 </span>Headline 3</h3>
7
+ <p>This bit of body gets exported.</p>
8
+ <h4><span class="heading-number heading-number-4">1.1.1.1 </span>Headline 4 (include)</h4>
9
+ <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
10
+ <h3><span class="heading-number heading-number-3">1.1.2 </span>Another headline 3</h3>
11
+ <p>This one <b>should not</b> get exported!!</p>
12
+ <h4><span class="heading-number heading-number-4">1.1.2.1 </span>Another headline 4</h4>
13
+ <p>This also <b>cannot</b> get exported!!</p>
@@ -1,81 +1,81 @@
1
- #+TITLE: export-headline-levels.org
2
- #+AUTHOR:
3
- #+EMAIL: bdewey@gmail.com
4
- #+DATE: 2009-12-29 Tue
5
- #+DESCRIPTION:
6
- #+KEYWORDS:
7
- #+LANGUAGE: en
8
- #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
9
- #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
10
- #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
11
- #+EXPORT_EXCLUDE_TAGS: exclude noexport
12
- #+TAGS: export noexport
13
- #+LINK_UP:
14
- #+LINK_HOME:
15
-
16
- What happens when you exceed the number of headline levels to export?
17
-
18
- * Shouldn't export :noexport:
19
-
20
- This text shouldn't be exported, right?
21
-
22
- ** Nor this subheading?
23
-
24
- Or its text?
25
-
26
- * Exlude me, too! :exclude:
27
-
28
- * Headline 1 :READING:DVD:
29
-
30
- ** Headline 2
31
-
32
- This bit of body *should* get exported.
33
-
34
- *** Headline 3 :export:
35
-
36
- This bit of body gets exported.
37
-
38
- **** Headline 4 (include)
39
-
40
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
41
- nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
42
- erat, sed diam voluptua. At vero eos et accusam et justo duo
43
- dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
44
- sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
45
- amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
46
- invidunt ut labore et dolore magna aliquyam erat, sed diam
47
- voluptua. At vero eos et accusam et justo duo dolores et ea
48
- rebum. Stet clita kasd gubergren, no sea takimata sanctus est
49
- Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
50
- consetetur sadipscing elitr, sed diam nonumy eirmod tempor
51
- invidunt ut labore et dolore magna aliquyam erat, sed diam
52
- voluptua. At vero eos et accusam et justo duo dolores et ea
53
- rebum. Stet clita kasd gubergren, no sea takimata sanctus est
54
- Lorem ipsum dolor sit amet.
55
-
56
- **** Headline 4 (exclude) :noexport:
57
-
58
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
59
- nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
60
- erat, sed diam voluptua. At vero eos et accusam et justo duo
61
- dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
62
- sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
63
- amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
64
- invidunt ut labore et dolore magna aliquyam erat, sed diam
65
- voluptua. At vero eos et accusam et justo duo dolores et ea
66
- rebum. Stet clita kasd gubergren, no sea takimata sanctus est
67
- Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
68
- consetetur sadipscing elitr, sed diam nonumy eirmod tempor
69
- invidunt ut labore et dolore magna aliquyam erat, sed diam
70
- voluptua. At vero eos et accusam et justo duo dolores et ea
71
- rebum. Stet clita kasd gubergren, no sea takimata sanctus est
72
- Lorem ipsum dolor sit amet.
73
-
74
-
75
- *** Another headline 3
76
-
77
- This one *should not* get exported!!
78
-
79
- **** Another headline 4
80
-
81
- This also *cannot* get exported!!
1
+ #+TITLE: export-headline-levels.org
2
+ #+AUTHOR:
3
+ #+EMAIL: bdewey@gmail.com
4
+ #+DATE: 2009-12-29 Tue
5
+ #+DESCRIPTION:
6
+ #+KEYWORDS:
7
+ #+LANGUAGE: en
8
+ #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
9
+ #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
10
+ #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
11
+ #+EXPORT_EXCLUDE_TAGS: exclude noexport
12
+ #+TAGS: export noexport
13
+ #+LINK_UP:
14
+ #+LINK_HOME:
15
+
16
+ What happens when you exceed the number of headline levels to export?
17
+
18
+ * Shouldn't export :noexport:
19
+
20
+ This text shouldn't be exported, right?
21
+
22
+ ** Nor this subheading?
23
+
24
+ Or its text?
25
+
26
+ * Exlude me, too! :exclude:
27
+
28
+ * Headline 1 :READING:DVD:
29
+
30
+ ** Headline 2
31
+
32
+ This bit of body *should* get exported.
33
+
34
+ *** Headline 3 :export:
35
+
36
+ This bit of body gets exported.
37
+
38
+ **** Headline 4 (include)
39
+
40
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
41
+ nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
42
+ erat, sed diam voluptua. At vero eos et accusam et justo duo
43
+ dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
44
+ sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
45
+ amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
46
+ invidunt ut labore et dolore magna aliquyam erat, sed diam
47
+ voluptua. At vero eos et accusam et justo duo dolores et ea
48
+ rebum. Stet clita kasd gubergren, no sea takimata sanctus est
49
+ Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
50
+ consetetur sadipscing elitr, sed diam nonumy eirmod tempor
51
+ invidunt ut labore et dolore magna aliquyam erat, sed diam
52
+ voluptua. At vero eos et accusam et justo duo dolores et ea
53
+ rebum. Stet clita kasd gubergren, no sea takimata sanctus est
54
+ Lorem ipsum dolor sit amet.
55
+
56
+ **** Headline 4 (exclude) :noexport:
57
+
58
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
59
+ nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
60
+ erat, sed diam voluptua. At vero eos et accusam et justo duo
61
+ dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
62
+ sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
63
+ amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
64
+ invidunt ut labore et dolore magna aliquyam erat, sed diam
65
+ voluptua. At vero eos et accusam et justo duo dolores et ea
66
+ rebum. Stet clita kasd gubergren, no sea takimata sanctus est
67
+ Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
68
+ consetetur sadipscing elitr, sed diam nonumy eirmod tempor
69
+ invidunt ut labore et dolore magna aliquyam erat, sed diam
70
+ voluptua. At vero eos et accusam et justo duo dolores et ea
71
+ rebum. Stet clita kasd gubergren, no sea takimata sanctus est
72
+ Lorem ipsum dolor sit amet.
73
+
74
+
75
+ *** Another headline 3
76
+
77
+ This one *should not* get exported!!
78
+
79
+ **** Another headline 4
80
+
81
+ This also *cannot* get exported!!
@@ -1,4 +1,4 @@
1
- <p class="title">export-keywords.org</p>
2
- <p>Testing that I can export keywords.</p>
3
- <h1><span class="heading-number heading-number-1">1 </span><span class="todo-keyword TODO">TODO </span>This is a todo item.</h1>
4
- <h1><span class="heading-number heading-number-1">2 </span><span class="todo-keyword DONE">DONE </span>this item is done!</h1>
1
+ <p class="title">export-keywords.org</p>
2
+ <p>Testing that I can export keywords.</p>
3
+ <h1><span class="heading-number heading-number-1">1 </span><span class="todo-keyword TODO">TODO </span>This is a todo item.</h1>
4
+ <h1><span class="heading-number heading-number-1">2 </span><span class="todo-keyword DONE">DONE </span>this item is done!</h1>
@@ -1,18 +1,18 @@
1
- #+TITLE: export-keywords.org
2
- #+AUTHOR:
3
- #+EMAIL: brian@BRIAN-DESK
4
- #+DATE: 2009-12-29 Tue
5
- #+DESCRIPTION:
6
- #+KEYWORDS:
7
- #+LANGUAGE: en
8
- #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
9
- #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
10
- #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
11
- #+EXPORT_SELECT_TAGS: export
12
- #+EXPORT_EXCLUDE_TAGS: noexport
13
- #+LINK_UP:
14
- #+LINK_HOME:
15
- Testing that I can export keywords.
16
-
17
- * TODO This is a todo item.
18
- * DONE this item is done!
1
+ #+TITLE: export-keywords.org
2
+ #+AUTHOR:
3
+ #+EMAIL: brian@BRIAN-DESK
4
+ #+DATE: 2009-12-29 Tue
5
+ #+DESCRIPTION:
6
+ #+KEYWORDS:
7
+ #+LANGUAGE: en
8
+ #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
9
+ #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
10
+ #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
11
+ #+EXPORT_SELECT_TAGS: export
12
+ #+EXPORT_EXCLUDE_TAGS: noexport
13
+ #+LINK_UP:
14
+ #+LINK_HOME:
15
+ Testing that I can export keywords.
16
+
17
+ * TODO This is a todo item.
18
+ * DONE this item is done!
@@ -1,8 +1,8 @@
1
- <p class="title">export-headline-levels.org</p>
2
- <p>What happens when you exceed the number of headline levels to export?</p>
3
- <h1><span class="heading-number heading-number-1">1 </span>Headline 1</h1>
4
- <h2><span class="heading-number heading-number-2">1.1 </span>Headline 2</h2>
5
- <h3><span class="heading-number heading-number-3">1.1.1 </span>Headline 3</h3>
6
- <p>This bit of body gets exported.</p>
7
- <h4><span class="heading-number heading-number-4">1.1.1.1 </span>Headline 4 (include)</h4>
8
- <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
1
+ <p class="title">export-headline-levels.org</p>
2
+ <p>What happens when you exceed the number of headline levels to export?</p>
3
+ <h1><span class="heading-number heading-number-1">1 </span>Headline 1</h1>
4
+ <h2><span class="heading-number heading-number-2">1.1 </span>Headline 2</h2>
5
+ <h3><span class="heading-number heading-number-3">1.1.1 </span>Headline 3</h3>
6
+ <p>This bit of body gets exported.</p>
7
+ <h4><span class="heading-number heading-number-4">1.1.1.1 </span>Headline 4 (include)</h4>
8
+ <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
@@ -1,82 +1,82 @@
1
- #+TITLE: export-headline-levels.org
2
- #+AUTHOR:
3
- #+EMAIL: bdewey@gmail.com
4
- #+DATE: 2009-12-29 Tue
5
- #+DESCRIPTION:
6
- #+KEYWORDS:
7
- #+LANGUAGE: en
8
- #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
9
- #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
10
- #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
11
- #+EXPORT_SELECT_TAGS: export
12
- #+EXPORT_EXCLUDE_TAGS: exclude noexport
13
- #+TAGS: export noexport
14
- #+LINK_UP:
15
- #+LINK_HOME:
16
-
17
- What happens when you exceed the number of headline levels to export?
18
-
19
- * Shouldn't export :noexport:
20
-
21
- This text shouldn't be exported, right?
22
-
23
- ** Nor this subheading?
24
-
25
- Or its text?
26
-
27
- * Exlude me, too! :exclude:
28
-
29
- * Headline 1 :READING:DVD:
30
-
31
- ** Headline 2
32
-
33
- This bit of body should not get exported.
34
-
35
- *** Headline 3 :export:
36
-
37
- This bit of body gets exported.
38
-
39
- **** Headline 4 (include)
40
-
41
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
42
- nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
43
- erat, sed diam voluptua. At vero eos et accusam et justo duo
44
- dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
45
- sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
46
- amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
47
- invidunt ut labore et dolore magna aliquyam erat, sed diam
48
- voluptua. At vero eos et accusam et justo duo dolores et ea
49
- rebum. Stet clita kasd gubergren, no sea takimata sanctus est
50
- Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
51
- consetetur sadipscing elitr, sed diam nonumy eirmod tempor
52
- invidunt ut labore et dolore magna aliquyam erat, sed diam
53
- voluptua. At vero eos et accusam et justo duo dolores et ea
54
- rebum. Stet clita kasd gubergren, no sea takimata sanctus est
55
- Lorem ipsum dolor sit amet.
56
-
57
- **** Headline 4 (exclude) :noexport:
58
-
59
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
60
- nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
61
- erat, sed diam voluptua. At vero eos et accusam et justo duo
62
- dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
63
- sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
64
- amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
65
- invidunt ut labore et dolore magna aliquyam erat, sed diam
66
- voluptua. At vero eos et accusam et justo duo dolores et ea
67
- rebum. Stet clita kasd gubergren, no sea takimata sanctus est
68
- Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
69
- consetetur sadipscing elitr, sed diam nonumy eirmod tempor
70
- invidunt ut labore et dolore magna aliquyam erat, sed diam
71
- voluptua. At vero eos et accusam et justo duo dolores et ea
72
- rebum. Stet clita kasd gubergren, no sea takimata sanctus est
73
- Lorem ipsum dolor sit amet.
74
-
75
-
76
- *** Another headline 3
77
-
78
- This one *should not* get exported!!
79
-
80
- **** Another headline 4
81
-
82
- This also *cannot* get exported!!
1
+ #+TITLE: export-headline-levels.org
2
+ #+AUTHOR:
3
+ #+EMAIL: bdewey@gmail.com
4
+ #+DATE: 2009-12-29 Tue
5
+ #+DESCRIPTION:
6
+ #+KEYWORDS:
7
+ #+LANGUAGE: en
8
+ #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
9
+ #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
10
+ #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
11
+ #+EXPORT_SELECT_TAGS: export
12
+ #+EXPORT_EXCLUDE_TAGS: exclude noexport
13
+ #+TAGS: export noexport
14
+ #+LINK_UP:
15
+ #+LINK_HOME:
16
+
17
+ What happens when you exceed the number of headline levels to export?
18
+
19
+ * Shouldn't export :noexport:
20
+
21
+ This text shouldn't be exported, right?
22
+
23
+ ** Nor this subheading?
24
+
25
+ Or its text?
26
+
27
+ * Exlude me, too! :exclude:
28
+
29
+ * Headline 1 :READING:DVD:
30
+
31
+ ** Headline 2
32
+
33
+ This bit of body should not get exported.
34
+
35
+ *** Headline 3 :export:
36
+
37
+ This bit of body gets exported.
38
+
39
+ **** Headline 4 (include)
40
+
41
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
42
+ nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
43
+ erat, sed diam voluptua. At vero eos et accusam et justo duo
44
+ dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
45
+ sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
46
+ amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
47
+ invidunt ut labore et dolore magna aliquyam erat, sed diam
48
+ voluptua. At vero eos et accusam et justo duo dolores et ea
49
+ rebum. Stet clita kasd gubergren, no sea takimata sanctus est
50
+ Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
51
+ consetetur sadipscing elitr, sed diam nonumy eirmod tempor
52
+ invidunt ut labore et dolore magna aliquyam erat, sed diam
53
+ voluptua. At vero eos et accusam et justo duo dolores et ea
54
+ rebum. Stet clita kasd gubergren, no sea takimata sanctus est
55
+ Lorem ipsum dolor sit amet.
56
+
57
+ **** Headline 4 (exclude) :noexport:
58
+
59
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
60
+ nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
61
+ erat, sed diam voluptua. At vero eos et accusam et justo duo
62
+ dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
63
+ sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
64
+ amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
65
+ invidunt ut labore et dolore magna aliquyam erat, sed diam
66
+ voluptua. At vero eos et accusam et justo duo dolores et ea
67
+ rebum. Stet clita kasd gubergren, no sea takimata sanctus est
68
+ Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
69
+ consetetur sadipscing elitr, sed diam nonumy eirmod tempor
70
+ invidunt ut labore et dolore magna aliquyam erat, sed diam
71
+ voluptua. At vero eos et accusam et justo duo dolores et ea
72
+ rebum. Stet clita kasd gubergren, no sea takimata sanctus est
73
+ Lorem ipsum dolor sit amet.
74
+
75
+
76
+ *** Another headline 3
77
+
78
+ This one *should not* get exported!!
79
+
80
+ **** Another headline 4
81
+
82
+ This also *cannot* get exported!!