ultraviolet 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/History.txt +9 -0
  2. data/Manifest.txt +23 -2
  3. data/bin/theme2latexrender +143 -0
  4. data/bin/{theme2render → theme2xhtmlrender} +67 -9
  5. data/bin/uv +28 -51
  6. data/lib/uv.rb +14 -9
  7. data/lib/uv/html_processor.rb +23 -7
  8. data/render/latex/active4d.render +132 -0
  9. data/render/latex/all_hallows_eve.render +96 -0
  10. data/render/latex/amy.render +171 -0
  11. data/render/latex/blackboard.render +111 -0
  12. data/render/latex/brilliance_black.render +602 -0
  13. data/render/latex/brilliance_dull.render +561 -0
  14. data/render/latex/cobalt.render +162 -0
  15. data/render/latex/dawn.render +126 -0
  16. data/render/latex/eiffel.render +132 -0
  17. data/render/latex/espresso_libre.render +123 -0
  18. data/render/latex/idle.render +93 -0
  19. data/render/latex/iplastic.render +99 -0
  20. data/render/latex/lazy.render +96 -0
  21. data/render/latex/mac_classic.render +135 -0
  22. data/render/latex/magicwb_amiga.render +117 -0
  23. data/render/latex/pastels_on_dark.render +204 -0
  24. data/render/latex/slush_poppies.render +123 -0
  25. data/render/latex/spacecadet.render +81 -0
  26. data/render/latex/sunburst.render +186 -0
  27. data/render/latex/twilight.render +153 -0
  28. data/render/latex/zenburnesque.render +126 -0
  29. data/render/xhtml/active4d.render +35 -0
  30. data/render/xhtml/all_hallows_eve.render +35 -0
  31. data/render/xhtml/amy.render +35 -0
  32. data/render/xhtml/blackboard.render +35 -0
  33. data/render/xhtml/brilliance_black.render +35 -0
  34. data/render/xhtml/brilliance_dull.render +35 -0
  35. data/render/xhtml/cobalt.render +35 -0
  36. data/render/xhtml/dawn.render +35 -0
  37. data/render/xhtml/eiffel.render +35 -0
  38. data/render/xhtml/espresso_libre.render +35 -0
  39. data/render/xhtml/idle.render +35 -0
  40. data/render/xhtml/iplastic.render +35 -0
  41. data/render/xhtml/lazy.render +35 -0
  42. data/render/xhtml/mac_classic.render +35 -0
  43. data/render/xhtml/magicwb_amiga.render +35 -0
  44. data/render/xhtml/pastels_on_dark.render +35 -0
  45. data/render/xhtml/slush_poppies.render +35 -0
  46. data/render/xhtml/spacecadet.render +35 -0
  47. data/render/xhtml/sunburst.render +35 -0
  48. data/render/xhtml/twilight.render +35 -0
  49. data/render/xhtml/zenburnesque.render +35 -0
  50. metadata +27 -5
@@ -1,5 +1,8 @@
1
1
  ---
2
2
  name: MagicWB (Amiga)
3
+ line:
4
+ begin: ""
5
+ end: ""
3
6
  tags:
4
7
  - begin: <span class="Comment">
5
8
  end: </span>
@@ -85,6 +88,38 @@ tags:
85
88
  - begin: <span class="EmbeddedSource">
86
89
  end: </span>
87
90
  selector: text.html source
