glyph 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. data/Rakefile +19 -40
  2. data/benchmark.rb +1 -2
  3. data/book/config.yml +8 -8
  4. data/book/document.glyph +18 -19
  5. data/book/images/glyph/commands_tasks.png +0 -0
  6. data/book/lib/layouts/bookindex.glyph +113 -111
  7. data/book/lib/layouts/bookpage.glyph +112 -108
  8. data/book/lib/macros/reference.rb +2 -2
  9. data/book/lib/tasks/tasks.rake +1 -1
  10. data/book/text/acknowledgements.glyph +1 -0
  11. data/book/text/changelog.glyph +140 -112
  12. data/book/text/compiling/compiling.glyph +36 -24
  13. data/book/text/compiling/lite_mode.glyph +11 -11
  14. data/book/text/compiling/programmatic_usage.glyph +57 -57
  15. data/book/text/config/document.glyph +7 -1
  16. data/book/text/config/options.glyph +5 -3
  17. data/book/text/config/output.glyph +41 -8
  18. data/book/text/extending/bookmarks_headers.glyph +13 -11
  19. data/book/text/extending/command.glyph +1 -1
  20. data/book/text/extending/commands_tasks.glyph +2 -2
  21. data/book/text/extending/internals.glyph +29 -29
  22. data/book/text/extending/interpreting.glyph +48 -9
  23. data/book/text/extending/macro_def.glyph +80 -32
  24. data/book/text/extending/output_format.glyph +2 -2
  25. data/book/text/extending/placeholders.glyph +27 -15
  26. data/book/text/extending/validators.glyph +1 -1
  27. data/book/text/getting_started/configuration.glyph +1 -1
  28. data/book/text/getting_started/create_project.glyph +4 -5
  29. data/book/text/getting_started/structure.glyph +2 -2
  30. data/book/text/macros/macros_core.glyph +341 -199
  31. data/book/text/macros/macros_filters.glyph +1 -1
  32. data/book/text/macros/macros_inline.glyph +3 -3
  33. data/book/text/macros/macros_structure.glyph +1 -1
  34. data/book/text/ref_commands.glyph +98 -93
  35. data/book/text/snippets.glyph +18 -0
  36. data/book/text/stats/bookmarks.glyph +16 -16
  37. data/book/text/stats/links.glyph +23 -23
  38. data/book/text/stats/macros.glyph +14 -14
  39. data/book/text/stats/snippets.glyph +26 -26
  40. data/book/text/stats/stats.glyph +14 -15
  41. data/book/text/text_editing/attribute_intro.glyph +8 -8
  42. data/book/text/text_editing/code.glyph +16 -16
  43. data/book/text/text_editing/conditionals.glyph +12 -13
  44. data/book/text/text_editing/esc_quot.glyph +3 -3
  45. data/book/text/text_editing/evaluation.glyph +57 -3
  46. data/book/text/text_editing/inclusions.glyph +34 -25
  47. data/book/text/text_editing/macro_composition.glyph +28 -0
  48. data/book/text/text_editing/macro_intro.glyph +4 -4
  49. data/book/text/text_editing/section_aliases.glyph +23 -23
  50. data/book/text/text_editing/sections.glyph +22 -22
  51. data/book/text/text_editing/stylesheets.glyph +33 -33
  52. data/book/text/text_editing/topics.glyph +6 -6
  53. data/book/text/text_editing/xml_fallback.glyph +1 -1
  54. data/book/text/troubleshooting/errors_command.glyph +4 -4
  55. data/book/text/troubleshooting/errors_generic.glyph +16 -10
  56. data/book/text/troubleshooting/errors_macro.glyph +18 -21
  57. data/book/text/troubleshooting/errors_parser.glyph +7 -7
  58. data/config.yml +51 -29
  59. data/document.glyph +18 -18
  60. data/glyph.gemspec +39 -287
  61. data/layouts/web5/topic.glyph +1 -1
  62. data/lib/glyph.rb +42 -10
  63. data/lib/glyph/analyzer.rb +5 -2
  64. data/lib/glyph/bookmark.rb +3 -1
  65. data/lib/glyph/commands.rb +11 -9
  66. data/lib/glyph/commands/add.rb +3 -1
  67. data/lib/glyph/commands/compile.rb +10 -7
  68. data/lib/glyph/commands/config.rb +7 -5
  69. data/lib/glyph/commands/init.rb +2 -0
  70. data/lib/glyph/commands/outline.rb +2 -0
  71. data/lib/glyph/commands/stats.rb +3 -0
  72. data/lib/glyph/commands/todo.rb +2 -0
  73. data/lib/glyph/config.rb +2 -0
  74. data/lib/glyph/document.rb +34 -9
  75. data/lib/glyph/interpreter.rb +2 -0
  76. data/lib/glyph/macro.rb +97 -25
  77. data/lib/glyph/macro_validators.rb +9 -6
  78. data/lib/glyph/node.rb +3 -1
  79. data/lib/glyph/parser.rb +68 -33
  80. data/lib/glyph/reporter.rb +3 -1
  81. data/lib/glyph/syntax_node.rb +23 -28
  82. data/lib/glyph/system_extensions.rb +21 -0
  83. data/lib/glyph/utils.rb +24 -4
  84. data/macros/block.rb +111 -0
  85. data/macros/core.rb +163 -33
  86. data/macros/filters.rb +3 -2
  87. data/macros/inline.rb +97 -0
  88. data/macros/reps/html.rb +180 -0
  89. data/macros/reps/html5.rb +100 -0
  90. data/macros/reps/web.rb +4 -0
  91. data/macros/reps/web5.rb +4 -0
  92. data/macros/structure.rb +229 -0
  93. data/macros/xml.rb +29 -24
  94. data/spec/config.yml +7 -0
  95. data/spec/files/article.glyph +2 -2
  96. data/spec/files/web_doc.glyph +9 -5
  97. data/spec/lib/commands_spec.rb +13 -9
  98. data/spec/lib/config_spec.rb +2 -2
  99. data/spec/lib/document_spec.rb +10 -0
  100. data/spec/lib/glyph_spec.rb +30 -8
  101. data/spec/lib/macro_spec.rb +39 -4
  102. data/spec/lib/macro_validators_spec.rb +3 -4
  103. data/spec/lib/parser_spec.rb +7 -0
  104. data/spec/lib/reporter_spec.rb +1 -0
  105. data/spec/lib/syntax_node_spec.rb +40 -6
  106. data/spec/macros/core_spec.rb +154 -21
  107. data/spec/macros/filters_spec.rb +1 -1
  108. data/spec/macros/html5_spec.rb +4 -5
  109. data/spec/macros/macros_spec.rb +6 -7
  110. data/spec/macros/web5_spec.rb +3 -3
  111. data/spec/macros/web_spec.rb +10 -7
  112. data/spec/macros/xml_spec.rb +11 -2
  113. data/spec/spec_helper.rb +11 -5
  114. data/spec/tasks/generate_spec.rb +40 -5
  115. data/spec/tasks/load_spec.rb +1 -13
  116. data/styles/coderay.css +147 -38
  117. data/styles/default.css +19 -22
  118. data/styles/pagination.css +30 -30
  119. data/tasks/generate.rake +54 -18
  120. data/tasks/load.rake +9 -24
  121. data/tasks/project.rake +0 -2
  122. metadata +208 -207
  123. data/.gitignore +0 -7
  124. data/VERSION +0 -1
  125. data/book/snippets.yml +0 -18
  126. data/lib/glyph/macro_helpers.rb +0 -282
  127. data/macros/html/block.rb +0 -124
  128. data/macros/html/inline.rb +0 -42
  129. data/macros/html/structure.rb +0 -191
  130. data/macros/html5/block.rb +0 -69
  131. data/macros/html5/inline.rb +0 -24
  132. data/macros/html5/structure.rb +0 -140
