lcg-framework 0.9.0__py3-none-any.whl

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 (448) hide show
  1. lcg/__init__.py +112 -0
  2. lcg/assets/doc/_index.txt +4 -0
  3. lcg/assets/doc/examples.en.txt +36 -0
  4. lcg/assets/doc/fdl.en.txt +400 -0
  5. lcg/assets/doc/index.en.txt +20 -0
  6. lcg/assets/doc/intro.en.txt +49 -0
  7. lcg/assets/doc/structured-text.cs.txt +1196 -0
  8. lcg/assets/doc/structured-text.en.txt +1348 -0
  9. lcg/assets/doc/structured-text.pl.txt +761 -0
  10. lcg/assets/doc/usage/usage.en.txt +144 -0
  11. lcg/assets/resources/css/default.css +198 -0
  12. lcg/assets/resources/css/epub.css +39 -0
  13. lcg/assets/resources/css/lcg-exercises.css +157 -0
  14. lcg/assets/resources/css/lcg-widgets.css +990 -0
  15. lcg/assets/resources/css/photoswipe.css +441 -0
  16. lcg/assets/resources/css/pygments.css +62 -0
  17. lcg/assets/resources/flash/jplayer.swf +0 -0
  18. lcg/assets/resources/images/jplayer-seeking.gif +0 -0
  19. lcg/assets/resources/media/exercise-responses/cs/correct-01.mp3 +0 -0
  20. lcg/assets/resources/media/exercise-responses/cs/correct-02.mp3 +0 -0
  21. lcg/assets/resources/media/exercise-responses/cs/correct-03.mp3 +0 -0
  22. lcg/assets/resources/media/exercise-responses/cs/correct-04.mp3 +0 -0
  23. lcg/assets/resources/media/exercise-responses/cs/correct-05.mp3 +0 -0
  24. lcg/assets/resources/media/exercise-responses/cs/correct-06.mp3 +0 -0
  25. lcg/assets/resources/media/exercise-responses/cs/correct-07.mp3 +0 -0
  26. lcg/assets/resources/media/exercise-responses/cs/correct-08.mp3 +0 -0
  27. lcg/assets/resources/media/exercise-responses/cs/correct-09.mp3 +0 -0
  28. lcg/assets/resources/media/exercise-responses/cs/correct-10.mp3 +0 -0
  29. lcg/assets/resources/media/exercise-responses/cs/correct-11.mp3 +0 -0
  30. lcg/assets/resources/media/exercise-responses/cs/correct-12.mp3 +0 -0
  31. lcg/assets/resources/media/exercise-responses/cs/correct-13.mp3 +0 -0
  32. lcg/assets/resources/media/exercise-responses/cs/correct-14.mp3 +0 -0
  33. lcg/assets/resources/media/exercise-responses/cs/correct-15.mp3 +0 -0
  34. lcg/assets/resources/media/exercise-responses/cs/correct-16.mp3 +0 -0
  35. lcg/assets/resources/media/exercise-responses/cs/correct-17.mp3 +0 -0
  36. lcg/assets/resources/media/exercise-responses/cs/correct-18.mp3 +0 -0
  37. lcg/assets/resources/media/exercise-responses/cs/correct-19.mp3 +0 -0
  38. lcg/assets/resources/media/exercise-responses/cs/correct-20.mp3 +0 -0
  39. lcg/assets/resources/media/exercise-responses/cs/correct-21.mp3 +0 -0
  40. lcg/assets/resources/media/exercise-responses/cs/correct-23.mp3 +0 -0
  41. lcg/assets/resources/media/exercise-responses/cs/correct-24.mp3 +0 -0
  42. lcg/assets/resources/media/exercise-responses/cs/correct-26.mp3 +0 -0
  43. lcg/assets/resources/media/exercise-responses/cs/correct-27.mp3 +0 -0
  44. lcg/assets/resources/media/exercise-responses/cs/correct-28.mp3 +0 -0
  45. lcg/assets/resources/media/exercise-responses/cs/correct-29.mp3 +0 -0
  46. lcg/assets/resources/media/exercise-responses/cs/correct-31.mp3 +0 -0
  47. lcg/assets/resources/media/exercise-responses/cs/correct-32.mp3 +0 -0
  48. lcg/assets/resources/media/exercise-responses/cs/correct-33.mp3 +0 -0
  49. lcg/assets/resources/media/exercise-responses/cs/correct-34.mp3 +0 -0
  50. lcg/assets/resources/media/exercise-responses/cs/correct-35.mp3 +0 -0
  51. lcg/assets/resources/media/exercise-responses/cs/correct-36.mp3 +0 -0
  52. lcg/assets/resources/media/exercise-responses/cs/correct-37.mp3 +0 -0
  53. lcg/assets/resources/media/exercise-responses/cs/correct-38.mp3 +0 -0
  54. lcg/assets/resources/media/exercise-responses/cs/correct-39.mp3 +0 -0
  55. lcg/assets/resources/media/exercise-responses/cs/correct-40.mp3 +0 -0
  56. lcg/assets/resources/media/exercise-responses/cs/correct-41.mp3 +0 -0
  57. lcg/assets/resources/media/exercise-responses/cs/correct-42.mp3 +0 -0
  58. lcg/assets/resources/media/exercise-responses/cs/correct-43.mp3 +0 -0
  59. lcg/assets/resources/media/exercise-responses/cs/correct-44.mp3 +0 -0
  60. lcg/assets/resources/media/exercise-responses/cs/correct-45.mp3 +0 -0
  61. lcg/assets/resources/media/exercise-responses/cs/correct-46.mp3 +0 -0
  62. lcg/assets/resources/media/exercise-responses/cs/correct-47.mp3 +0 -0
  63. lcg/assets/resources/media/exercise-responses/cs/correct-48.mp3 +0 -0
  64. lcg/assets/resources/media/exercise-responses/cs/correct-49.mp3 +0 -0
  65. lcg/assets/resources/media/exercise-responses/cs/correct-50.mp3 +0 -0
  66. lcg/assets/resources/media/exercise-responses/cs/correct-51.mp3 +0 -0
  67. lcg/assets/resources/media/exercise-responses/cs/correct-52.mp3 +0 -0
  68. lcg/assets/resources/media/exercise-responses/cs/correct-53.mp3 +0 -0
  69. lcg/assets/resources/media/exercise-responses/cs/correct-54.mp3 +0 -0
  70. lcg/assets/resources/media/exercise-responses/cs/correct-55.mp3 +0 -0
  71. lcg/assets/resources/media/exercise-responses/cs/correct-56.mp3 +0 -0
  72. lcg/assets/resources/media/exercise-responses/cs/correct-57.mp3 +0 -0
  73. lcg/assets/resources/media/exercise-responses/cs/correct-58.mp3 +0 -0
  74. lcg/assets/resources/media/exercise-responses/cs/correct-59.mp3 +0 -0
  75. lcg/assets/resources/media/exercise-responses/cs/correct-60.mp3 +0 -0
  76. lcg/assets/resources/media/exercise-responses/cs/correct-61.mp3 +0 -0
  77. lcg/assets/resources/media/exercise-responses/cs/correct-62.mp3 +0 -0
  78. lcg/assets/resources/media/exercise-responses/cs/correct-63.mp3 +0 -0
  79. lcg/assets/resources/media/exercise-responses/cs/correct-64.mp3 +0 -0
  80. lcg/assets/resources/media/exercise-responses/cs/correct-65.mp3 +0 -0
  81. lcg/assets/resources/media/exercise-responses/cs/correct-66.mp3 +0 -0
  82. lcg/assets/resources/media/exercise-responses/cs/correct-67.mp3 +0 -0
  83. lcg/assets/resources/media/exercise-responses/cs/correct-68.mp3 +0 -0
  84. lcg/assets/resources/media/exercise-responses/cs/correct-69.mp3 +0 -0
  85. lcg/assets/resources/media/exercise-responses/cs/excellent-01.mp3 +0 -0
  86. lcg/assets/resources/media/exercise-responses/cs/excellent-02.mp3 +0 -0
  87. lcg/assets/resources/media/exercise-responses/cs/excellent-03.mp3 +0 -0
  88. lcg/assets/resources/media/exercise-responses/cs/excellent-04.mp3 +0 -0
  89. lcg/assets/resources/media/exercise-responses/cs/excellent-05.mp3 +0 -0
  90. lcg/assets/resources/media/exercise-responses/cs/excellent-06.mp3 +0 -0
  91. lcg/assets/resources/media/exercise-responses/cs/excellent-07.mp3 +0 -0
  92. lcg/assets/resources/media/exercise-responses/cs/excellent-08.mp3 +0 -0
  93. lcg/assets/resources/media/exercise-responses/cs/excellent-09.mp3 +0 -0
  94. lcg/assets/resources/media/exercise-responses/cs/excellent-10.mp3 +0 -0
  95. lcg/assets/resources/media/exercise-responses/cs/excellent-11.mp3 +0 -0
  96. lcg/assets/resources/media/exercise-responses/cs/excellent-12.mp3 +0 -0
  97. lcg/assets/resources/media/exercise-responses/cs/excellent-13.mp3 +0 -0
  98. lcg/assets/resources/media/exercise-responses/cs/excellent-14.mp3 +0 -0
  99. lcg/assets/resources/media/exercise-responses/cs/excellent-15.mp3 +0 -0
  100. lcg/assets/resources/media/exercise-responses/cs/excellent-16.mp3 +0 -0
  101. lcg/assets/resources/media/exercise-responses/cs/excellent-17.mp3 +0 -0
  102. lcg/assets/resources/media/exercise-responses/cs/excellent-18.mp3 +0 -0
  103. lcg/assets/resources/media/exercise-responses/cs/excellent-19.mp3 +0 -0
  104. lcg/assets/resources/media/exercise-responses/cs/excellent-20.mp3 +0 -0
  105. lcg/assets/resources/media/exercise-responses/cs/excellent-21.mp3 +0 -0
  106. lcg/assets/resources/media/exercise-responses/cs/excellent-22.mp3 +0 -0
  107. lcg/assets/resources/media/exercise-responses/cs/excellent-23.mp3 +0 -0
  108. lcg/assets/resources/media/exercise-responses/cs/excellent-24.mp3 +0 -0
  109. lcg/assets/resources/media/exercise-responses/cs/excellent-25.mp3 +0 -0
  110. lcg/assets/resources/media/exercise-responses/cs/excellent-26.mp3 +0 -0
  111. lcg/assets/resources/media/exercise-responses/cs/excellent-27.mp3 +0 -0
  112. lcg/assets/resources/media/exercise-responses/cs/excellent-28.mp3 +0 -0
  113. lcg/assets/resources/media/exercise-responses/cs/excellent-29.mp3 +0 -0
  114. lcg/assets/resources/media/exercise-responses/cs/excellent-30.mp3 +0 -0
  115. lcg/assets/resources/media/exercise-responses/cs/excellent-31.mp3 +0 -0
  116. lcg/assets/resources/media/exercise-responses/cs/excellent-32.mp3 +0 -0
  117. lcg/assets/resources/media/exercise-responses/cs/excellent-33.mp3 +0 -0
  118. lcg/assets/resources/media/exercise-responses/cs/excellent-34.mp3 +0 -0
  119. lcg/assets/resources/media/exercise-responses/cs/excellent-35.mp3 +0 -0
  120. lcg/assets/resources/media/exercise-responses/cs/excellent-36.mp3 +0 -0
  121. lcg/assets/resources/media/exercise-responses/cs/excellent-37.mp3 +0 -0
  122. lcg/assets/resources/media/exercise-responses/cs/excellent-38.mp3 +0 -0
  123. lcg/assets/resources/media/exercise-responses/cs/excellent-39.mp3 +0 -0
  124. lcg/assets/resources/media/exercise-responses/cs/excellent-40.mp3 +0 -0
  125. lcg/assets/resources/media/exercise-responses/cs/excellent-41.mp3 +0 -0
  126. lcg/assets/resources/media/exercise-responses/cs/excellent-42.mp3 +0 -0
  127. lcg/assets/resources/media/exercise-responses/cs/excellent-43.mp3 +0 -0
  128. lcg/assets/resources/media/exercise-responses/cs/good-01.mp3 +0 -0
  129. lcg/assets/resources/media/exercise-responses/cs/good-02.mp3 +0 -0
  130. lcg/assets/resources/media/exercise-responses/cs/good-07.mp3 +0 -0
  131. lcg/assets/resources/media/exercise-responses/cs/good-09.mp3 +0 -0
  132. lcg/assets/resources/media/exercise-responses/cs/good-10.mp3 +0 -0
  133. lcg/assets/resources/media/exercise-responses/cs/good-12.mp3 +0 -0
  134. lcg/assets/resources/media/exercise-responses/cs/good-14.mp3 +0 -0
  135. lcg/assets/resources/media/exercise-responses/cs/good-16.mp3 +0 -0
  136. lcg/assets/resources/media/exercise-responses/cs/good-17.mp3 +0 -0
  137. lcg/assets/resources/media/exercise-responses/cs/good-19.mp3 +0 -0
  138. lcg/assets/resources/media/exercise-responses/cs/good-21.mp3 +0 -0
  139. lcg/assets/resources/media/exercise-responses/cs/good-22.mp3 +0 -0
  140. lcg/assets/resources/media/exercise-responses/cs/good-23.mp3 +0 -0
  141. lcg/assets/resources/media/exercise-responses/cs/good-24.mp3 +0 -0
  142. lcg/assets/resources/media/exercise-responses/cs/good-25.mp3 +0 -0
  143. lcg/assets/resources/media/exercise-responses/cs/good-28.mp3 +0 -0
  144. lcg/assets/resources/media/exercise-responses/cs/good-29.mp3 +0 -0
  145. lcg/assets/resources/media/exercise-responses/cs/good-30.mp3 +0 -0
  146. lcg/assets/resources/media/exercise-responses/cs/good-33.mp3 +0 -0
  147. lcg/assets/resources/media/exercise-responses/cs/good-34.mp3 +0 -0
  148. lcg/assets/resources/media/exercise-responses/cs/good-35.mp3 +0 -0
  149. lcg/assets/resources/media/exercise-responses/cs/good-36.mp3 +0 -0
  150. lcg/assets/resources/media/exercise-responses/cs/good-38.mp3 +0 -0
  151. lcg/assets/resources/media/exercise-responses/cs/good-41.mp3 +0 -0
  152. lcg/assets/resources/media/exercise-responses/cs/good-43.mp3 +0 -0
  153. lcg/assets/resources/media/exercise-responses/cs/good-44.mp3 +0 -0
  154. lcg/assets/resources/media/exercise-responses/cs/good-45.mp3 +0 -0
  155. lcg/assets/resources/media/exercise-responses/cs/good-46.mp3 +0 -0
  156. lcg/assets/resources/media/exercise-responses/cs/good-47.mp3 +0 -0
  157. lcg/assets/resources/media/exercise-responses/cs/good-48.mp3 +0 -0
  158. lcg/assets/resources/media/exercise-responses/cs/good-51.mp3 +0 -0
  159. lcg/assets/resources/media/exercise-responses/cs/incorrect-01.mp3 +0 -0
  160. lcg/assets/resources/media/exercise-responses/cs/incorrect-02.mp3 +0 -0
  161. lcg/assets/resources/media/exercise-responses/cs/incorrect-03.mp3 +0 -0
  162. lcg/assets/resources/media/exercise-responses/cs/incorrect-04.mp3 +0 -0
  163. lcg/assets/resources/media/exercise-responses/cs/incorrect-05.mp3 +0 -0
  164. lcg/assets/resources/media/exercise-responses/cs/incorrect-06.mp3 +0 -0
  165. lcg/assets/resources/media/exercise-responses/cs/incorrect-07.mp3 +0 -0
  166. lcg/assets/resources/media/exercise-responses/cs/incorrect-08.mp3 +0 -0
  167. lcg/assets/resources/media/exercise-responses/cs/incorrect-09.mp3 +0 -0
  168. lcg/assets/resources/media/exercise-responses/cs/incorrect-10.mp3 +0 -0
  169. lcg/assets/resources/media/exercise-responses/cs/incorrect-11.mp3 +0 -0
  170. lcg/assets/resources/media/exercise-responses/cs/incorrect-12.mp3 +0 -0
  171. lcg/assets/resources/media/exercise-responses/cs/incorrect-13.mp3 +0 -0
  172. lcg/assets/resources/media/exercise-responses/cs/incorrect-14.mp3 +0 -0
  173. lcg/assets/resources/media/exercise-responses/cs/incorrect-15.mp3 +0 -0
  174. lcg/assets/resources/media/exercise-responses/cs/incorrect-16.mp3 +0 -0
  175. lcg/assets/resources/media/exercise-responses/cs/incorrect-17.mp3 +0 -0
  176. lcg/assets/resources/media/exercise-responses/cs/incorrect-18.mp3 +0 -0
  177. lcg/assets/resources/media/exercise-responses/cs/incorrect-19.mp3 +0 -0
  178. lcg/assets/resources/media/exercise-responses/cs/incorrect-20.mp3 +0 -0
  179. lcg/assets/resources/media/exercise-responses/cs/incorrect-21.mp3 +0 -0
  180. lcg/assets/resources/media/exercise-responses/cs/incorrect-22.mp3 +0 -0
  181. lcg/assets/resources/media/exercise-responses/cs/incorrect-23.mp3 +0 -0
  182. lcg/assets/resources/media/exercise-responses/cs/incorrect-24.mp3 +0 -0
  183. lcg/assets/resources/media/exercise-responses/cs/incorrect-25.mp3 +0 -0
  184. lcg/assets/resources/media/exercise-responses/cs/incorrect-26.mp3 +0 -0
  185. lcg/assets/resources/media/exercise-responses/cs/incorrect-27.mp3 +0 -0
  186. lcg/assets/resources/media/exercise-responses/cs/incorrect-28.mp3 +0 -0
  187. lcg/assets/resources/media/exercise-responses/cs/incorrect-29.mp3 +0 -0
  188. lcg/assets/resources/media/exercise-responses/cs/incorrect-30.mp3 +0 -0
  189. lcg/assets/resources/media/exercise-responses/cs/incorrect-31.mp3 +0 -0
  190. lcg/assets/resources/media/exercise-responses/cs/incorrect-32.mp3 +0 -0
  191. lcg/assets/resources/media/exercise-responses/cs/incorrect-33.mp3 +0 -0
  192. lcg/assets/resources/media/exercise-responses/cs/incorrect-34.mp3 +0 -0
  193. lcg/assets/resources/media/exercise-responses/cs/incorrect-35.mp3 +0 -0
  194. lcg/assets/resources/media/exercise-responses/cs/incorrect-36.mp3 +0 -0
  195. lcg/assets/resources/media/exercise-responses/cs/incorrect-37.mp3 +0 -0
  196. lcg/assets/resources/media/exercise-responses/cs/incorrect-38.mp3 +0 -0
  197. lcg/assets/resources/media/exercise-responses/cs/incorrect-39.mp3 +0 -0
  198. lcg/assets/resources/media/exercise-responses/cs/incorrect-40.mp3 +0 -0
  199. lcg/assets/resources/media/exercise-responses/cs/incorrect-41.mp3 +0 -0
  200. lcg/assets/resources/media/exercise-responses/cs/incorrect-42.mp3 +0 -0
  201. lcg/assets/resources/media/exercise-responses/cs/incorrect-43.mp3 +0 -0
  202. lcg/assets/resources/media/exercise-responses/cs/incorrect-44.mp3 +0 -0
  203. lcg/assets/resources/media/exercise-responses/cs/incorrect-45.mp3 +0 -0
  204. lcg/assets/resources/media/exercise-responses/cs/incorrect-46.mp3 +0 -0
  205. lcg/assets/resources/media/exercise-responses/cs/incorrect-47.mp3 +0 -0
  206. lcg/assets/resources/media/exercise-responses/cs/incorrect-48.mp3 +0 -0
  207. lcg/assets/resources/media/exercise-responses/cs/incorrect-49.mp3 +0 -0
  208. lcg/assets/resources/media/exercise-responses/cs/incorrect-50.mp3 +0 -0
  209. lcg/assets/resources/media/exercise-responses/cs/incorrect-51.mp3 +0 -0
  210. lcg/assets/resources/media/exercise-responses/cs/incorrect-52.mp3 +0 -0
  211. lcg/assets/resources/media/exercise-responses/cs/incorrect-53.mp3 +0 -0
  212. lcg/assets/resources/media/exercise-responses/cs/incorrect-54.mp3 +0 -0
  213. lcg/assets/resources/media/exercise-responses/cs/incorrect-55.mp3 +0 -0
  214. lcg/assets/resources/media/exercise-responses/cs/incorrect-56.mp3 +0 -0
  215. lcg/assets/resources/media/exercise-responses/cs/incorrect-57.mp3 +0 -0
  216. lcg/assets/resources/media/exercise-responses/cs/incorrect-58.mp3 +0 -0
  217. lcg/assets/resources/media/exercise-responses/cs/incorrect-59.mp3 +0 -0
  218. lcg/assets/resources/media/exercise-responses/cs/incorrect-60.mp3 +0 -0
  219. lcg/assets/resources/media/exercise-responses/cs/perfect-01.mp3 +0 -0
  220. lcg/assets/resources/media/exercise-responses/cs/perfect-02.mp3 +0 -0
  221. lcg/assets/resources/media/exercise-responses/cs/perfect-03.mp3 +0 -0
  222. lcg/assets/resources/media/exercise-responses/cs/perfect-04.mp3 +0 -0
  223. lcg/assets/resources/media/exercise-responses/cs/perfect-05.mp3 +0 -0
  224. lcg/assets/resources/media/exercise-responses/cs/perfect-07.mp3 +0 -0
  225. lcg/assets/resources/media/exercise-responses/cs/perfect-08.mp3 +0 -0
  226. lcg/assets/resources/media/exercise-responses/cs/perfect-09.mp3 +0 -0
  227. lcg/assets/resources/media/exercise-responses/cs/perfect-11.mp3 +0 -0
  228. lcg/assets/resources/media/exercise-responses/cs/perfect-13.mp3 +0 -0
  229. lcg/assets/resources/media/exercise-responses/cs/perfect-14.mp3 +0 -0
  230. lcg/assets/resources/media/exercise-responses/cs/perfect-15.mp3 +0 -0
  231. lcg/assets/resources/media/exercise-responses/cs/perfect-16.mp3 +0 -0
  232. lcg/assets/resources/media/exercise-responses/cs/perfect-17.mp3 +0 -0
  233. lcg/assets/resources/media/exercise-responses/cs/perfect-18.mp3 +0 -0
  234. lcg/assets/resources/media/exercise-responses/cs/perfect-19.mp3 +0 -0
  235. lcg/assets/resources/media/exercise-responses/cs/perfect-21.mp3 +0 -0
  236. lcg/assets/resources/media/exercise-responses/cs/perfect-22.mp3 +0 -0
  237. lcg/assets/resources/media/exercise-responses/cs/perfect-23.mp3 +0 -0
  238. lcg/assets/resources/media/exercise-responses/cs/perfect-24.mp3 +0 -0
  239. lcg/assets/resources/media/exercise-responses/cs/perfect-25.mp3 +0 -0
  240. lcg/assets/resources/media/exercise-responses/cs/perfect-26.mp3 +0 -0
  241. lcg/assets/resources/media/exercise-responses/cs/perfect-27.mp3 +0 -0
  242. lcg/assets/resources/media/exercise-responses/cs/perfect-28.mp3 +0 -0
  243. lcg/assets/resources/media/exercise-responses/cs/perfect-29.mp3 +0 -0
  244. lcg/assets/resources/media/exercise-responses/cs/perfect-30.mp3 +0 -0
  245. lcg/assets/resources/media/exercise-responses/cs/perfect-31.mp3 +0 -0
  246. lcg/assets/resources/media/exercise-responses/cs/perfect-32.mp3 +0 -0
  247. lcg/assets/resources/media/exercise-responses/cs/perfect-33.mp3 +0 -0
  248. lcg/assets/resources/media/exercise-responses/cs/perfect-34.mp3 +0 -0
  249. lcg/assets/resources/media/exercise-responses/cs/perfect-35.mp3 +0 -0
  250. lcg/assets/resources/media/exercise-responses/cs/perfect-36.mp3 +0 -0
  251. lcg/assets/resources/media/exercise-responses/cs/perfect-37.mp3 +0 -0
  252. lcg/assets/resources/media/exercise-responses/cs/perfect-38.mp3 +0 -0
  253. lcg/assets/resources/media/exercise-responses/cs/perfect-40.mp3 +0 -0
  254. lcg/assets/resources/media/exercise-responses/cs/poor-01.mp3 +0 -0
  255. lcg/assets/resources/media/exercise-responses/cs/poor-02.mp3 +0 -0
  256. lcg/assets/resources/media/exercise-responses/cs/poor-03.mp3 +0 -0
  257. lcg/assets/resources/media/exercise-responses/cs/poor-04.mp3 +0 -0
  258. lcg/assets/resources/media/exercise-responses/cs/poor-05.mp3 +0 -0
  259. lcg/assets/resources/media/exercise-responses/cs/poor-06.mp3 +0 -0
  260. lcg/assets/resources/media/exercise-responses/cs/poor-08.mp3 +0 -0
  261. lcg/assets/resources/media/exercise-responses/cs/poor-09.mp3 +0 -0
  262. lcg/assets/resources/media/exercise-responses/cs/poor-10.mp3 +0 -0
  263. lcg/assets/resources/media/exercise-responses/cs/poor-13.mp3 +0 -0
  264. lcg/assets/resources/media/exercise-responses/cs/poor-14.mp3 +0 -0
  265. lcg/assets/resources/media/exercise-responses/cs/poor-15.mp3 +0 -0
  266. lcg/assets/resources/media/exercise-responses/cs/poor-16.mp3 +0 -0
  267. lcg/assets/resources/media/exercise-responses/cs/poor-17.mp3 +0 -0
  268. lcg/assets/resources/media/exercise-responses/cs/poor-18.mp3 +0 -0
  269. lcg/assets/resources/media/exercise-responses/cs/poor-19.mp3 +0 -0
  270. lcg/assets/resources/media/exercise-responses/cs/poor-21.mp3 +0 -0
  271. lcg/assets/resources/media/exercise-responses/cs/poor-22.mp3 +0 -0
  272. lcg/assets/resources/media/exercise-responses/cs/poor-24.mp3 +0 -0
  273. lcg/assets/resources/media/exercise-responses/cs/poor-25.mp3 +0 -0
  274. lcg/assets/resources/media/exercise-responses/cs/poor-26.mp3 +0 -0
  275. lcg/assets/resources/media/exercise-responses/cs/poor-27.mp3 +0 -0
  276. lcg/assets/resources/media/exercise-responses/cs/poor-28.mp3 +0 -0
  277. lcg/assets/resources/media/exercise-responses/cs/poor-29.mp3 +0 -0
  278. lcg/assets/resources/media/exercise-responses/cs/poor-30.mp3 +0 -0
  279. lcg/assets/resources/media/exercise-responses/cs/poor-32.mp3 +0 -0
  280. lcg/assets/resources/media/exercise-responses/cs/poor-33.mp3 +0 -0
  281. lcg/assets/resources/media/exercise-responses/cs/poor-34.mp3 +0 -0
  282. lcg/assets/resources/media/exercise-responses/cs/poor-35.mp3 +0 -0
  283. lcg/assets/resources/media/exercise-responses/cs/poor-36.mp3 +0 -0
  284. lcg/assets/resources/media/exercise-responses/cs/poor-37.mp3 +0 -0
  285. lcg/assets/resources/media/exercise-responses/cs/poor-38.mp3 +0 -0
  286. lcg/assets/resources/media/exercise-responses/cs/poor-39.mp3 +0 -0
  287. lcg/assets/resources/media/exercise-responses/cs/poor-40.mp3 +0 -0
  288. lcg/assets/resources/media/exercise-responses/cs/sufficient-01.mp3 +0 -0
  289. lcg/assets/resources/media/exercise-responses/cs/sufficient-02.mp3 +0 -0
  290. lcg/assets/resources/media/exercise-responses/cs/sufficient-03.mp3 +0 -0
  291. lcg/assets/resources/media/exercise-responses/cs/sufficient-04.mp3 +0 -0
  292. lcg/assets/resources/media/exercise-responses/cs/sufficient-05.mp3 +0 -0
  293. lcg/assets/resources/media/exercise-responses/cs/sufficient-06.mp3 +0 -0
  294. lcg/assets/resources/media/exercise-responses/cs/sufficient-07.mp3 +0 -0
  295. lcg/assets/resources/media/exercise-responses/cs/sufficient-08.mp3 +0 -0
  296. lcg/assets/resources/media/exercise-responses/cs/sufficient-09.mp3 +0 -0
  297. lcg/assets/resources/media/exercise-responses/cs/sufficient-10.mp3 +0 -0
  298. lcg/assets/resources/media/exercise-responses/cs/sufficient-11.mp3 +0 -0
  299. lcg/assets/resources/media/exercise-responses/cs/sufficient-13.mp3 +0 -0
  300. lcg/assets/resources/media/exercise-responses/cs/sufficient-14.mp3 +0 -0
  301. lcg/assets/resources/media/exercise-responses/cs/sufficient-15.mp3 +0 -0
  302. lcg/assets/resources/media/exercise-responses/cs/sufficient-16.mp3 +0 -0
  303. lcg/assets/resources/media/exercise-responses/cs/sufficient-17.mp3 +0 -0
  304. lcg/assets/resources/media/exercise-responses/cs/sufficient-18.mp3 +0 -0
  305. lcg/assets/resources/media/exercise-responses/cs/sufficient-19.mp3 +0 -0
  306. lcg/assets/resources/media/exercise-responses/cs/sufficient-21.mp3 +0 -0
  307. lcg/assets/resources/media/exercise-responses/cs/sufficient-22.mp3 +0 -0
  308. lcg/assets/resources/media/exercise-responses/cs/sufficient-23.mp3 +0 -0
  309. lcg/assets/resources/media/exercise-responses/cs/sufficient-25.mp3 +0 -0
  310. lcg/assets/resources/media/exercise-responses/cs/sufficient-26.mp3 +0 -0
  311. lcg/assets/resources/media/exercise-responses/cs/sufficient-27.mp3 +0 -0
  312. lcg/assets/resources/media/exercise-responses/cs/sufficient-28.mp3 +0 -0
  313. lcg/assets/resources/media/exercise-responses/cs/sufficient-29.mp3 +0 -0
  314. lcg/assets/resources/media/exercise-responses/cs/sufficient-32.mp3 +0 -0
  315. lcg/assets/resources/media/exercise-responses/cs/sufficient-33.mp3 +0 -0
  316. lcg/assets/resources/media/exercise-responses/cs/sufficient-34.mp3 +0 -0
  317. lcg/assets/resources/media/exercise-responses/cs/sufficient-35.mp3 +0 -0
  318. lcg/assets/resources/media/exercise-responses/cs/sufficient-36.mp3 +0 -0
  319. lcg/assets/resources/media/exercise-responses/en/correct-01.mp3 +0 -0
  320. lcg/assets/resources/media/exercise-responses/en/correct-02.mp3 +0 -0
  321. lcg/assets/resources/media/exercise-responses/en/correct-03.mp3 +0 -0
  322. lcg/assets/resources/media/exercise-responses/en/correct-04.mp3 +0 -0
  323. lcg/assets/resources/media/exercise-responses/en/correct-05.mp3 +0 -0
  324. lcg/assets/resources/media/exercise-responses/en/correct-06.mp3 +0 -0
  325. lcg/assets/resources/media/exercise-responses/en/correct-07.mp3 +0 -0
  326. lcg/assets/resources/media/exercise-responses/en/correct-08.mp3 +0 -0
  327. lcg/assets/resources/media/exercise-responses/en/correct-09.mp3 +0 -0
  328. lcg/assets/resources/media/exercise-responses/en/excellent-01.mp3 +0 -0
  329. lcg/assets/resources/media/exercise-responses/en/excellent-02.mp3 +0 -0
  330. lcg/assets/resources/media/exercise-responses/en/excellent-03.mp3 +0 -0
  331. lcg/assets/resources/media/exercise-responses/en/good-01.mp3 +0 -0
  332. lcg/assets/resources/media/exercise-responses/en/good-02.mp3 +0 -0
  333. lcg/assets/resources/media/exercise-responses/en/good-03.mp3 +0 -0
  334. lcg/assets/resources/media/exercise-responses/en/good-04.mp3 +0 -0
  335. lcg/assets/resources/media/exercise-responses/en/incorrect-01.mp3 +0 -0
  336. lcg/assets/resources/media/exercise-responses/en/incorrect-02.mp3 +0 -0
  337. lcg/assets/resources/media/exercise-responses/en/incorrect-03.mp3 +0 -0
  338. lcg/assets/resources/media/exercise-responses/en/incorrect-04.mp3 +0 -0
  339. lcg/assets/resources/media/exercise-responses/en/incorrect-05.mp3 +0 -0
  340. lcg/assets/resources/media/exercise-responses/en/incorrect-06.mp3 +0 -0
  341. lcg/assets/resources/media/exercise-responses/en/incorrect-07.mp3 +0 -0
  342. lcg/assets/resources/media/exercise-responses/en/incorrect-08.mp3 +0 -0
  343. lcg/assets/resources/media/exercise-responses/en/incorrect-09.mp3 +0 -0
  344. lcg/assets/resources/media/exercise-responses/en/incorrect-10.mp3 +0 -0
  345. lcg/assets/resources/media/exercise-responses/en/incorrect-11.mp3 +0 -0
  346. lcg/assets/resources/media/exercise-responses/en/perfect-01.mp3 +0 -0
  347. lcg/assets/resources/media/exercise-responses/en/perfect-02.mp3 +0 -0
  348. lcg/assets/resources/media/exercise-responses/en/perfect-03.mp3 +0 -0
  349. lcg/assets/resources/media/exercise-responses/en/perfect-04.mp3 +0 -0
  350. lcg/assets/resources/media/exercise-responses/en/poor-01.mp3 +0 -0
  351. lcg/assets/resources/media/exercise-responses/en/poor-02.mp3 +0 -0
  352. lcg/assets/resources/media/exercise-responses/en/poor-03.mp3 +0 -0
  353. lcg/assets/resources/media/exercise-responses/en/sufficient-01.mp3 +0 -0
  354. lcg/assets/resources/media/exercise-responses/en/sufficient-02.mp3 +0 -0
  355. lcg/assets/resources/media/exercise-responses/en/sufficient-03.mp3 +0 -0
  356. lcg/assets/resources/scripts/jed.min.js +10 -0
  357. lcg/assets/resources/scripts/jplayer.min.js +3 -0
  358. lcg/assets/resources/scripts/jquery.js +0 -0
  359. lcg/assets/resources/scripts/jquery.min.js +2 -0
  360. lcg/assets/resources/scripts/jquery.min.map +1 -0
  361. lcg/assets/resources/scripts/lcg-exercises.js +159 -0
  362. lcg/assets/resources/scripts/lcg.js +612 -0
  363. lcg/assets/resources/scripts/photoswipe-lightbox.esm.min.js +5 -0
  364. lcg/assets/resources/scripts/photoswipe.esm.min.js +5 -0
  365. lcg/assets/resources/translations/lcg-exercises.cs.po.json +1 -0
  366. lcg/assets/resources/translations/lcg-exercises.de.po.json +1 -0
  367. lcg/assets/resources/translations/lcg-exercises.es.po.json +1 -0
  368. lcg/assets/resources/translations/lcg-exercises.fr.po.json +1 -0
  369. lcg/assets/resources/translations/lcg-exercises.hu.po.json +1 -0
  370. lcg/assets/resources/translations/lcg-exercises.it.po.json +1 -0
  371. lcg/assets/resources/translations/lcg-exercises.no.po.json +1 -0
  372. lcg/assets/resources/translations/lcg-exercises.pl.po.json +1 -0
  373. lcg/assets/resources/translations/lcg-exercises.po.po.json +1 -0
  374. lcg/assets/resources/translations/lcg-exercises.ro.po.json +1 -0
  375. lcg/assets/resources/translations/lcg-exercises.sk.po.json +1 -0
  376. lcg/assets/resources/translations/lcg-exercises.tr.po.json +1 -0
  377. lcg/assets/resources/translations/lcg.cs.po.json +1 -0
  378. lcg/assets/resources/translations/lcg.de.po.json +1 -0
  379. lcg/assets/resources/translations/lcg.es.po.json +1 -0
  380. lcg/assets/resources/translations/lcg.fr.po.json +1 -0
  381. lcg/assets/resources/translations/lcg.hu.po.json +1 -0
  382. lcg/assets/resources/translations/lcg.it.po.json +1 -0
  383. lcg/assets/resources/translations/lcg.no.po.json +1 -0
  384. lcg/assets/resources/translations/lcg.pl.po.json +1 -0
  385. lcg/assets/resources/translations/lcg.po.po.json +1 -0
  386. lcg/assets/resources/translations/lcg.ro.po.json +1 -0
  387. lcg/assets/resources/translations/lcg.sk.po.json +1 -0
  388. lcg/assets/resources/translations/lcg.tr.po.json +1 -0
  389. lcg/assets/resources/translations/test.cs.po.json +1 -0
  390. lcg/assets/translations/cs/LC_MESSAGES/lcg-exercises.mo +0 -0
  391. lcg/assets/translations/cs/LC_MESSAGES/lcg.mo +0 -0
  392. lcg/assets/translations/cs/LC_MESSAGES/test.mo +0 -0
  393. lcg/assets/translations/de/LC_MESSAGES/lcg-exercises.mo +0 -0
  394. lcg/assets/translations/de/LC_MESSAGES/lcg.mo +0 -0
  395. lcg/assets/translations/es/LC_MESSAGES/lcg-exercises.mo +0 -0
  396. lcg/assets/translations/es/LC_MESSAGES/lcg.mo +0 -0
  397. lcg/assets/translations/fr/LC_MESSAGES/lcg-exercises.mo +0 -0
  398. lcg/assets/translations/fr/LC_MESSAGES/lcg.mo +0 -0
  399. lcg/assets/translations/hu/LC_MESSAGES/lcg-exercises.mo +0 -0
  400. lcg/assets/translations/hu/LC_MESSAGES/lcg.mo +0 -0
  401. lcg/assets/translations/it/LC_MESSAGES/lcg-exercises.mo +0 -0
  402. lcg/assets/translations/it/LC_MESSAGES/lcg.mo +0 -0
  403. lcg/assets/translations/no/LC_MESSAGES/lcg-exercises.mo +0 -0
  404. lcg/assets/translations/no/LC_MESSAGES/lcg.mo +0 -0
  405. lcg/assets/translations/pl/LC_MESSAGES/lcg-exercises.mo +0 -0
  406. lcg/assets/translations/pl/LC_MESSAGES/lcg.mo +0 -0
  407. lcg/assets/translations/po/LC_MESSAGES/lcg-exercises.mo +0 -0
  408. lcg/assets/translations/po/LC_MESSAGES/lcg.mo +0 -0
  409. lcg/assets/translations/ro/LC_MESSAGES/lcg-exercises.mo +0 -0
  410. lcg/assets/translations/ro/LC_MESSAGES/lcg.mo +0 -0
  411. lcg/assets/translations/sk/LC_MESSAGES/lcg-exercises.mo +0 -0
  412. lcg/assets/translations/sk/LC_MESSAGES/lcg.mo +0 -0
  413. lcg/assets/translations/tr/LC_MESSAGES/lcg-exercises.mo +0 -0
  414. lcg/assets/translations/tr/LC_MESSAGES/lcg.mo +0 -0
  415. lcg/content.py +2156 -0
  416. lcg/exercises.py +982 -0
  417. lcg/export/__init__.py +16 -0
  418. lcg/export/braille-tables/lcg.utb +3 -0
  419. lcg/export/braille.py +1879 -0
  420. lcg/export/epub.py +410 -0
  421. lcg/export/exercises_html.py +658 -0
  422. lcg/export/export.py +1466 -0
  423. lcg/export/hhp.py +129 -0
  424. lcg/export/html.py +1797 -0
  425. lcg/export/ims.py +121 -0
  426. lcg/export/mathml.py +2348 -0
  427. lcg/export/nemeth.py +1210 -0
  428. lcg/export/pdf.py +3434 -0
  429. lcg/export/styles/presentation-braille-test.py +40 -0
  430. lcg/export/styles/presentation-braille.py +684 -0
  431. lcg/i18n.py +1217 -0
  432. lcg/locales.py +103 -0
  433. lcg/make.py +367 -0
  434. lcg/nodes.py +569 -0
  435. lcg/parse.py +1636 -0
  436. lcg/plot.py +355 -0
  437. lcg/presentation.py +671 -0
  438. lcg/read.py +385 -0
  439. lcg/resources.py +429 -0
  440. lcg/test.py +2682 -0
  441. lcg/transform.py +977 -0
  442. lcg/units.py +175 -0
  443. lcg/util.py +667 -0
  444. lcg/widgets.py +699 -0
  445. lcg_framework-0.9.0.dist-info/METADATA +124 -0
  446. lcg_framework-0.9.0.dist-info/RECORD +448 -0
  447. lcg_framework-0.9.0.dist-info/WHEEL +4 -0
  448. lcg_framework-0.9.0.dist-info/licenses/COPYING +340 -0
