orgmode-cli-tools 0.1.0

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 (40) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +29 -0
  4. data/README.MD +67 -0
  5. data/Rakefile +7 -0
  6. data/bin/org2html +66 -0
  7. data/bin/org2revealjs +116 -0
  8. data/lib/orgmode_cli_tools.rb +6 -0
  9. data/orgmode-cli-tools.gemspec +26 -0
  10. data/pkg/orgmode-cli-tools-0.0.1.gem +0 -0
  11. data/pkg/orgmode-cli-tools-0.1.0.gem +0 -0
  12. data/templates/reveal_js_template/css/FMtZSYIYoYw.ttf +0 -0
  13. data/templates/reveal_js_template/css/LqowQDslGv4DmUBAfWa2Vw.ttf +0 -0
  14. data/templates/reveal_js_template/css/cDxXwCLxiixG1c.ttf +0 -0
  15. data/templates/reveal_js_template/css/google-fonts.css +24 -0
  16. data/templates/reveal_js_template/css/main.css +909 -0
  17. data/templates/reveal_js_template/css/print/paper.css +170 -0
  18. data/templates/reveal_js_template/css/print/pdf.css +158 -0
  19. data/templates/reveal_js_template/css/theme/beige.css +179 -0
  20. data/templates/reveal_js_template/css/theme/default.css +169 -0
  21. data/templates/reveal_js_template/css/theme/simple.css +164 -0
  22. data/templates/reveal_js_template/css/v0SdcGFAl2aezM9Vq_aFTQ.ttf +0 -0
  23. data/templates/reveal_js_template/images/gitorious-org.png +0 -0
  24. data/templates/reveal_js_template/index.html +231 -0
  25. data/templates/reveal_js_template/js/reveal.js +1131 -0
  26. data/templates/reveal_js_template/js/reveal.min.js +70 -0
  27. data/templates/reveal_js_template/lib/css/zenburn.css +115 -0
  28. data/templates/reveal_js_template/lib/font/league_gothic-webfont.eot +0 -0
  29. data/templates/reveal_js_template/lib/font/league_gothic-webfont.svg +230 -0
  30. data/templates/reveal_js_template/lib/font/league_gothic-webfont.ttf +0 -0
  31. data/templates/reveal_js_template/lib/font/league_gothic-webfont.woff +0 -0
  32. data/templates/reveal_js_template/lib/font/league_gothic_license +2 -0
  33. data/templates/reveal_js_template/lib/js/classList.js +2 -0
  34. data/templates/reveal_js_template/lib/js/data-markdown.js +27 -0
  35. data/templates/reveal_js_template/lib/js/head.min.js +8 -0
  36. data/templates/reveal_js_template/lib/js/highlight.js +5 -0
  37. data/templates/reveal_js_template/lib/js/html5shiv.js +7 -0
  38. data/templates/reveal_js_template/lib/js/showdown.js +1341 -0
  39. data/templates/reveal_js_template/package.json +20 -0
  40. metadata +150 -0