data/tasks/load.rake CHANGED
@@ -4,7 +4,7 @@ namespace :load do
4
4
  include Glyph::Utils
5
5
 
6
6
  desc "Load all files"
7
- task :all => [:config, :tasks, :commands, :snippets, :macros] do
7
+ task :all => [:config, :tasks, :commands, :macros] do
8
8
  end
9
9
 
10
10
  desc "Load tasks"
@@ -26,16 +26,6 @@ namespace :load do
26
26
  end
27
27
  end
28
28
 
29
- desc "Load snippets"
30
- task :snippets do
31
- unless Glyph.lite? then
32
- raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project?
33
- snippets = yaml_load Glyph::PROJECT/'snippets.yml'
34
- raise RuntimeError, "Invalid snippets file" unless snippets.blank? || snippets.is_a?(Hash)
35
- Glyph::SNIPPETS.replace snippets
36
- end
37
- end
38
-
39
29
  desc "Load macros"
40
30
  task :macros do
41
31
  raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project? || Glyph.lite?
@@ -46,22 +36,17 @@ namespace :load do
46
36
  end
47
37
  load_layouts_from_dir = lambda do |dir|
48
38
  load_files_from_dir(dir, ".glyph") do |file, contents|
49
- Glyph.rewrite "layout:#{file.basename(file.extname)}".to_sym, contents
39
+ Glyph.define "layout/#{file.basename(file.extname)}".to_sym, contents
50
40
  end