lcg/__init__.py ADDED
@@ -0,0 +1,112 @@
1
+ # Copyright (C) 2004-2017 OUI Technology Ltd.
2
+ # Copyright (C) 2019-2026 Tomáš Cerha <cerha@truecode.cz>
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License as published by
6
+ # the Free Software Foundation; either version 2 of the License, or
7
+ # (at your option) any later version.
8
+ #
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ # GNU General Public License for more details.
13
+ #
14
+ # You should have received a copy of the GNU General Public License
15
+ # along with this program; if not, write to the Free Software
16
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
+
18
+
19
+ __version__ = '0.9.0'
20
+
21
+ from .locales import LocaleData, LocaleData_cs, LocaleData_de, \
22
+ LocaleData_en, LocaleData_es, LocaleData_no, LocaleData_pl, \
23
+ LocaleData_sk
24
+
25
+ from .i18n import TranslatableTextFactory, TranslatedTextFactory, \
26
+ Localizable, TranslatableText, SelfTranslatableText, \
27
+ TranslatablePluralForms, LocalizableDateTime, LocalizableTime, \
28
+ Decimal, Monetary, Concatenation, Translator, NullTranslator, \
29
+ GettextTranslator, Localizer, \
30
+ concat, format
31
+
32
+ from .util import is_sequence_of, camel_case_to_lower, text_to_id, \
33
+ unindent_docstring, positive_id, log, caller, \
34
+ language_name, country_name, week_day_name, month_name, \
35
+ attribute_value, ParseError
36
+
37
+ from .nodes import ContentNode, Variant, Metadata
38
+
39
+ from .resources import Resource, Image, Stylesheet, Script, Translations, \
40
+ Media, Audio, Video, Flash, ResourceProvider
41
+
42
+ from .units import Unit, UAny, UFont, UMm, UPercent, UPoint, UPx, USpace, FontFamily, \
43
+ HorizontalAlignment, VerticalAlignment, Orientation, Color
44
+
45
+ from .content import Content, Container, Strong, Emphasized, \
46
+ Underlined, Code, Citation, Quotation, Superscript, Subscript, \
47
+ TextContent, Link, Abbreviation, Anchor, InlineImage, InlineAudio, \
48
+ InlineVideo, InlineExternalVideo, Title, HorizontalSeparator, \
49
+ NewPage, NewLine, PageNumber, PageHeading, HSpace, VSpace, \
50
+ HtmlContent, Heading, PreformattedText, Paragraph, ItemizedList, \
51
+ DefinitionList, FieldSet, TableCell, TableHeading, TableRow, \
52
+ Table, Section, TableOfContents, NodeIndex, RootIndex, NoneContent, \
53
+ SetVariable, Substitution, Figure, MathML, InlineSVG, \
54
+ coerce, join, link, dl, ul, ol, fieldset, p, sec, strong, em, u, \
55
+ code, cite, container, br, hr, pre, abbr
56
+
57
+ from .widgets import Widget, Button, FoldableTree, Notebook, PopupMenuCtrl, \
58
+ PopupMenuItem, Dropdown, DropdownSelection, CollapsiblePane, \
59
+ CollapsibleSection
60
+
61
+ from .presentation import Presentation, ContentMatcher, \
62
+ TopLevelMatcher, LanguageMatcher, LCGClassMatcher, \
63
+ LCGHeadingMatcher, LCGContainerMatcher, PresentationSet, \
64
+ StyleFile
65
+
66
+ from .exercises import Task, TextTask, ContentTask, Choice, \
67
+ ChoiceTask, TrueFalseTask, ExerciseParser, Exercise, \
68
+ MultipleChoiceQuestions, Selections, TrueFalseStatements, \
69
+ GapFilling, HiddenAnswers, FillInExercise, VocabExercise, \
70
+ WrittenAnswers, NumberedCloze, Cloze, ModelCloze
71
+
72
+ from .export.export import INFO, WARNING, ERROR, \
73
+ Exporter, FileExporter, TextExporter, UnsupportedElementType, SubstitutionIterator
74
+
75
+ from .export.html import HtmlEscapedUnicode, HtmlGenerator, \
76
+ XhtmlGenerator, HtmlExporter, Html5Exporter, HtmlFileExporter, \
77
+ StyledHtmlExporter, HtmlStaticExporter, format_text
78
+
79
+ from .export.epub import EpubExporter
80
+ from .export.ims import IMSExporter
81
+ from .export.hhp import HhpExporter
82
+
83
+ from .export.exercises_html import ExerciseExporter, \
84
+ MultipleChoiceQuestionsExporter, SelectionsExporter, \
85
+ TrueFalseStatementsExporter, GapFillingExporter, \
86
+ HiddenAnswersExporter, VocabExerciseExporter, \
87
+ WrittenAnswersExporter, NumberedClozeExporter, \
88
+ ClozeExporter, ModelClozeExporter
89
+
90
+ try:
91
+ from .export.braille import BrailleError, BrailleExporter, \
92
+ braille_presentation, xml2braille
93
+ except (ImportError, OSError):
94
+ pass
95
+
96
+ try:
97
+ from .export import pdf # For backwards compatibility
98
+ from .export.pdf import PDFExporter
99
+ except ImportError as e:
100
+ class PDFExporter:
101
+ e = e
102
+ def __init__(self, *args, **kwargs):
103
+ raise self.e
104
+
105
+ from .parse import ProcessingError, Parser, MacroParser, HTMLProcessor, \
106
+ html2lcg, add_processing_info
107
+
108
+ from .read import Reader, FileReader, StructuredTextReader, DocFileReader, \
109
+ DocDirReader, reader
110
+
111
+ from .transform import data2content, data2html, html2data, \
112
+ HTML2XML, XML2HTML, XML2Content
@@ -0,0 +1,4 @@
1
+ intro
2
+ usage
3
+ structured-text
4
+ examples
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8; mode: structured-text -*-
2
+ # Copyright (C) 2005-2008 OUI Technology Ltd.
3
+ # Copyright (C) 2019-2025 Tomáš Cerha <cerha@truecode.cz>
4
+ # This is part of the LCG Documentation.
5
+ # See the file index.en.txt for copying conditions.
6
+
7
+ = Examples =
8
+
9
+ This document contains descriptions of some examples of how to use key
10
+ LCG features.
11
+
12
+ Table of Contents: @TOC(1)@
13
+
14
+ == Compilation of simple document structure ==
15
+
16
+ Generating LCG documentation may be used as an example of using LCG to generate
17
+ HTML output from a directory containing LCG source files controlled by
18
+ =index.txt= file.
19
+
20
+ Execute it using
21
+ ----
22
+ python -m lcg.make doc/src doc/html
23
+ ---
24
+ in the LCG source tree.
25
+
26
+ == Basic reader and usage ==
27
+
28
+ /LCG Reader/ can read source data and construct document structure dynamically
29
+ in Python code. You can find an example of definition and usage of /LCG
30
+ Reader/ using the =index.py= file in =doc/examples/reader=. The example
31
+ also shows how to override some LCG behavior.
32
+
33
+ Examine =doc/examples/reader/src/index.py= and execute using
34
+ ----
35
+ python -m lcg.make doc/examples/reader/src doc/examples/reader/html
36
+ ----
@@ -0,0 +1,400 @@
1
+ = GNU Free Documentation License =
2
+
3
+ Version 1.2, November 2002
4
+
5
+
6
+ Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
7
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
8
+ Everyone is permitted to copy and distribute verbatim copies
9
+ of this license document, but changing it is not allowed.
10
+
11
+
12
+ -----
13
+ 0. PREAMBLE
14
+
15
+ The purpose of this License is to make a manual, textbook, or other
16
+ functional and useful document "free" in the sense of freedom: to
17
+ assure everyone the effective freedom to copy and redistribute it,
18
+ with or without modifying it, either commercially or noncommercially.
19
+ Secondarily, this License preserves for the author and publisher a way
20
+ to get credit for their work, while not being considered responsible
21
+ for modifications made by others.
22
+
23
+ This License is a kind of "copyleft", which means that derivative
24
+ works of the document must themselves be free in the same sense. It
25
+ complements the GNU General Public License, which is a copyleft
26
+ license designed for free software.
27
+
28
+ We have designed this License in order to use it for manuals for free
29
+ software, because free software needs free documentation: a free
30
+ program should come with manuals providing the same freedoms that the
31
+ software does. But this License is not limited to software manuals;
32
+ it can be used for any textual work, regardless of subject matter or
33
+ whether it is published as a printed book. We recommend this License
34
+ principally for works whose purpose is instruction or reference.
35
+
36
+
37
+ 1. APPLICABILITY AND DEFINITIONS
38
+
39
+ This License applies to any manual or other work, in any medium, that
40
+ contains a notice placed by the copyright holder saying it can be
41
+ distributed under the terms of this License. Such a notice grants a
42
+ world-wide, royalty-free license, unlimited in duration, to use that
43
+ work under the conditions stated herein. The "Document", below,
44
+ refers to any such manual or work. Any member of the public is a
45
+ licensee, and is addressed as "you". You accept the license if you
46
+ copy, modify or distribute the work in a way requiring permission
47
+ under copyright law.
48
+
49
+ A "Modified Version" of the Document means any work containing the
50
+ Document or a portion of it, either copied verbatim, or with
51
+ modifications and/or translated into another language.
52
+
53
+ A "Secondary Section" is a named appendix or a front-matter section of
54
+ the Document that deals exclusively with the relationship of the
55
+ publishers or authors of the Document to the Document's overall subject
56
+ (or to related matters) and contains nothing that could fall directly
57
+ within that overall subject. (Thus, if the Document is in part a
58
+ textbook of mathematics, a Secondary Section may not explain any
59
+ mathematics.) The relationship could be a matter of historical
60
+ connection with the subject or with related matters, or of legal,
61
+ commercial, philosophical, ethical or political position regarding
62
+ them.
63
+
64
+ The "Invariant Sections" are certain Secondary Sections whose titles
65
+ are designated, as being those of Invariant Sections, in the notice
66
+ that says that the Document is released under this License. If a
67
+ section does not fit the above definition of Secondary then it is not
68
+ allowed to be designated as Invariant. The Document may contain zero
69
+ Invariant Sections. If the Document does not identify any Invariant
70
+ Sections then there are none.
71
+
72
+ The "Cover Texts" are certain short passages of text that are listed,
73
+ as Front-Cover Texts or Back-Cover Texts, in the notice that says that
74
+ the Document is released under this License. A Front-Cover Text may
75
+ be at most 5 words, and a Back-Cover Text may be at most 25 words.
76
+
77
+ A "Transparent" copy of the Document means a machine-readable copy,
78
+ represented in a format whose specification is available to the
79
+ general public, that is suitable for revising the document
80
+ straightforwardly with generic text editors or (for images composed of
81
+ pixels) generic paint programs or (for drawings) some widely available
82
+ drawing editor, and that is suitable for input to text formatters or
83
+ for automatic translation to a variety of formats suitable for input
84
+ to text formatters. A copy made in an otherwise Transparent file
85
+ format whose markup, or absence of markup, has been arranged to thwart
86
+ or discourage subsequent modification by readers is not Transparent.
87
+ An image format is not Transparent if used for any substantial amount
88
+ of text. A copy that is not "Transparent" is called "Opaque".
89
+
90
+ Examples of suitable formats for Transparent copies include plain
91
+ ASCII without markup, Texinfo input format, LaTeX input format, SGML
92
+ or XML using a publicly available DTD, and standard-conforming simple
93
+ HTML, PostScript or PDF designed for human modification. Examples of
94
+ transparent image formats include PNG, XCF and JPG. Opaque formats
95
+ include proprietary formats that can be read and edited only by
96
+ proprietary word processors, SGML or XML for which the DTD and/or
97
+ processing tools are not generally available, and the
98
+ machine-generated HTML, PostScript or PDF produced by some word
99
+ processors for output purposes only.
100
+
101
+ The "Title Page" means, for a printed book, the title page itself,
102
+ plus such following pages as are needed to hold, legibly, the material
103
+ this License requires to appear in the title page. For works in
104
+ formats which do not have any title page as such, "Title Page" means
105
+ the text near the most prominent appearance of the work's title,
106
+ preceding the beginning of the body of the text.
107
+
108
+ A section "Entitled XYZ" means a named subunit of the Document whose
109
+ title either is precisely XYZ or contains XYZ in parentheses following
110
+ text that translates XYZ in another language. (Here XYZ stands for a
111
+ specific section name mentioned below, such as "Acknowledgements",
112
+ "Dedications", "Endorsements", or "History".) To "Preserve the Title"
113
+ of such a section when you modify the Document means that it remains a
114
+ section "Entitled XYZ" according to this definition.
115
+
116
+ The Document may include Warranty Disclaimers next to the notice which
117
+ states that this License applies to the Document. These Warranty
118
+ Disclaimers are considered to be included by reference in this
119
+ License, but only as regards disclaiming warranties: any other
120
+ implication that these Warranty Disclaimers may have is void and has
121
+ no effect on the meaning of this License.
122
+
123
+
124
+ 2. VERBATIM COPYING
125
+
126
+ You may copy and distribute the Document in any medium, either
127
+ commercially or noncommercially, provided that this License, the
128
+ copyright notices, and the license notice saying this License applies
129
+ to the Document are reproduced in all copies, and that you add no other
130
+ conditions whatsoever to those of this License. You may not use
131
+ technical measures to obstruct or control the reading or further
132
+ copying of the copies you make or distribute. However, you may accept
133
+ compensation in exchange for copies. If you distribute a large enough
134
+ number of copies you must also follow the conditions in section 3.
135
+
136
+ You may also lend copies, under the same conditions stated above, and
137
+ you may publicly display copies.
138
+
139
+
140
+ 3. COPYING IN QUANTITY
141
+
142
+ If you publish printed copies (or copies in media that commonly have
143
+ printed covers) of the Document, numbering more than 100, and the
144
+ Document's license notice requires Cover Texts, you must enclose the
145
+ copies in covers that carry, clearly and legibly, all these Cover
146
+ Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
147
+ the back cover. Both covers must also clearly and legibly identify
148
+ you as the publisher of these copies. The front cover must present
149
+ the full title with all words of the title equally prominent and
150
+ visible. You may add other material on the covers in addition.
151
+ Copying with changes limited to the covers, as long as they preserve
152
+ the title of the Document and satisfy these conditions, can be treated
153
+ as verbatim copying in other respects.
154
+
155
+ If the required texts for either cover are too voluminous to fit
156
+ legibly, you should put the first ones listed (as many as fit
157
+ reasonably) on the actual cover, and continue the rest onto adjacent
158
+ pages.
159
+
160
+ If you publish or distribute Opaque copies of the Document numbering
161
+ more than 100, you must either include a machine-readable Transparent
162
+ copy along with each Opaque copy, or state in or with each Opaque copy
163
+ a computer-network location from which the general network-using
164
+ public has access to download using public-standard network protocols
165
+ a complete Transparent copy of the Document, free of added material.
166
+ If you use the latter option, you must take reasonably prudent steps,
167
+ when you begin distribution of Opaque copies in quantity, to ensure
168
+ that this Transparent copy will remain thus accessible at the stated
169
+ location until at least one year after the last time you distribute an
170
+ Opaque copy (directly or through your agents or retailers) of that
171
+ edition to the public.
172
+
173
+ It is requested, but not required, that you contact the authors of the
174
+ Document well before redistributing any large number of copies, to give
175
+ them a chance to provide you with an updated version of the Document.
176
+
177
+
178
+ 4. MODIFICATIONS
179
+
180
+ You may copy and distribute a Modified Version of the Document under
181
+ the conditions of sections 2 and 3 above, provided that you release
182
+ the Modified Version under precisely this License, with the Modified
183
+ Version filling the role of the Document, thus licensing distribution
184
+ and modification of the Modified Version to whoever possesses a copy
185
+ of it. In addition, you must do these things in the Modified Version:
186
+
187
+ A. Use in the Title Page (and on the covers, if any) a title distinct
188
+ from that of the Document, and from those of previous versions
189
+ (which should, if there were any, be listed in the History section
190
+ of the Document). You may use the same title as a previous version
191
+ if the original publisher of that version gives permission.
192
+ B. List on the Title Page, as authors, one or more persons or entities
193
+ responsible for authorship of the modifications in the Modified
194
+ Version, together with at least five of the principal authors of the
195
+ Document (all of its principal authors, if it has fewer than five),
196
+ unless they release you from this requirement.
197
+ C. State on the Title page the name of the publisher of the
198
+ Modified Version, as the publisher.
199
+ D. Preserve all the copyright notices of the Document.
200
+ E. Add an appropriate copyright notice for your modifications
201
+ adjacent to the other copyright notices.
202
+ F. Include, immediately after the copyright notices, a license notice
203
+ giving the public permission to use the Modified Version under the
204
+ terms of this License, in the form shown in the Addendum below.
205
+ G. Preserve in that license notice the full lists of Invariant Sections
206
+ and required Cover Texts given in the Document's license notice.
207
+ H. Include an unaltered copy of this License.
208
+ I. Preserve the section Entitled "History", Preserve its Title, and add
209
+ to it an item stating at least the title, year, new authors, and
210
+ publisher of the Modified Version as given on the Title Page. If
211
+ there is no section Entitled "History" in the Document, create one
212
+ stating the title, year, authors, and publisher of the Document as
213
+ given on its Title Page, then add an item describing the Modified
214
+ Version as stated in the previous sentence.
215
+ J. Preserve the network location, if any, given in the Document for
216
+ public access to a Transparent copy of the Document, and likewise
217
+ the network locations given in the Document for previous versions
218
+ it was based on. These may be placed in the "History" section.
219
+ You may omit a network location for a work that was published at
220
+ least four years before the Document itself, or if the original
221
+ publisher of the version it refers to gives permission.
222
+ K. For any section Entitled "Acknowledgements" or "Dedications",
223
+ Preserve the Title of the section, and preserve in the section all
224
+ the substance and tone of each of the contributor acknowledgements
225
+ and/or dedications given therein.
226
+ L. Preserve all the Invariant Sections of the Document,
227
+ unaltered in their text and in their titles. Section numbers
228
+ or the equivalent are not considered part of the section titles.
229
+ M. Delete any section Entitled "Endorsements". Such a section
230
+ may not be included in the Modified Version.
231
+ N. Do not retitle any existing section to be Entitled "Endorsements"
232
+ or to conflict in title with any Invariant Section.
233
+ O. Preserve any Warranty Disclaimers.
234
+
235
+ If the Modified Version includes new front-matter sections or
236
+ appendices that qualify as Secondary Sections and contain no material
237
+ copied from the Document, you may at your option designate some or all
238
+ of these sections as invariant. To do this, add their titles to the
239
+ list of Invariant Sections in the Modified Version's license notice.
240
+ These titles must be distinct from any other section titles.
241
+
242
+ You may add a section Entitled "Endorsements", provided it contains
243
+ nothing but endorsements of your Modified Version by various
244
+ parties--for example, statements of peer review or that the text has
245
+ been approved by an organization as the authoritative definition of a
246
+ standard.
247
+
248
+ You may add a passage of up to five words as a Front-Cover Text, and a
249
+ passage of up to 25 words as a Back-Cover Text, to the end of the list
250
+ of Cover Texts in the Modified Version. Only one passage of
251
+ Front-Cover Text and one of Back-Cover Text may be added by (or
252
+ through arrangements made by) any one entity. If the Document already
253
+ includes a cover text for the same cover, previously added by you or
254
+ by arrangement made by the same entity you are acting on behalf of,
255
+ you may not add another; but you may replace the old one, on explicit
256
+ permission from the previous publisher that added the old one.
257
+
258
+ The author(s) and publisher(s) of the Document do not by this License
259
+ give permission to use their names for publicity for or to assert or
260
+ imply endorsement of any Modified Version.
261
+
262
+
263
+ 5. COMBINING DOCUMENTS
264
+
265
+ You may combine the Document with other documents released under this
266
+ License, under the terms defined in section 4 above for modified
267
+ versions, provided that you include in the combination all of the
268
+ Invariant Sections of all of the original documents, unmodified, and
269
+ list them all as Invariant Sections of your combined work in its
270
+ license notice, and that you preserve all their Warranty Disclaimers.
271
+
272
+ The combined work need only contain one copy of this License, and
273
+ multiple identical Invariant Sections may be replaced with a single
274
+ copy. If there are multiple Invariant Sections with the same name but
275
+ different contents, make the title of each such section unique by
276
+ adding at the end of it, in parentheses, the name of the original
277
+ author or publisher of that section if known, or else a unique number.
278
+ Make the same adjustment to the section titles in the list of
279
+ Invariant Sections in the license notice of the combined work.
280
+
281
+ In the combination, you must combine any sections Entitled "History"
282
+ in the various original documents, forming one section Entitled
283
+ "History"; likewise combine any sections Entitled "Acknowledgements",
284
+ and any sections Entitled "Dedications". You must delete all sections
285
+ Entitled "Endorsements".
286
+
287
+
288
+ 6. COLLECTIONS OF DOCUMENTS
289
+
290
+ You may make a collection consisting of the Document and other documents
291
+ released under this License, and replace the individual copies of this
292
+ License in the various documents with a single copy that is included in
293
+ the collection, provided that you follow the rules of this License for
294
+ verbatim copying of each of the documents in all other respects.
295
+
296
+ You may extract a single document from such a collection, and distribute
297
+ it individually under this License, provided you insert a copy of this
298
+ License into the extracted document, and follow this License in all
299
+ other respects regarding verbatim copying of that document.
300
+
301
+
302
+ 7. AGGREGATION WITH INDEPENDENT WORKS
303
+
304
+ A compilation of the Document or its derivatives with other separate
305
+ and independent documents or works, in or on a volume of a storage or
306
+ distribution medium, is called an "aggregate" if the copyright
307
+ resulting from the compilation is not used to limit the legal rights
308
+ of the compilation's users beyond what the individual works permit.
309
+ When the Document is included in an aggregate, this License does not
310
+ apply to the other works in the aggregate which are not themselves
311
+ derivative works of the Document.
312
+
313
+ If the Cover Text requirement of section 3 is applicable to these
314
+ copies of the Document, then if the Document is less than one half of
315
+ the entire aggregate, the Document's Cover Texts may be placed on
316
+ covers that bracket the Document within the aggregate, or the
317
+ electronic equivalent of covers if the Document is in electronic form.
318
+ Otherwise they must appear on printed covers that bracket the whole
319
+ aggregate.
320
+
321
+
322
+ 8. TRANSLATION
323
+
324
+ Translation is considered a kind of modification, so you may
325
+ distribute translations of the Document under the terms of section 4.
326
+ Replacing Invariant Sections with translations requires special
327
+ permission from their copyright holders, but you may include
328
+ translations of some or all Invariant Sections in addition to the
329
+ original versions of these Invariant Sections. You may include a
330
+ translation of this License, and all the license notices in the
331
+ Document, and any Warranty Disclaimers, provided that you also include
332
+ the original English version of this License and the original versions
333
+ of those notices and disclaimers. In case of a disagreement between
334
+ the translation and the original version of this License or a notice
335
+ or disclaimer, the original version will prevail.
336
+
337
+ If a section in the Document is Entitled "Acknowledgements",
338
+ "Dedications", or "History", the requirement (section 4) to Preserve
339
+ its Title (section 1) will typically require changing the actual
340
+ title.
341
+
342
+
343
+ 9. TERMINATION
344
+
345
+ You may not copy, modify, sublicense, or distribute the Document except
346
+ as expressly provided for under this License. Any other attempt to
347
+ copy, modify, sublicense or distribute the Document is void, and will
348
+ automatically terminate your rights under this License. However,
349
+ parties who have received copies, or rights, from you under this
350
+ License will not have their licenses terminated so long as such
351
+ parties remain in full compliance.
352
+
353
+
354
+ 10. FUTURE REVISIONS OF THIS LICENSE
355
+
356
+ The Free Software Foundation may publish new, revised versions
357
+ of the GNU Free Documentation License from time to time. Such new
358
+ versions will be similar in spirit to the present version, but may
359
+ differ in detail to address new problems or concerns. See
360
+ http://www.gnu.org/copyleft/.
361
+
362
+ Each version of the License is given a distinguishing version number.
363
+ If the Document specifies that a particular numbered version of this
364
+ License "or any later version" applies to it, you have the option of
365
+ following the terms and conditions either of that specified version or
366
+ of any later version that has been published (not as a draft) by the
367
+ Free Software Foundation. If the Document does not specify a version
368
+ number of this License, you may choose any version ever published (not
369
+ as a draft) by the Free Software Foundation.
370
+
371
+
372
+ ADDENDUM: How to use this License for your documents
373
+
374
+ To use this License in a document you have written, include a copy of
375
+ the License in the document and put the following copyright and
376
+ license notices just after the title page:
377
+
378
+ Copyright (c) YEAR YOUR NAME.
379
+ Permission is granted to copy, distribute and/or modify this document
380
+ under the terms of the GNU Free Documentation License, Version 1.2
381
+ or any later version published by the Free Software Foundation;
382
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
383
+ A copy of the license is included in the section entitled "GNU
384
+ Free Documentation License".
385
+
386
+ If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
387
+ replace the "with...Texts." line with this:
388
+
389
+ with the Invariant Sections being LIST THEIR TITLES, with the
390
+ Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
391
+
392
+ If you have Invariant Sections without Cover Texts, or some other
393
+ combination of the three, merge those two alternatives to suit the
394
+ situation.
395
+
396
+ If your document contains nontrivial examples of program code, we
397
+ recommend releasing these examples in parallel under your choice of
398
+ free software license, such as the GNU General Public License,
399
+ to permit their use in free software.
400
+ -----
@@ -0,0 +1,20 @@
1
+ # -*- coding: utf-8; mode: structured-text -*-
2
+
3
+ = LCG Documentation =
4
+
5
+ Copyright (c) 2005-2007 OUI Technology Ltd.
6
+ Copyright (c) 2019 Tomáš Cerha <cerha@truecode.cz>
7
+
8
+ Permission is granted to copy, distribute and/or modify this document under the
9
+ terms of the GNU Free Documentation License, Version 1.2 or any later version
10
+ published by the Free Software Foundation; with no Invariant Sections, no
11
+ Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included
12
+ in the section [fdl].
13
+
14
+ == Table of Contents ==
15
+
16
+ @NodeIndex(2)@
17
+
18
+ == Appendices ==
19
+
20
+ * [fdl]
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8; mode: structured-text -*-
2
+ # Copyright (C) 2005, 2006, 2007, 2008, 2009 OUI Technology Ltd.
3
+ # Copyright (C) 2019 Tomáš Cerha <cerha@truecode.cz>
4
+ # This is part of the LCG Documentation.
5
+ # See the file index.en.txt for copying conditions.
6
+
7
+ = Introduction =
8
+
9
+ The LCG is a computer program designed to process structured textual and
10
+ multimedia data and produce their output presentation in one of the supported
11
+ output formats. LCG is highly modular and many of its components may be used
12
+ independently as Python libraries.
13
+
14
+ LCG stands for Learning Content Generator, since it was initially developed to
15
+ generate e-learning courses, but the current use is much wider, so we don't
16
+ refer to it by the full name to prevent missunderstanding.
17
+
18
+ LCG supports /multimedia/ and /interactive/ content. /Accessibility/ is one
19
+ of the major concerns, with a special attention to users of screen-readers and
20
+ other assistive technologies.
21
+
22
+ The input data formats were designed to allow content creation without the need
23
+ for any particular software or tool and to be easy to understand and edit even
24
+ for non-technicians.
25
+
26
+ One of the key points is total /separation/ of /input data/ and their /output
27
+ presentation/. Thus it is easy to change the appearance and user interface of
28
+ the generated output without any changes in the source data. This proved to be
29
+ very useful when customizing interactive user interfaces to different output
30
+ formats and for different target groups (e.g. people with various handicaps or
31
+ using special technologies).
32
+
33
+ LCG defines a set of generic content elements, such as /paragraphs, sections,
34
+ bullet lists or tables/. This set can be, however, further extended for
35
+ particular application. Implementations of more specialized constructs, such
36
+ as /input forms/, /media viewers/players/ or /interactive exercises/ exist.
37
+
38
+ LCG also handles documents in /multiple languages/ correctly. It is able to
39
+ manage several language versions of one document, as well as intermix more
40
+ languages in one document.
41
+
42
+ The following output formats are currently supported:
43
+ * HTML (a set of hyperlinked web pages)
44
+ * IMS content package (for use within a Learning Management System)
45
+ * HHP help (HTML Help Workshop format used by many on-line help viewers)
46
+ * PDF (a printable document)
47
+
48
+ LCG is /Free Software/ distributed under the terms of GNU General Public
49
+ License.