@@ -0,0 +1,170 @@
1
+ /* Default Print Stylesheet Template
2
+ by Rob Glazebrook of CSSnewbie.com
3
+ Last Updated: June 4, 2008
4
+
5
+ Feel free (nay, compelled) to edit, append, and
6
+ manipulate this file as you see fit. */
7
+
8
+
9
+ /* SECTION 1: Set default width, margin, float, and
10
+ background. This prevents elements from extending
11
+ beyond the edge of the printed page, and prevents
12
+ unnecessary background images from printing */
13
+ body {
14
+ background: #fff;
15
+ font-size: 13pt;
16
+ width: auto;
17
+ height: auto;
18
+ border: 0;
19
+ margin: 0 5%;
20
+ padding: 0;
21
+ float: none !important;
22
+ overflow: visible;
23
+ }
24
+ html {
25
+ background: #fff;
26
+ width: auto;
27
+ height: auto;
28
+ overflow: visible;
29
+ }
30
+
31
+ /* SECTION 2: Remove any elements not needed in print.
32
+ This would include navigation, ads, sidebars, etc. */
33
+ .nestedarrow,
34
+ .controls a,
35
+ .reveal .progress,
36
+ .reveal.overview,
37
+ .fork-reveal,
38
+ .share-reveal,
39
+ .state-background {
40
+ display:none;
41
+ }
42
+
43
+ /* SECTION 3: Set body font face, size, and color.
44
+ Consider using a serif font for readability. */
45
+ body, p, td, li, div, a {
46
+ font-size: 13pt;
47
+ font-family: Georgia, "Times New Roman", Times, serif !important;
48
+ color: #000;
49
+ }
50
+
51
+ /* SECTION 4: Set heading font face, sizes, and color.
52
+ Diffrentiate your headings from your body text.
53
+ Perhaps use a large sans-serif for distinction. */
54
+ h1,h2,h3,h4,h5,h6 {
55
+ color: #000!important;
56
+ height: auto;
57
+ line-height: normal;
58
+ font-family: Georgia, "Times New Roman", Times, serif !important;
59
+ text-shadow: 0 0 0 #000 !important;
60
+ text-align: left;
61
+ letter-spacing: normal;
62
+ }
63
+ /* Need to reduce the size of the fonts for printing */
64
+ h1 { font-size: 26pt !important; }
65
+ h2 { font-size: 22pt !important; }
66
+ h3 { font-size: 20pt !important; }
67
+ h4 { font-size: 20pt !important; font-variant: small-caps; }
68
+ h5 { font-size: 19pt !important; }
69
+ h6 { font-size: 18pt !important; font-style: italic; }
70
+
71
+ /* SECTION 5: Make hyperlinks more usable.
72
+ Ensure links are underlined, and consider appending
73
+ the URL to the end of the link for usability. */
74
+ a:link,
75
+ a:visited {
76
+ color: #000 !important;
77
+ font-weight: bold;
78
+ text-decoration: underline;
79
+ }
80
+ .reveal a:link:after,
81
+ .reveal a:visited:after {
82
+ content: " (" attr(href) ") ";
83
+ color: #222 !important;
84
+ font-size: 90%;
85
+ }
86
+
87
+
88
+ /* SECTION 6: more reveal.js specific additions by @skypanther */
89
+ ul, ol, div, p {
90
+ visibility: visible;
91
+ position: static;
92
+ width: auto;
93
+ height: auto;
94
+ display: block;
95
+ overflow: visible;
96
+ margin: auto;
97
+ text-align: left !important;
98
+ }
99
+ .reveal .slides {
100
+ position: static;
101
+ width: auto;
102
+ height: auto;
103
+
104
+ left: auto;
105
+ top: auto;
106
+ margin-left: auto;
107
+ margin-top: auto;
108
+ padding: auto;
109
+
110
+ overflow: visible;
111
+ display: block;
112
+
113
+ text-align: center;
114
+ -webkit-perspective: none;
115
+ -moz-perspective: none;
116
+ -ms-perspective: none;
117
+ perspective: none;
118
+
119
+ -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
120
+ -moz-perspective-origin: 50% 50%;
121
+ -ms-perspective-origin: 50% 50%;
122
+ perspective-origin: 50% 50%;
123
+ }
124
+ .reveal .slides>section, .reveal .slides>section>section,
125
+ .reveal .slides>section.past, .reveal .slides>section.future,
126
+ .reveal.linear .slides>section, .reveal.linear .slides>section>section,
127
+ .reveal.linear .slides>section.past, .reveal.linear .slides>section.future {
128
+
129
+ visibility: visible;
130
+ position: static;
131
+ width: 90%;
132
+ height: auto;
133
+ display: block;
134
+ overflow: visible;
135
+
136
+ left: 0%;
137
+ top: 0%;
138
+ margin-left: 0px;
139
+ margin-top: 0px;
140
+ padding: 20px 0px;
141
+
142
+ opacity: 1;
143
+
144
+ -webkit-transform-style: flat;
145
+ -moz-transform-style: flat;
146
+ -ms-transform-style: flat;
147
+ transform-style: flat;
148
+
149
+ -webkit-transform: none;
150
+ -moz-transform: none;
151
+ -ms-transform: none;
152
+ transform: none;
153
+ }
154
+ .reveal section {
155
+ page-break-after: always !important;
156
+ display: block !important;
157
+ }
158
+ .reveal section.stack {
159
+ page-break-after: avoid !important;
160
+ }
161
+ .reveal section .fragment {
162
+ opacity: 1 !important;
163
+ }
164
+ .reveal section img {
165
+ display: block;
166
+ margin: 15px 0px;
167
+ background: rgba(255,255,255,1);
168
+ border: 1px solid #666;
169
+ box-shadow: none;
170
+ }
@@ -0,0 +1,158 @@
1
+ /* Default Print Stylesheet Template
2
+ by Rob Glazebrook of CSSnewbie.com
3
+ Last Updated: June 4, 2008
4
+
5
+ Feel free (nay, compelled) to edit, append, and
6
+ manipulate this file as you see fit. */
7
+
8
+
9
+ /* SECTION 1: Set default width, margin, float, and
10
+ background. This prevents elements from extending
11
+ beyond the edge of the printed page, and prevents
12
+ unnecessary background images from printing */
13
+ * {
14
+ -webkit-print-color-adjust: exact;
15
+ }
16
+
17
+ body {
18
+ font-size: 22pt;
19
+ width: auto;
20
+ height: auto;
21
+ border: 0;
22
+ margin: 0 5%;
23
+ padding: 0;
24
+ float: none !important;
25
+ overflow: visible;
26
+ background: #333;
27
+ }
28
+
29
+ html {
30
+ width: auto;
31
+ height: auto;
32
+ overflow: visible;
33
+ }
34
+
35
+ /* SECTION 2: Remove any elements not needed in print.
36
+ This would include navigation, ads, sidebars, etc. */
37
+ .nestedarrow,
38
+ .controls a,
39
+ .reveal .progress,
40
+ .reveal.overview,
41
+ .fork-reveal,
42
+ .share-reveal,
43
+ .state-background {
44
+ display:none;
45
+ }
46
+
47
+ /* SECTION 3: Set body font face, size, and color.
48
+ Consider using a serif font for readability. */
49
+ body, p, td, li, div, a {
50
+ font-size: 22pt;
51
+ }
52
+
53
+ /* SECTION 4: Set heading font face, sizes, and color.
54
+ Diffrentiate your headings from your body text.
55
+ Perhaps use a large sans-serif for distinction. */
56
+ h1,h2,h3,h4,h5,h6 {
57
+ text-shadow: 0 0 0 #000 !important;
58
+ }
59
+
60
+ /* SECTION 5: Make hyperlinks more usable.
61
+ Ensure links are underlined, and consider appending
62
+ the URL to the end of the link for usability. */
63
+ a:link,
64
+ a:visited {
65
+ font-weight: bold;
66
+ text-decoration: underline;
67
+ }
68
+
69
+
70
+ /* SECTION 6: more reveal.js specific additions by @skypanther */
71
+ ul, ol, div, p {
72
+ visibility: visible;
73
+ position: static;
74
+ width: auto;
75
+ height: auto;
76
+ display: block;
77
+ overflow: visible;
78
+ margin: auto;
79
+ }
80
+ .reveal .slides {
81
+ position: static;
82
+ width: 100%;
83
+ height: auto;
84
+
85
+ left: auto;
86
+ top: auto;
87
+ margin-left: auto;
88
+ margin-top: auto;
89
+ padding: auto;
90
+
91
+ overflow: visible;
92
+ display: block;
93
+
94
+ text-align: center;
95
+ -webkit-perspective: none;
96
+ -moz-perspective: none;
97
+ -ms-perspective: none;
98
+ perspective: none;
99
+
100
+ -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
101
+ -moz-perspective-origin: 50% 50%;
102
+ -ms-perspective-origin: 50% 50%;
103
+ perspective-origin: 50% 50%;
104
+ }
105
+ .reveal .slides>section, .reveal .slides>section>section,
106
+ .reveal .slides>section.past, .reveal .slides>section.future,
107
+ .reveal.linear .slides>section, .reveal.linear .slides>section>section,
108
+ .reveal.linear .slides>section.past, .reveal.linear .slides>section.future {
109
+
110
+ visibility: visible;
111
+ position: static;
112
+ width: 100%;
113
+ height: auto;
114
+ min-height: initial;
115
+ display: block;
116
+ overflow: visible;
117
+
118
+ left: 0%;
119
+ top: 0%;
120
+ margin-left: 0px;
121
+ margin-top: 50px;
122
+ padding: 20px 0px;
123
+
124
+ opacity: 1;
125
+
126
+ -webkit-transform-style: flat;
127
+ -moz-transform-style: flat;
128
+ -ms-transform-style: flat;
129
+ transform-style: flat;
130
+
131
+ -webkit-transform: none;
132
+ -moz-transform: none;
133
+ -ms-transform: none;
134
+ transform: none;
135
+ }
136
+ .reveal section {
137
+ page-break-after: always !important;
138
+ display: block !important;
139
+ }
140
+ .reveal section.stack {
141
+ margin: 0px !important;
142
+ padding: 0px !important;
143
+ page-break-after: avoid !important;
144
+ }
145
+ .reveal section .fragment {
146
+ opacity: 1 !important;
147
+ }
148
+ .reveal img {
149
+ box-shadow: none;
150
+ }
151
+ .reveal .roll {
152
+ overflow: visible;
153
+ line-height: 1em;
154
+ }
155
+
156
+ .reveal small a {
157
+ font-size: 16pt !important;
158
+ }
@@ -0,0 +1,179 @@
1
+ /**
2
+ * A beige theme for reveal.js presentations, similar
3
+ * to the default theme.
4
+ *
5
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
6
+ */
7
+
8
+ /*********************************************
9
+ * FONT-FACE DEFINITIONS
10
+ *********************************************/
11
+
12
+ @font-face {
13
+ font-family: 'League Gothic';
14
+ src: url('../../lib/font/league_gothic-webfont.eot');
15
+ src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
16
+ url('../../lib/font/league_gothic-webfont.woff') format('woff'),
17
+ url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
18
+ url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
19
+
20
+ font-weight: normal;
21
+ font-style: normal;
22
+ }
23
+
24
+
25
+ /*********************************************
26
+ * GLOBAL STYLES
27
+ *********************************************/
28
+
29
+ body {
30
+ font-family: 'Lato', Times, 'Times New Roman', serif;
31
+ font-size: 36px;
32
+ font-weight: 200;
33
+ letter-spacing: -0.02em;
34
+ color: #333;
35
+
36
+ background: #f7f3de;
37
+ background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(247,242,211,1) 100%);
38
+ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(247,242,211,1)));
39
+ background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
40
+ background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
41
+ background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
42
+ background: radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(247,242,211,1) 100%);
43
+ }
44
+
45
+ ::-moz-selection {
46
+ background:rgba(79, 64, 28, 0.99);
47
+ color: white;
48
+ }
49
+ ::-webkit-selection {
50
+ background:rgba(79, 64, 28, 0.99);
51
+ color: white;
52
+ }
53
+ ::selection {
54
+ background:rgba(79, 64, 28, 0.99);
55
+ color: white;
56
+ }
57
+
58
+
59
+ /*********************************************
60
+ * HEADERS
61
+ *********************************************/
62
+
63
+ .reveal h1,
64
+ .reveal h2,
65
+ .reveal h3,
66
+ .reveal h4,
67
+ .reveal h5,
68
+ .reveal h6 {
69
+ margin: 0 0 20px 0;
70
+ color: #333;
71
+ font-family: 'League Gothic', Impact, sans-serif;
72
+ line-height: 0.9em;
73
+ letter-spacing: 0.02em;
74
+
75
+ text-transform: uppercase;
76
+ }
77
+
78
+ .reveal h1 {
79
+ text-shadow: 0 1px 0 #ccc,
80
+ 0 2px 0 #c9c9c9,
81
+ 0 3px 0 #bbb,
82
+ 0 4px 0 #b9b9b9,
83
+ 0 5px 0 #aaa,
84
+ 0 6px 1px rgba(0,0,0,.1),
85
+ 0 0 5px rgba(0,0,0,.1),
86
+ 0 1px 3px rgba(0,0,0,.3),
87
+ 0 3px 5px rgba(0,0,0,.2),
88
+ 0 5px 10px rgba(0,0,0,.25),
89
+ 0 20px 20px rgba(0,0,0,.15);
90
+ }
91
+
92
+
93
+ /*********************************************
94
+ * LINKS
95
+ *********************************************/
96
+
97
+ .reveal a:not(.image) {
98
+ color: #8b743d;
99
+ text-decoration: none;
100
+
101
+ -webkit-transition: color .15s ease;
102
+ -moz-transition: color .15s ease;
103
+ -ms-transition: color .15s ease;
104
+ -o-transition: color .15s ease;
105
+ transition: color .15s ease;
106
+ }
107
+ .reveal a:not(.image):hover {
108
+ text-shadow: none;
109
+ border: none;
110
+ border-radius: 2px;
111
+ }
112
+
113
+ .reveal .roll span:after {
114
+ color: #fff;
115
+ background: #8b743d;
116
+ }
117
+
118
+
119
+ /*********************************************
120
+ * IMAGES
121
+ *********************************************/
122
+
123
+ .reveal section img {
124
+ margin: 30px 0 0 0;
125
+ background: rgba(255,255,255,0.12);
126
+ border: 4px solid #eee;
127
+
128
+ -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
129
+ -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
130
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
131
+
132
+ -webkit-transition: all .2s linear;
133
+ -moz-transition: all .2s linear;
134
+ -ms-transition: all .2s linear;
135
+ -o-transition: all .2s linear;
136
+ transition: all .2s linear;
137
+ }
138
+
139
+ .reveal a:hover img {
140
+ background: rgba(255,255,255,0.2);
141
+ border-color: #8b743d;
142
+
143
+ -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
144
+ -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
145
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
146
+ }
147
+
148
+
149
+ /*********************************************
150
+ * NAVIGATION CONTROLS
151
+ *********************************************/
152
+
153
+ .reveal .controls a {
154
+ color: #fff;
155
+ }
156
+ .reveal .controls a.enabled {
157
+ color: #8b743d;
158
+ text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
159
+ }
160
+
161
+
162
+ /*********************************************
163
+ * PROGRESS BAR
164
+ *********************************************/
165
+
166
+ .reveal .progress {
167
+ background: rgba(0,0,0,0.2);
168
+ }
169
+ .reveal .progress span {
170
+ background: #8b743d;
171
+
172
+ -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
173
+ -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
174
+ -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
175
+ -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
176
+ transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
177
+ }
178
+
179
+