51
41
  end
42
+ out_cfg = "output.#{Glyph['document.output']}"
43
+ reps_file = "#{Glyph["#{out_cfg}.macro_reps"]}.rb"
52
44
  case Glyph['options.macro_set']
53
45
  when 'glyph' then
54
- Glyph.instance_eval file_load(Glyph::HOME/'macros/core.rb')
55
- Glyph.instance_eval file_load(Glyph::HOME/'macros/filters.rb')
56
- Glyph.instance_eval file_load(Glyph::HOME/'macros/xml.rb')
57
- macro_dirs = Glyph["output.#{Glyph['document.output']}.macro_dirs"]
58
- layout_dirs = Glyph["output.#{Glyph['document.output']}.layout_dirs"] || []
59
- unless macro_dirs.blank?
60
- macro_dirs.each {|d| load_macros_from_dir.call Glyph::HOME/"macros/#{d}" }
61
- else
62
- warning "No #{Glyph['document.output']} macros defined"
63
- end
64
- layout_dirs.each {|d| load_layouts_from_dir.call Glyph::HOME/"layouts/#{d}" }
46
+ load_macros_from_dir.call Glyph::HOME/"macros"
47
+ # Load representations
48
+ Glyph.instance_eval file_load(Glyph::HOME/"macros/reps/#{reps_file}")
49
+ load_layouts_from_dir.call Glyph::HOME/"layouts/#{Glyph["#{out_cfg}.layout_dir"]}"
65
50
  when 'xml' then
66
51
  Glyph.instance_eval file_load(Glyph::HOME/'macros/core.rb')
67
52
  Glyph.instance_eval file_load(Glyph::HOME/'macros/filters.rb')
@@ -75,7 +60,7 @@ namespace :load do
75
60
  # load project macros
76
61
  unless Glyph.lite? then
77
62
  load_macros_from_dir.call Glyph::PROJECT/"lib/macros"
78
- load_macros_from_dir.call Glyph::PROJECT/"lib/macros/#{Glyph['document.output']}"
63
+ Glyph.instance_eval file_load(Glyph::PROJECT/"lib/macros/reps/#{reps_file}") rescue nil
79
64
  load_layouts_from_dir.call Glyph::PROJECT/'lib/layouts' if Glyph.multiple_output_files?
80
65
  end
81
66
  end
data/tasks/project.rake CHANGED
@@ -11,8 +11,6 @@ namespace :project do
11
11
  # Create subdirectories
12
12
  subdirs = ['lib/macros', 'lib/tasks', 'lib/layouts', 'lib/tasks', 'lib/commands', 'text', 'output', 'images', 'styles']
13
13
  subdirs.each {|d| (dir/d).mkpath }
14
- # Create snippets
15
- yaml_dump Glyph::PROJECT/'snippets.yml', {:test => "This is a \nTest snippet"}
16
14
  # Create files
17
15
  file_copy Glyph::HOME/'document.glyph', Glyph::PROJECT/'document.glyph'
18
16
  config = yaml_load Glyph::HOME/'config.yml'
metadata CHANGED
@@ -2,12 +2,12 @@
2
2
  name: glyph
3
3
  version: !ruby/object:Gem::Version
4
4
  hash: 11
5
- prerelease: false
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
- - 4
9
- - 2
10
- version: 0.4.2
8
+ - 5
9
+ - 0
10
+ version: 0.5.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Fabio Cevasco
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-22 00:00:00 +02:00
19
- default_executable: glyph
18
+ date: 2011-08-28 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: gli
@@ -26,12 +25,12 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 17
28
+ hash: 19
30
29
  segments:
31
30
  - 1
32
- - 1
33
- - 1
34
- version: 1.1.1
31
+ - 2
32
+ - 6
33
+ version: 1.2.6
35
34
  type: :runtime
36
35
  version_requirements: *id001
37
36
  - !ruby/object:Gem::Dependency
@@ -74,12 +73,12 @@ dependencies:
74
73
  requirements:
75
74
  - - ">="
76
75
  - !ruby/object:Gem::Version
77
- hash: 27
76
+ hash: 25
78
77
  segments:
78
+ - 2
79
+ - 5
79
80
  - 1
