docgenerator 1.2.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. data/build_test_and_doc.rb +505 -0
  2. data/examples/creole_example.rb +82 -0
  3. data/examples/creole_example_footnote.rb +67 -0
  4. data/examples/creole_example_placeholder.rb +77 -0
  5. data/examples/creole_example_rail.rb +154 -0
  6. data/examples/creole_example_rubycode.rb +144 -0
  7. data/examples/creole_example_struktex.rb +169 -0
  8. data/examples/docgenerator_example.rb +1 -1
  9. data/examples/docgenerator_example_footnote.rb +1 -0
  10. data/examples/docgenerator_example_list.rb +3 -0
  11. data/examples/docgenerator_example_restrictions.rb +1 -1
  12. data/examples/docgenerator_example_tabular.rb +1 -1
  13. data/examples/docgenerator_example_tripfalls.rb +2 -2
  14. data/examples/results/readme +2 -1
  15. data/examples/wiki2docgenerator_example.rb +61 -32
  16. data/lib/creole/creole2doc.rb +57 -58
  17. data/lib/creole/creole_characters.rb +56 -0
  18. data/lib/creole/creole_inclusion_and_plugins.rb +59 -284
  19. data/lib/creole/creole_inclusions.rb +142 -0
  20. data/lib/creole/creole_placeholder.rb +57 -23
  21. data/lib/creole/creole_plugins.rb +198 -0
  22. data/lib/creole/creole_tabular.rb +16 -8
  23. data/lib/creole/plugins/rail.rb +182 -0
  24. data/lib/creole/plugins/rubycode4creole.rb +136 -0
  25. data/lib/creole/plugins/struktex.rb +59 -0
  26. data/lib/creole/plugins/todonotes.rb +70 -0
  27. data/lib/docgenerator.rb +161 -71
  28. data/lib/docgenerator/attribute.rb +189 -156
  29. data/lib/docgenerator/characters.rb +824 -267
  30. data/lib/docgenerator/compatibility_v1.rb +249 -0
  31. data/lib/docgenerator/css.rb +53 -32
  32. data/lib/docgenerator/document.rb +119 -56
  33. data/lib/docgenerator/element.rb +304 -351
  34. data/lib/docgenerator/element_meta.rb +303 -0
  35. data/lib/docgenerator/elements.rb +1112 -481
  36. data/lib/docgenerator/environments.rb +153 -62
  37. data/lib/docgenerator/footnote.rb +30 -9
  38. data/lib/docgenerator/lists.rb +71 -47
  39. data/lib/docgenerator/packages/attachfile.rb +136 -0
  40. data/lib/{packages/docgenerator_caption.rb → docgenerator/packages/caption.rb} +28 -19
  41. data/lib/docgenerator/packages/hyperref.rb +194 -0
  42. data/lib/docgenerator/packages/listings.rb +179 -0
  43. data/lib/docgenerator/packages/pdfpages.rb +43 -0
  44. data/lib/docgenerator/packages/rubycode4doc.rb +227 -0
  45. data/lib/{packages/docgenerator_scrlettr2.rb → docgenerator/packages/scrlettr2.rb} +25 -16
  46. data/lib/docgenerator/packages/scrpage2.rb +410 -0
  47. data/lib/docgenerator/packages/struktex.rb +447 -0
  48. data/lib/docgenerator/packages/todonotes.rb +85 -0
  49. data/lib/{packages/docgenerator_url.rb → docgenerator/packages/url.rb} +7 -6
  50. data/lib/docgenerator/sections.rb +257 -83
  51. data/lib/docgenerator/standard.rb +19 -11
  52. data/lib/docgenerator/tabular.rb +234 -118
  53. data/lib/{templates → docgenerator/templates}/docgenerator_template.rb +52 -44
  54. data/lib/{templates → docgenerator/templates}/docgenerator_template.yaml +0 -0
  55. data/lib/{templates → docgenerator/templates}/docgenerator_template_css.rb +22 -16
  56. data/lib/wiki2doc/plugins/rubycode4wiki.rb +53 -0
  57. data/lib/wiki2doc/plugins/struktex.rb +12 -0
  58. data/lib/wiki2doc/wiki2docgenerator.rb +39 -38
  59. data/lib/wiki2doc/wikimedia_document.rb +24 -0
  60. data/manpage_elements.rb +10411 -0
  61. data/readme.rd +34 -24
  62. data/unittest/creole_testtext.creole +11 -0
  63. data/unittest/expected/test_document_usepackage_undefined.log +2 -2
  64. data/unittest/expected/test_runtex.stdout +0 -1
  65. data/unittest/expected/test_runtex_2.stdout +0 -1
  66. data/unittest/expected/toc_css.css +3 -2
  67. data/unittest/expected_creole/test_creole_characters_all.creole +28 -0
  68. data/unittest/expected_creole/test_creole_characters_all.html +15 -15
  69. data/unittest/expected_creole/test_creole_characters_all.latex +15 -15
  70. data/unittest/expected_creole/test_creole_footnotes_groupid.html +15 -0
  71. data/unittest/expected_creole/test_creole_links_file.html +2 -2
  72. data/unittest/expected_creole/test_creole_links_file.latex +2 -2
  73. data/unittest/expected_creole/test_creole_links_file.text +2 -2
  74. data/unittest/expected_creole/test_creole_picture_link.html +1 -1
  75. data/unittest/expected_creole_rail/test_rail_creole_object.tex +33 -0
  76. data/unittest/expected_creole_rail/test_rail_creole_placeholder.tex +40 -0
  77. data/unittest/expected_rubycode4doc/creole_complete.html +26 -0
  78. data/unittest/expected_rubycode4doc/creole_complete.tex +40 -0
  79. data/unittest/expected_rubycode4doc/creole_in_tab.html +4 -0
  80. data/unittest/expected_rubycode4doc/creole_in_tab.tex +6 -0
  81. data/unittest/expected_rubycode4doc/creole_inline_ruby.html +7 -0
  82. data/unittest/expected_rubycode4doc/creole_output.html +2 -0
  83. data/unittest/expected_rubycode4doc/creole_output.tex +4 -0
  84. data/unittest/expected_rubycode4doc/creole_rubycode.html +1 -0
  85. data/unittest/expected_rubycode4doc/creole_rubycode.tex +3 -0
  86. data/unittest/expected_rubycode4doc/creole_rubycode_evaluated.html +1 -0
  87. data/unittest/expected_rubycode4doc/creole_rubycode_evaluated.tex +3 -0
  88. data/unittest/expected_rubycode4doc/creole_rubycode_evaluated_listings.html +3 -0
  89. data/unittest/expected_rubycode4doc/creole_rubycode_evaluated_listings.tex +5 -0
  90. data/unittest/expected_rubycode4doc/wiki_1.html +8 -0
  91. data/unittest/expected_rubycode4doc/wiki_2.html +8 -0
  92. data/unittest/expected_rubycode4doc/wiki_3.html +9 -0
  93. data/unittest/expected_rubycode4doc/wiki_immediate_1.html +5 -0
  94. data/unittest/expected_rubycode4doc/wiki_immediate_2.html +5 -0
  95. data/unittest/expected_rubycode4doc/wiki_immediate_3.html +8 -0
  96. data/unittest/expected_rubycode4doc/wiki_immediate_full.html +21 -0
  97. data/unittest/expected_struktex/test_struktex_krug.creole +15 -0
  98. data/unittest/expected_struktex/test_struktex_krug.tex +19 -0
  99. data/unittest/expected_struktex/test_struktex_krug.wiki +15 -0
  100. data/unittest/expected_struktex/test_struktex_statement.creole +7 -0
  101. data/unittest/expected_struktex/test_struktex_statement.tex +9 -0
  102. data/unittest/expected_struktex/test_struktex_statement.wiki +7 -0
  103. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki.html +0 -0
  104. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki.latex +0 -0
  105. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki.text +0 -0
  106. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki.wiki +0 -0
  107. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_description.html +1 -1
  108. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_description.latex +1 -1
  109. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_description.text +1 -1
  110. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_description.wiki +1 -1
  111. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_footnote.html +0 -0
  112. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_footnote.latex +0 -0
  113. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_footnote.text +0 -0
  114. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_footnote.wiki +0 -0
  115. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_footnote_2.html +0 -0
  116. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_footnote_groupid.html +0 -0
  117. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_html_code.html +0 -0
  118. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_html_code.latex +0 -0
  119. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_html_code.text +0 -0
  120. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_html_code.wiki +0 -0
  121. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_inline.html +0 -0
  122. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_inline.latex +0 -0
  123. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_inline.text +0 -0
  124. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_inline.wiki +0 -0
  125. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_label.html +0 -0
  126. data/unittest/expected_wikimedia/test_wiki_link.html +8 -0
  127. data/unittest/expected_wikimedia/test_wiki_link.latex +17 -0
  128. data/unittest/expected_wikimedia/test_wiki_link.wiki +11 -0
  129. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol.html +0 -0
  130. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol.latex +0 -0
  131. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol.text +0 -0
  132. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol.wiki +0 -0
  133. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol_after_ul.html +0 -0
  134. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol_after_ul.latex +0 -0
  135. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol_after_ul.text +0 -0
  136. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol_after_ul.wiki +0 -0
  137. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol_ul.html +0 -0
  138. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol_ul.latex +0 -0
  139. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol_ul.text +0 -0
  140. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ol_ul.wiki +0 -0
  141. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ul.html +0 -0
  142. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ul.latex +0 -0
  143. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ul.text +0 -0
  144. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ul.wiki +0 -0
  145. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ul_too_much.html +0 -0
  146. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ul_too_much.latex +0 -0
  147. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ul_too_much.text +0 -0
  148. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_list_ul_too_much.wiki +0 -0
  149. data/unittest/expected_wikimedia/test_wiki_picture.html +55 -0
  150. data/unittest/expected_wikimedia/test_wiki_picture.latex +76 -0
  151. data/unittest/expected_wikimedia/test_wiki_picture_thumb.html +5 -0
  152. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_tab1.html +0 -0
  153. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_tab1.latex +0 -0
  154. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_tab1.wiki +0 -0
  155. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_textformatting.html +0 -0
  156. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_textformatting.latex +0 -0
  157. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_textformatting.text +0 -0
  158. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_textformatting.wiki +0 -0
  159. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_toc.html +0 -0
  160. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_toc.latex +0 -0
  161. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_toc.text +0 -0
  162. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_toc.wiki +0 -0
  163. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_ul_multiple_line.html +0 -0
  164. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_ul_multiple_line.latex +0 -0
  165. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_ul_multiple_line.text +0 -0
  166. data/unittest/{expected_wiki → expected_wikimedia}/test_wiki_ul_multiple_line.wiki +0 -0
  167. data/unittest/{unittest_creole2doc.rb → unittest_creole.rb} +385 -476
  168. data/unittest/unittest_creole_placeholders.rb +272 -0
  169. data/unittest/unittest_creole_plugin_rail.rb +147 -0
  170. data/unittest/unittest_docgenerator.rb +206 -332
  171. data/unittest/unittest_docgenerator_characters.rb +650 -0
  172. data/unittest/unittest_docgenerator_runtex.rb +48 -20
  173. data/unittest/unittest_packages_struktex.rb +187 -0
  174. data/unittest/unittest_rubycode4doc.rb +275 -0
  175. data/unittest/unittest_wikimedia.rb +479 -0
  176. metadata +245 -172
  177. data/examples/results_expected/docgenerator_example.html +0 -39
  178. data/examples/results_expected/docgenerator_example.pdf +0 -0
  179. data/examples/results_expected/docgenerator_example.tex +0 -56
  180. data/examples/results_expected/docgenerator_example_footnote.html +0 -40
  181. data/examples/results_expected/docgenerator_example_footnote.pdf +0 -0
  182. data/examples/results_expected/docgenerator_example_footnote.tex +0 -50
  183. data/examples/results_expected/docgenerator_example_list.html +0 -18
  184. data/examples/results_expected/docgenerator_example_list.pdf +0 -0
  185. data/examples/results_expected/docgenerator_example_list.tex +0 -46
  186. data/examples/results_expected/docgenerator_example_restrictions.html +0 -22
  187. data/examples/results_expected/docgenerator_example_restrictions.pdf +0 -0
  188. data/examples/results_expected/docgenerator_example_restrictions.tex +0 -31
  189. data/examples/results_expected/docgenerator_example_tabular.html +0 -37
  190. data/examples/results_expected/docgenerator_example_tabular.pdf +0 -0
  191. data/examples/results_expected/docgenerator_example_tabular.tex +0 -41
  192. data/examples/results_expected/docgenerator_example_tripfalls.html +0 -27
  193. data/examples/results_expected/docgenerator_example_tripfalls.pdf +0 -0
  194. data/examples/results_expected/docgenerator_example_tripfalls.tex +0 -31
  195. data/lib/packages/docgenerator_attachfile.rb +0 -71
  196. data/lib/packages/docgenerator_hyperref.rb +0 -109
  197. data/lib/packages/docgenerator_listings.rb +0 -103
  198. data/lib/packages/docgenerator_pdfpages.rb +0 -24
  199. data/lib/packages/docgenerator_scrpage2.rb +0 -172
  200. data/self_docgenerator.rb +0 -163
  201. data/unittest/expected_wiki/test_wiki_link.html +0 -8
  202. data/unittest/expected_wiki/test_wiki_link.latex +0 -17
  203. data/unittest/expected_wiki/test_wiki_link.wiki +0 -11
  204. data/unittest/expected_wiki/test_wiki_picture.html +0 -55
  205. data/unittest/expected_wiki/test_wiki_picture.latex +0 -76
  206. data/unittest/expected_wiki/test_wiki_picture_thumb.html +0 -5
  207. data/unittest/test_rakefile_docgenerator.rb +0 -43
  208. data/unittest/unittest_versions.rb +0 -44
  209. data/unittest/unittest_wiki2doc.rb +0 -464