91
+ listing:
92
+ begin: <pre class="magicwb_amiga">
93
+ end: </pre>
94
+ document:
95
+ begin: |
96
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
97
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
98
+
99
+ <head>
100
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
101
+ <meta http-equiv="cache-control" content="no-cache" />
102
+ <meta http-equiv="expires" content="3600" />
103
+ <meta name="revisit-after" content="2 days" />
104
+ <meta name="robots" content="index,follow" />
105
+ <meta name="publisher" content="Dichodaemon" />
106
+ <meta name="copyright" content="Dichodaemon" />
107
+
108
+ <meta name="author" content="Dichodaemon" />
109
+ <meta name="distribution" content="global" />
110
+ <meta name="description" content="Ocatarinetabellachithchix" />
111
+ <meta name="keywords" content="arzaversperia flexilimosos toves" />
112
+ <link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/magicwb_amiga.css" />
113
+ <title>magicwb_amiga</title>
114
+
115
+ </head>
116
+
117
+ <body>
118
+
119
+ end: " <p>\n <a href=\"http://validator.w3.org/check?uri=referer\">\n <img style=\"border:0\"\n src=\"http://www.w3.org/Icons/valid-xhtml10\"\n alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" />\n </a>\n <a href=\"http://jigsaw.w3.org/css-validator/check?uri=referer\">\n <img style=\"border:0;width:88px;height:31px\"\n src=\"http://jigsaw.w3.org/css-validator/images/vcss\" \n alt=\"Valid CSS!\" />\n </a>\n </p>\n\
120
+ </body>\n\
121
+ </html>\n"
122
+ filter: CGI.escapeHTML( @escaped )
88
123
  line-numbers:
89
124
  begin: <span class="line-numbers">
90
125
  end: </span>
@@ -1,5 +1,8 @@
1
1
  ---
2
2
  name: Pastels on Dark
3
+ line:
4
+ begin: ""
5
+ end: ""
3
6
  tags:
4
7
  - begin: <span class="Comments">
5
8
  end: </span>
@@ -172,6 +175,38 @@ tags:
172
175
  - begin: <span class="CssUnits">
173
176
  end: </span>
174
177
  selector: keyword.other.unit.css
178
+ listing:
179
+ begin: <pre class="pastels_on_dark">
180
+ end: </pre>
181
+ document:
182
+ begin: |
183
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
184
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
185
+
186
+ <head>
187
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
188
+ <meta http-equiv="cache-control" content="no-cache" />
189
+ <meta http-equiv="expires" content="3600" />
190
+ <meta name="revisit-after" content="2 days" />
191
+ <meta name="robots" content="index,follow" />
192
+ <meta name="publisher" content="Dichodaemon" />
193
+ <meta name="copyright" content="Dichodaemon" />
194
+
195
+ <meta name="author" content="Dichodaemon" />
196
+ <meta name="distribution" content="global" />
197
+ <meta name="description" content="Ocatarinetabellachithchix" />
198
+ <meta name="keywords" content="arzaversperia flexilimosos toves" />
199
+ <link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/pastels_on_dark.css" />
200
+ <title>pastels_on_dark</title>
201
+
202
+ </head>
203
+
204
+ <body>
205
+
206
+ end: " <p>\n <a href=\"http://validator.w3.org/check?uri=referer\">\n <img style=\"border:0\"\n src=\"http://www.w3.org/Icons/valid-xhtml10\"\n alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" />\n </a>\n <a href=\"http://jigsaw.w3.org/css-validator/check?uri=referer\">\n <img style=\"border:0;width:88px;height:31px\"\n src=\"http://jigsaw.w3.org/css-validator/images/vcss\" \n alt=\"Valid CSS!\" />\n </a>\n </p>\n\
207
+ </body>\n\
208
+ </html>\n"
209
+ filter: CGI.escapeHTML( @escaped )
175
210
  line-numbers:
176
211
  begin: <span class="line-numbers">
177
212
  end: </span>
@@ -1,5 +1,8 @@
1
1
  ---
2
2
  name: Slush & Poppies
3
+ line:
4
+ begin: ""
5
+ end: ""
3
6
  tags:
4
7
  - begin: <span class="Comment">
5
8
  end: </span>
@@ -91,6 +94,38 @@ tags:
91
94
  - begin: <span class="Invalid">
92
95
  end: </span>
93
96
  selector: invalid
