gorgyrella 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. data/.bzr/README +3 -0
  2. data/.bzr/branch/branch.conf +2 -0
  3. data/.bzr/branch/format +1 -0
  4. data/.bzr/branch/last-revision +1 -0
  5. data/.bzr/branch/tags +0 -0
  6. data/.bzr/branch-format +1 -0
  7. data/.bzr/checkout/conflicts +1 -0
  8. data/.bzr/checkout/dirstate +0 -0
  9. data/.bzr/checkout/format +1 -0
  10. data/.bzr/checkout/merge-hashes +33 -0
  11. data/.bzr/repository/format +1 -0
  12. data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.iix +0 -0
  13. data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.rix +0 -0
  14. data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.six +5 -0
  15. data/.bzr/repository/indices/7433d7509bfad4e7de61716fd159a28e.tix +0 -0
  16. data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.iix +0 -0
  17. data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.rix +0 -0
  18. data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.six +5 -0
  19. data/.bzr/repository/indices/747331f41951a7f9509b3190e9082de2.tix +0 -0
  20. data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.iix +0 -0
  21. data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.rix +0 -0
  22. data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.six +5 -0
  23. data/.bzr/repository/indices/94ae76525de86acde2f4722e88fec764.tix +0 -0
  24. data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.iix +0 -0
  25. data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.rix +0 -0
  26. data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.six +5 -0
  27. data/.bzr/repository/indices/ae5f61661ebb8f30600ce7443b2ea000.tix +0 -0
  28. data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.iix +0 -0
  29. data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.rix +0 -0
  30. data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.six +5 -0
  31. data/.bzr/repository/indices/e34ba77fcb41bb254463c3c177123bb1.tix +0 -0
  32. data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.iix +0 -0
  33. data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.rix +0 -0
  34. data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.six +5 -0
  35. data/.bzr/repository/indices/e409e77b2da885ef4e5bc5089a04e60e.tix +0 -0
  36. data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.iix +0 -0
  37. data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.rix +0 -0
  38. data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.six +5 -0
  39. data/.bzr/repository/indices/fa740d26e5ddc0570df1ec65a7a2af1c.tix +0 -0
  40. data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.iix +0 -0
  41. data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.pack +0 -0
  42. data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.rix +0 -0
  43. data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.six +5 -0
  44. data/.bzr/repository/obsolete_packs/24b89e5a96bc1f03a7ce1a200ab48dc9.tix +0 -0
  45. data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.iix +0 -0
  46. data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.pack +0 -0
  47. data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.rix +0 -0
  48. data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.six +5 -0
  49. data/.bzr/repository/obsolete_packs/3ed72fa820dea2da6169d4361433a5f3.tix +0 -0
  50. data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.iix +0 -0
  51. data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.pack +0 -0
  52. data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.rix +0 -0
  53. data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.six +5 -0
  54. data/.bzr/repository/obsolete_packs/acd9bdd28baefb868bf64371dde19d2b.tix +0 -0
  55. data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.iix +0 -0
  56. data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.pack +0 -0
  57. data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.rix +0 -0
  58. data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.six +5 -0
  59. data/.bzr/repository/obsolete_packs/c408af011313ac56380f5716caffaf43.tix +0 -0
  60. data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.iix +0 -0
  61. data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.pack +0 -0
  62. data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.rix +0 -0
  63. data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.six +5 -0
  64. data/.bzr/repository/obsolete_packs/cf2fbd7a25e9ab28e03fe483b1232f54.tix +0 -0
  65. data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.iix +0 -0
  66. data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.pack +0 -0
  67. data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.rix +0 -0
  68. data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.six +5 -0
  69. data/.bzr/repository/obsolete_packs/fedc9930335a072ae735da013bf94c74.tix +0 -0
  70. data/.bzr/repository/pack-names +0 -0
  71. data/.bzr/repository/packs/7433d7509bfad4e7de61716fd159a28e.pack +0 -0
  72. data/.bzr/repository/packs/747331f41951a7f9509b3190e9082de2.pack +0 -0
  73. data/.bzr/repository/packs/94ae76525de86acde2f4722e88fec764.pack +0 -0
  74. data/.bzr/repository/packs/ae5f61661ebb8f30600ce7443b2ea000.pack +0 -0
  75. data/.bzr/repository/packs/e34ba77fcb41bb254463c3c177123bb1.pack +0 -0
  76. data/.bzr/repository/packs/e409e77b2da885ef4e5bc5089a04e60e.pack +0 -0
  77. data/.bzr/repository/packs/fa740d26e5ddc0570df1ec65a7a2af1c.pack +0 -0
  78. data/.bzrignore +5 -0
  79. data/History.txt +4 -0
  80. data/LICENSE +619 -0
  81. data/README.txt +27 -0
  82. data/Rakefile +59 -0
  83. data/bin/gorgyrella +6 -0
  84. data/gorgyrella-manual-0-0-1.pdf +0 -0
  85. data/gorgyrella.gemspec +36 -0
  86. data/lib/gorgyrella/builder.rb +49 -0
  87. data/lib/gorgyrella/composer.rb +79 -0
  88. data/lib/gorgyrella/formatters/coderay.rb +28 -0
  89. data/lib/gorgyrella/formatters/pygments.rb +35 -0
  90. data/lib/gorgyrella/formatters/pygments_guess_lexer.py +9 -0
  91. data/lib/gorgyrella/formatters/ultraviolet.rb +35 -0
  92. data/lib/gorgyrella/gorgyrella.rb +9 -0
  93. data/lib/gorgyrella/parser.rb +637 -0
  94. data/lib/gorgyrella/parser.rl +133 -0
  95. data/lib/gorgyrella.rb +46 -0
  96. data/lib/webby/gorgyrella_helper.rb +31 -0
  97. data/spec/builder_spec.rb +7 -0
  98. data/spec/composer_spec.rb +70 -0
  99. data/spec/data/coderay.css +126 -0
  100. data/spec/data/example-python.html +24 -0
  101. data/spec/data/example-ruby.html +30 -0
  102. data/spec/data/pygments.css +59 -0
  103. data/spec/data/test.py +21 -0
  104. data/spec/data/test.rb +13 -0
  105. data/spec/data/ultraviolet/css/active4d.css +114 -0
  106. data/spec/data/ultraviolet/css/all_hallows_eve.css +72 -0
  107. data/spec/data/ultraviolet/css/amy.css +147 -0
  108. data/spec/data/ultraviolet/css/blackboard.css +88 -0
  109. data/spec/data/ultraviolet/css/brilliance_black.css +605 -0
  110. data/spec/data/ultraviolet/css/brilliance_dull.css +599 -0
  111. data/spec/data/ultraviolet/css/cobalt.css +149 -0
  112. data/spec/data/ultraviolet/css/dawn.css +121 -0
  113. data/spec/data/ultraviolet/css/eiffel.css +121 -0
  114. data/spec/data/ultraviolet/css/espresso_libre.css +109 -0
  115. data/spec/data/ultraviolet/css/idle.css +62 -0
  116. data/spec/data/ultraviolet/css/iplastic.css +80 -0
  117. data/spec/data/ultraviolet/css/lazy.css +73 -0
  118. data/spec/data/ultraviolet/css/mac_classic.css +123 -0
  119. data/spec/data/ultraviolet/css/magicwb_amiga.css +104 -0
  120. data/spec/data/ultraviolet/css/pastels_on_dark.css +188 -0
  121. data/spec/data/ultraviolet/css/slush_poppies.css +85 -0
  122. data/spec/data/ultraviolet/css/spacecadet.css +51 -0
  123. data/spec/data/ultraviolet/css/sunburst.css +180 -0
  124. data/spec/data/ultraviolet/css/twilight.css +137 -0
  125. data/spec/data/ultraviolet/css/zenburnesque.css +91 -0
  126. data/spec/data/unmarked.rb +32 -0
  127. data/spec/gorgyrella_spec.rb +7 -0
  128. data/spec/parser_spec.rb +73 -0
  129. data/spec/spec_helper.rb +13 -0
  130. data/spec/tmp/example-python-processed-coderay.html +31 -0
  131. data/spec/tmp/example-python-processed-pygments.html +31 -0
  132. data/spec/tmp/example-python-processed-ultraviolet.html +31 -0
  133. data/spec/tmp/example-ruby-processed-coderay.html +31 -0
  134. data/spec/tmp/example-ruby-processed-pygments.html +37 -0
  135. data/spec/tmp/example-ruby-processed-ultraviolet.html +33 -0
  136. data/tasks/ann.rake +80 -0
  137. data/tasks/bones.rake +20 -0
  138. data/tasks/gem.rake +201 -0
  139. data/tasks/git.rake +40 -0
  140. data/tasks/notes.rake +27 -0
  141. data/tasks/post_load.rake +34 -0
  142. data/tasks/rdoc.rake +51 -0
  143. data/tasks/rubyforge.rake +55 -0
  144. data/tasks/setup.rb +292 -0
  145. data/tasks/spec.rake +54 -0
  146. data/tasks/svn.rake +47 -0
  147. data/tasks/test.rake +40 -0
  148. data/tasks/zentest.rake +36 -0
  149. data/webby/.DS_Store +0 -0
  150. data/webby/README.txt +6 -0
  151. data/webby/Sitefile +24 -0
  152. data/webby/content/css/blueprint/ie.css +26 -0
  153. data/webby/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
  154. data/webby/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
  155. data/webby/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
  156. data/webby/content/css/blueprint/plugins/buttons/readme.txt +32 -0
  157. data/webby/content/css/blueprint/plugins/buttons/screen.css +97 -0
  158. data/webby/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  159. data/webby/content/css/blueprint/plugins/fancy-type/screen.css +71 -0
  160. data/webby/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  161. data/webby/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  162. data/webby/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  163. data/webby/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  164. data/webby/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  165. data/webby/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  166. data/webby/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  167. data/webby/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  168. data/webby/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
  169. data/webby/content/css/blueprint/plugins/link-icons/screen.css +40 -0
  170. data/webby/content/css/blueprint/plugins/rtl/readme.txt +10 -0
  171. data/webby/content/css/blueprint/plugins/rtl/screen.css +109 -0
  172. data/webby/content/css/blueprint/print.css +30 -0
  173. data/webby/content/css/blueprint/screen.css +251 -0
  174. data/webby/content/css/blueprint/src/forms.css +49 -0
  175. data/webby/content/css/blueprint/src/grid.css +212 -0
  176. data/webby/content/css/blueprint/src/grid.png +0 -0
  177. data/webby/content/css/blueprint/src/ie.css +59 -0
  178. data/webby/content/css/blueprint/src/print.css +85 -0
  179. data/webby/content/css/blueprint/src/reset.css +38 -0
  180. data/webby/content/css/blueprint/src/typography.css +105 -0
  181. data/webby/content/css/pygments.txt +6 -0
  182. data/webby/content/css/site.css +78 -0
  183. data/webby/content/gorgyrella-manual.erb +33 -0
  184. data/webby/content/index.txt +15 -0
  185. data/webby/layouts/book.txt +29 -0
  186. data/webby/layouts/default.txt +27 -0
  187. data/webby/layouts/two_column.txt +25 -0
  188. data/webby/layouts/web.txt +42 -0
  189. data/webby/output/.cairn +0 -0
  190. data/webby/output/css/blueprint/ie.css +26 -0
  191. data/webby/output/css/blueprint/plugins/buttons/icons/cross.png +0 -0
  192. data/webby/output/css/blueprint/plugins/buttons/icons/key.png +0 -0
  193. data/webby/output/css/blueprint/plugins/buttons/icons/tick.png +0 -0
  194. data/webby/output/css/blueprint/plugins/buttons/readme.txt +32 -0
  195. data/webby/output/css/blueprint/plugins/buttons/screen.css +97 -0
  196. data/webby/output/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  197. data/webby/output/css/blueprint/plugins/fancy-type/screen.css +71 -0
  198. data/webby/output/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  199. data/webby/output/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  200. data/webby/output/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  201. data/webby/output/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  202. data/webby/output/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  203. data/webby/output/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  204. data/webby/output/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  205. data/webby/output/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  206. data/webby/output/css/blueprint/plugins/link-icons/readme.txt +18 -0
  207. data/webby/output/css/blueprint/plugins/link-icons/screen.css +40 -0
  208. data/webby/output/css/blueprint/plugins/rtl/readme.txt +10 -0
  209. data/webby/output/css/blueprint/plugins/rtl/screen.css +109 -0
  210. data/webby/output/css/blueprint/print.css +30 -0
  211. data/webby/output/css/blueprint/screen.css +251 -0
  212. data/webby/output/css/blueprint/src/forms.css +49 -0
  213. data/webby/output/css/blueprint/src/grid.css +212 -0
  214. data/webby/output/css/blueprint/src/grid.png +0 -0
  215. data/webby/output/css/blueprint/src/ie.css +59 -0
  216. data/webby/output/css/blueprint/src/print.css +85 -0
  217. data/webby/output/css/blueprint/src/reset.css +38 -0
  218. data/webby/output/css/blueprint/src/typography.css +105 -0
  219. data/webby/output/css/pygments.css +59 -0
  220. data/webby/output/css/site.css +62 -0
  221. data/webby/output/gorgyrella-manual.aux +17 -0
  222. data/webby/output/gorgyrella-manual.erb +51 -0
  223. data/webby/output/gorgyrella-manual.log +271 -0
  224. data/webby/output/gorgyrella-manual.out +2 -0
  225. data/webby/output/gorgyrella-manual.pdf +0 -0
  226. data/webby/output/gorgyrella-manual.tex +191 -0
  227. data/webby/output/index.html +41 -0
  228. data/webby/rsync-exclude +7 -0
  229. data/webby/tasks/latex.rake +14 -0
  230. data/webby/templates/article.erb +15 -0
  231. data/webby/templates/book.erb +16 -0
  232. data/webby/templates/page.erb +12 -0
  233. metadata +313 -0
