docgenerator 1.1.1 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. data/examples/docgenerator_example.rb +34 -17
  2. data/examples/docgenerator_example_footnote.rb +82 -61
  3. data/examples/docgenerator_example_list.rb +24 -18
  4. data/examples/docgenerator_example_restrictions.rb +17 -27
  5. data/examples/docgenerator_example_tabular.rb +20 -20
  6. data/examples/docgenerator_example_tripfalls.rb +28 -20
  7. data/examples/results/readme +1 -0
  8. data/examples/results_expected/docgenerator_example.html +39 -0
  9. data/examples/results_expected/docgenerator_example.pdf +0 -0
  10. data/examples/results_expected/docgenerator_example.tex +56 -0
  11. data/examples/results_expected/docgenerator_example_footnote.html +40 -0
  12. data/examples/results_expected/docgenerator_example_footnote.pdf +0 -0
  13. data/examples/results_expected/docgenerator_example_footnote.tex +50 -0
  14. data/examples/results_expected/docgenerator_example_list.html +18 -0
  15. data/examples/results_expected/docgenerator_example_list.pdf +0 -0
  16. data/examples/results_expected/docgenerator_example_list.tex +46 -0
  17. data/examples/results_expected/docgenerator_example_restrictions.html +22 -0
  18. data/examples/results_expected/docgenerator_example_restrictions.pdf +0 -0
  19. data/examples/results_expected/docgenerator_example_restrictions.tex +31 -0
  20. data/examples/results_expected/docgenerator_example_tabular.html +37 -0
  21. data/examples/results_expected/docgenerator_example_tabular.pdf +0 -0
  22. data/examples/results_expected/docgenerator_example_tabular.tex +41 -0
  23. data/examples/results_expected/docgenerator_example_tripfalls.html +27 -0
  24. data/examples/results_expected/docgenerator_example_tripfalls.pdf +0 -0
  25. data/examples/results_expected/docgenerator_example_tripfalls.tex +31 -0
  26. data/lib/creole/creole2doc.rb +291 -140
  27. data/lib/creole/creole_inclusion_and_plugins.rb +142 -39
  28. data/lib/creole/creole_placeholder.rb +92 -30
  29. data/lib/creole/creole_tabular.rb +119 -20
  30. data/lib/docgenerator.rb +209 -118
  31. data/lib/{docgenerator_attribute.rb → docgenerator/attribute.rb} +2 -1
  32. data/lib/{docgenerator_characters.rb → docgenerator/characters.rb} +75 -6
  33. data/lib/{docgenerator_css.rb → docgenerator/css.rb} +0 -0
  34. data/lib/docgenerator/document.rb +588 -0
  35. data/lib/{docgenerator_element.rb → docgenerator/element.rb} +52 -80
  36. data/lib/{docgenerator_elements.rb → docgenerator/elements.rb} +43 -17
  37. data/lib/{docgenerator_environments.rb → docgenerator/environments.rb} +20 -6
  38. data/lib/{docgenerator_footnote.rb → docgenerator/footnote.rb} +22 -18
  39. data/lib/{docgenerator_lists.rb → docgenerator/lists.rb} +17 -1
  40. data/lib/{docgenerator_sections.rb → docgenerator/sections.rb} +9 -1
  41. data/lib/docgenerator/standard.rb +81 -0
  42. data/lib/{docgenerator_tabular.rb → docgenerator/tabular.rb} +9 -5
  43. data/lib/packages/docgenerator_listings.rb +9 -5
  44. data/lib/packages/docgenerator_pdfpages.rb +17 -11
  45. data/lib/packages/docgenerator_url.rb +0 -2
  46. data/lib/templates/docgenerator_template.rb +66 -29
  47. data/lib/templates/docgenerator_template.yaml +18 -0
  48. data/lib/wiki2doc/wiki2docgenerator.rb +6 -2
  49. data/readme.rd +132 -0
  50. data/unittest/expected/test_document_usepackage_undefined.log +2 -0
  51. data/unittest/expected/test_enumerate.context +4 -0
  52. data/unittest/expected/test_footnote.html +4 -4
  53. data/unittest/expected/test_footnote.latex +4 -4
  54. data/unittest/expected/test_footnote_group.html +6 -6
  55. data/unittest/expected/test_footnote_group.latex +6 -6
  56. data/unittest/expected/test_href.html +2 -2
  57. data/unittest/expected/test_href.latex +2 -2
  58. data/unittest/expected/test_href.text +2 -2
  59. data/unittest/expected/test_itemize.context +4 -0
  60. data/unittest/expected/test_runtex.stdout +3 -0
  61. data/unittest/expected/test_runtex_2.stdout +3 -0
  62. data/unittest/expected/test_section.context +20 -0
  63. data/unittest/expected/test_tabular.html +2 -2
  64. data/unittest/expected/test_verbatim.html +3 -0
  65. data/unittest/expected/test_verbatim.latex +4 -0
  66. data/unittest/expected/test_verbatim_array.html +1 -0
  67. data/unittest/expected/test_verbatim_array.latex +2 -0
  68. data/unittest/expected_creole/test_creole_characters_all.html +12 -5
  69. data/unittest/expected_creole/test_creole_characters_all.latex +20 -6
  70. data/unittest/expected_creole/test_creole_comment.context +11 -0
  71. data/unittest/expected_creole/test_creole_comment.creole +12 -0
  72. data/unittest/expected_creole/test_creole_comment.html +9 -0
  73. data/unittest/expected_creole/test_creole_comment.latex +11 -0
  74. data/unittest/expected_creole/test_creole_creole1.0test.html +3 -3
  75. data/unittest/expected_creole/test_creole_creole1.0test.latex +3 -3
  76. data/unittest/expected_creole/test_creole_creole1.0test.text +4 -4
  77. data/unittest/expected_creole/test_creole_ignore.html +3 -0
  78. data/unittest/expected_creole/test_creole_ignore.latex +4 -0
  79. data/unittest/expected_creole/test_creole_ignore.text +2 -0
  80. data/unittest/expected_creole/test_creole_input.normsource +12 -12
  81. data/unittest/expected_creole/test_creole_input_file_simple.html +15 -0
  82. data/unittest/expected_creole/test_creole_input_file_simple_readlines.html +15 -0
  83. data/unittest/expected_creole/test_creole_links_external_implicit.html +2 -2
  84. data/unittest/expected_creole/test_creole_links_external_implicit.latex +2 -2
  85. data/unittest/expected_creole/test_creole_links_external_implicit.text +2 -2
  86. data/unittest/expected_creole/test_creole_links_implicit_end.creole +4 -0
  87. data/unittest/expected_creole/test_creole_links_implicit_end.html +3 -0
  88. data/unittest/expected_creole/test_creole_links_implicit_end.latex +4 -0
  89. data/unittest/expected_creole/test_creole_list_ul.normsource +42 -42
  90. data/unittest/expected_creole/test_creole_mix_titles_list.html +10 -0
  91. data/unittest/expected_creole/test_creole_mix_titles_list.latex +18 -0
  92. data/unittest/expected_creole/test_creole_mix_titles_list.text +12 -0
  93. data/unittest/expected_creole/test_creole_paragraphs.normsource +15 -15
  94. data/unittest/expected_creole/test_creole_pictures_css.html +4 -1
  95. data/unittest/expected_creole/test_creole_pictures_css.latex +5 -1
  96. data/unittest/expected_creole/test_creole_pictures_longdesc.html +3 -0
  97. data/unittest/expected_creole/test_creole_pictures_width.html +3 -0
  98. data/unittest/expected_creole/test_creole_pictures_width.latex +4 -0
  99. data/unittest/expected_creole/test_creole_short_html.html +3 -0
  100. data/unittest/expected_creole/test_creole_short_html.latex +4 -0
  101. data/unittest/expected_creole/test_creole_short_html.text +2 -0
  102. data/unittest/expected_creole/test_creole_shy.creole +6 -0
  103. data/unittest/expected_creole/test_creole_shy.html +6 -0
  104. data/unittest/expected_creole/test_creole_shy.latex +8 -0
  105. data/unittest/expected_creole/test_creole_shy.text +4 -0
  106. data/unittest/expected_creole/test_creole_tabular_with_cell_option.html +20 -0
  107. data/unittest/expected_creole/test_creole_toc.html +3 -1
  108. data/unittest/expected_creole/test_creole_toc.latex +1 -1
  109. data/unittest/expected_creole/test_creole_toc.text +1 -1
  110. data/unittest/expected_creole/test_creole_toc_level.html +7 -0
  111. data/unittest/expected_creole/test_creole_toc_level.latex +10 -0
  112. data/unittest/expected_creole/test_creole_toc_level.text +3 -0
  113. data/unittest/expected_creole/test_creole_toc_level_text.html +8 -0
  114. data/unittest/expected_creole/test_creole_toc_level_text.latex +9 -0
  115. data/unittest/expected_creole/test_creole_verbatim.html +1 -1
  116. data/unittest/expected_creole/test_creole_verbatim.latex +1 -1
  117. data/unittest/expected_creole/test_creole_verbatim.text +1 -1
  118. data/unittest/expected_creole/test_creole_verbatim_inline.html +1 -1
  119. data/unittest/expected_creole/test_creole_verbatim_inline.latex +1 -1
  120. data/unittest/expected_wiki/test_wiki_description.html +5 -5
  121. data/unittest/expected_wiki/test_wiki_description.latex +5 -5
  122. data/unittest/expected_wiki/test_wiki_description.text +5 -5
  123. data/unittest/expected_wiki/test_wiki_description.wiki +5 -5
  124. data/unittest/test_rakefile_docgenerator.rb +43 -0
  125. data/unittest/unittest_creole2doc.rb +415 -27
  126. data/unittest/unittest_docgenerator.rb +256 -23
  127. data/unittest/unittest_docgenerator_runtex.rb +83 -0
  128. data/unittest/unittest_versions.rb +44 -0
  129. data/unittest/unittest_wiki2doc.rb +28 -27
  130. metadata +473 -106
  131. data/lib/docgenerator_document.rb +0 -525
  132. data/lib/packages/docgenerator_beamer.rb +0 -253
  133. data/lib/yaml2presentation/yaml2presentation.rb +0 -1091
  134. data/unittest/expected/beamer_01_article.tex +0 -13
  135. data/unittest/expected/beamer_01_attachment.tex +0 -15
  136. data/unittest/expected/beamer_01_doc.html +0 -13
  137. data/unittest/expected/beamer_01_doc.tex +0 -18
  138. data/unittest/expected/beamer_01_notes_only.tex +0 -13
  139. data/unittest/expected/beamer_01_notes_onlyslideswithnotes.tex +0 -13
  140. data/unittest/expected/beamer_01_notes_show.tex +0 -13
  141. data/unittest/expected/beamer_01_presentation.tex +0 -13
  142. data/unittest/expected/beamer_02_doc.html +0 -29
  143. data/unittest/expected/beamer_02_doc.tex +0 -34
  144. data/unittest/expected/beamer_block.html +0 -1
  145. data/unittest/expected/beamer_block.latex +0 -1
  146. data/unittest/expected/beamer_doc_fragile_doc.tex +0 -33
  147. data/unittest/expected/beamer_doc_html_overview_with_detailpic_and_text_doc.html +0 -34
  148. data/unittest/expected/beamer_doc_html_overview_with_detailpic_doc.html +0 -34
  149. data/unittest/expected/beamer_doc_key_doc.html +0 -20
  150. data/unittest/expected/beamer_doc_key_doc.tex +0 -29
  151. data/unittest/expected/beamer_doc_note_doc.html +0 -30
  152. data/unittest/expected/beamer_doc_note_doc.tex +0 -37
  153. data/unittest/expected/beamer_doc_pic_bottom_doc.html +0 -24
  154. data/unittest/expected/beamer_doc_pic_doc.html +0 -24
  155. data/unittest/expected/beamer_doc_pic_doc.tex +0 -28
  156. data/unittest/expected/beamer_doc_pic_left_doc.html +0 -24
  157. data/unittest/expected/beamer_doc_pic_left_doc.tex +0 -28
  158. data/unittest/expected/beamer_doc_pic_ratio_doc.tex +0 -29
  159. data/unittest/expected/beamer_doc_pic_right_doc.html +0 -24
  160. data/unittest/expected/beamer_doc_pic_right_doc.tex +0 -28
  161. data/unittest/expected/beamer_doc_pic_top_doc.html +0 -24
  162. data/unittest/expected/beamer_frame.html +0 -5
  163. data/unittest/expected/beamer_frame.tex +0 -11
  164. data/unittest/expected/beamer_frame_fragile.tex +0 -7
  165. data/unittest/expected/beamer_frame_id.html +0 -1
  166. data/unittest/expected/beamer_frame_id.tex +0 -4
  167. data/unittest/expected/beamer_framepic.html +0 -5
  168. data/unittest/expected/beamer_framepic.latex +0 -1
  169. data/unittest/expected/beamer_framepic_link.html +0 -5
  170. data/unittest/expected/beamer_framepic_link.latex +0 -1
  171. data/unittest/expected/beamer_frametitle.html +0 -1
  172. data/unittest/expected/beamer_frametitle.latex +0 -1
  173. data/unittest/expected/beamer_note.html +0 -1
  174. data/unittest/expected/beamer_note.latex +0 -1
  175. data/unittest/expected_privat/test_creole_test_document.html +0 -6
  176. data/unittest/expected_wiki/test_wiki_amazon.html +0 -10
  177. data/unittest/expected_wiki/test_wiki_link.log +0 -3
  178. data/unittest/test_docgenerator.rb +0 -107
  179. data/unittest/unittest_yaml2pres.rb +0 -336