@@ -0,0 +1,7 @@
1
+ <ul >
2
+ <li >1 + 1 = <p >
3
+ 2
4
+ </p>
5
+ </li>
6
+ <li >1 + 1 = 2 </li>
7
+ </ul>
@@ -0,0 +1,2 @@
1
+ <pre style = "rubycode_output" >
2
+ 3</pre>
@@ -0,0 +1,4 @@
1
+
2
+ \begin{verbatim}
3
+ 3\end{verbatim}
4
+
@@ -0,0 +1 @@
1
+ <pre style = "rubycode" >1 + 1</pre>
@@ -0,0 +1,3 @@
1
+
2
+ \begin{verbatim}1 + 1\end{verbatim}
3
+
@@ -0,0 +1 @@
1
+ <pre style = "rubycode_evaluated" >1 + 1 # -&gt; 2 </pre>
@@ -0,0 +1,3 @@
1
+
2
+ \begin{verbatim}1 + 1 # -> 2 \end{verbatim}
3
+
@@ -0,0 +1,3 @@
1
+ <pre class = "rubycode_with_result" >
2
+ 1 + 1 # -> 2
3
+ </pre>
@@ -0,0 +1,5 @@
1
+
2
+ \begin{lstlisting}[numbers={left}, numberstyle={\tiny}]
3
+ 1 + 1 # -> 2
4
+ \end{lstlisting}
5
+
@@ -0,0 +1,8 @@
1
+ <h2 >Originalcoding</h2>
2
+ <p ><pre class = "rubycode" >
3
+ a = 5
4
+ b = a * 5
5
+ puts b
6
+ puts b + 3
7
+ </pre>
8
+ </p>
@@ -0,0 +1,8 @@
1
+ <h2 >Executed Coding</h2>
2
+ <p ><pre class = "rubycode_with_result" >
3
+ a = 5 # -> 5
4
+ b = a * 5 # -> 25
5
+ puts b # => "25\n"
6
+ puts b + 3 # => "28\n"
7
+ </pre>
8
+ </p>
@@ -0,0 +1,9 @@
1
+ <h2 >Executed Coding in einer Tabelle</h2>
2
+ <p >
3
+ <table border = "1" ><tr style = "border-bottom-style: solid;border-bottom-width: medium;" ><td >No</td><td >Code</td><td >Result</td><td >Output</td><td >Output2</td></tr>
4
+ <tr ><td >1</td><td ><pre class = "rubycode" > a = 5</pre></td><td >5</td><td ></td><td ><pre class = "ruby_result" ></pre></td></tr>
5
+ <tr ><td >2</td><td ><pre class = "rubycode" > b = a * 5</pre></td><td >25</td><td ></td><td ><pre class = "ruby_result" ></pre></td></tr>
6
+ <tr ><td >3</td><td ><pre class = "rubycode" > puts b</pre></td><td ></td><td ><span style = "display: inline;white-space:pre;font-family:monospace">"25\n"</span></td><td ><pre class = "ruby_result" >25</pre></td></tr>
7
+ <tr ><td >4</td><td ><pre class = "rubycode" > puts b + 3</pre></td><td ></td><td ><span style = "display: inline;white-space:pre;font-family:monospace">"28\n"</span></td><td ><pre class = "ruby_result" >28</pre></td></tr>
8
+ </table>
9
+ </p>
@@ -0,0 +1,5 @@
1
+ <h2 >Originalcoding</h2>
2
+ <p ><pre class = "rubycode" >
3
+ 1.upto(3){|i| puts i }
4
+ </pre>
5
+ </p>
@@ -0,0 +1,5 @@
1
+ <h2 >Executed Coding</h2>
2
+ <p ><pre class = "rubycode_with_result" >
3
+ 1.upto(3){|i| puts i } # -> 1 => "1\n2\n3\n"
4
+ </pre>
5
+ </p>
@@ -0,0 +1,8 @@
1
+ <h2 >Executed Coding in a tabular</h2>
2
+ <p >
3
+ <table border = "1" ><tr style = "border-bottom-style: solid;border-bottom-width: medium;" ><td >No</td><td >Code</td><td >Result</td><td >Output</td><td >Output2</td></tr>
4
+ <tr ><td >1</td><td ><pre class = "rubycode" >1.upto(3){|i| puts i }</pre></td><td >1</td><td ><span style = "display: inline;white-space:pre;font-family:monospace">"1\n2\n3\n"</span></td><td ><pre class = "ruby_result" >1
5
+ 2
6
+ 3</pre></td></tr>
7
+ </table>
8
+ </p>
@@ -0,0 +1,21 @@
1
+ <h1 >Code definition</h1>
2
+ <p >(Nothing to see)
3
+ </p>
4
+ <h1 >Code with evaluation</h1>
5
+ <p ><pre class = "rubycode" >
6
+ 1.upto(3){|i| puts i * 2 }
7
+ </pre>
8
+ </p>
9
+ <h1 >Code with evaluation</h1>
10
+ <p ><pre class = "rubycode_with_result" >
11
+ 1.upto(3){|i| puts i * 2 } # -> 1 => "2\n4\n6\n"
12
+ </pre>
13
+ </p>
14
+ <h1 >Code with evaluation</h1>
15
+ <p >
16
+ <table border = "1" ><tr style = "border-bottom-style: solid;border-bottom-width: medium;" ><td >No</td><td >Code</td><td >Result</td><td >Output</td><td >Output2</td></tr>
17
+ <tr ><td >1</td><td ><pre class = "rubycode" >1.upto(3){|i| puts i * 2 }</pre></td><td >1</td><td ><span style = "display: inline;white-space:pre;font-family:monospace">"2\n4\n6\n"</span></td><td ><pre class = "ruby_result" >2
18
+ 4
19
+ 6</pre></td></tr>
20
+ </table>
21
+ </p>
@@ -0,0 +1,15 @@
1
+ <<<structogramm|Krug;120;45
2
+ WHILE Krug nicht zerbrochen
3
+ Krug geht zum Brunnen
4
+ ENDWHILE
5
+ Qualitaetspruefung
6
+ -> Krug Testgut
7
+ <- res_1 Pruefergebnis
8
+ IF Krug zerbrochen
9
+ THEN
10
+ Schade
11
+ ELSE
12
+ Stabiler Krug
13
+ ENDIF
14
+
15
+ >>>
@@ -0,0 +1,19 @@
1
+
2
+ \begin{centernss}
3
+ \begin{struktogramm}(120,45)[Krug]
4
+ \while{Krug nicht zerbrochen}
5
+ \assign{Krug geht zum Brunnen}
6
+ \whileend
7
+ \assign{Qualitaetspruefung\\
8
+ \begin{declaration}[]
9
+ \description{$\Rightarrow$ Krug}{Testgut}
10
+ \description{$\Leftarrow$ res\_1}{Pruefergebnis}
11
+ \end{declaration}
12
+ }
13
+ \ifthenelse{3}{3}{Krug zerbrochen}{\pTrue}{\pFalse}
14
+ \assign{Schade}
15
+ \change
16
+ \assign{Stabiler Krug}
17
+ \ifend
18
+ \end{struktogramm}
19
+ \end{centernss}
@@ -0,0 +1,15 @@
1
+ >>>structogramm{Krug;120;45}
2
+ WHILE Krug nicht zerbrochen
3
+ Krug geht zum Brunnen
4
+ ENDWHILE
5
+ Qualitaetspruefung
6
+ -> Krug Testgut
7
+ <- res_1 Pruefergebnis
8
+ IF Krug zerbrochen
9
+ THEN
10
+ Schade
11
+ ELSE
12
+ Stabiler Krug
13
+ ENDIF
14
+
15
+ <<<
@@ -0,0 +1,7 @@
1
+ <<<structogramm|Simple Statements;120;30
2
+ Statement
3
+ => Call procedure
4
+ <> Return value
5
+ <= Exit with return value
6
+
7
+ >>>
@@ -0,0 +1,9 @@
1
+
2
+ \begin{centernss}
3
+ \begin{struktogramm}(120,30)[Simple Statements]
4
+ \assign{Statement}
5
+ \sub{Call procedure}
6
+ \return{Return value}
7
+ \exit{Exit with return value}
8
+ \end{struktogramm}
9
+ \end{centernss}
@@ -0,0 +1,7 @@
1
+ >>>structogramm{Simple Statements;120;30}
2
+ Statement
3
+ => Call procedure
4
+ <> Return value
5
+ <= Exit with return value
6
+
7
+ <<<
@@ -1,6 +1,6 @@
1
1
  <dl >