80
- - 3
81
- - 0
82
- version: 1.3.0
81
+ version: 2.5.1
83
82
  type: :development
84
83
  version_requirements: *id004
85
84
  - !ruby/object:Gem::Dependency
@@ -90,21 +89,21 @@ dependencies:
90
89
  requirements:
91
90
  - - ">="
92
91
  - !ruby/object:Gem::Version
93
- hash: 7
92
+ hash: 13
94
93
  segments:
95
94
  - 0
96
95
  - 6
97
- - 0
98
- version: 0.6.0
96
+ - 5
97
+ version: 0.6.5
99
98
  type: :development
100
99
  version_requirements: *id005
101
100
  - !ruby/object:Gem::Dependency
102
- name: jeweler
101
+ name: directory_watcher
103
102
  prerelease: false
104
103
  requirement: &id006 !ruby/object:Gem::Requirement
105
104
  none: false
106
105
  requirements:
107
- - - "="
106
+ - - ">="
108
107
  - !ruby/object:Gem::Version
109
108
  hash: 7
110
109
  segments:
@@ -115,85 +114,69 @@ dependencies:
115
114
  type: :development
116
115
  version_requirements: *id006
117
116
  - !ruby/object:Gem::Dependency
118
- name: directory_watcher
117
+ name: sass
119
118
  prerelease: false
120
119
  requirement: &id007 !ruby/object:Gem::Requirement
121
120
  none: false
122
121
  requirements:
123
122
  - - ">="
124
123
  - !ruby/object:Gem::Version
125
- hash: 31
124
+ hash: 13
126
125
  segments:
127
- - 1
128
126
  - 3
129
- - 2
130
- version: 1.3.2
127
+ - 1
128
+ - 7
129
+ version: 3.1.7
131
130
  type: :development
132
131
  version_requirements: *id007
133
- - !ruby/object:Gem::Dependency
134
- name: haml
135
- prerelease: false
136
- requirement: &id008 !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- hash: 25
142
- segments:
143
- - 3
144
- - 0
145
- - 15
146
- version: 3.0.15
147
- type: :development
148
- version_requirements: *id008
149
132
  - !ruby/object:Gem::Dependency
150
133
  name: RedCloth
151
134
  prerelease: false
152
- requirement: &id009 !ruby/object:Gem::Requirement
135
+ requirement: &id008 !ruby/object:Gem::Requirement
153
136
  none: false
154
137
  requirements:
155
138
  - - ">="
156
139
  - !ruby/object:Gem::Version
157
- hash: 49
140
+ hash: 57
158
141
  segments:
159
142
  - 4
160
143
  - 2
161
- - 3
162
- version: 4.2.3
144
+ - 7
145
+ version: 4.2.7
163
146
  type: :development
164
- version_requirements: *id009
147
+ version_requirements: *id008
165
148
  - !ruby/object:Gem::Dependency
166
149
  name: bluecloth
167
150
  prerelease: false
168
- requirement: &id010 !ruby/object:Gem::Requirement
151
+ requirement: &id009 !ruby/object:Gem::Requirement
169
152
  none: false
170
153
  requirements:
171
154
  - - ">="
172
155
  - !ruby/object:Gem::Version
173
- hash: 1
156
+ hash: 11
174
157
  segments:
175
158
  - 2
159
+ - 1
176
160
  - 0
177
- - 7
178
- version: 2.0.7
161
+ version: 2.1.0
179
162
  type: :development
180
- version_requirements: *id010
163
+ version_requirements: *id009
181
164
  - !ruby/object:Gem::Dependency
182
165
  name: coderay
183
166
  prerelease: false
184
- requirement: &id011 !ruby/object:Gem::Requirement
167
+ requirement: &id010 !ruby/object:Gem::Requirement
185
168
  none: false
186
169
  requirements:
187
170
  - - ">="
188
171
  - !ruby/object:Gem::Version
189
- hash: 61
172
+ hash: 53
190
173
  segments:
191
174
  - 0
192
175
  - 9
193
- - 3
194
- version: 0.9.3
176
+ - 7
177
+ version: 0.9.7
195
178
  type: :development
196
- version_requirements: *id011
179
+ version_requirements: *id010
197
180
  description: Glyph is a framework for structured document authoring.
198
181
  email: h3rald@h3rald.com
199
182
  executables:
@@ -201,210 +184,212 @@ executables:
201
184
  extensions: []
202
185
 
203
186
  extra_rdoc_files:
204
- - LICENSE.textile
187
+ - AUTHORS.textile
205
188
  - README.textile
189
+ - LICENSE.textile
190
+ - CHANGELOG.textile
206
191
  files:
207
- - .gitignore
192
+ - Rakefile
208
193
  - AUTHORS.textile
209
- - CHANGELOG.textile
210
- - LICENSE.textile
211
194
  - README.textile
212
- - Rakefile
213
- - VERSION
214
195
  - benchmark.rb
196
+ - LICENSE.textile
197
+ - CHANGELOG.textile
198
+ - config.yml
199
+ - glyph-0.5.0.gem
200
+ - glyph.gemspec
201
+ - document.glyph
215
202
  - bin/glyph
203
+ - lib/glyph/commands.rb
204
+ - lib/glyph/interpreter.rb
205
+ - lib/glyph/system_extensions.rb
206
+ - lib/glyph/bookmark.rb
207
+ - lib/glyph/macro_validators.rb
208
+ - lib/glyph/commands/stats.rb
209
+ - lib/glyph/commands/init.rb
210
+ - lib/glyph/commands/config.rb
211
+ - lib/glyph/commands/outline.rb
212
+ - lib/glyph/commands/todo.rb
213
+ - lib/glyph/commands/add.rb
214
+ - lib/glyph/commands/compile.rb
215
+ - lib/glyph/macro.rb
216
+ - lib/glyph/syntax_node.rb
217
+ - lib/glyph/analyzer.rb
218
+ - lib/glyph/config.rb
219
+ - lib/glyph/document.rb
220
+ - lib/glyph/reporter.rb
221
+ - lib/glyph/parser.rb
222
+ - lib/glyph/node.rb
223
+ - lib/glyph/utils.rb
224
+ - lib/glyph.rb
216
225
  - book/config.yml
217
226
  - book/document.glyph
227
+ - book/lib/macros/reference.rb
228
+ - book/lib/layouts/project.glyph
229
+ - book/lib/layouts/bookpage.glyph
230
+ - book/lib/layouts/bookindex.glyph
231
+ - book/lib/commands/commands.rb
232
+ - book/lib/tasks/tasks.rake
233
+ - book/images/glyph/glyph.png
218
234
  - book/images/glyph/commands_tasks.png
219
- - book/images/glyph/document_generation.png
220
235
  - book/images/glyph/glyph.eps
221
- - book/images/glyph/glyph.png
222
236
  - book/images/glyph/glyph.svg
223
- - book/lib/commands/commands.rb
224
- - book/lib/layouts/bookindex.glyph
225
- - book/lib/layouts/bookpage.glyph
226
- - book/lib/layouts/project.glyph
227
- - book/lib/macros/reference.rb
228
- - book/lib/tasks/tasks.rake
229
- - book/resources/document_generation.txt
230
- - book/snippets.yml
231
- - book/text/acknowledgements.glyph
232
- - book/text/changelog.glyph
233
- - book/text/compiling/compiling.glyph
234
- - book/text/compiling/lite_mode.glyph
235
- - book/text/compiling/programmatic_usage.glyph
236
- - book/text/config/document.glyph
237
- - book/text/config/filters.glyph
238
- - book/text/config/options.glyph
239
- - book/text/config/output.glyph
240
- - book/text/extending/bookmarks_headers.glyph
241
- - book/text/extending/command.glyph
242
- - book/text/extending/commands_tasks.glyph
243
- - book/text/extending/further_reading.glyph
244
- - book/text/extending/internals.glyph
245
- - book/text/extending/interpreting.glyph
246
- - book/text/extending/layouts.glyph
247
- - book/text/extending/macro_def.glyph
248
- - book/text/extending/output_format.glyph
249
- - book/text/extending/params_attrs.glyph
250
- - book/text/extending/placeholders.glyph
251
- - book/text/extending/task.glyph
252
- - book/text/extending/validators.glyph
237
+ - book/images/glyph/document_generation.png
253
238
  - book/text/getting_started/configuration.glyph
254
- - book/text/getting_started/create_project.glyph
255
239
  - book/text/getting_started/structure.glyph
256
- - book/text/introduction.glyph
257
- - book/text/license.glyph
240
+ - book/text/getting_started/create_project.glyph
241
+ - book/text/macros/macros_filters.glyph
242
+ - book/text/macros/macros_structure.glyph
258
243
  - book/text/macros/macros_block.glyph
259
244
  - book/text/macros/macros_core.glyph
260
- - book/text/macros/macros_filters.glyph
261
245
  - book/text/macros/macros_inline.glyph