@@ -42,11 +42,11 @@ Be careful that italic links are rendered properly: \emph{\href{http://my.book.e
42
42
 
43
43
 
44
44
 
45
- Free links without braces should be rendered as well, like \href{http://www.wikicreole.org/}{http://www.wikicreole.org/} and \href{http://www.wikicreole.org/users/~example.}{http://www.wikicreole.org/users/~example.}
45
+ Free links without braces should be rendered as well, like \href{http://www.wikicreole.org/}{http://www.wikicreole.org/} and \href{http://www.wikicreole.org/users/~example.}{http://www.wikicreole.org/users/~example.}
46
46
 
47
47
 
48
48
 
49
- Creole1.0 specifies that \href{http://bar}{http://bar} and ftp:\emph{bar should not render italic,something like foo:}bar should render as italic.
49
+ Creole1.0 specifies that \href{http://bar}{http://bar} and ftp:\emph{bar should not render italic,something like foo:}bar should render as italic.
50
50
 
51
51
 
52
52
 
@@ -178,7 +178,7 @@ You can also use it inline nowiki \verb| in a sentence | like this.
178
178
  \section{ Escapes }
179
179
 
180
180
 
181
- Normal Link: \href{http://wikicreole.org/}{http://wikicreole.org/} - now same link, but escaped: ~\href{http://wikicreole.org/}{http://wikicreole.org/}
181
+ Normal Link: \href{http://wikicreole.org/}{http://wikicreole.org/} - now same link, but escaped: ~\href{http://wikicreole.org/}{http://wikicreole.org/}
182
182
 
183
183
 
184
184
 
@@ -55,9 +55,9 @@ Here's a external link without a description: http://www.wikicreole.org (http://
55
55
 
56
56
  Be careful that italic links are rendered properly: My Book Title (http://my.book.example/)
57
57
 
58
- Free links without braces should be rendered as well, like http://www.wikicreole.org/ (http://www.wikicreole.org/) and http://www.wikicreole.org/users/~example. (http://www.wikicreole.org/users/~example.)
58
+ Free links without braces should be rendered as well, like http://www.wikicreole.org/ (http://www.wikicreole.org/) and http://www.wikicreole.org/users/~example. (http://www.wikicreole.org/users/~example.)
59
59
 
60
- Creole1.0 specifies that http://bar (http://bar) and ftp:bar should not render italic,something like foo:bar should render as italic.
60
+ Creole1.0 specifies that http://bar (http://bar) and ftp:bar should not render italic,something like foo:bar should render as italic.
61
61
 
62
62
  You can use this to draw a line to separate the page:
63
63
  -------------------------
@@ -97,13 +97,13 @@ Guitar Chord C:
97
97
  ||---|---|-0-|
98
98
  ||---|---|---|
99
99
 
100
- You can also use it inline nowiki in a sentence like this.
100
+ You can also use it inline nowiki in a sentence like this.
101
101
 
102
102
  Escapes
103
103
  ------------------------------
104
104
 
105
105
 
106
- Normal Link: http://wikicreole.org/ (http://wikicreole.org/) - now same link, but escaped: ~http://wikicreole.org/ (http://wikicreole.org/)
106
+ Normal Link: http://wikicreole.org/ (http://wikicreole.org/) - now same link, but escaped: ~http://wikicreole.org/ (http://wikicreole.org/)
107
107
 
108
108
  Normal asterisks: ~not bold~
109
109
 
@@ -0,0 +1,3 @@
1
+ <p >
2
+ Text more text
3
+ </p>
@@ -0,0 +1,4 @@
1
+
2
+
3
+ Text more text
4
+
@@ -0,0 +1,2 @@
1
+
2
+ Text more text
@@ -1,23 +1,23 @@
1
1
  ---
2
2
  - !ruby/struct:Creole_line
3
- type: :dummy
4
- content:
5
- add_info:
3
+ :type: :dummy
4
+ :content:
5
+ :add_info:
6
6
  - !ruby/struct:Creole_line
7
- type: :par
8
- content: |
7
+ :type: :par
8
+ :content: |
9
9
  Text,
10
10
  more Text.
11
11
  And some more text.
12
12
 
13
- add_info:
13
+ :add_info:
14
14
  - !ruby/struct:Creole_line
15
- type: :dummy
16
- content:
17
- add_info:
15
+ :type: :dummy
16
+ :content:
17
+ :add_info:
18
18
  - !ruby/struct:Creole_line
19
- type: :par
20
- content: |
19
+ :type: :par
20
+ :content: |
21
21
  A new paragraph.
22
22
 
23
- add_info:
23
+ :add_info:
@@ -0,0 +1,15 @@
1
+ <h1 >Title</h1>
2
+ <h2 >Subtitle</h2>
3
+ <p >
4
+ Text
5
+ </p>
6
+ <ul >
7
+ <li > item </li>
8
+ <li > item </li>
9
+ <li > item </li>
10
+ </ul>
11
+ <ol >
12
+ <li > item </li>
13
+ <li > item </li>
14
+ <li > item </li>
15
+ </ol>
@@ -0,0 +1,15 @@
1
+ <h1 >Title</h1>
2
+ <h2 >Subtitle</h2>
3
+ <p >
4
+ Text
5
+ </p>
6
+ <ul >
7
+ <li > item </li>
8
+ <li > item </li>
9
+ <li > item </li>
10
+ </ul>
11
+ <ol >
12
+ <li > item </li>
13
+ <li > item </li>
14
+ <li > item </li>
15
+ </ol>
@@ -1,8 +1,8 @@
1
1
  <p >
2
- Free links without braces should be rendered as well, like <a href = "http://www.wikicreole.org/" >http://www.wikicreole.org/</a> and <a href = "http://www.wikicreole.org/users/~example." >http://www.wikicreole.org/users/~example.</a>
2
+ Free links without braces should be rendered as well, like <a href = "http://www.wikicreole.org/" >http://www.wikicreole.org/</a> and <a href = "http://www.wikicreole.org/users/~example" >http://www.wikicreole.org/users/~example</a>.
3
3
  </p>
4
4
  <p >
5
- See also description: <a href = "http://www.wikicreole.org/wiki/Links" >http://www.wikicreole.org/wiki/Links</a>
5
+ See also description: <a href = "http://www.wikicreole.org/wiki/Links" >http://www.wikicreole.org/wiki/Links</a>
6
6
  </p>
7
7
  <p >
8
8
  In case of phrase ends with . you should use explicit links like <a href = "http://www.wikicreole.org/users/~example" >http://www.wikicreole.org/users/~example</a>.
@@ -1,10 +1,10 @@
1
1
 
2
2
 
3
- Free links without braces should be rendered as well, like \href{http://www.wikicreole.org/}{http://www.wikicreole.org/} and \href{http://www.wikicreole.org/users/~example.}{http://www.wikicreole.org/users/~example.}
3
+ Free links without braces should be rendered as well, like \href{http://www.wikicreole.org/}{http://www.wikicreole.org/} and \href{http://www.wikicreole.org/users/~example}{http://www.wikicreole.org/users/~example}.
4
4
 
5
5
 
6
6
 
7
- See also description: \href{http://www.wikicreole.org/wiki/Links}{http://www.wikicreole.org/wiki/Links}
7
+ See also description: \href{http://www.wikicreole.org/wiki/Links}{http://www.wikicreole.org/wiki/Links}
8
8
 
9
9
 
10
10
 
@@ -1,6 +1,6 @@
1
1
 
2
- Free links without braces should be rendered as well, like http://www.wikicreole.org/ (http://www.wikicreole.org/) and http://www.wikicreole.org/users/~example. (http://www.wikicreole.org/users/~example.)
2
+ Free links without braces should be rendered as well, like http://www.wikicreole.org/ (http://www.wikicreole.org/) and http://www.wikicreole.org/users/~example (http://www.wikicreole.org/users/~example).
3
3
 
4
- See also description: http://www.wikicreole.org/wiki/Links (http://www.wikicreole.org/wiki/Links)
4
+ See also description: http://www.wikicreole.org/wiki/Links (http://www.wikicreole.org/wiki/Links)
5
5
 
6
6
  In case of phrase ends with . you should use explicit links like http://www.wikicreole.org/users/~example (http://www.wikicreole.org/users/~example).
@@ -0,0 +1,4 @@
1
+
2
+ http://www.wikicreole.org/users/~example
3
+
4
+
@@ -0,0 +1,3 @@
1
+ <p >
2
+ <a href = "http://www.wikicreole.org/users/~example" >http://www.wikicreole.org/users/~example</a>
3
+ </p>
@@ -0,0 +1,4 @@
1
+
2
+
3
+ \href{http://www.wikicreole.org/users/~example}{http://www.wikicreole.org/users/~example}
4
+
@@ -1,83 +1,83 @@
1
1
  ---
2
2
  - !ruby/struct:Creole_line
3
- type: :dummy
4
- content:
5
- add_info:
3
+ :type: :dummy
4
+ :content:
5
+ :add_info:
6
6
  - !ruby/struct:Creole_line
7
- type: :par
8
- content: |
7
+ :type: :par
8
+ :content: |
9
9
  Text before
10
10
 
11
- add_info:
11
+ :add_info:
12
12
  - !ruby/struct:Creole_line
13
- type: :list
14
- content: |
13
+ :type: :list
14
+ :content: |
15
15
  Listentry 1
16
16
 
17
- add_info:
17
+ :add_info:
18
18
  :listtype: "*"
19
19
  - !ruby/struct:Creole_line
20
- type: :list
21
- content: |
20
+ :type: :list
21
+ :content: |
22
22
  Listentry 2
23
23
 
24
- add_info:
24
+ :add_info:
25
25
  :listtype: "*"
26
26
  - !ruby/struct:Creole_line
27
- type: :list
28
- content: |
27
+ :type: :list
28
+ :content: |
29
29
  Listentry 2.1
30
30
 
31
- add_info:
31
+ :add_info:
32
32
  :listtype: "**"
33
33
  - !ruby/struct:Creole_line
34
- type: :list
35
- content: |
34
+ :type: :list
35
+ :content: |
36
36
  Listentry 2.2
37
37
 
38
- add_info:
38
+ :add_info:
39
39
  :listtype: "**"
40
40
  - !ruby/struct:Creole_line
41
- type: :list
42
- content: |
41
+ :type: :list
42
+ :content: |
43
43
  Listentry 3
44
44
 
45
- add_info:
45
+ :add_info:
46
46
  :listtype: "*"
47
47
  - !ruby/struct:Creole_line
48
- type: :list
49
- content: |
48
+ :type: :list
49
+ :content: |
50
50
  Listentry 3.2
51
51
 
52
- add_info:
52
+ :add_info:
53
53
  :listtype: "**"
54
54
  - !ruby/struct:Creole_line
55
- type: :dummy
56
- content:
57
- add_info:
55
+ :type: :dummy
56
+ :content:
57
+ :add_info:
58
58
  - !ruby/struct:Creole_line
59
- type: :dummy
60
- content:
61
- add_info:
59
+ :type: :dummy
60
+ :content:
61
+ :add_info:
62
62
  - !ruby/struct:Creole_line
63
- type: :list
64
- content: " You can have\n\
63
+ :type: :list
64
+ :content: " You can have\n\
65
65
  multiline list items\n"
66
- add_info:
66
+ :add_info:
67
67
  :listtype: "*"
68
68
  - !ruby/struct:Creole_line
69
- type: :list
70
- content: " this is a second multiline\n\
69
+ :type: :list
70
+ :content: " this is a second multiline\n\
71
71
  list item\n"
72
- add_info:
72
+ :add_info:
73
73
  :listtype: "*"
74
74
  - !ruby/struct:Creole_line
75
- type: :dummy
76
- content:
77
- add_info:
75
+ :type: :dummy
76
+ :content:
77
+ :add_info:
78
78
  - !ruby/struct:Creole_line
79
- type: :par
80
- content: |
79
+ :type: :par
80
+ :content: |
81
81
  Text afterwords
82
82
 
83
- add_info:
83
+ :add_info:
@@ -0,0 +1,10 @@
1
+ <h1 >Titel 1</h1>
2
+ <ul >
3
+ <li >item 1 </li>
4
+ <li >item 2 </li>
5
+ </ul>
6
+ <h1 >Titel 2</h1>
7
+ <ul >
8
+ <li >item 1 </li>
9
+ <li >item 2 </li>
10
+ </ul>
@@ -0,0 +1,18 @@
1
+ \section{Titel 1}
2
+
3
+ \begin{itemize}
4
+
5
+ \item item 1
6
+
7
+ \item item 2
8
+ \end{itemize}
9
+
10
+ \section{Titel 2}
11
+
12
+ \begin{itemize}
13
+
14
+ \item item 1
15
+
16
+ \item item 2
17
+ \end{itemize}
18
+
@@ -0,0 +1,12 @@
1
+
2
+ Titel 1
3
+ ------------------------------
4
+
5
+ - item 1
6
+ - item 2
7
+
8
+ Titel 2
9
+ ------------------------------
10
+
11
+ - item 1
12
+ - item 2
@@ -1,27 +1,27 @@
1
1
  ---
2
2
  - !ruby/struct:Creole_line
3
- type: :dummy
4
- content:
5
- add_info:
3
+ :type: :dummy
4
+ :content:
5
+ :add_info:
6
6
  - !ruby/struct:Creole_line
7
- type: :par
8
- content: |
7
+ :type: :par
8
+ :content: |
9
9
  This is some text,
10
10
  followed by more Text.
11
11
  And some more text.
12
12
 
13
- add_info:
13
+ :add_info:
14
14
  - !ruby/struct:Creole_line
15
- type: :dummy
16
- content:
17
- add_info:
15
+ :type: :dummy
16
+ :content:
17
+ :add_info:
18
18
  - !ruby/struct:Creole_line
19
- type: :par
20
- content: |
19
+ :type: :par
20
+ :content: |
21
21
  And now a new paragraph with some other text.
22
22
 
23
- add_info:
23
+ :add_info:
24
24
  - !ruby/struct:Creole_line
25
- type: :dummy
26
- content:
27
- add_info:
25
+ :type: :dummy
26
+ :content:
27
+ :add_info:
@@ -1,3 +1,6 @@
1
1
  <p >
2
- <img src = "Red_Flower.jpg" alt = "red flower" style = "width: 50px;" /> <img src = "Red_Flower.jpg" alt = "red flower" style = "width: 100px;" />
2
+ <img src = "Red_Flower.jpg" alt = "red flower" style = "width: 50px;" />
3
+ </p>
4
+ <p >
5
+ <img src = "Red_Flower.jpg" alt = "red flower" style = "width: 100px;" />
3
6
  </p>
@@ -1,4 +1,8 @@
1
1
 
2
2
 
3
- \includegraphics[]{Red_Flower.jpg} \includegraphics[]{Red_Flower.jpg}
3
+ \includegraphics[]{Red_Flower.jpg}
4
+
5
+
6
+
7
+ \includegraphics[]{Red_Flower.jpg}
4
8
 
@@ -0,0 +1,3 @@
1
+ <p >
2
+ <img src = "Red_Flower.jpg" longdesc = "http://www.pixelio.de/details.php?image_id=405788" />
3
+ </p>
@@ -0,0 +1,3 @@
1
+ <p >
2
+ <img src = "Red_Flower.jpg" style = "width: 100%;" />
3
+ </p>
@@ -0,0 +1,4 @@
1
+
2
+
3
+ \includegraphics[width={\textwidth}]{Red_Flower.jpg}
4
+