@@ -0,0 +1,38 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ reset.css
4
+ * Resets default browser CSS.
5
+
6
+ -------------------------------------------------------------- */
7
+
8
+ html, body, div, span, object, iframe,
9
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
10
+ a, abbr, acronym, address, code,
11
+ del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
12
+ fieldset, form, label, legend,
13
+ table, caption, tbody, tfoot, thead, tr, th, td {
14
+ margin: 0;
15
+ padding: 0;
16
+ border: 0;
17
+ font-weight: inherit;
18
+ font-style: inherit;
19
+ font-size: 100%;
20
+ font-family: inherit;
21
+ vertical-align: baseline;
22
+ }
23
+
24
+ body {
25
+ line-height: 1.5;
26
+ }
27
+
28
+ /* Tables still need 'cellspacing="0"' in the markup. */
29
+ table { border-collapse: separate; border-spacing: 0; }
30
+ caption, th, td { text-align: left; font-weight: normal; }
31
+ table, td, th { vertical-align: middle; }
32
+
33
+ /* Remove possible quote marks (") from <q>, <blockquote>. */
34
+ blockquote:before, blockquote:after, q:before, q:after { content: ""; }
35
+ blockquote, q { quotes: "" ""; }
36
+
37
+ /* Remove annoying border on linked images. */
38
+ a img { border: none; }
@@ -0,0 +1,105 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ typography.css
4
+ * Sets up some sensible default typography.
5
+
6
+ -------------------------------------------------------------- */
7
+
8
+ /* Default font settings.
9
+ The font-size percentage is of 16px. (0.75 * 16px = 12px) */
10
+ body {
11
+ font-size: 75%;
12
+ color: #222;
13
+ background: #fff;
14
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
15
+ }
16
+
17
+
18
+ /* Headings
19
+ -------------------------------------------------------------- */
20
+
21
+ h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
22
+
23
+ h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
24
+ h2 { font-size: 2em; margin-bottom: 0.75em; }
25
+ h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
26
+ h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
27
+ h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
28
+ h6 { font-size: 1em; font-weight: bold; }
29
+
30
+ h1 img, h2 img, h3 img,
31
+ h4 img, h5 img, h6 img {
32
+ margin: 0;
33
+ }
34
+
35
+
36
+ /* Text elements
37
+ -------------------------------------------------------------- */
38
+
39
+ p { margin: 0 0 1.5em; }
40
+ p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
41
+ p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
42
+
43
+ a:focus,
44
+ a:hover { color: #000; }
45
+ a { color: #009; text-decoration: underline; }
46
+
47
+ blockquote { margin: 1.5em; color: #666; font-style: italic; }
48
+ strong { font-weight: bold; }
49
+ em,dfn { font-style: italic; }
50
+ dfn { font-weight: bold; }
51
+ sup, sub { line-height: 0; }
52
+
53
+ abbr,
54
+ acronym { border-bottom: 1px dotted #666; }
55
+ address { margin: 0 0 1.5em; font-style: italic; }
56
+ del { color:#666; }
57
+
58
+ pre { margin: 1.5em 0; white-space: pre; }
59
+ pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
60
+
61
+
62
+ /* Lists
63
+ -------------------------------------------------------------- */
64
+
65
+ li ul,
66
+ li ol { margin:0 1.5em; }
67
+ ul, ol { margin: 0 1.5em 1.5em 1.5em; }
68
+
69
+ ul { list-style-type: disc; }
70
+ ol { list-style-type: decimal; }
71
+
72
+ dl { margin: 0 0 1.5em 0; }
73
+ dl dt { font-weight: bold; }
74
+ dd { margin-left: 1.5em;}
75
+
76
+
77
+ /* Tables
78
+ -------------------------------------------------------------- */
79
+
80
+ table { margin-bottom: 1.4em; width:100%; }
81
+ th { font-weight: bold; }
82
+ thead th { background: #c3d9ff; }
83
+ th,td,caption { padding: 4px 10px 4px 5px; }
84
+ tr.even td { background: #e5ecf9; }
85
+ tfoot { font-style: italic; }
86
+ caption { background: #eee; }
87
+
88
+
89
+ /* Misc classes
90
+ -------------------------------------------------------------- */
91
+
92
+ .small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
93
+ .large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
94
+ .hide { display: none; }
95
+
96
+ .quiet { color: #666; }
97
+ .loud { color: #000; }
98
+ .highlight { background:#ff0; }
99
+ .added { background:#060; color: #fff; }
100
+ .removed { background:#900; color: #fff; }
101
+
102
+ .first { margin-left:0; padding-left:0; }
103
+ .last { margin-right:0; padding-right:0; }
104
+ .top { margin-top:0; padding-top:0; }
105
+ .bottom { margin-bottom:0; padding-bottom:0; }
@@ -0,0 +1,6 @@
1
+ ---
2
+ filter: erb
3
+ extension: css
4
+ layout: false
5
+ ---
6
+ <%= `pygmentize -S perldoc -f html` %>
@@ -0,0 +1,78 @@
1
+ ---
2
+ extension: css
3
+ filter: erb
4
+ layout: nil # no layout
5
+
6
+ color:
7
+ border: "#ddd"
8
+ header: "#111"
9
+ link: "#125AA7"
10
+ link-hover: "#000"
11
+ blockquote: "#666"
12
+ box-bg: "#eee"
13
+ highlight: "#B2CCFF"
14
+ quiet: "#666"
15
+ alt: "#666"
16
+ ---
17
+
18
+ body {
19
+ font-family: Verdana, "Bitstream Vera Sans", sans-serif;
20
+ }
21
+
22
+ /* Headings
23
+ * --------------------------------------------------------------------- */
24
+ h1,h2,h3,h4,h5,h6 { color: <%= @page.color['header'] %>; }
25
+
26
+ /* Text Elements
27
+ * --------------------------------------------------------------------- */
28
+ a { color: <%= @page.color['link'] %>; }
29
+ a:hover { color: <%= @page.color['link-hover'] %>; }
30
+ blockquote { color: <%= @page.color['blockquote'] %>; }
31
+
32
+ pre {
33
+ background: <%= @page.color['box-bg'] %>;
34
+ border: 1px solid <%= @page.color['border'] %>;
35
+ }
36
+
37
+ hr {
38
+ background: <%= @page.color['highlight'] %>;
39
+ color: <%= @page.color['highlight'] %>;
40
+ }
41
+
42
+ /* Tables
43
+ * --------------------------------------------------------------------- */
44
+ table {
45
+ border-top: 1px solid <%= @page.color['border'] %>;
46
+ border-left: 1px solid <%= @page.color['border'] %>;
47
+ }
48
+ th,td {
49
+ border-bottom: 1px solid <%= @page.color['border'] %>;
50
+ border-right: 1px solid <%= @page.color['border'] %>;
51
+ }
52
+
53
+ /* Default Classes
54
+ * --------------------------------------------------------------------- */
55
+ p.quiet { color: <%= @page.color['quiet'] %>; }
56
+ .alt { color: <%= @page.color['alt'] %>; }
57
+
58
+ p.title {
59
+ color: #111;
60
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
61
+ font-size: 2em;
62
+ margin-bottom: 0.75em;
63
+ }
64
+
65
+ #header p.title { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
66
+
67
+ /* Fixes for Pygments */
68
+ pre {margin:0;}
69
+ pre, code, tt {line-height:1;}
70
+ table.highlighttable {
71
+ padding: 0;
72
+ margin: 0;
73
+ }
74
+ table.highlighttable td {
75
+ padding: 0;
76
+ margin: 0;
77
+ vertical-align: top;
78
+ }
@@ -0,0 +1,33 @@
1
+ ---
2
+ title: Gorgyrella Manual
3
+ author: Ana Nelson
4
+ created_at: 2009-01-30 13:08:32.468894 +00:00
5
+ filter:
6
+ - erb
7
+ ---
8
+
9
+ \section{Gorgyrella} % (fold)
10
+ \label{sec:gorgyrella}
11
+
12
+ Gorgyrella is a Ruby gem for creating literate documentation. You can use Gorgyrella for writing tutorials, blog posts, software documentation, reports, articles, even your thesis, anything where you need to incorporate examples of code from any file anywhere on your machine. Gorgyrella integrates with syntax highlighters to make your code look beautiful.
13
+
14
+ You can output text in any format which your syntax highlighter supports.
15
+
16
+ Gorgyrella has strong integration with Webby and together they make a very comprehensive document build system. This document was written using Gorgyrella, Webby and \LaTeX.
17
+
18
+ % section gorgyrella (end)
19
+
20
+ \section{Examples} % (fold)
21
+ \label{sec:examples}
22
+
23
+ Here is a file from the Gorgyrella source:
24
+ <%= gorgl("../lib/gorgyrella/formatters/pygments_guess_lexer.py") %>
25
+
26
+ Here is part of the Ragel parser:
27
+ <%= gorgl("../lib/gorgyrella/parser.rl", "run-machine", "latex", "ragel-ruby") %>
28
+
29
+ Here is my vhosts config, taken right from its location on my machine:
30
+
31
+ <%= gorgl("/etc/apache2/extra/httpd-vhosts.conf", "1", "latex", "apache") %>
32
+
33
+ % section examples (end)
@@ -0,0 +1,15 @@
1
+ ---
2
+ title: Gorgyrella
3
+ author: Ana Nelson
4
+ layout: web
5
+ filter:
6
+ - erb
7
+ - textile
8
+ ---
9
+ h1. <%= @page.title %>
10
+
11
+ Homepage of the Gorgyrella project. More coming soon, in the mean time:
12
+
13
+ @bzr branch http://ananelson.com/code/gorgyrella@
14
+
15
+ "Rubyforge Project Page":http://rubyforge.org/projects/gorgyrella
@@ -0,0 +1,29 @@
1
+ ---
2
+ extension: tex
3
+ filter: erb
4
+ ---
5
+ \documentclass[a4paper]{book}
6
+ \usepackage{fullpage}
7
+ \usepackage{fancyvrb}
8
+ \usepackage{color}
9
+ \usepackage[ascii]{inputenc}
10
+ \usepackage{hyperref}
11
+ \usepackage[pdftex]{graphicx}
12
+ \usepackage{wrapfig}
13
+ \usepackage{multicol}
14
+
15
+ <%= pygments_latex_styles %>
16
+
17
+
18
+ \title{<%= @page.title %>}
19
+ \author{<%= @page.author %>}
20
+
21
+ \begin{document}
22
+
23
+ \maketitle
24
+
25
+ \tableofcontents
26
+
27
+ <%= @content %>
28
+
29
+ \end{document}
@@ -0,0 +1,27 @@
1
+ ---
2
+ extension: tex
3
+ filter: erb
4
+ ---
5
+ \documentclass[a4paper]{article}
6
+ \usepackage{fullpage}
7
+ \usepackage{fancyvrb}
8
+ \usepackage{color}
9
+ \usepackage[ascii]{inputenc}
10
+ \usepackage{hyperref}
11
+ \usepackage[pdftex]{graphicx}
12
+ \usepackage{wrapfig}
13
+ \usepackage{multicol}
14
+
15
+ <%= pygments_latex_styles %>
16
+
17
+
18
+ \title{<%= @page.title %>}
19
+ \author{<%= @page.author %>}
20
+
21
+ \begin{document}
22
+
23
+ \maketitle
24
+
25
+ <%= @content %>
26
+
27
+ \end{document}
@@ -0,0 +1,25 @@
1
+ ---
2
+ extension: tex
3
+ filter: erb
4
+ ---
5
+ \documentclass[a4paper, twocolumn]{article}
6
+ \usepackage{fullpage}
7
+ \usepackage{fancyvrb}
8
+ \usepackage{color}
9
+ \usepackage[ascii]{inputenc}
10
+ \usepackage{hyperref}
11
+ \usepackage[pdftex]{graphicx}
12
+
13
+ <%= pygments_latex_styles %>
14
+
15
+
16
+ \title{<%= @page.title %>}
17
+ \author{<%= @page.author %>}
18
+
19
+ \begin{document}
20
+
21
+ \maketitle
22
+
23
+ <%= @content %>
24
+
25
+ \end{document}
@@ -0,0 +1,42 @@
1
+ ---
2
+ extension: html
3
+ filter: erb
4
+ ---
5
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
6
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
7
+
8
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
9
+ <head>
10
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
11
+ <title><%= @page.title %></title>
12
+ <meta name="author" content="<%= @page.author %>" />
13
+
14
+ <!--- Blueprint CSS Framework -->
15
+ <link rel="stylesheet" href="/css/blueprint/screen.css" type="text/css" media="screen, projection">
16
+ <link rel="stylesheet" href="/css/blueprint/print.css" type="text/css" media="print">
17
+ <!--[if IE]>
18
+ <link rel="stylesheet" href="/css/blueprint/ie.css" type="text/css" media="screen, projection">
19
+ <![endif]-->
20
+
21
+ <!-- CodeRay syntax highlighting CSS -->
22
+ <link rel="stylesheet" href="/css/pygments.css" type="text/css" />
23
+
24
+ <!-- Homepage CSS -->
25
+ <link rel="stylesheet" href="/css/site.css" type="text/css" media="screen, projection" />
26
+ </head>
27
+ <body>
28
+
29
+ <div class="container">
30
+
31
+ <div class="column span-20 prepend-2 first">
32
+ <%= @content %>
33
+ </div>
34
+
35
+ <div class="column span-20 prepend-2 append-2 first last" id="footer">
36
+ <hr />
37
+ <p>This website was created with <a href="http://webby.rubyforge.org">Webby</a></p>
38
+ </div>
39
+
40
+ </div>
41
+ </body>
42
+ </html>
File without changes
@@ -0,0 +1,26 @@
1
+ /* -----------------------------------------------------------------------
2
+
3
+
4
+ Blueprint CSS Framework 0.8
5
+ http://blueprintcss.org
6
+
7
+ * Copyright (c) 2007-Present. See LICENSE for more info.
8
+ * See README for instructions on how to use Blueprint.
9
+ * For credits and origins, see AUTHORS.
10
+ * This is a compressed file. See the sources in the 'src' directory.
11
+
12
+ ----------------------------------------------------------------------- */
13
+
14
+ /* ie.css */
15
+ body {text-align:center;}
16
+ .container {text-align:left;}
17
+ * html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {overflow-x:hidden;}
18
+ * html legend {margin:-18px -8px 16px 0;padding:0;}
19
+ ol {margin-left:2em;}
20
+ sup {vertical-align:text-top;}
21
+ sub {vertical-align:text-bottom;}
22
+ html>body p code {*white-space:normal;}
23
+ hr {margin:-8px auto 11px;}
24
+ .clearfix, .container {display:inline-block;}
25
+ * html .clearfix, * html .container {height:1%;}
26
+ fieldset {padding-top:0;}
@@ -0,0 +1,32 @@
1
+ Buttons
2
+
3
+ * Gives you great looking CSS buttons, for both <a> and <button>.
4
+ * Demo: particletree.com/features/rediscovering-the-button-element
5
+
6
+
7
+ Credits
8
+ ----------------------------------------------------------------
9
+
10
+ * Created by Kevin Hale [particletree.com]
11
+ * Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
12
+
13
+
14
+ Usage
15
+ ----------------------------------------------------------------
16
+
17
+ 1) Add this plugin to lib/settings.yml.
18
+ See compress.rb for instructions.
19
+
20
+ 2) Use the following HTML code to place the buttons on your site:
21
+
22
+ <button type="submit" class="button positive">
23
+ <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
24
+ </button>
25
+
26
+ <a class="button" href="/password/reset/">
27
+ <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
28
+ </a>
29
+
30
+ <a href="#" class="button negative">
31
+ <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
32
+ </a>
@@ -0,0 +1,97 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ buttons.css
4
+ * Gives you some great CSS-only buttons.
5
+
6
+ Created by Kevin Hale [particletree.com]
7
+ * particletree.com/features/rediscovering-the-button-element
8
+
9
+ See Readme.txt in this folder for instructions.
10
+
11
+ -------------------------------------------------------------- */
12
+
13
+ a.button, button {
14
+ display:block;
15
+ float:left;
16
+ margin: 0.7em 0.5em 0.7em 0;
17
+ padding:5px 10px 5px 7px; /* Links */
18
+
19
+ border:1px solid #dedede;
20
+ border-top:1px solid #eee;
21
+ border-left:1px solid #eee;
22
+
23
+ background-color:#f5f5f5;
24
+ font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
25
+ font-size:100%;
26
+ line-height:130%;
27
+ text-decoration:none;
28
+ font-weight:bold;
29
+ color:#565656;
30
+ cursor:pointer;
31
+ }
32
+ button {
33
+ width:auto;
34
+ overflow:visible;
35
+ padding:4px 10px 3px 7px; /* IE6 */
36
+ }
37
+ button[type] {
38
+ padding:4px 10px 4px 7px; /* Firefox */
39
+ line-height:17px; /* Safari */
40
+ }
41
+ *:first-child+html button[type] {
42
+ padding:4px 10px 3px 7px; /* IE7 */
43
+ }
44
+ button img, a.button img{
45
+ margin:0 3px -3px 0 !important;
46
+ padding:0;
47
+ border:none;
48
+ width:16px;
49
+ height:16px;
50
+ float:none;
51
+ }
52
+
53
+
54
+ /* Button colors
55
+ -------------------------------------------------------------- */
56
+
57
+ /* Standard */
58
+ button:hover, a.button:hover{
59
+ background-color:#dff4ff;
60
+ border:1px solid #c2e1ef;
61
+ color:#336699;
62
+ }
63
+ a.button:active{
64
+ background-color:#6299c5;
65
+ border:1px solid #6299c5;
66
+ color:#fff;
67
+ }
68
+
69
+ /* Positive */
70
+ body .positive {
71
+ color:#529214;
72
+ }
73
+ a.positive:hover, button.positive:hover {
74
+ background-color:#E6EFC2;
75
+ border:1px solid #C6D880;
76
+ color:#529214;
77
+ }
78
+ a.positive:active {
79
+ background-color:#529214;
80
+ border:1px solid #529214;
81
+ color:#fff;
82
+ }
83
+
84
+ /* Negative */
85
+ body .negative {
86
+ color:#d12f19;
87
+ }
88
+ a.negative:hover, button.negative:hover {
89
+ background:#fbe3e4;
90
+ border:1px solid #fbc2c4;
91
+ color:#d12f19;
92
+ }
93
+ a.negative:active {
94
+ background-color:#d12f19;
95
+ border:1px solid #d12f19;
96
+ color:#fff;
97
+ }
@@ -0,0 +1,14 @@
1
+ Fancy Type
2
+
3
+ * Gives you classes to use if you'd like some
4
+ extra fancy typography.
5
+
6
+ Credits and instructions are specified above each class
7
+ in the fancy-type.css file in this directory.
8
+
9
+
10
+ Usage
11
+ ----------------------------------------------------------------
12
+
13
+ 1) Add this plugin to lib/settings.yml.
14
+ See compress.rb for instructions.
@@ -0,0 +1,71 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ fancy-type.css
4
+ * Lots of pretty advanced classes for manipulating text.
5
+
6
+ See the Readme file in this folder for additional instructions.
7
+
8
+ -------------------------------------------------------------- */
9
+
10
+ /* Indentation instead of line shifts for sibling paragraphs. */
11
+ p + p { text-indent:2em; margin-top:-1.5em; }
12
+ form p + p { text-indent: 0; } /* Don't want this in forms. */
13
+
14
+
15
+ /* For great looking type, use this code instead of asdf:
16
+ <span class="alt">asdf</span>
17
+ Best used on prepositions and ampersands. */
18
+
19
+ .alt {
20
+ color: #666;
21
+ font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;
22
+ font-style: italic;
23
+ font-weight: normal;
24
+ }
25
+
26
+
27
+ /* For great looking quote marks in titles, replace "asdf" with:
28
+ <span class="dquo">&#8220;</span>asdf&#8221;
29
+ (That is, when the title starts with a quote mark).
30
+ (You may have to change this value depending on your font size). */
31
+
32
+ .dquo { margin-left: -.5em; }
33
+
34
+
35
+ /* Reduced size type with incremental leading
36
+ (http://www.markboulton.co.uk/journal/comments/incremental_leading/)
37
+
38
+ This could be used for side notes. For smaller type, you don't necessarily want to
39
+ follow the 1.5x vertical rhythm -- the line-height is too much.
40
+
41
+ Using this class, it reduces your font size and line-height so that for
42
+ every four lines of normal sized type, there is five lines of the sidenote. eg:
43
+
44
+ New type size in em's:
45
+ 10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems)
46
+
47
+ New line-height value:
48
+ 12px x 1.5 = 18px (old line-height)
49
+ 18px x 4 = 72px
50
+ 72px / 5 = 14.4px (new line height)
51
+ 14.4px / 10px = 1.44 (new line height in em's) */
52
+
53
+ p.incr, .incr p {
54
+ font-size: 10px;
55
+ line-height: 1.44em;
56
+ margin-bottom: 1.5em;
57
+ }
58
+
59
+
60
+ /* Surround uppercase words and abbreviations with this class.
61
+ Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] */
62
+
63
+ .caps {
64
+ font-variant: small-caps;
65
+ letter-spacing: 1px;
66
+ text-transform: lowercase;
67
+ font-size:1.2em;
68
+ line-height:1%;
69
+ font-weight:bold;
70
+ padding:0 2px;
71
+ }