97
+ listing:
98
+ begin: <pre class="slush_poppies">
99
+ end: </pre>
100
+ document:
101
+ begin: |
102
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
103
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
104
+
105
+ <head>
106
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
107
+ <meta http-equiv="cache-control" content="no-cache" />
108
+ <meta http-equiv="expires" content="3600" />
109
+ <meta name="revisit-after" content="2 days" />
110
+ <meta name="robots" content="index,follow" />
111
+ <meta name="publisher" content="Dichodaemon" />
112
+ <meta name="copyright" content="Dichodaemon" />
113
+
114
+ <meta name="author" content="Dichodaemon" />
115
+ <meta name="distribution" content="global" />
116
+ <meta name="description" content="Ocatarinetabellachithchix" />
117
+ <meta name="keywords" content="arzaversperia flexilimosos toves" />
118
+ <link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/slush_poppies.css" />
119
+ <title>slush_poppies</title>
120
+
121
+ </head>
122
+
123
+ <body>
124
+
125
+ end: " <p>\n <a href=\"http://validator.w3.org/check?uri=referer\">\n <img style=\"border:0\"\n src=\"http://www.w3.org/Icons/valid-xhtml10\"\n alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" />\n </a>\n <a href=\"http://jigsaw.w3.org/css-validator/check?uri=referer\">\n <img style=\"border:0;width:88px;height:31px\"\n src=\"http://jigsaw.w3.org/css-validator/images/vcss\" \n alt=\"Valid CSS!\" />\n </a>\n </p>\n\
126
+ </body>\n\
127
+ </html>\n"
128
+ filter: CGI.escapeHTML( @escaped )
94
129
  line-numbers:
95
130
  begin: <span class="line-numbers">
96
131
  end: </span>
@@ -1,5 +1,8 @@
1
1
  ---
2
2
  name: SpaceCadet
3
+ line:
4
+ begin: ""
5
+ end: ""
3
6
  tags:
4
7
  - begin: <span class="Comment">
5
8
  end: </span>
@@ -49,6 +52,38 @@ tags:
49
52
  - begin: <span class="Invalid">
50
53
  end: </span>
51
54
  selector: invalid
55
+ listing:
56
+ begin: <pre class="spacecadet">
57
+ end: </pre>
58
+ document:
59
+ begin: |
60
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
61
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
62
+
63
+ <head>
64
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
65
+ <meta http-equiv="cache-control" content="no-cache" />
66
+ <meta http-equiv="expires" content="3600" />
67
+ <meta name="revisit-after" content="2 days" />
68
+ <meta name="robots" content="index,follow" />
69
+ <meta name="publisher" content="Dichodaemon" />
70
+ <meta name="copyright" content="Dichodaemon" />
71
+
72
+ <meta name="author" content="Dichodaemon" />
73
+ <meta name="distribution" content="global" />
74
+ <meta name="description" content="Ocatarinetabellachithchix" />
75
+ <meta name="keywords" content="arzaversperia flexilimosos toves" />
76
+ <link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/spacecadet.css" />
77
+ <title>spacecadet</title>
78
+
79
+ </head>
80
+
81
+ <body>
82
+
83
+ end: " <p>\n <a href=\"http://validator.w3.org/check?uri=referer\">\n <img style=\"border:0\"\n src=\"http://www.w3.org/Icons/valid-xhtml10\"\n alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" />\n </a>\n <a href=\"http://jigsaw.w3.org/css-validator/check?uri=referer\">\n <img style=\"border:0;width:88px;height:31px\"\n src=\"http://jigsaw.w3.org/css-validator/images/vcss\" \n alt=\"Valid CSS!\" />\n </a>\n </p>\n\
84
+ </body>\n\
85
+ </html>\n"
86
+ filter: CGI.escapeHTML( @escaped )
52
87
  line-numbers:
53
88
  begin: <span class="line-numbers">
54
89
  end: </span>
@@ -1,5 +1,8 @@
1
1
  ---
2
2
  name: Sunburst
3
+ line:
4
+ begin: ""
5
+ end: ""
3
6
  tags:
4
7
  - begin: <span class="Comment">
5
8
  end: </span>
@@ -154,6 +157,38 @@ tags:
154
157
  - begin: <span class="LogEntryError">
155
158
  end: </span>
156
159
  selector: meta.line.error.logfile