262
- - book/text/macros/macros_structure.glyph
263
- - book/text/ref_commands.glyph
246
+ - book/text/license.glyph
247
+ - book/text/acknowledgements.glyph
248
+ - book/text/config/options.glyph
249
+ - book/text/config/output.glyph
250
+ - book/text/config/filters.glyph
251
+ - book/text/config/document.glyph
252
+ - book/text/stats/stats.glyph
264
253
  - book/text/stats/bookmarks.glyph
265
- - book/text/stats/links.glyph
266
254
  - book/text/stats/macros.glyph
255
+ - book/text/stats/links.glyph
267
256
  - book/text/stats/snippets.glyph
268
- - book/text/stats/stats.glyph
269
- - book/text/text_editing/attribute_intro.glyph
270
- - book/text/text_editing/code.glyph
271
- - book/text/text_editing/conditionals.glyph
272
- - book/text/text_editing/esc_quot.glyph
273
- - book/text/text_editing/evaluation.glyph
274
- - book/text/text_editing/glyph_files.glyph
275
- - book/text/text_editing/images.glyph
276
- - book/text/text_editing/inclusions.glyph
277
- - book/text/text_editing/links.glyph
257
+ - book/text/changelog.glyph
278
258
  - book/text/text_editing/macro_intro.glyph
279
259
  - book/text/text_editing/raw_html.glyph
280
260
  - book/text/text_editing/section_aliases.glyph
261
+ - book/text/text_editing/conditionals.glyph
262
+ - book/text/text_editing/inclusions.glyph
281
263
  - book/text/text_editing/sections.glyph
282
- - book/text/text_editing/stylesheets.glyph
264
+ - book/text/text_editing/code.glyph
265
+ - book/text/text_editing/macro_composition.glyph
266
+ - book/text/text_editing/images.glyph
267
+ - book/text/text_editing/esc_quot.glyph
283
268
  - book/text/text_editing/topics.glyph
284
269
  - book/text/text_editing/xml_fallback.glyph
270
+ - book/text/text_editing/links.glyph
271
+ - book/text/text_editing/stylesheets.glyph
272
+ - book/text/text_editing/glyph_files.glyph
273
+ - book/text/text_editing/attribute_intro.glyph
274
+ - book/text/text_editing/evaluation.glyph
275
+ - book/text/extending/command.glyph
276
+ - book/text/extending/bookmarks_headers.glyph
277
+ - book/text/extending/placeholders.glyph
278
+ - book/text/extending/task.glyph
279
+ - book/text/extending/internals.glyph
280
+ - book/text/extending/params_attrs.glyph
281
+ - book/text/extending/interpreting.glyph
282
+ - book/text/extending/validators.glyph
283
+ - book/text/extending/layouts.glyph
284
+ - book/text/extending/further_reading.glyph
285
+ - book/text/extending/output_format.glyph
286
+ - book/text/extending/commands_tasks.glyph
287
+ - book/text/extending/macro_def.glyph
285
288
  - book/text/troubleshooting/errors_command.glyph
286
- - book/text/troubleshooting/errors_generic.glyph
287
- - book/text/troubleshooting/errors_macro.glyph
288
289
  - book/text/troubleshooting/errors_parser.glyph
289
- - config.yml
290
- - document.glyph
291
- - glyph.gemspec
292
- - layouts/web/index.glyph
293
- - layouts/web/topic.glyph
290
+ - book/text/troubleshooting/errors_macro.glyph
291
+ - book/text/troubleshooting/errors_generic.glyph
292
+ - book/text/compiling/programmatic_usage.glyph
293
+ - book/text/compiling/compiling.glyph
294
+ - book/text/compiling/lite_mode.glyph
295
+ - book/text/ref_commands.glyph
296
+ - book/text/introduction.glyph
297
+ - book/text/snippets.glyph
298
+ - book/resources/document_generation.txt
294
299
  - layouts/web5/index.glyph
295
300
  - layouts/web5/topic.glyph