2
2
  <dt >Something</dt>
3
- <dd >Now a long description of Something, continued on a second liine.</dd>
3
+ <dd >Now a long description of Something, continued on a second line.</dd>
4
4
  <dd >Another entry</dd>
5
5
  <dt >Something Else</dt>
6
6
  <dd >Definition of Something Else</dd>
@@ -2,7 +2,7 @@
2
2
  \begin{description}
3
3
 
4
4
  \item[Something]
5
- Now a long description of Something, continued on a second liine.
5
+ Now a long description of Something, continued on a second line.
6
6
  Another entry
7
7
 
8
8
  \item[Something Else]
@@ -1,6 +1,6 @@
1
1
 
2
2
  Something:
3
- Now a long description of Something, continued on a second liine.
3
+ Now a long description of Something, continued on a second line.
4
4
  Another entry
5
5
  Something Else:
6
6
  Definition of Something Else
@@ -1,6 +1,6 @@
1
1
 
2
2
  ;Something
3
- :Now a long description of Something, continued on a second liine.
3
+ :Now a long description of Something, continued on a second line.
4
4
  :Another entry
5
5
  ;Something Else
6
6
  :Definition of Something Else
@@ -0,0 +1,8 @@
1
+ <p >text before <a href = "./unittest_wikimedia.rb" >link to test</a> text after
2
+ </p>
3
+ <p >text before
4
+ <a href = "./unittest_wikimedia.rb" >link to test</a>
5
+ text after
6
+ </p>
7
+ <p ><a href = "./unexisting_file.xx" >link with error</a>
8
+ </p>
@@ -0,0 +1,17 @@
1
+
2
+
3
+ text before \href{./unittest_wikimedia.rb}{link to test} text after
4
+
5
+
6
+
7
+
8
+ text before
9
+ \href{./unittest_wikimedia.rb}{link to test}
10
+ text after
11
+
12
+
13
+
14
+
15
+ \href{./unexisting_file.xx}{link with error}
16
+
17
+
@@ -0,0 +1,11 @@
1
+
2
+ text before [./unittest_wikimedia.rb link to test] text after
3
+
4
+
5
+ text before
6
+ [./unittest_wikimedia.rb link to test]
7
+ text after
8
+
9
+
10
+ [./unexisting_file.xx link with error]
11
+
@@ -0,0 +1,55 @@
1
+ <p ><span >
2
+ <img src = "Red_Flower.jpg" />
3
+ </span>
4
+
5
+ </p>
6
+ <p ><span >
7
+ <img src = "Red_Flower.jpg" alt = "description" />
8
+ </span>
9
+
10
+ <span >
11
+ vorher<img src = "Red_Flower.jpg" alt = "description" /><br clear = "all" />
12
+ </span>
13
+
14
+ <span >
15
+ <img src = "Red_Flower.jpg" alt = "description" /><br clear = "all" />
16
+ nachher
17
+ </span>
18
+
19
+ </p>
20
+ <p ><span >
21
+ <a href = "http://ruby.lickert.net" ><img src = "Red_Flower.jpg" /></a>
22
+ </span>
23
+
24
+ <span >
25
+ <a href = "http://ruby.lickert.net" ><img src = "Red_Flower.jpg" alt = "test" /></a>
26
+ </span>
27
+
28
+ </p>
29
+ <p ><span style = "float: right;" >
30
+ <img src = "Red_Flower.jpg" />
31
+ </span>
32
+
33
+ <span style = "float: left;" >
34
+ <img src = "Red_Flower.jpg" />
35
+ </span>
36
+
37
+ </p>
38
+ <p ><span >
39
+ <img src = "Red_Flower.jpg" style = "width: 123px;" />
40
+ </span>
41
+
42
+ </p>
43
+ <p ><span >
44
+ <img src = "Red_Flower.jpg" class = "pictureclass" />
45
+ </span>
46
+
47
+ <span >
48
+ <img src = "Red_Flower.jpg" class = "imgclass" />
49
+ </span>
50
+
51
+ <span class = "imgclass" >
52
+ <img src = "Red_Flower.jpg" />
53
+ </span>
54
+
55
+ </p>
@@ -0,0 +1,76 @@
1
+
2
+
3
+ \bgroup
4
+ \includegraphics[]{Red_Flower.jpg}
5
+ \egroup
6
+
7
+
8
+
9
+
10
+
11
+ \bgroup
12
+ \includegraphics[]{Red_Flower.jpg}
13
+ \egroup
14
+
15
+ \bgroup
16
+ vorher\includegraphics[]{Red_Flower.jpg}\newline
17
+
18
+ \egroup
19
+
20
+ \bgroup
21
+ \includegraphics[]{Red_Flower.jpg}\newline
22
+ nachher
23
+ \egroup
24
+
25
+
26
+
27
+
28
+
29
+ \bgroup
30
+ \href{http://ruby.lickert.net}{\includegraphics[]{Red_Flower.jpg}}
31
+
32
+ \egroup
33
+
34
+ \bgroup
35
+ \href{http://ruby.lickert.net}{\includegraphics[]{Red_Flower.jpg}}
36
+
37
+ \egroup
38
+
39
+
40
+
41
+
42
+
43
+ \bgroup
44
+ \includegraphics[]{Red_Flower.jpg}
45
+ \egroup
46
+
47
+ \bgroup
48
+ \includegraphics[]{Red_Flower.jpg}
49
+ \egroup
50
+
51
+
52
+
53
+
54
+
55
+ \bgroup
56
+ \includegraphics[width={123px}]{Red_Flower.jpg}
57
+ \egroup
58
+
59
+
60
+
61
+
62
+
63
+ \bgroup
64
+ \includegraphics[]{Red_Flower.jpg}
65
+ \egroup
66
+
67
+ \bgroup
68
+ \includegraphics[]{Red_Flower.jpg}
69
+ \egroup
70
+
71
+ \bgroup
72
+ \includegraphics[]{Red_Flower.jpg}
73
+ \egroup
74
+
75
+
76
+