160
+ listing:
161
+ begin: <pre class="sunburst">
162
+ end: </pre>
163
+ document:
164
+ begin: |
165
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
166
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
167
+
168
+ <head>
169
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
170
+ <meta http-equiv="cache-control" content="no-cache" />
171
+ <meta http-equiv="expires" content="3600" />
172
+ <meta name="revisit-after" content="2 days" />
173
+ <meta name="robots" content="index,follow" />
174
+ <meta name="publisher" content="Dichodaemon" />
175
+ <meta name="copyright" content="Dichodaemon" />
176
+
177
+ <meta name="author" content="Dichodaemon" />
178
+ <meta name="distribution" content="global" />
179
+ <meta name="description" content="Ocatarinetabellachithchix" />
180
+ <meta name="keywords" content="arzaversperia flexilimosos toves" />
181
+ <link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/sunburst.css" />
182
+ <title>sunburst</title>
183
+
184
+ </head>
185
+
186
+ <body>
187
+
188
+ end: " <p>\n <a href=\"http://validator.w3.org/check?uri=referer\">\n <img style=\"border:0\"\n src=\"http://www.w3.org/Icons/valid-xhtml10\"\n alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" />\n </a>\n <a href=\"http://jigsaw.w3.org/css-validator/check?uri=referer\">\n <img style=\"border:0;width:88px;height:31px\"\n src=\"http://jigsaw.w3.org/css-validator/images/vcss\" \n alt=\"Valid CSS!\" />\n </a>\n </p>\n\
189
+ </body>\n\
190
+ </html>\n"
191
+ filter: CGI.escapeHTML( @escaped )
157
192
  line-numbers:
158
193
  begin: <span class="line-numbers">
159
194
  end: </span>
@@ -1,5 +1,8 @@
1
1
  ---
2
2
  name: Twilight
3
+ line:
4
+ begin: ""
5
+ end: ""
3
6
  tags:
4
7
  - begin: <span class="Comment">
5
8
  end: </span>
@@ -121,6 +124,38 @@ tags:
121
124
  - begin: <span class="MarkupHeading">
122
125
  end: </span>
123
126
  selector: markup.heading
127
+ listing:
128
+ begin: <pre class="twilight">
129
+ end: </pre>
130
+ document:
131
+ begin: |
132
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
133
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
134
+
135
+ <head>
136
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
137
+ <meta http-equiv="cache-control" content="no-cache" />
138
+ <meta http-equiv="expires" content="3600" />
139
+ <meta name="revisit-after" content="2 days" />
140
+ <meta name="robots" content="index,follow" />
141
+ <meta name="publisher" content="Dichodaemon" />
142
+ <meta name="copyright" content="Dichodaemon" />
143
+
144
+ <meta name="author" content="Dichodaemon" />
145
+ <meta name="distribution" content="global" />
146
+ <meta name="description" content="Ocatarinetabellachithchix" />
147
+ <meta name="keywords" content="arzaversperia flexilimosos toves" />
148
+ <link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/twilight.css" />
149
+ <title>twilight</title>
150
+
151
+ </head>
152
+
153
+ <body>
154
+
155
+ end: " <p>\n <a href=\"http://validator.w3.org/check?uri=referer\">\n <img style=\"border:0\"\n src=\"http://www.w3.org/Icons/valid-xhtml10\"\n alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" />\n </a>\n <a href=\"http://jigsaw.w3.org/css-validator/check?uri=referer\">\n <img style=\"border:0;width:88px;height:31px\"\n src=\"http://jigsaw.w3.org/css-validator/images/vcss\" \n alt=\"Valid CSS!\" />\n </a>\n </p>\n\
156
+ </body>\n\
157
+ </html>\n"
158
+ filter: CGI.escapeHTML( @escaped )
124
159
  line-numbers:
125
160
  begin: <span class="line-numbers">
126
161
  end: </span>
@@ -1,5 +1,8 @@
1
1
  ---
2
2
  name: Zenburnesque
3
+ line:
4
+ begin: ""
5
+ end: ""
3
6
  tags:
4
7
  - begin: <span class="Comment">
5
8
  end: </span>
@@ -94,6 +97,38 @@ tags:
94
97
  - begin: <span class="Invalid">
95
98
  end: </span>
96
99
  selector: invalid