296
- - lib/glyph.rb
297
- - lib/glyph/analyzer.rb
298
- - lib/glyph/bookmark.rb
299
- - lib/glyph/commands.rb
300
- - lib/glyph/commands/add.rb
301
- - lib/glyph/commands/compile.rb
302
- - lib/glyph/commands/config.rb
303
- - lib/glyph/commands/init.rb
304
- - lib/glyph/commands/outline.rb
305
- - lib/glyph/commands/stats.rb
306
- - lib/glyph/commands/todo.rb
307
- - lib/glyph/config.rb
308
- - lib/glyph/document.rb
309
- - lib/glyph/interpreter.rb
310
- - lib/glyph/macro.rb
311
- - lib/glyph/macro_helpers.rb
312
- - lib/glyph/macro_validators.rb
313
- - lib/glyph/node.rb
314
- - lib/glyph/parser.rb
315
- - lib/glyph/reporter.rb
316
- - lib/glyph/syntax_node.rb
317
- - lib/glyph/system_extensions.rb
318
- - lib/glyph/utils.rb
319
- - macros/core.rb
301
+ - layouts/web/index.glyph
302
+ - layouts/web/topic.glyph
303
+ - macros/block.rb
320
304
  - macros/filters.rb
321
- - macros/html/block.rb
322
- - macros/html/inline.rb
323
- - macros/html/structure.rb
324
- - macros/html5/block.rb
325
- - macros/html5/inline.rb
326
- - macros/html5/structure.rb
305
+ - macros/inline.rb
306
+ - macros/core.rb
307
+ - macros/reps/html5.rb
308
+ - macros/reps/html.rb
309
+ - macros/reps/web.rb
310
+ - macros/reps/web5.rb
327
311
  - macros/xml.rb
328
- - spec/files/article.glyph
329
- - spec/files/container.textile
330
- - spec/files/custom_command.rb
331
- - spec/files/custom_tasks.rake
332
- - spec/files/document.glyph
333
- - spec/files/document_for_stats.glyph
334
- - spec/files/document_with_toc.glyph
335
- - spec/files/included.textile
336
- - spec/files/ligature.jpg
337
- - spec/files/markdown.markdown
338
- - spec/files/references.glyph
339
- - spec/files/test.sass
340
- - spec/files/test.scss
341
- - spec/files/web1.glyph
342
- - spec/files/web2.glyph
343
- - spec/files/web_doc.glyph
312
+ - macros/structure.rb
313
+ - spec/macros/core_spec.rb
314
+ - spec/macros/web_spec.rb
315
+ - spec/macros/html5_spec.rb
316
+ - spec/macros/filters_spec.rb
317
+ - spec/macros/web5_spec.rb
318
+ - spec/macros/textile_spec.rb
319
+ - spec/macros/xml_spec.rb
320
+ - spec/macros/macros_spec.rb
321
+ - spec/lib/interpreter_spec.rb
344
322
  - spec/lib/analyzer_spec.rb
345
- - spec/lib/bookmark_spec.rb
346
323
  - spec/lib/commands_spec.rb
347
- - spec/lib/config_spec.rb
348
- - spec/lib/document_spec.rb
349
- - spec/lib/glyph_spec.rb
350
- - spec/lib/interpreter_spec.rb
324
+ - spec/lib/node_spec.rb
325
+ - spec/lib/bookmark_spec.rb
351
326
  - spec/lib/macro_spec.rb
352
327
  - spec/lib/macro_validators_spec.rb
353
- - spec/lib/node_spec.rb
328
+ - spec/lib/config_spec.rb
329
+ - spec/lib/glyph_spec.rb
354
330
  - spec/lib/parser_spec.rb
355
- - spec/lib/reporter_spec.rb
356
331
  - spec/lib/syntax_node_spec.rb
357
- - spec/macros/core_spec.rb
358
- - spec/macros/filters_spec.rb
359
- - spec/macros/html5_spec.rb
360
- - spec/macros/macros_spec.rb
361
- - spec/macros/textile_spec.rb
362
- - spec/macros/web5_spec.rb
363
- - spec/macros/web_spec.rb
364
- - spec/macros/xml_spec.rb
365
- - spec/spec_helper.rb
366
- - spec/tasks/generate_spec.rb
332
+ - spec/lib/document_spec.rb
333
+ - spec/lib/reporter_spec.rb
367
334
  - spec/tasks/load_spec.rb
335
+ - spec/tasks/generate_spec.rb
368
336
  - spec/tasks/project_spec.rb
337
+ - spec/files/custom_tasks.rake
338
+ - spec/files/container.textile
339
+ - spec/files/test.sass
340
+ - spec/files/custom_command.rb
341
+ - spec/files/markdown.markdown
342
+ - spec/files/references.glyph
343
+ - spec/files/document_for_stats.glyph
344
+ - spec/files/web1.glyph
345
+ - spec/files/document_with_toc.glyph
346
+ - spec/files/ligature.jpg
347
+ - spec/files/article.glyph
348
+ - spec/files/included.textile
349
+ - spec/files/web_doc.glyph
350
+ - spec/files/web2.glyph
351
+ - spec/files/document.glyph
352
+ - spec/files/test.scss
353
+ - spec/config.yml
354
+ - spec/spec_helper.rb
355
+ - styles/pagination.css
369
356
  - styles/coderay.css
