hyperbolist-ultraviolet 0.10.202 → 0.10.203
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -4
- data/VERSION +1 -1
- data/render/latex/railscasts.render +117 -0
- data/render/xhtml/files/css/railscasts.css +96 -0
- data/render/xhtml/railscasts.render +125 -0
- metadata +5 -2
data/README.md
CHANGED
@@ -106,13 +106,16 @@ are handled for transparencies. Hand-editing the css is recommended.
|
|
106
106
|
|
107
107
|
## CREDITS:
|
108
108
|
|
109
|
-
* [Dizan Vasquez][7] is the original author of [
|
110
|
-
* [
|
109
|
+
* [Dizan Vasquez][7] is the original author of [Ultraviolet][8].
|
110
|
+
* [Guillaume Maury][9] brought the project to [github][10].
|
111
|
+
* [Eric Sherman][11] added themes and pushed a [gem][12].
|
111
112
|
|
112
113
|
[7]:http://dizanvasquez.net/
|
113
114
|
[8]:http://ultraviolet.rubyforge.org/index.xhtml
|
114
|
-
[9]:http://
|
115
|
-
[10]:http://
|
115
|
+
[9]:http://gom-jabbar.org/
|
116
|
+
[10]:http://github.com/giom/ultraviolet
|
117
|
+
[11]:http://github.com/hyperbolist
|
118
|
+
[12]:http://gemcutter.org/gems/hyperbolist-ultraviolet
|
116
119
|
|
117
120
|
## LICENSE:
|
118
121
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.203
|
@@ -0,0 +1,117 @@
|
|
1
|
+
---
|
2
|
+
name: Railscasts
|
3
|
+
line:
|
4
|
+
begin: ""
|
5
|
+
end: "}}\\\\"
|
6
|
+
filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
|
7
|
+
document:
|
8
|
+
begin: |
|
9
|
+
\documentclass[a4paper,landscape]{article}
|
10
|
+
\usepackage{xcolor}
|
11
|
+
\usepackage{colortbl}
|
12
|
+
\usepackage{longtable}
|
13
|
+
\usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
|
14
|
+
\usepackage[T1]{fontenc}
|
15
|
+
\usepackage[scaled]{beramono}
|
16
|
+
\begin{document}
|
17
|
+
|
18
|
+
end: |
|
19
|
+
\end{document}
|
20
|
+
|
21
|
+
tags:
|
22
|
+
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{282828}{\rule[-0.5ex]{0pt}{2.0ex}
|
23
|
+
end: "}"
|
24
|
+
selector: source
|
25
|
+
- begin: "{\\color[HTML]{BC9458}\\textit{"
|
26
|
+
end: "}}"
|
27
|
+
selector: comment
|
28
|
+
- begin: "{\\color[HTML]{CC7833}"
|
29
|
+
end: "}"
|
30
|
+
selector: keyword, storage
|
31
|
+
- begin: "{\\color[HTML]{FFC66D}"
|
32
|
+
end: "}"
|
33
|
+
selector: entity.name.function, keyword.other.name-of-parameter.objc
|
34
|
+
- begin: "{\\color[HTML]{FFFFFF}"
|
35
|
+
end: "}"
|
36
|
+
selector: entity.name
|
37
|
+
- begin: "{\\color[HTML]{A5C261}"
|
38
|
+
end: "}"
|
39
|
+
selector: constant.numeric
|
40
|
+
- begin: "{\\color[HTML]{D0D0FF}"
|
41
|
+
end: "}"
|
42
|
+
selector: variable.language, variable.other
|
43
|
+
- begin: "{\\color[HTML]{E6E1DC}"
|
44
|
+
end: "}"
|
45
|
+
selector: variable.other.block
|
46
|
+
- begin: "{\\color[HTML]{6D9CBE}"
|
47
|
+
end: "}"
|
48
|
+
selector: constant
|
49
|
+
- begin: "{\\color[HTML]{DA4939}"
|
50
|
+
end: "}"
|
51
|
+
selector: variable.other.constant
|
52
|
+
- begin: "{\\color[HTML]{6E9CBE}"
|
53
|
+
end: "}"
|
54
|
+
selector: constant.language
|
55
|
+
- begin: "{\\color[HTML]{A5C261}"
|
56
|
+
end: "}"
|
57
|
+
selector: string
|
58
|
+
- begin: "{\\color[HTML]{DA4939}"
|
59
|
+
end: "}"
|
60
|
+
selector: support.function
|
61
|
+
- begin: "{\\color[HTML]{6E9CBE}"
|
62
|
+
end: "}"
|
63
|
+
selector: support.type
|
64
|
+
- begin: "{\\color[HTML]{A5C261}"
|
65
|
+
end: "}"
|
66
|
+
selector: support.constant
|
67
|
+
- begin: "{\\color[HTML]{E8BF6A}"
|
68
|
+
end: "}"
|
69
|
+
selector: meta.tag, declaration.tag, entity.name.tag, entity.other.attribute-name
|
70
|
+
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{990000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
|
71
|
+
end: "}"
|
72
|
+
selector: invalid
|
73
|
+
- begin: "{\\color[HTML]{519F50}"
|
74
|
+
end: "}"
|
75
|
+
selector: constant.character.escaped, constant.character.escape, string source, string source.ruby
|
76
|
+
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{144212}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{E6E1DC}
|
77
|
+
end: "}"
|
78
|
+
selector: markup.inserted
|
79
|
+
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{660000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{E6E1DC}
|
80
|
+
end: "}"
|
81
|
+
selector: markup.deleted
|
82
|
+
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{2F33AB}{\rule[-0.5ex]{0pt}{2.0ex}
|
83
|
+
end: "}"
|
84
|
+
selector: meta.diff.header, meta.separator.diff, meta.diff.index, meta.diff.range
|
85
|
+
- begin: "{\\color[HTML]{E8BF6A}"
|
86
|
+
end: "}"
|
87
|
+
selector: todo.category.name
|
88
|
+
- begin: "{\\color[HTML]{FEFF00}"
|
89
|
+
end: "}"
|
90
|
+
selector: todo.task.urgent
|
91
|
+
- begin: "{\\color[HTML]{BC9458}"
|
92
|
+
end: "}"
|
93
|
+
selector: todo.category.extras
|
94
|
+
- begin: "{\\color[HTML]{807C79}"
|
95
|
+
end: "}"
|
96
|
+
selector: todo.task.dormant
|
97
|
+
- begin: "{\\color[HTML]{DA4939}"
|
98
|
+
end: "}"
|
99
|
+
selector: todo.task.complete
|
100
|
+
- begin: "{\\color[HTML]{82A7E2}"
|
101
|
+
end: "}"
|
102
|
+
selector: todo.task.question
|
103
|
+
- begin: "{\\color[HTML]{A5C261}"
|
104
|
+
end: "}"
|
105
|
+
selector: todo.task.large
|
106
|
+
listing:
|
107
|
+
begin: |
|
108
|
+
\newcolumntype{C}{>{\color[HTML]{E6E1DC}\columncolor[HTML]{323232}}l}
|
109
|
+
\newcolumntype{N}{>{\color[HTML]{FFFFFF}\columncolor[HTML]{5A647E}}l}
|
110
|
+
\begin{longtable}{NC}
|
111
|
+
|
112
|
+
end: |
|
113
|
+
\end{longtable}
|
114
|
+
|
115
|
+
line-numbers:
|
116
|
+
begin: \texttt{
|
117
|
+
end: "}&\\mbox{\\texttt{"
|
@@ -0,0 +1,96 @@
|
|
1
|
+
pre.railscasts .TodoTaskQuestion {
|
2
|
+
color: #82A7E2;
|
3
|
+
}
|
4
|
+
pre.railscasts .TodoCategoryName {
|
5
|
+
color: #E8BF6A;
|
6
|
+
}
|
7
|
+
pre.railscasts .String {
|
8
|
+
color: #A5C261;
|
9
|
+
}
|
10
|
+
pre.railscasts .Constant {
|
11
|
+
color: #6D9CBE;
|
12
|
+
}
|
13
|
+
pre.railscasts .Source {
|
14
|
+
background-color: #282828;
|
15
|
+
}
|
16
|
+
pre.railscasts .line-numbers {
|
17
|
+
background-color: #5A647E;
|
18
|
+
color: #FFFFFF;
|
19
|
+
}
|
20
|
+
pre.railscasts .TodoTaskDormant {
|
21
|
+
color: #807C79;
|
22
|
+
}
|
23
|
+
pre.railscasts .Variable {
|
24
|
+
color: #D0D0FF;
|
25
|
+
}
|
26
|
+
pre.railscasts .DiffHeader {
|
27
|
+
background-color: #2F33AB;
|
28
|
+
}
|
29
|
+
pre.railscasts .TodoCategoryExtras {
|
30
|
+
color: #BC9458;
|
31
|
+
}
|
32
|
+
pre.railscasts .DiffRemove {
|
33
|
+
background-color: #660000;
|
34
|
+
color: #E6E1DC;
|
35
|
+
}
|
36
|
+
pre.railscasts .DiffAdd {
|
37
|
+
background-color: #144212;
|
38
|
+
color: #E6E1DC;
|
39
|
+
}
|
40
|
+
pre.railscasts .BlockParameter {
|
41
|
+
color: #E6E1DC;
|
42
|
+
}
|
43
|
+
pre.railscasts .Number {
|
44
|
+
color: #A5C261;
|
45
|
+
}
|
46
|
+
pre.railscasts .StringInterpolation {
|
47
|
+
color: #519F50;
|
48
|
+
}
|
49
|
+
pre.railscasts .FunctionDefinition {
|
50
|
+
color: #FFC66D;
|
51
|
+
}
|
52
|
+
pre.railscasts .TodoTaskLarge {
|
53
|
+
color: #A5C261;
|
54
|
+
}
|
55
|
+
pre.railscasts .MarkupTag {
|
56
|
+
color: #E8BF6A;
|
57
|
+
}
|
58
|
+
pre.railscasts .LibraryConstant {
|
59
|
+
color: #A5C261;
|
60
|
+
}
|
61
|
+
pre.railscasts .ConstantOtherVariable {
|
62
|
+
color: #DA4939;
|
63
|
+
}
|
64
|
+
pre.railscasts .LibraryFunction {
|
65
|
+
color: #DA4939;
|
66
|
+
}
|
67
|
+
pre.railscasts .Keyword {
|
68
|
+
color: #CC7833;
|
69
|
+
}
|
70
|
+
pre.railscasts .ConstantBuiltIn {
|
71
|
+
color: #6E9CBE;
|
72
|
+
}
|
73
|
+
pre.railscasts {
|
74
|
+
background-color: #323232;
|
75
|
+
color: #E6E1DC;
|
76
|
+
}
|
77
|
+
pre.railscasts .TodoTaskComplete {
|
78
|
+
color: #DA4939;
|
79
|
+
}
|
80
|
+
pre.railscasts .Invalid {
|
81
|
+
background-color: #990000;
|
82
|
+
color: #FFFFFF;
|
83
|
+
}
|
84
|
+
pre.railscasts .LibraryType {
|
85
|
+
color: #6E9CBE;
|
86
|
+
}
|
87
|
+
pre.railscasts .ClassDefinition {
|
88
|
+
color: #FFFFFF;
|
89
|
+
}
|
90
|
+
pre.railscasts .TodoUrgent {
|
91
|
+
color: #FEFF00;
|
92
|
+
}
|
93
|
+
pre.railscasts .Comment {
|
94
|
+
color: #BC9458;
|
95
|
+
font-style: italic;
|
96
|
+
}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
---
|
2
|
+
name: Railscasts
|
3
|
+
line:
|
4
|
+
begin: ""
|
5
|
+
end: ""
|
6
|
+
filter: CGI.escapeHTML( @escaped )
|
7
|
+
document:
|
8
|
+
begin: |
|
9
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
10
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
11
|
+
|
12
|
+
<head>
|
13
|
+
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
14
|
+
<meta http-equiv="cache-control" content="no-cache" />
|
15
|
+
<meta http-equiv="expires" content="3600" />
|
16
|
+
<meta name="revisit-after" content="2 days" />
|
17
|
+
<meta name="robots" content="index,follow" />
|
18
|
+
<meta name="publisher" content="Dichodaemon" />
|
19
|
+
<meta name="copyright" content="Dichodaemon" />
|
20
|
+
|
21
|
+
<meta name="author" content="Dichodaemon" />
|
22
|
+
<meta name="distribution" content="global" />
|
23
|
+
<meta name="description" content="Ocatarinetabellachithchix" />
|
24
|
+
<meta name="keywords" content="arzaversperia flexilimosos toves" />
|
25
|
+
<link rel="stylesheet" type="text/css" media="screen,projection,print" href="css/railscasts.css" />
|
26
|
+
<title>railscasts</title>
|
27
|
+
|
28
|
+
</head>
|
29
|
+
|
30
|
+
<body>
|
31
|
+
|
32
|
+
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\
|
33
|
+
</body>\n\
|
34
|
+
</html>\n"
|
35
|
+
tags:
|
36
|
+
- begin: <span class="Source">
|
37
|
+
end: </span>
|
38
|
+
selector: source
|
39
|
+
- begin: <span class="Comment">
|
40
|
+
end: </span>
|
41
|
+
selector: comment
|
42
|
+
- begin: <span class="Keyword">
|
43
|
+
end: </span>
|
44
|
+
selector: keyword, storage
|
45
|
+
- begin: <span class="FunctionDefinition">
|
46
|
+
end: </span>
|
47
|
+
selector: entity.name.function, keyword.other.name-of-parameter.objc
|
48
|
+
- begin: <span class="ClassDefinition">
|
49
|
+
end: </span>
|
50
|
+
selector: entity.name
|
51
|
+
- begin: <span class="Number">
|
52
|
+
end: </span>
|
53
|
+
selector: constant.numeric
|
54
|
+
- begin: <span class="Variable">
|
55
|
+
end: </span>
|
56
|
+
selector: variable.language, variable.other
|
57
|
+
- begin: <span class="BlockParameter">
|
58
|
+
end: </span>
|
59
|
+
selector: variable.other.block
|
60
|
+
- begin: <span class="Constant">
|
61
|
+
end: </span>
|
62
|
+
selector: constant
|
63
|
+
- begin: <span class="ConstantOtherVariable">
|
64
|
+
end: </span>
|
65
|
+
selector: variable.other.constant
|
66
|
+
- begin: <span class="ConstantBuiltIn">
|
67
|
+
end: </span>
|
68
|
+
selector: constant.language
|
69
|
+
- begin: <span class="String">
|
70
|
+
end: </span>
|
71
|
+
selector: string
|
72
|
+
- begin: <span class="LibraryFunction">
|
73
|
+
end: </span>
|
74
|
+
selector: support.function
|
75
|
+
- begin: <span class="LibraryType">
|
76
|
+
end: </span>
|
77
|
+
selector: support.type
|
78
|
+
- begin: <span class="LibraryConstant">
|
79
|
+
end: </span>
|
80
|
+
selector: support.constant
|
81
|
+
- begin: <span class="MarkupTag">
|
82
|
+
end: </span>
|
83
|
+
selector: meta.tag, declaration.tag, entity.name.tag, entity.other.attribute-name
|
84
|
+
- begin: <span class="Invalid">
|
85
|
+
end: </span>
|
86
|
+
selector: invalid
|
87
|
+
- begin: <span class="StringInterpolation">
|
88
|
+
end: </span>
|
89
|
+
selector: constant.character.escaped, constant.character.escape, string source, string source.ruby
|
90
|
+
- begin: <span class="DiffAdd">
|
91
|
+
end: </span>
|
92
|
+
selector: markup.inserted
|
93
|
+
- begin: <span class="DiffRemove">
|
94
|
+
end: </span>
|
95
|
+
selector: markup.deleted
|
96
|
+
- begin: <span class="DiffHeader">
|
97
|
+
end: </span>
|
98
|
+
selector: meta.diff.header, meta.separator.diff, meta.diff.index, meta.diff.range
|
99
|
+
- begin: <span class="TodoCategoryName">
|
100
|
+
end: </span>
|
101
|
+
selector: todo.category.name
|
102
|
+
- begin: <span class="TodoUrgent">
|
103
|
+
end: </span>
|
104
|
+
selector: todo.task.urgent
|
105
|
+
- begin: <span class="TodoCategoryExtras">
|
106
|
+
end: </span>
|
107
|
+
selector: todo.category.extras
|
108
|
+
- begin: <span class="TodoTaskDormant">
|
109
|
+
end: </span>
|
110
|
+
selector: todo.task.dormant
|
111
|
+
- begin: <span class="TodoTaskComplete">
|
112
|
+
end: </span>
|
113
|
+
selector: todo.task.complete
|
114
|
+
- begin: <span class="TodoTaskQuestion">
|
115
|
+
end: </span>
|
116
|
+
selector: todo.task.question
|
117
|
+
- begin: <span class="TodoTaskLarge">
|
118
|
+
end: </span>
|
119
|
+
selector: todo.task.large
|
120
|
+
listing:
|
121
|
+
begin: <pre class="railscasts">
|
122
|
+
end: </pre>
|
123
|
+
line-numbers:
|
124
|
+
begin: <span class="line-numbers">
|
125
|
+
end: </span>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyperbolist-ultraviolet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.203
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Sherman
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-11 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- render/latex/overcast.render
|
112
112
|
- render/latex/pastels_on_dark.render
|
113
113
|
- render/latex/plasticcodewrap.render
|
114
|
+
- render/latex/railscasts.render
|
114
115
|
- render/latex/rubyblue.render
|
115
116
|
- render/latex/sin_city_2.render
|
116
117
|
- render/latex/slush_poppies.render
|
@@ -218,6 +219,7 @@ files:
|
|
218
219
|
- render/xhtml/files/css/overcast.css
|
219
220
|
- render/xhtml/files/css/pastels_on_dark.css
|
220
221
|
- render/xhtml/files/css/plasticcodewrap.css
|
222
|
+
- render/xhtml/files/css/railscasts.css
|
221
223
|
- render/xhtml/files/css/rubyblue.css
|
222
224
|
- render/xhtml/files/css/sin_city_2.css
|
223
225
|
- render/xhtml/files/css/slush_poppies.css
|
@@ -266,6 +268,7 @@ files:
|
|
266
268
|
- render/xhtml/overcast.render
|
267
269
|
- render/xhtml/pastels_on_dark.render
|
268
270
|
- render/xhtml/plasticcodewrap.render
|
271
|
+
- render/xhtml/railscasts.render
|
269
272
|
- render/xhtml/rubyblue.render
|
270
273
|
- render/xhtml/sin_city_2.render
|
271
274
|
- render/xhtml/slush_poppies.render
|