docgenerator 1.0.4 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. data/lib/creole/creole2doc.rb +777 -0
  2. data/lib/creole/creole_inclusion_and_plugins.rb +236 -0
  3. data/lib/creole/creole_placeholder.rb +74 -0
  4. data/lib/creole/creole_tabular.rb +170 -0
  5. data/lib/docgenerator.rb +15 -6
  6. data/lib/docgenerator_attribute.rb +2 -2
  7. data/lib/docgenerator_characters.rb +20 -4
  8. data/lib/docgenerator_document.rb +132 -42
  9. data/lib/docgenerator_element.rb +531 -524
  10. data/lib/docgenerator_elements.rb +408 -399
  11. data/lib/docgenerator_environments.rb +28 -2
  12. data/lib/docgenerator_footnote.rb +72 -79
  13. data/lib/docgenerator_sections.rb +1 -1
  14. data/lib/docgenerator_tabular.rb +8 -3
  15. data/lib/packages/docgenerator_beamer.rb +253 -0
  16. data/lib/packages/docgenerator_scrlettr2.rb +53 -9
  17. data/lib/templates/docgenerator_template_css.rb +4 -0
  18. data/lib/wiki2doc/wiki2docgenerator.rb +1087 -970
  19. data/lib/yaml2presentation/yaml2presentation.rb +1091 -0
  20. data/self_docgenerator.rb +8 -6
  21. data/unittest/Red_Flower.jpg +0 -0
  22. data/unittest/creole1.0test.txt +128 -0
  23. data/unittest/expected/beamer_01_doc.html +1 -1
  24. data/unittest/expected/beamer_02_doc.html +1 -1
  25. data/unittest/expected/beamer_doc_html_overview_with_detailpic_and_text_doc.html +34 -0
  26. data/unittest/expected/beamer_doc_html_overview_with_detailpic_doc.html +34 -0
  27. data/unittest/expected/beamer_doc_key_doc.html +1 -1
  28. data/unittest/expected/beamer_doc_note_doc.html +1 -1
  29. data/unittest/expected/beamer_doc_pic_bottom_doc.html +1 -1
  30. data/unittest/expected/beamer_doc_pic_doc.html +1 -1
  31. data/unittest/expected/beamer_doc_pic_left_doc.html +1 -1
  32. data/unittest/expected/beamer_doc_pic_right_doc.html +1 -1
  33. data/unittest/expected/beamer_doc_pic_top_doc.html +1 -1
  34. data/unittest/expected/test_footnote.html +2 -2
  35. data/unittest/expected/test_footnote.latex +1 -1
  36. data/unittest/expected/test_footnote_group.html +3 -3
  37. data/unittest/expected/test_footnote_group.latex +2 -2
  38. data/unittest/expected_creole/test_creole.html +3 -0
  39. data/unittest/expected_creole/test_creole_characters_all.html +10 -0
  40. data/unittest/expected_creole/test_creole_characters_all.latex +20 -0
  41. data/unittest/expected_creole/test_creole_characters_special.html +10 -0
  42. data/unittest/expected_creole/test_creole_characters_special.latex +18 -0
  43. data/unittest/expected_creole/test_creole_countdown.html +3 -0
  44. data/unittest/expected_creole/test_creole_countdown.latex +4 -0
  45. data/unittest/expected_creole/test_creole_creole1.0test.html +182 -0
  46. data/unittest/expected_creole/test_creole_creole1.0test.latex +253 -0
  47. data/unittest/expected_creole/test_creole_creole1.0test.text +160 -0
  48. data/unittest/expected_creole/test_creole_footnotes.html +9 -0
  49. data/unittest/expected_creole/test_creole_footnotes.latex +14 -0
  50. data/unittest/expected_creole/test_creole_footnotes_label.html +9 -0
  51. data/unittest/expected_creole/test_creole_headings.html +17 -0
  52. data/unittest/expected_creole/test_creole_headings.latex +19 -0
  53. data/unittest/expected_creole/test_creole_headings.text +48 -0
  54. data/unittest/expected_creole/test_creole_headings.wiki +37 -0
  55. data/unittest/expected_creole/test_creole_hr.html +7 -0
  56. data/unittest/expected_creole/test_creole_hr.latex +9 -0
  57. data/unittest/expected_creole/test_creole_hr.text +4 -0
  58. data/unittest/expected_creole/test_creole_inline.html +3 -0
  59. data/unittest/expected_creole/test_creole_inline.latex +4 -0
  60. data/unittest/expected_creole/test_creole_inline.text +2 -0
  61. data/unittest/expected_creole/test_creole_inline_ruby.html +12 -0
  62. data/unittest/expected_creole/test_creole_inline_ruby.latex +20 -0
  63. data/unittest/expected_creole/test_creole_inline_ruby_raw.html +6 -0
  64. data/unittest/expected_creole/test_creole_inline_ruby_raw.latex +8 -0
  65. data/unittest/expected_creole/test_creole_input.normsource +23 -0
  66. data/unittest/expected_creole/test_creole_label.html +12 -0
  67. data/unittest/expected_creole/test_creole_label.latex +15 -0
  68. data/unittest/expected_creole/test_creole_line_break.html +6 -0
  69. data/unittest/expected_creole/test_creole_line_break.latex +8 -0
  70. data/unittest/expected_creole/test_creole_links_explicit_internal.html +6 -0
  71. data/unittest/expected_creole/test_creole_links_explicit_internal.text +4 -0
  72. data/unittest/expected_creole/test_creole_links_explicit_with_em.html +3 -0
  73. data/unittest/expected_creole/test_creole_links_explicit_with_em.latex +4 -0
  74. data/unittest/expected_creole/test_creole_links_explicit_with_em.text +2 -0
  75. data/unittest/expected_creole/test_creole_links_external.html +6 -0
  76. data/unittest/expected_creole/test_creole_links_external.latex +8 -0
  77. data/unittest/expected_creole/test_creole_links_external.text +4 -0
  78. data/unittest/expected_creole/test_creole_links_external_implicit.html +9 -0
  79. data/unittest/expected_creole/test_creole_links_external_implicit.latex +12 -0
  80. data/unittest/expected_creole/test_creole_links_external_implicit.text +6 -0
  81. data/unittest/expected_creole/test_creole_links_file.html +6 -0
  82. data/unittest/expected_creole/test_creole_links_file.latex +8 -0
  83. data/unittest/expected_creole/test_creole_links_file.text +4 -0
  84. data/unittest/expected_creole/test_creole_list_ol.html +12 -0
  85. data/unittest/expected_creole/test_creole_list_ol.latex +22 -0
  86. data/unittest/expected_creole/test_creole_list_ol_after_ul.html +12 -0
  87. data/unittest/expected_creole/test_creole_list_ol_after_ul.latex +20 -0
  88. data/unittest/expected_creole/test_creole_list_ol_after_ul.text +6 -0
  89. data/unittest/expected_creole/test_creole_list_ol_ul.html +15 -0
  90. data/unittest/expected_creole/test_creole_list_ol_ul.latex +26 -0
  91. data/unittest/expected_creole/test_creole_list_ul.html +22 -0
  92. data/unittest/expected_creole/test_creole_list_ul.latex +40 -0
  93. data/unittest/expected_creole/test_creole_list_ul.normsource +83 -0
  94. data/unittest/expected_creole/test_creole_list_ul_too_much.html +24 -0
  95. data/unittest/expected_creole/test_creole_list_ul_too_much.latex +44 -0
  96. data/unittest/expected_creole/test_creole_newline.html +9 -0
  97. data/unittest/expected_creole/test_creole_newline.latex +11 -0
  98. data/unittest/expected_creole/test_creole_newline.text +7 -0
  99. data/unittest/expected_creole/test_creole_paragraphs.html +6 -0
  100. data/unittest/expected_creole/test_creole_paragraphs.latex +8 -0
  101. data/unittest/expected_creole/test_creole_paragraphs.normsource +27 -0
  102. data/unittest/expected_creole/test_creole_paragraphs.text +4 -0
  103. data/unittest/expected_creole/test_creole_paragraphs.wiki +4 -0
  104. data/unittest/expected_creole/test_creole_paragraphs_wrap.html +5 -0
  105. data/unittest/expected_creole/test_creole_paragraphs_wrap.latex +6 -0
  106. data/unittest/expected_creole/test_creole_paragraphs_wrap.text +4 -0
  107. data/unittest/expected_creole/test_creole_paragraphs_wrap.wiki +4 -0
  108. data/unittest/expected_creole/test_creole_paragraphs_wrap0.html +9 -0
  109. data/unittest/expected_creole/test_creole_paragraphs_wrap0.latex +11 -0
  110. data/unittest/expected_creole/test_creole_paragraphs_wrap0.text +7 -0
  111. data/unittest/expected_creole/test_creole_paragraphs_wrap0.wiki +7 -0
  112. data/unittest/expected_creole/test_creole_paragraphs_wrap60.html +5 -0
  113. data/unittest/expected_creole/test_creole_paragraphs_wrap60.latex +6 -0
  114. data/unittest/expected_creole/test_creole_paragraphs_wrap60.text +4 -0
  115. data/unittest/expected_creole/test_creole_paragraphs_wrap60.wiki +4 -0
  116. data/unittest/expected_creole/test_creole_picture_link.html +6 -0
  117. data/unittest/expected_creole/test_creole_pictures.html +10 -0
  118. data/unittest/expected_creole/test_creole_pictures.latex +13 -0
  119. data/unittest/expected_creole/test_creole_pictures_css.html +3 -0
  120. data/unittest/expected_creole/test_creole_pictures_css.latex +4 -0
  121. data/unittest/expected_creole/test_creole_pictures_imgclass.html +6 -0
  122. data/unittest/expected_creole/test_creole_pictures_imgclass.latex +8 -0
  123. data/unittest/expected_creole/test_creole_placeholders_html.html +7 -0
  124. data/unittest/expected_creole/test_creole_placeholders_html.latex +8 -0
  125. data/unittest/expected_creole/test_creole_placeholders_html.text +4 -0
  126. data/unittest/expected_creole/test_creole_placeholders_latex.html +6 -0
  127. data/unittest/expected_creole/test_creole_placeholders_latex.latex +9 -0
  128. data/unittest/expected_creole/test_creole_placeholders_latex.text +4 -0
  129. data/unittest/expected_creole/test_creole_tabular.html +20 -0
  130. data/unittest/expected_creole/test_creole_tabular.latex +22 -0
  131. data/unittest/expected_creole/test_creole_tabular_creole.html +18 -0
  132. data/unittest/expected_creole/test_creole_tabular_creole.latex +19 -0
  133. data/unittest/expected_creole/test_creole_tabular_css.html +20 -0
  134. data/unittest/expected_creole/test_creole_tabular_css.latex +22 -0
  135. data/unittest/expected_creole/test_creole_toc.html +11 -0
  136. data/unittest/expected_creole/test_creole_toc.latex +22 -0
  137. data/unittest/expected_creole/test_creole_toc.text +4 -0
  138. data/unittest/expected_creole/test_creole_toc_text.html +5 -0
  139. data/unittest/expected_creole/test_creole_toc_text.latex +5 -0
  140. data/unittest/expected_creole/test_creole_ul_multiple_line.html +7 -0
  141. data/unittest/expected_creole/test_creole_ul_multiple_line.latex +14 -0
  142. data/unittest/expected_creole/test_creole_ul_with_blank.html +11 -0
  143. data/unittest/expected_creole/test_creole_ul_with_blank.latex +20 -0
  144. data/unittest/expected_creole/test_creole_ul_with_bold.creole +0 -0
  145. data/unittest/expected_creole/test_creole_ul_with_bold.html +11 -0
  146. data/unittest/expected_creole/test_creole_ul_with_bold.latex +18 -0
  147. data/unittest/expected_creole/test_creole_ul_with_bold.text +7 -0
  148. data/unittest/expected_creole/test_creole_verbatim.html +25 -0
  149. data/unittest/expected_creole/test_creole_verbatim.latex +33 -0
  150. data/unittest/expected_creole/test_creole_verbatim.text +17 -0
  151. data/unittest/expected_creole/test_creole_verbatim_inline.html +6 -0
  152. data/unittest/expected_creole/test_creole_verbatim_inline.latex +8 -0
  153. data/unittest/expected_creole/test_creole_verbatim_inline_at_start.html +6 -0
  154. data/unittest/expected_creole/test_creole_verbatim_inline_at_start.latex +8 -0
  155. data/unittest/expected_privat/test_creole_test_document.html +6 -0
  156. data/unittest/{expected → expected_wiki}/test_wiki.html +0 -0
  157. data/unittest/{expected → expected_wiki}/test_wiki.latex +0 -0
  158. data/unittest/{expected → expected_wiki}/test_wiki.text +0 -0
  159. data/unittest/{expected → expected_wiki}/test_wiki.wiki +0 -0
  160. data/unittest/{expected → expected_wiki}/test_wiki_amazon.html +0 -0
  161. data/unittest/{expected → expected_wiki}/test_wiki_description.html +0 -0
  162. data/unittest/{expected → expected_wiki}/test_wiki_description.latex +0 -0
  163. data/unittest/{expected → expected_wiki}/test_wiki_description.text +0 -0
  164. data/unittest/{expected → expected_wiki}/test_wiki_description.wiki +0 -0
  165. data/unittest/expected_wiki/test_wiki_footnote.html +8 -0
  166. data/unittest/expected_wiki/test_wiki_footnote.latex +17 -0
  167. data/unittest/{expected → expected_wiki}/test_wiki_footnote.text +2 -4
  168. data/unittest/expected_wiki/test_wiki_footnote.wiki +10 -0
  169. data/unittest/expected_wiki/test_wiki_footnote_2.html +8 -0
  170. data/unittest/expected_wiki/test_wiki_footnote_groupid.html +21 -0
  171. data/unittest/{expected → expected_wiki}/test_wiki_html_code.html +0 -0
  172. data/unittest/{expected → expected_wiki}/test_wiki_html_code.latex +0 -0
  173. data/unittest/{expected → expected_wiki}/test_wiki_html_code.text +0 -0
  174. data/unittest/{expected → expected_wiki}/test_wiki_html_code.wiki +0 -0
  175. data/unittest/{expected → expected_wiki}/test_wiki_inline.html +0 -0
  176. data/unittest/{expected → expected_wiki}/test_wiki_inline.latex +0 -0
  177. data/unittest/{expected → expected_wiki}/test_wiki_inline.text +0 -0
  178. data/unittest/{expected → expected_wiki}/test_wiki_inline.wiki +0 -0
  179. data/unittest/{expected → expected_wiki}/test_wiki_label.html +0 -0
  180. data/unittest/{expected → expected_wiki}/test_wiki_link.html +0 -0
  181. data/unittest/{expected → expected_wiki}/test_wiki_link.latex +0 -0
  182. data/unittest/{expected → expected_wiki}/test_wiki_link.log +0 -0
  183. data/unittest/{expected → expected_wiki}/test_wiki_link.wiki +0 -0
  184. data/unittest/{expected → expected_wiki}/test_wiki_list_ol.html +0 -0
  185. data/unittest/{expected → expected_wiki}/test_wiki_list_ol.latex +0 -0
  186. data/unittest/{expected → expected_wiki}/test_wiki_list_ol.text +0 -0
  187. data/unittest/{expected → expected_wiki}/test_wiki_list_ol.wiki +0 -0
  188. data/unittest/{expected → expected_wiki}/test_wiki_list_ol_after_ul.html +0 -0
  189. data/unittest/{expected → expected_wiki}/test_wiki_list_ol_after_ul.latex +0 -0
  190. data/unittest/{expected → expected_wiki}/test_wiki_list_ol_after_ul.text +0 -0
  191. data/unittest/{expected → expected_wiki}/test_wiki_list_ol_after_ul.wiki +0 -0
  192. data/unittest/{expected → expected_wiki}/test_wiki_list_ol_ul.html +0 -0
  193. data/unittest/{expected → expected_wiki}/test_wiki_list_ol_ul.latex +0 -0
  194. data/unittest/{expected → expected_wiki}/test_wiki_list_ol_ul.text +0 -0
  195. data/unittest/{expected → expected_wiki}/test_wiki_list_ol_ul.wiki +0 -0
  196. data/unittest/{expected → expected_wiki}/test_wiki_list_ul.html +0 -0
  197. data/unittest/{expected → expected_wiki}/test_wiki_list_ul.latex +0 -0
  198. data/unittest/{expected → expected_wiki}/test_wiki_list_ul.text +0 -0
  199. data/unittest/{expected → expected_wiki}/test_wiki_list_ul.wiki +0 -0
  200. data/unittest/{expected → expected_wiki}/test_wiki_list_ul_too_much.html +0 -0
  201. data/unittest/{expected → expected_wiki}/test_wiki_list_ul_too_much.latex +0 -0
  202. data/unittest/{expected → expected_wiki}/test_wiki_list_ul_too_much.text +0 -0
  203. data/unittest/{expected → expected_wiki}/test_wiki_list_ul_too_much.wiki +0 -0
  204. data/unittest/{expected → expected_wiki}/test_wiki_picture.html +0 -0
  205. data/unittest/{expected → expected_wiki}/test_wiki_picture.latex +0 -0
  206. data/unittest/{expected → expected_wiki}/test_wiki_picture_thumb.html +0 -0
  207. data/unittest/{expected → expected_wiki}/test_wiki_tab1.html +0 -0
  208. data/unittest/{expected → expected_wiki}/test_wiki_tab1.latex +0 -0
  209. data/unittest/{expected → expected_wiki}/test_wiki_tab1.wiki +0 -0
  210. data/unittest/{expected → expected_wiki}/test_wiki_textformatting.html +0 -0
  211. data/unittest/{expected → expected_wiki}/test_wiki_textformatting.latex +0 -0
  212. data/unittest/{expected → expected_wiki}/test_wiki_textformatting.text +0 -0
  213. data/unittest/{expected → expected_wiki}/test_wiki_textformatting.wiki +0 -0
  214. data/unittest/{expected → expected_wiki}/test_wiki_toc.html +0 -0
  215. data/unittest/{expected → expected_wiki}/test_wiki_toc.latex +0 -0
  216. data/unittest/{expected → expected_wiki}/test_wiki_toc.text +0 -0
  217. data/unittest/{expected → expected_wiki}/test_wiki_toc.wiki +0 -0
  218. data/unittest/{expected → expected_wiki}/test_wiki_ul_multiple_line.html +0 -0
  219. data/unittest/{expected → expected_wiki}/test_wiki_ul_multiple_line.latex +0 -0
  220. data/unittest/{expected → expected_wiki}/test_wiki_ul_multiple_line.text +0 -0
  221. data/unittest/{expected → expected_wiki}/test_wiki_ul_multiple_line.wiki +0 -0
  222. data/unittest/test_docgenerator.rb +1 -2
  223. data/unittest/unittest_creole2doc.rb +1024 -0
  224. data/unittest/unittest_docgenerator.rb +17 -8
  225. data/unittest/unittest_wiki2doc.rb +92 -88
  226. data/unittest/unittest_yaml2pres.rb +336 -0
  227. metadata +202 -70
  228. data/unittest/expected/test_wiki_footnote.html +0 -8
  229. data/unittest/expected/test_wiki_footnote.latex +0 -15
  230. data/unittest/expected/test_wiki_footnote.wiki +0 -12
  231. data/unittest/expected/test_wiki_footnote_groupid.html +0 -21