370
- - styles/coderay.scss
371
357
  - styles/default.css
358
+ - styles/generate
372
359
  - styles/default.scss
373
360
  - styles/definitions.scss
374
- - styles/generate
375
- - styles/pagination.css
376
- - styles/pagination.scss
377
- - styles/ultraviolet/active4d.css
378
- - styles/ultraviolet/all_hallows_eve.css
379
- - styles/ultraviolet/amy.css
361
+ - styles/ultraviolet/slush_poppies.css
362
+ - styles/ultraviolet/mac_classic.css
380
363
  - styles/ultraviolet/blackboard.css
381
- - styles/ultraviolet/brilliance_black.css
364
+ - styles/ultraviolet/zenburnesque.css
382
365
  - styles/ultraviolet/brilliance_dull.css
366
+ - styles/ultraviolet/magicwb_amiga.css
367
+ - styles/ultraviolet/sunburst.css
368
+ - styles/ultraviolet/pastels_on_dark.css
383
369
  - styles/ultraviolet/cobalt.css
384
- - styles/ultraviolet/dawn.css
370
+ - styles/ultraviolet/brilliance_black.css
371
+ - styles/ultraviolet/lazy.css
372
+ - styles/ultraviolet/amy.css
373
+ - styles/ultraviolet/active4d.css
385
374
  - styles/ultraviolet/eiffel.css
386
- - styles/ultraviolet/espresso_libre.css
375
+ - styles/ultraviolet/twilight.css
387
376
  - styles/ultraviolet/idle.css
388
- - styles/ultraviolet/iplastic.css
389
- - styles/ultraviolet/lazy.css
390
- - styles/ultraviolet/mac_classic.css
391
- - styles/ultraviolet/magicwb_amiga.css
392
- - styles/ultraviolet/pastels_on_dark.css
393
- - styles/ultraviolet/slush_poppies.css
377
+ - styles/ultraviolet/dawn.css
378
+ - styles/ultraviolet/all_hallows_eve.css
379
+ - styles/ultraviolet/espresso_libre.css
394
380
  - styles/ultraviolet/spacecadet.css
395
- - styles/ultraviolet/sunburst.css
396
- - styles/ultraviolet/twilight.css
397
- - styles/ultraviolet/zenburnesque.css
381
+ - styles/ultraviolet/iplastic.css
382
+ - styles/coderay.scss
383
+ - styles/pagination.scss
398
384
  - tasks/generate.rake
399
- - tasks/load.rake
400
385
  - tasks/project.rake
401
- has_rdoc: true
386
+ - tasks/load.rake
402
387
  homepage: http://www.h3rald.com/glyph/
403
- licenses: []
404
-
388
+ licenses:
389
+ - MIT
405
390
  post_install_message:
406
- rdoc_options:
407
- - --charset=UTF-8
391
+ rdoc_options: []
392
+
408
393
  require_paths:
409
394
  - lib
410
395
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -428,7 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
428
413
  requirements: []
429
414
 
430
415
  rubyforge_project:
431
- rubygems_version: 1.3.7
416
+ rubygems_version: 1.8.6
432
417
  signing_key:
433
418
  specification_version: 3
434
419
  summary: Glyph -- A Ruby-powered Document Authoring Framework
@@ -457,5 +442,21 @@ test_files:
457
442
  - spec/tasks/load_spec.rb
458
443
  - spec/tasks/generate_spec.rb
459
444
  - spec/tasks/project_spec.rb
445
+ - spec/files/custom_tasks.rake
446
+ - spec/files/container.textile
447
+ - spec/files/test.sass
460
448
  - spec/files/custom_command.rb
449
+ - spec/files/markdown.markdown
450
+ - spec/files/references.glyph
451
+ - spec/files/document_for_stats.glyph
452
+ - spec/files/web1.glyph
453
+ - spec/files/document_with_toc.glyph
454
+ - spec/files/ligature.jpg
455
+ - spec/files/article.glyph
456
+ - spec/files/included.textile
457
+ - spec/files/web_doc.glyph
458
+ - spec/files/web2.glyph
459
+ - spec/files/document.glyph
460
+ - spec/files/test.scss
461
+ - spec/config.yml
461
462
  - spec/spec_helper.rb