100
+ listing:
101
+ begin: <pre class="zenburnesque">
102
+ end: </pre>
103
+ document:
104
+ begin: |
105
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
106
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
107
+
108
+ <head>
109
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
110
+ <meta http-equiv="cache-control" content="no-cache" />
111
+ <meta http-equiv="expires" content="3600" />
112
+ <meta name="revisit-after" content="2 days" />
113
+ <meta name="robots" content="index,follow" />
114
+ <meta name="publisher" content="Dichodaemon" />
115
+ <meta name="copyright" content="Dichodaemon" />
116
+
117
+ <meta name="author" content="Dichodaemon" />
118
+ <meta name="distribution" content="global" />
119
+ <meta name="description" content="Ocatarinetabellachithchix" />
120
+ <meta name="keywords" content="arzaversperia flexilimosos toves" />
121
+ <link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/zenburnesque.css" />
122
+ <title>zenburnesque</title>
123
+
124
+ </head>
125
+
126
+ <body>
127
+
128
+ end: " <p>\n <a href=\"http://validator.w3.org/check?uri=referer\">\n <img style=\"border:0\"\n src=\"http://www.w3.org/Icons/valid-xhtml10\"\n alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" />\n </a>\n <a href=\"http://jigsaw.w3.org/css-validator/check?uri=referer\">\n <img style=\"border:0;width:88px;height:31px\"\n src=\"http://jigsaw.w3.org/css-validator/images/vcss\" \n alt=\"Valid CSS!\" />\n </a>\n </p>\n\
129
+ </body>\n\
130
+ </html>\n"
131
+ filter: CGI.escapeHTML( @escaped )
97
132
  line-numbers:
98
133
  begin: <span class="line-numbers">
99
134
  end: </span>
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: ultraviolet
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.0
7
- date: 2007-05-12 00:00:00 +02:00
6
+ version: 0.10.0
7
+ date: 2007-05-15 00:00:00 +02:00
8
8
  summary: Syntax highlighting engine
9
9
  require_paths:
10
10
  - lib
@@ -30,7 +30,6 @@ authors:
30
30
  - Dizan Vasquez
31
31
  files:
32
32
  - render/old/txt2tags.render
33
- - render/xhtml
34
33
  - render/xhtml/active4d.render
35
34
  - render/xhtml/all_hallows_eve.render
36
35
  - render/xhtml/amy.render
@@ -75,6 +74,27 @@ files:
75
74
  - render/xhtml/files/css/sunburst.css
76
75
  - render/xhtml/files/css/twilight.css
77
76
  - render/xhtml/files/css/zenburnesque.css
77
+ - render/latex/amy.render
78
+ - render/latex/espresso_libre.render
79
+ - render/latex/eiffel.render
80
+ - render/latex/sunburst.render
81
+ - render/latex/idle.render
82
+ - render/latex/lazy.render
83
+ - render/latex/all_hallows_eve.render
84
+ - render/latex/blackboard.render
85
+ - render/latex/brilliance_dull.render
86
+ - render/latex/zenburnesque.render
87
+ - render/latex/magicwb_amiga.render
88
+ - render/latex/dawn.render
89
+ - render/latex/twilight.render
90
+ - render/latex/spacecadet.render
91
+ - render/latex/brilliance_black.render
92
+ - render/latex/mac_classic.render
93
+ - render/latex/active4d.render
94
+ - render/latex/slush_poppies.render
95
+ - render/latex/cobalt.render
96
+ - render/latex/iplastic.render
97
+ - render/latex/pastels_on_dark.render
78
98
  - test/test_uv.rb
79
99
  - lib/uv/html_processor.rb
80
100
  - lib/uv.rb
@@ -239,7 +259,8 @@ files:
239
259
  - syntax/languagedefinition.syntax
240
260
  - syntax/regular_expressions_oniguruma.syntax
241
261
  - syntax/subversion_commit_message.syntax
242
- - bin/theme2render
262
+ - bin/theme2xhtmlrender
263
+ - bin/theme2latexrender
243
264
  - bin/uv
244
265
  - History.txt
245
266
  - Rakefile
@@ -252,7 +273,8 @@ rdoc_options: []
252
273
  extra_rdoc_files: []
253
274
 
254
275
  executables:
255
- - theme2render
276
+ - theme2xhtmlrender
277
+ - theme2latexrender
256
278
  - uv
257
279
  extensions: []
258
280