@@ -0,0 +1,15 @@
1
+ \subsection{Titel 1}
2
+
3
+
4
+ Text
5
+
6
+ \subsubsection{Titel 2}
7
+
8
+
9
+ Text unter Titel 2
10
+
11
+ \subsubsection{Titel 2b}\hypertarget{2b}{}
12
+
13
+
14
+ Text unter Titel 2b.
15
+
@@ -0,0 +1,6 @@
1
+ <p >
2
+ Character formatting extends across line breaks: <strong >bold,this is still bold. This line deliberately does not end in star-star. </strong>
3
+ </p>
4
+ <p >
5
+ Not bold. Character formatting does not cross paragraph boundaries.
6
+ </p>
@@ -0,0 +1,8 @@
1
+
2
+
3
+ Character formatting extends across line breaks: \textbf{bold,this is still bold. This line deliberately does not end in star-star. }
4
+
5
+
6
+
7
+ Not bold. Character formatting does not cross paragraph boundaries.
8
+
@@ -0,0 +1,6 @@
1
+ <p >
2
+ <a href = "#internal" >#internal</a>
3
+ </p>
4
+ <p >
5
+ <a href = "#internal" >Links inside</a>
6
+ </p>
@@ -0,0 +1,4 @@
1
+
2
+ #internal (#internal)
3
+
4
+ Links inside (#internal)
@@ -0,0 +1,3 @@
1
+ <p >
2
+ Be careful that italic links are rendered properly: <em ><a href = "http://my.book.example/" >My Book Title</a></em>
3
+ </p>
@@ -0,0 +1,4 @@
1
+
2
+
3
+ Be careful that italic links are rendered properly: \emph{\href{http://my.book.example/}{My Book Title}}
4
+
@@ -0,0 +1,2 @@
1
+
2
+ Be careful that italic links are rendered properly: My Book Title (http://my.book.example/)
@@ -0,0 +1,6 @@
1
+ <p >
2
+ Here's a external link without a description: <a href = "http://www.wikicreole.org" >http://www.wikicreole.org</a>.
3
+ </p>
4
+ <p >
5
+ And here's a external link with a description: <a href = "http://www.wikicreole.org" >wikicreole.org</a>.
6
+ </p>
@@ -0,0 +1,8 @@
1
+
2
+
3
+ Here's a external link without a description: \href{http://www.wikicreole.org}{http://www.wikicreole.org}.
4
+
5
+
6
+
7
+ And here's a external link with a description: \href{http://www.wikicreole.org}{wikicreole.org}.
8
+
@@ -0,0 +1,4 @@
1
+
2
+ Here's a external link without a description: http://www.wikicreole.org (http://www.wikicreole.org).
3
+
4
+ And here's a external link with a description: wikicreole.org (http://www.wikicreole.org).
@@ -0,0 +1,9 @@
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>
3
+ </p>
4
+ <p >
5
+ See also description: <a href = "http://www.wikicreole.org/wiki/Links" >http://www.wikicreole.org/wiki/Links</a>
6
+ </p>
7
+ <p >
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>.
9
+ </p>
@@ -0,0 +1,12 @@
1
+
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.}
4
+
5
+
6
+
7
+ See also description: \href{http://www.wikicreole.org/wiki/Links}{http://www.wikicreole.org/wiki/Links}
8
+
9
+
10
+
11
+ In case of phrase ends with . you should use explicit links like \href{http://www.wikicreole.org/users/~example}{http://www.wikicreole.org/users/~example}.
12
+
@@ -0,0 +1,6 @@
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.)
3
+
4
+ See also description: http://www.wikicreole.org/wiki/Links (http://www.wikicreole.org/wiki/Links)
5
+
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,6 @@
1
+ <p >
2
+ <a href = "./unittest_creole2doc.rb" >./unittest_creole2doc.rb</a>
3
+ </p>
4
+ <p >
5
+ <a href = "./unittest_creole2doc.rb" >This unittest-source</a>
6
+ </p>
@@ -0,0 +1,8 @@
1
+
2
+
3
+ \href{./unittest_creole2doc.rb}{./unittest_creole2doc.rb}
4
+
5
+
6
+
7
+ \href{./unittest_creole2doc.rb}{This unittest-source}
8
+
@@ -0,0 +1,4 @@
1
+
2
+ ./unittest_creole2doc.rb (./unittest_creole2doc.rb)
3
+
4
+ This unittest-source (./unittest_creole2doc.rb)
@@ -0,0 +1,12 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ol >
5
+ <li >Listentry 1 </li>
6
+ <li >Listentry 2 <ol >
7
+ <li >Listentry 2.1 </li>
8
+ <li >Listentry 2.2 </li>
9
+ </ol>
10
+ </li>
11
+ <li >Listentry 3 Text afterwords </li>
12
+ </ol>
@@ -0,0 +1,22 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{enumerate}
7
+
8
+ \item Listentry 1
9
+
10
+ \item Listentry 2
11
+ \begin{enumerate}
12
+
13
+ \item Listentry 2.1
14
+
15
+ \item Listentry 2.2
16
+ \end{enumerate}
17
+
18
+
19
+
20
+ \item Listentry 3 Text afterwords
21
+ \end{enumerate}
22
+
@@ -0,0 +1,12 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ul >
5
+ <li >Listentry 1 </li>
6
+ </ul>
7
+ <ol >
8
+ <li >Listentry 2 </li>
9
+ </ol>
10
+ <p >
11
+ Text afterwords
12
+ </p>
@@ -0,0 +1,20 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{itemize}
7
+
8
+ \item Listentry 1
9
+ \end{itemize}
10
+
11
+
12
+ \begin{enumerate}
13
+
14
+ \item Listentry 2
15
+ \end{enumerate}
16
+
17
+
18
+
19
+ Text afterwords
20
+
@@ -0,0 +1,6 @@
1
+
2
+ Text before
3
+ - Listentry 1
4
+ - Listentry 2
5
+
6
+ Text afterwords
@@ -0,0 +1,15 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ol >
5
+ <li >Listentry 1 </li>
6
+ <li >Listentry 2 <ul >
7
+ <li >Listentry 2.1 </li>
8
+ <li >Listentry 2.2 </li>
9
+ </ul>
10
+ </li>
11
+ <li >Listentry 3 </li>
12
+ </ol>
13
+ <p >
14
+ Text afterwords
15
+ </p>
@@ -0,0 +1,26 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{enumerate}
7
+
8
+ \item Listentry 1
9
+
10
+ \item Listentry 2
11
+ \begin{itemize}
12
+
13
+ \item Listentry 2.1
14
+
15
+ \item Listentry 2.2
16
+ \end{itemize}
17
+
18
+
19
+
20
+ \item Listentry 3
21
+ \end{enumerate}
22
+
23
+
24
+
25
+ Text afterwords
26
+
@@ -0,0 +1,22 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ul >
5
+ <li >Listentry 1 </li>
6
+ <li >Listentry 2 <ul >
7
+ <li >Listentry 2.1 </li>
8
+ <li >Listentry 2.2 </li>
9
+ </ul>
10
+ </li>
11
+ <li >Listentry 3 <ul >
12
+ <li >Listentry 3.2 </li>
13
+ </ul>
14
+ </li>
15
+ </ul>
16
+ <ul >
17
+ <li > You can have multiline list items </li>
18
+ <li > this is a second multiline list item </li>
19
+ </ul>
20
+ <p >
21
+ Text afterwords
22
+ </p>
@@ -0,0 +1,40 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{itemize}
7
+
8
+ \item Listentry 1
9
+
10
+ \item Listentry 2
11
+ \begin{itemize}
12
+
13
+ \item Listentry 2.1
14
+
15
+ \item Listentry 2.2
16
+ \end{itemize}
17
+
18
+
19
+
20
+ \item Listentry 3
21
+ \begin{itemize}
22
+
23
+ \item Listentry 3.2
24
+ \end{itemize}
25
+
26
+
27
+ \end{itemize}
28
+
29
+
30
+ \begin{itemize}
31
+
32
+ \item You can have multiline list items
33
+
34
+ \item this is a second multiline list item
35
+ \end{itemize}
36
+
37
+
38
+
39
+ Text afterwords
40
+
@@ -0,0 +1,83 @@
1
+ ---
2
+ - !ruby/struct:Creole_line
3
+ type: :dummy
4
+ content:
5
+ add_info:
6
+ - !ruby/struct:Creole_line
7
+ type: :par
8
+ content: |
9
+ Text before
10
+
11
+ add_info:
12
+ - !ruby/struct:Creole_line
13
+ type: :list
14
+ content: |
15
+ Listentry 1
16
+
17
+ add_info:
18
+ :listtype: "*"
19
+ - !ruby/struct:Creole_line
20
+ type: :list
21
+ content: |
22
+ Listentry 2
23
+
24
+ add_info:
25
+ :listtype: "*"
26
+ - !ruby/struct:Creole_line
27
+ type: :list
28
+ content: |
29
+ Listentry 2.1
30
+
31
+ add_info:
32
+ :listtype: "**"
33
+ - !ruby/struct:Creole_line
34
+ type: :list
35
+ content: |
36
+ Listentry 2.2
37
+
38
+ add_info:
39
+ :listtype: "**"
40
+ - !ruby/struct:Creole_line
41
+ type: :list
42
+ content: |
43
+ Listentry 3
44
+
45
+ add_info:
46
+ :listtype: "*"
47
+ - !ruby/struct:Creole_line
48
+ type: :list
49
+ content: |
50
+ Listentry 3.2
51
+
52
+ add_info:
53
+ :listtype: "**"
54
+ - !ruby/struct:Creole_line
55
+ type: :dummy
56
+ content:
57
+ add_info:
58
+ - !ruby/struct:Creole_line
59
+ type: :dummy
60
+ content:
61
+ add_info:
62
+ - !ruby/struct:Creole_line
63
+ type: :list
64
+ content: " You can have\n\
65
+ multiline list items\n"
66
+ add_info:
67
+ :listtype: "*"
68
+ - !ruby/struct:Creole_line
69
+ type: :list
70
+ content: " this is a second multiline\n\
71
+ list item\n"
72
+ add_info:
73
+ :listtype: "*"
74
+ - !ruby/struct:Creole_line
75
+ type: :dummy
76
+ content:
77
+ add_info:
78
+ - !ruby/struct:Creole_line
79
+ type: :par
80
+ content: |
81
+ Text afterwords
82
+
83
+ add_info:
@@ -0,0 +1,24 @@
1
+ <p >
2
+ Text before
3
+ </p>
4
+ <ul >
5
+ <li >Listentry 1 </li>
6
+ <li >Listentry 2 <ul >
7
+ <li >Listentry 2.1 </li>
8
+ <li >Listentry 2.2 <ul >
9
+ <li >Listentry 2.2.1 <ul >
10
+ <li >Listentry 2.2.1.1 <ul >
11
+ <li >Listentry 2.2.1.1.1 </li>
12
+ </ul>
13
+ </li>
14
+ </ul>
15
+ </li>
16
+ </ul>
17
+ </li>
18
+ </ul>
19
+ </li>
20
+ <li >Listentry 3 </li>
21
+ </ul>
22
+ <p >
23
+ Text afterwords
24
+ </p>
@@ -0,0 +1,44 @@
1
+
2
+
3
+ Text before
4
+
5
+
6
+ \begin{itemize}
7
+
8
+ \item Listentry 1
9
+
10
+ \item Listentry 2
11
+ \begin{itemize}
12
+
13
+ \item Listentry 2.1
14
+
15
+ \item Listentry 2.2
16
+ \begin{itemize}
17
+
18
+ \item Listentry 2.2.1
19
+ \begin{itemize}
20
+
21
+ \item Listentry 2.2.1.1
22
+ \begin{itemize}
23
+
24
+ \item Listentry 2.2.1.1.1
25
+ \end{itemize}
26
+
27
+
28
+ \end{itemize}
29
+
30
+
31
+ \end{itemize}
32
+
33
+
34
+ \end{itemize}
35
+
36
+
37
+
38
+ \item Listentry 3
39
+ \end{itemize}
40
+
41
+
42
+
43
+ Text afterwords
44
+
@@ -0,0 +1,9 @@
1
+ <p >
2
+ You can format an address by simply forcing linebreaks:
3
+ </p>
4
+ <p >
5
+ My contact dates:<br />
6
+ Pone: xyz<br />
7
+ Fax: +45<br />
8
+ Mobile: abc
9
+ </p>
@@ -0,0 +1,11 @@
1
+
2
+
3
+ You can format an address by simply forcing linebreaks:
4
+
5
+
6
+
7
+ My contact dates:\newline
8
+ Pone: xyz\newline
9
+ Fax: +45\newline
10
+ Mobile: abc
11
+
@@ -0,0 +1,7 @@
1
+
2
+ You can format an address by simply forcing linebreaks:
3
+
4
+ My contact dates:
5
+ Pone: xyz
6
+ Fax: +45
7
+ Mobile: abc
@@ -0,0 +1,6 @@
1
+ <p >
2
+ This is some text, followed by more Text. And some more text.
3
+ </p>
4
+ <p >
5
+ And now a new paragraph with some other text.
6
+ </p>
@@ -0,0 +1,8 @@
1
+
2
+
3
+ This is some text, followed by more Text. And some more text.
4
+
5
+
6
+
7
+ And now a new paragraph with some other text.
8
+
@@ -0,0 +1,27 @@
1
+ ---
2
+ - !ruby/struct:Creole_line
3
+ type: :dummy
4
+ content:
5
+ add_info:
6
+ - !ruby/struct:Creole_line
7
+ type: :par
8
+ content: |
9
+ This is some text,
10
+ followed by more Text.
11
+ And some more text.
12
+
13
+ add_info:
14
+ - !ruby/struct:Creole_line
15
+ type: :dummy
16
+ content:
17
+ add_info:
18
+ - !ruby/struct:Creole_line
19
+ type: :par
20
+ content: |
21
+ And now a new paragraph with some other text.
22
+
23
+ add_info:
24
+ - !ruby/struct:Creole_line
25
+ type: :dummy
26
+ content:
27
+ add_info:
@@ -0,0 +1,4 @@
1
+
2
+ This is some text, followed by more Text. And some more text.
3
+
4
+ And now a new paragraph with some other text.
@@ -0,0 +1,4 @@
1
+
2
+ This is some text, followed by more Text. And some more text.
3
+
4
+ And now a new paragraph with some other text.
@@ -0,0 +1,5 @@
1
+ <p >
2
+ And now a line which is a bit longer then 80 characters in the input line.
3
+ Creole should split it at position 75 or a bit later (depending on the word
4
+ length at position 75).
5
+ </p>
@@ -0,0 +1,6 @@
1
+
2
+
3
+ And now a line which is a bit longer then 80 characters in the input line.
4
+ Creole should split it at position 75 or a bit later (depending on the word
5
+ length at position 75).
6
+
@@ -0,0 +1,4 @@
1
+
2
+ And now a line which is a bit longer then 80 characters in the input line.
3
+ Creole should split it at position 75 or a bit later (depending on the word
4
+ length at position 75).
@@ -0,0 +1,4 @@
1
+
2
+ And now a line which is a bit longer then 80 characters in the input line.
3
+ Creole should split it at position 75 or a bit later (depending on the word
4
+ length at position 75).
@@ -0,0 +1,9 @@
1
+ <p >
2
+ And now a line which is a bit longer then 80 characters in the input line. Creole should not split it, because we defined split_at to 0.
3
+
4
+ </p>
5
+ <p >
6
+ And now a line which is a bit longer then 80 characters in the input line.
7
+ Creole should not split it, because we defined split_at to 0.
8
+
9
+ </p>
@@ -0,0 +1,11 @@
1
+
2
+
3
+ And now a line which is a bit longer then 80 characters in the input line. Creole should not split it, because we defined split\_at to 0.
4
+
5
+
6
+
7
+
8
+ And now a line which is a bit longer then 80 characters in the input line.
9
+ Creole should not split it, because we defined split\_at to 0.
10
+
11
+
@@ -0,0 +1,7 @@
1
+
2
+ And now a line which is a bit longer then 80 characters in the input line. Creole should not split it, because we defined split_at to 0.
3
+
4
+
5
+ And now a line which is a bit longer then 80 characters in the input line.
6
+ Creole should not split it, because we defined split_at to 0.
7
+
@@ -0,0 +1,7 @@
1
+
2
+ And now a line which is a bit longer then 80 characters in the input line. Creole should not split it, because we defined split_at to 0.
3
+
4
+
5
+ And now a line which is a bit longer then 80 characters in the input line.
6
+ Creole should not split it, because we defined split_at to 0.
7
+
@@ -0,0 +1,5 @@
1
+ <p >
2
+ And now a line which is a bit longer then 80 characters in
3
+ the input line. Creole should split it at position 60 or a
4
+ bit later (depending on the word length at position 60).
5
+ </p>
@@ -0,0 +1,6 @@
1
+
2
+
3
+ And now a line which is a bit longer then 80 characters in
4
+ the input line. Creole should split it at position 60 or a
5
+ bit later (depending on the word length at position 60).
6
+
@@ -0,0 +1,4 @@
1
+
2
+ And now a line which is a bit longer then 80 characters in
3
+ the input line. Creole should split it at position 60 or a
4
+ bit later (depending on the word length at position 60).