erbook 7.0.0 → 7.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 (105) hide show
  1. data/CREDITS +3 -0
  2. data/bin/erbook +2 -2
  3. data/doc/HelloWorld.input +1 -1
  4. data/doc/api/classes/ERBook/Document.html +153 -150
  5. data/doc/api/classes/ERBook/Document/Node.html +7 -7
  6. data/doc/api/classes/ERBook/Template.html +24 -24
  7. data/doc/api/classes/ERBook/Template/Sandbox.html +6 -6
  8. data/doc/api/classes/RDoc/AnyMethod.html +32 -28
  9. data/doc/api/classes/RDoc/TopLevel.html +47 -47
  10. data/doc/api/classes/String.html +14 -14
  11. data/doc/api/created.rid +1 -1
  12. data/doc/api/files/CREDITS.html +68 -0
  13. data/doc/api/files/lib/erbook/document_rb.html +1 -3
  14. data/doc/api/files/lib/erbook/rdoc_rb.html +1 -1
  15. data/doc/api/files/lib/erbook/template_rb.html +1 -1
  16. data/doc/api/files/lib/erbook/to_xhtml_rb.html +3 -3
  17. data/doc/api/files/lib/erbook_rb.html +3 -1
  18. data/doc/api/panel/search_index.js +1 -1
  19. data/doc/api/panel/tree.js +1 -1
  20. data/doc/formats.erb +129 -8
  21. data/doc/history.erb +136 -2
  22. data/doc/index.erb +2 -2
  23. data/doc/index.xhtml +1867 -610
  24. data/doc/intro.erb +29 -13
  25. data/doc/setup.erb +9 -2
  26. data/doc/theory.erb +24 -3
  27. data/doc/usage.erb +11 -2
  28. data/fmt/xhtml.yaml +913 -707
  29. data/fmt/{xhtml.icons → xhtml/icons}/index.yaml +2 -2
  30. data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/COPYING +0 -0
  31. data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/README +0 -0
  32. data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/skins/simple/external.png +0 -0
  33. data/fmt/{xhtml.icons → xhtml/icons}/rakefile +4 -6
  34. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/16x16/places/start-here.png +0 -0
  35. data/fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/actions/go-next.png +0 -0
  36. data/fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/actions/go-previous.png +0 -0
  37. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/32x32/places/start-here.png +0 -0
  38. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/32x32/status/software-update-available.png +0 -0
  39. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/apps/accessories-text-editor.png +0 -0
  40. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/apps/internet-group-chat.png +0 -0
  41. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/emblems/emblem-important.png +0 -0
  42. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-error.png +0 -0
  43. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-information.png +0 -0
  44. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-warning.png +0 -0
  45. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/COPYING +0 -0
  46. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/README +0 -0
  47. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/bookmark-new.svg +0 -0
  48. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/go-home.svg +0 -0
  49. data/fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-next.svg +191 -0
  50. data/fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-previous.svg +852 -0
  51. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/view-refresh.svg +0 -0
  52. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/apps/accessories-text-editor.svg +0 -0
  53. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/apps/internet-group-chat.svg +0 -0
  54. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/emblems/emblem-favorite.svg +0 -0
  55. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/emblems/emblem-important.svg +0 -0
  56. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/mimetypes/application-certificate.svg +0 -0
  57. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/places/start-here.svg +0 -0
  58. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-error.svg +0 -0
  59. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-information.svg +0 -0
  60. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-warning.svg +0 -0
  61. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/software-update-available.svg +0 -0
  62. data/fmt/xhtml/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  63. data/fmt/xhtml/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  64. data/fmt/xhtml/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  65. data/fmt/xhtml/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  66. data/fmt/xhtml/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  67. data/fmt/xhtml/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  68. data/fmt/xhtml/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  69. data/fmt/xhtml/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  70. data/fmt/xhtml/jquery/images/ui-icons_222222_256x240.png +0 -0
  71. data/fmt/xhtml/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
  72. data/fmt/xhtml/jquery/images/ui-icons_454545_256x240.png +0 -0
  73. data/fmt/xhtml/jquery/images/ui-icons_888888_256x240.png +0 -0
  74. data/fmt/xhtml/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
  75. data/fmt/{xhtml.scripts → xhtml/jquery}/jquery-1.3.2.min.js +0 -0
  76. data/fmt/xhtml/jquery/jquery-ui-1.7.2.custom.css +406 -0
  77. data/fmt/xhtml/jquery/jquery-ui-1.7.2.custom.min.js +43 -0
  78. data/lang/de.yaml +13 -2
  79. data/lang/el.yaml +13 -2
  80. data/lang/es.yaml +13 -2
  81. data/lang/fr.yaml +13 -2
  82. data/lang/it.yaml +13 -2
  83. data/lang/ja.yaml +13 -2
  84. data/lang/ko.yaml +13 -2
  85. data/lang/nl.yaml +13 -2
  86. data/lang/phrases.yaml +15 -4
  87. data/lang/pt.yaml +13 -2
  88. data/lang/ru.yaml +13 -2
  89. data/lang/zh.yaml +13 -2
  90. data/lang/zt.yaml +13 -2
  91. data/lib/erbook.rb +10 -8
  92. data/lib/erbook/document.rb +144 -139
  93. data/lib/erbook/rdoc.rb +29 -7
  94. data/lib/erbook/template.rb +2 -2
  95. data/lib/erbook/to_xhtml.rb +6 -2
  96. metadata +78 -45
  97. data/doc/api/files/ANN_eml.html +0 -276
  98. data/doc/api/files/ANN_html.html +0 -407
  99. data/doc/api/files/ANN_txt.html +0 -271
  100. data/fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/actions/go-down.png +0 -0
  101. data/fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/actions/go-up.png +0 -0
  102. data/fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-down.svg +0 -200
  103. data/fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-up.svg +0 -196
  104. data/fmt/xhtml.scripts/jquery.localscroll-1.2.7-min.js +0 -9
  105. data/fmt/xhtml.scripts/jquery.scrollTo-1.4.1-min.js +0 -11
data/lib/erbook/rdoc.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # Workaround for `rdoc --fmt xml` not dumping information about methods.
2
2
  #--
3
- # Copyright 2008 Suraj N. Kurapati
4
- # See the LICENSE file for details.
3
+ # Copyright protects this work.
4
+ # See LICENSE file for details.
5
5
  #++
6
6
 
7
7
  require 'rubygems'
@@ -10,24 +10,32 @@ require 'rdoc/rdoc'
10
10
 
11
11
  module RDoc
12
12
  class TopLevel
13
+ ##
13
14
  # Returns an array of all classes recorded thus far.
15
+ #
14
16
  def self.all_classes
15
17
  @all_classes.values
16
18
  end
17
19
 
20
+ ##
18
21
  # Returns an array of all modules recorded thus far.
22
+ #
19
23
  def self.all_modules
20
24
  @all_modules.values
21
25
  end
22
26
 
27
+ ##
23
28
  # Returns an array of RDoc::AnyMethod objects
24
29
  # representing all methods recorded thus far.
30
+ #
25
31
  def self.all_methods
26
32
  all_classes_and_modules.map {|c| c.method_list }.flatten
27
33
  end
28
34
 
35
+ ##
29
36
  # Update the return value of the all_classes_and_modules() method
30
37
  # to *really* include every class and every module seen thus far.
38
+ #
31
39
  def self.refresh_all_classes_and_modules
32
40
  visit = lambda do |node|
33
41
  if node.is_a? NormalClass or node.is_a? SingleClass
@@ -43,6 +51,7 @@ module RDoc
43
51
  all_classes_and_modules.each {|n| visit[n] }
44
52
  end
45
53
 
54
+ ##
46
55
  # Returns a RDoc::TopLevel object containing information
47
56
  # parsed from the given code string. This information is
48
57
  # also added to the global TopLevel class state, so you can
@@ -53,18 +62,19 @@ module RDoc
53
62
  # ".c" or ".rb" file extension. Otherwise,
54
63
  # RDoc will ignore the given code string! :-(
55
64
  #
56
- def self.parse aCodeString, aFileName = __FILE__
57
- tl = TopLevel.new(aFileName)
65
+ def self.parse code_string, file_name = __FILE__
66
+ tl = TopLevel.new(file_name)
58
67
  op = DummyOptions.new
59
68
  st = Stats.new(0)
60
69
 
61
- result = Parser.for(tl, aFileName, aCodeString, op, st).scan
70
+ result = Parser.for(tl, file_name, code_string, op, st).scan
62
71
 
63
72
  refresh_all_classes_and_modules
64
73
 
65
74
  result
66
75
  end
67
76
 
77
+ ##
68
78
  # Returns a RDoc::TopLevel object containing information
69
79
  # parsed from the code in the given file. This information
70
80
  # is also added to the global TopLevel class state, so you
@@ -73,38 +83,50 @@ module RDoc
73
83
  # The given file name MUST have a ".c" or ".rb" file
74
84
  # extension. Otherwise, RDoc will ignore the file! :-(
75
85
  #
76
- def self.parse_file aFileName
77
- parse File.read(aFileName), aFileName
86
+ def self.parse_file file_name
87
+ parse File.read(file_name), file_name
78
88
  end
79
89
  end
80
90
 
81
91
  class AnyMethod
92
+ ##
82
93
  # Returns the fully qualified name of this method.
94
+ #
83
95
  def full_name
84
96
  [parent.full_name, name].join(singleton ? '::' : '#')
85
97
  end
86
98
 
99
+ ##
87
100
  # Returns a complete method declaration with block parameters and all.
101
+ #
88
102
  def decl
89
103
  a = params.dup
104
+
90
105
  if b = block_params
91
106
  a.sub! %r/\s*\#.*(?=.$)/, '' # remove "# :yields: ..." string
92
107
  a << " {|#{b}| ... }"
93
108
  end
109
+
94
110
  full_name << a
95
111
  end
96
112
 
113
+ ##
97
114
  # Returns a HTML version of this method's comment.
115
+ #
98
116
  def comment_html
99
117
  DummyMarkup.new.markup comment
100
118
  end
101
119
 
120
+ ##
102
121
  # Returns the RDoc::TopLevel object which contains this method.
122
+ #
103
123
  def top_level
104
124
  n = parent
125
+
105
126
  while n && n.parent
106
127
  n = n.parent
107
128
  end
129
+
108
130
  n
109
131
  end
110
132
  end
@@ -1,6 +1,6 @@
1
1
  #--
2
- # Copyright 2008 Suraj N. Kurapati
3
- # See the LICENSE file for details.
2
+ # Copyright protects this work.
3
+ # See LICENSE file for details.
4
4
  #++
5
5
 
6
6
  require 'ember'
@@ -5,8 +5,8 @@
5
5
  # formatting system via Maruku, syntax coloring via CodeRay,
6
6
  # and smart source code sizing (block versus inline display).
7
7
  #--
8
- # Copyright 2006 Suraj N. Kurapati
9
- # See the LICENSE file for details.
8
+ # Copyright protects this work.
9
+ # See LICENSE file for details.
10
10
  #++
11
11
 
12
12
  require 'cgi'
@@ -23,18 +23,22 @@ require 'coderay'
23
23
  require 'maruku'
24
24
 
25
25
  class String
26
+ ##
26
27
  # The content of these XHTML tags will be preserved while
27
28
  # they are being processed by Textile. By doing this, we
28
29
  # avoid unwanted Textile transformations, such as quotation
29
30
  # marks becoming curly (&#8192;), in source code.
31
+ #
30
32
  PROTECTED_TAGS = {
31
33
  :pre => :block, # tag => is it a block or inline element?
32
34
  :code => :inline,
33
35
  :tt => :inline
34
36
  }
35
37
 
38
+ ##
36
39
  # The content of these XHTML tags will be preserved
37
40
  # *verbatim* throughout the text-to-XHTML conversion process.
41
+ #
38
42
  VERBATIM_TAGS = {
39
43
  :noformat => :block # tag => is it a block or inline element?
40
44
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suraj N. Kurapati
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-04 00:00:00 -07:00
12
+ date: 2009-08-30 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -32,6 +32,26 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: "0.5"
34
34
  version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: haml
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 2.2.2
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: mime-types
47
+ type: :runtime
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: "1.16"
54
+ version:
35
55
  - !ruby/object:Gem::Dependency
36
56
  name: rainpress
37
57
  type: :runtime
@@ -72,7 +92,8 @@ dependencies:
72
92
  - !ruby/object:Gem::Version
73
93
  version: "1"
74
94
  version:
75
- description: Extensible document processor based on eRuby
95
+ description: " ERBook is an extensible document processor that emits [1]any\n document you can imagine from [2]eRuby templates which allow\n scripting and dynamic content generation.\n\n A working [3]XHTML (web page) format is provided, while\n [4]LaTeX (PDF), [5]UNIX manual page, and [6]plain text\n formats are planned... [7]patches are welcome!\n\n\
96
+ References\n\n 1. http://snk.tuxfamily.org/lib/erbook/#HelloWorld\n 2. http://en.wikipedia.org/wiki/ERuby\n 3. http://snk.tuxfamily.org/lib/erbook/#xhtml\n 4. http://snk.tuxfamily.org/lib/erbook/#latex\n 5. http://snk.tuxfamily.org/lib/erbook/#man\n 6. http://snk.tuxfamily.org/lib/erbook/#text\n 7. http://snk.tuxfamily.org/lib/erbook/#License\n"
76
97
  email: sunaku@gmail.com
77
98
  executables:
78
99
  - erbook
@@ -81,46 +102,60 @@ extensions: []
81
102
  extra_rdoc_files: []
82
103
 
83
104
  files:
84
- - fmt/xhtml.scripts/jquery.scrollTo-1.4.1-min.js
85
- - fmt/xhtml.scripts/jquery-1.3.2.min.js
86
- - fmt/xhtml.scripts/jquery.localscroll-1.2.7-min.js
105
+ - CREDITS
87
106
  - fmt/latex.yaml
88
107
  - fmt/man.yaml
89
- - fmt/xhtml.icons/mediawiki-1.13.2/skins/simple/external.png
90
- - fmt/xhtml.icons/mediawiki-1.13.2/COPYING
91
- - fmt/xhtml.icons/mediawiki-1.13.2/README
92
- - fmt/xhtml.icons/rakefile
93
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/status/dialog-information.svg
94
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/status/dialog-error.svg
95
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/status/software-update-available.svg
96
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/status/dialog-warning.svg
97
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/places/start-here.svg
98
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/mimetypes/application-certificate.svg
99
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/bookmark-new.svg
100
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/view-refresh.svg
101
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-home.svg
102
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-up.svg
103
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-down.svg
104
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/emblems/emblem-favorite.svg
105
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/emblems/emblem-important.svg
106
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/apps/internet-group-chat.svg
107
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/apps/accessories-text-editor.svg
108
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/COPYING
109
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/48x48/status/dialog-information.png
110
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/48x48/status/dialog-warning.png
111
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/48x48/status/dialog-error.png
112
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/48x48/emblems/emblem-important.png
113
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/48x48/apps/accessories-text-editor.png
114
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/48x48/apps/internet-group-chat.png
115
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/status/software-update-available.png
116
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/places/start-here.png
117
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/actions/go-down.png
118
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/actions/go-up.png
119
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/16x16/places/start-here.png
120
- - fmt/xhtml.icons/tango-icon-theme-0.8.90/README
121
- - fmt/xhtml.icons/index.yaml
122
108
  - fmt/xhtml.yaml
123
109
  - fmt/text.yaml
110
+ - fmt/xhtml/jquery/jquery-ui-1.7.2.custom.min.js
111
+ - fmt/xhtml/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png
112
+ - fmt/xhtml/jquery/images/ui-bg_glass_65_ffffff_1x400.png
113
+ - fmt/xhtml/jquery/images/ui-bg_glass_75_dadada_1x400.png
114
+ - fmt/xhtml/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png
115
+ - fmt/xhtml/jquery/images/ui-icons_454545_256x240.png
116
+ - fmt/xhtml/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png
117
+ - fmt/xhtml/jquery/images/ui-bg_flat_75_ffffff_40x100.png
118
+ - fmt/xhtml/jquery/images/ui-icons_2e83ff_256x240.png
119
+ - fmt/xhtml/jquery/images/ui-bg_glass_95_fef1ec_1x400.png
120
+ - fmt/xhtml/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png
121
+ - fmt/xhtml/jquery/images/ui-icons_cd0a0a_256x240.png
122
+ - fmt/xhtml/jquery/images/ui-icons_222222_256x240.png
123
+ - fmt/xhtml/jquery/images/ui-icons_888888_256x240.png
124
+ - fmt/xhtml/jquery/jquery-1.3.2.min.js
125
+ - fmt/xhtml/jquery/jquery-ui-1.7.2.custom.css
126
+ - fmt/xhtml/icons/mediawiki-1.13.2/skins/simple/external.png
127
+ - fmt/xhtml/icons/mediawiki-1.13.2/COPYING
128
+ - fmt/xhtml/icons/mediawiki-1.13.2/README
129
+ - fmt/xhtml/icons/rakefile
130
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/status/dialog-information.svg
131
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/status/dialog-error.svg
132
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/status/software-update-available.svg
133
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/status/dialog-warning.svg
134
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/places/start-here.svg
135
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/mimetypes/application-certificate.svg
136
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/bookmark-new.svg
137
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-previous.svg
138
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-next.svg
139
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/view-refresh.svg
140
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-home.svg
141
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/emblems/emblem-favorite.svg
142
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/emblems/emblem-important.svg
143
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/apps/internet-group-chat.svg
144
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/apps/accessories-text-editor.svg
145
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/COPYING
146
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/48x48/status/dialog-information.png
147
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/48x48/status/dialog-warning.png
148
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/48x48/status/dialog-error.png
149
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/48x48/emblems/emblem-important.png
150
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/48x48/apps/accessories-text-editor.png
151
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/48x48/apps/internet-group-chat.png
152
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/status/software-update-available.png
153
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/places/start-here.png
154
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/actions/go-previous.png
155
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/actions/go-next.png
156
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/16x16/places/start-here.png
157
+ - fmt/xhtml/icons/tango-icon-theme-0.8.90/README
158
+ - fmt/xhtml/icons/index.yaml
124
159
  - rakefile
125
160
  - lang/ru.yaml
126
161
  - lang/it.yaml
@@ -169,15 +204,13 @@ files:
169
204
  - doc/api/js/jquery-effect.js
170
205
  - doc/api/js/jquery-1.3.2.min.js
171
206
  - doc/api/js/main.js
207
+ - doc/api/files/CREDITS.html
172
208
  - doc/api/files/LICENSE.html
173
- - doc/api/files/ANN_html.html
174
209
  - doc/api/files/lib/erbook_rb.html
175
210
  - doc/api/files/lib/erbook/rdoc_rb.html
176
211
  - doc/api/files/lib/erbook/template_rb.html
177
212
  - doc/api/files/lib/erbook/to_xhtml_rb.html
178
213
  - doc/api/files/lib/erbook/document_rb.html
179
- - doc/api/files/ANN_eml.html
180
- - doc/api/files/ANN_txt.html
181
214
  - doc/api/css/main.css
182
215
  - doc/api/css/reset.css
183
216
  - doc/api/css/panel.css
@@ -193,8 +226,8 @@ files:
193
226
  - doc/formats.erb
194
227
  has_rdoc: true
195
228
  homepage: http://snk.tuxfamily.org/lib/erbook/
196
- licenses: []
197
-
229
+ licenses:
230
+ - LICENSE
198
231
  post_install_message:
199
232
  rdoc_options: []
200
233
 
@@ -215,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
248
  requirements: []
216
249
 
217
250
  rubyforge_project: sunaku
218
- rubygems_version: 1.3.2
251
+ rubygems_version: 1.3.5
219
252
  signing_key:
220
253
  specification_version: 3
221
254
  summary: Extensible document processor based on eRuby
@@ -1,276 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title>ANN.eml</title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
- <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
- <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
- <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
- <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
- <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
- </head>
14
-
15
- <body>
16
- <div class="banner">
17
- <h1>
18
- ANN.eml
19
- </h1>
20
- <ul class="files">
21
- <li>ANN.eml</li>
22
- <li>Last modified: Mon May 04 01:18:29 -0700 2009</li>
23
- </ul>
24
- </div>
25
-
26
- <div id="bodyContent">
27
- <div id="content">
28
-
29
- <div class="description">
30
- <p>
31
- Date: Mon, 04 May 2009 01:18:22 -0700 To: ruby-talk@ruby-lang.org From:
32
- &#8220;Suraj N. Kurapati&#8221; <sunaku@gmail.com> Subject: [ANN] <a
33
- href="../classes/ERBook.html">ERBook</a> 7.0.0
34
- </p>
35
- <pre>
36
- ERBook 7.0.0
37
-
38
- Extensible document processor based on eRuby
39
-
40
- http://snk.tuxfamily.org/lib/erbook/
41
-
42
- ERBook is an extensible document processor that emits [1]any
43
- document you can imagine from [2]eRuby templates that allow
44
- scripting and dynamic content generation.
45
-
46
- A working [3]XHTML (web page) format is provided, while
47
- [4]LaTeX (PDF), [5]UNIX manual page, and [6]plain text
48
- formats are planned... [7]patches are welcome!
49
-
50
- ERBook is exciting because:
51
-
52
- * Its documents are scriptable [8]eRuby templates.
53
-
54
- * It lets you [9]define your own document formats.
55
-
56
- * Its core contains less than 300 lines of code.
57
-
58
- These features distinguish ERBook from the competition, which
59
- offers neither scriptable documents nor definable document
60
- formats:
61
-
62
- * [10]DocBook
63
-
64
- * [11]Deplate
65
-
66
- * [12]SiSU
67
-
68
- * [13]AsciiDoc
69
-
70
- * [14]txt2tags
71
-
72
- * [15]Grutatxt
73
- </pre>
74
- <p>
75
- Logistics
76
- </p>
77
- <pre>
78
- * [16]Release notes -- history of project releases.
79
-
80
- * [17]Source code -- obtain via [18]Git or browse online.
81
-
82
- * [19]API reference -- documentation for source code.
83
-
84
- * [20]Project home -- the ERBook project home page.
85
-
86
- To get help or provide feedback, simply [21]contact the
87
- authors.
88
-
89
- Version numbers
90
-
91
- ERBook releases are numbered in major.minor.patch form
92
- according to the [22]RubyGems rational versioning policy,
93
- which can be summarized thus:
94
- What increased in the version number? The increase indicates
95
- that the release:
96
- Is backward compatible? Has new features? Has bug fixes?
97
- major No Yes Yes
98
- minor Yes Yes Yes
99
- patch Yes No Yes
100
- </pre>
101
- <p>
102
- Version 7.0.0 (2009-05-03)
103
- </p>
104
- <pre>
105
- This release improves the appearance, usability, and validity
106
- of [23]XHTML (web page) output, upgrades to a new eRuby
107
- templating system, adds new processing options to node
108
- definitions, and fixes some bugs.
109
-
110
- Incompatible changes
111
-
112
- * If you add methods to the ERBook::Template class, in
113
- order to provide them to eRuby templates, you must now
114
- add those methods to the ERBook::Template::Sandbox class
115
- instead.
116
-
117
- * The [24]Ember template processor is now used to render
118
- eRuby templates instead of the ERB library that is
119
- shipped with Ruby.
120
- + The file inclusion directive has been removed:
121
- </pre>
122
- <p>
123
- <%# include YOUR_FILE #%>
124
- </p>
125
- <pre>
126
- Ember provides equivalent functionality:
127
- </pre>
128
- <p>
129
- %< &#8220;YOUR_FILE&#8220;
130
- </p>
131
- <pre>
132
- * The erbook/to_xhtml library now annotates &lt;code&gt; elements
133
- with a &quot;line&quot; or &quot;para&quot; class indicating whether they
134
- span a single or mulitple lines respectively.
135
- The &quot;pre.code&quot; CSS class is no longer emitted.
136
-
137
- * The erbook/rdoc library has been updated to work with
138
- RDoc 2.4.3. It no longer supports the old RDoc that is
139
- shipped with Ruby 1.8.
140
-
141
- * Just a reminder from the [25]Version 5.0.0 (2008-11-22)
142
- release notes:
143
-
144
- Internet Explorer 6 and 7 [26]do not support the
145
- application/xhtml+xml mime type, so the output generated
146
- by the [27]XHTML (web page) format cannot be viewed in
147
- those browsers.
148
-
149
- New features
150
-
151
- * Replace dark background theme with a &quot;wide open spaces&quot;
152
- theme.
153
- + Use icons instead of unicode glyphs for mini
154
- navigation menus.
155
- + Put mini navigation menus on right-hand side of
156
- headings
157
- + Use [28]scrolling animation when local links (URI
158
- fragments) are visited, instead of instantly
159
- teleporting to the destination. This gives a sense
160
- of spatial existence to the web page, making it feel
161
- almost tangible!
162
-
163
- * XHTML output is now valid XHTML 1.0 Transitional! And the
164
- embedded CSS it contains is now valid CSS 3!
165
- + Minify CSS in XHTML output using the [29]Rainpress
166
- library.
167
- + Add CSS style for HTML definition lists.
168
-
169
- * Omit target type and index (&quot;Section X.Y.Z&quot;) in output of
170
- xref() nodes in the screen-version (CSS stylesheet) of
171
- the generated output document.
172
- This information is still present in the print-version
173
- (CSS stylesheet) of the generated output document, where
174
- it is truly helpful to the reader.
175
-
176
- * Add &quot;bypass&quot; option to node definitions to properly
177
- support the generic &quot;node&quot; node. Invalid XHTML was being
178
- generated because the `node' node was marked as simply
179
- &quot;inline&quot;, so it was not pulled out of the &lt;p&gt; tag created
180
- by Maruku.
181
-
182
- Bug fixes
183
-
184
- * The &quot;silent&quot; property in node definitions was not being
185
- honored.
186
-
187
- * Fix error when inserting reference nodes (they are not
188
- inline!).
189
-
190
- * Add workaround for Maruku treating first line of input as
191
- parameter definition, and thereby omitting it from the
192
- output!
193
-
194
- * Array#to_s is equivalent to Array#inspect in Ruby 1.9.
195
-
196
- * [30]HelloWorld format specification file added methods to
197
- the nonexistent ERBook::Node class instead of adding them
198
- to the ERBook::Document::Node class.
199
-
200
- Housekeeping
201
-
202
- * Simplify language phrases used in mini navigation menus.
203
-
204
- * Remove CSS hacks for supporting IE6; it cannot render
205
- XHTML anyway.
206
-
207
- * Render italics and boldface equally in serif font. Bold
208
- is truly bold now and italic is distinctive.
209
-
210
- * Adjust spacing between document title, author, and date
211
- headings.
212
-
213
- * Add copyright notice at the top of every file.
214
- </pre>
215
- <p>
216
- References
217
- </p>
218
- <pre>
219
- 1. http://snk.tuxfamily.org/lib/erbook/#HelloWorld
220
- 2. http://en.wikipedia.org/wiki/ERuby
221
- 3. http://snk.tuxfamily.org/lib/erbook/#xhtml
222
- 4. http://snk.tuxfamily.org/lib/erbook/#latex
223
- 5. http://snk.tuxfamily.org/lib/erbook/#man
224
- 6. http://snk.tuxfamily.org/lib/erbook/#text
225
- 7. http://snk.tuxfamily.org/lib/erbook/#License
226
- 8. http://en.wikipedia.org/wiki/ERuby
227
- 9. http://snk.tuxfamily.org/lib/erbook/#HelloWorld
228
- 10. http://www.docbook.org/
229
- 11. http://deplate.sourceforge.net/
230
- 12. http://www.jus.uio.no/sisu/SiSU/
231
- 13. http://www.methods.co.nz/asciidoc/
232
- 14. http://txt2tags.sourceforge.net/
233
- 15. http://www.triptico.com/software/grutatxt.html
234
- 16. http://snk.tuxfamily.org/lib/erbook/#History
235
- 17. http://github.com/sunaku/erbook
236
- 18. http://git-scm.com/
237
- 19. http://snk.tuxfamily.org/lib/erbook/./api/index.html
238
- 20. http://snk.tuxfamily.org/lib/erbook/
239
- 21. http://snk.tuxfamily.org/lib/erbook/#License
240
- 22. http://www.rubygems.org/read/chapter/7
241
- 23. http://snk.tuxfamily.org/lib/erbook/#xhtml
242
- 24. http://snk.tuxfamily.org/lib/ember
243
- 25. http://snk.tuxfamily.org/lib/erbook/#Version-5.0.0-2008-11-22
244
- 26. http://www.w3.org/MarkUp/2004/xhtml-faq#ie
245
- 27. http://snk.tuxfamily.org/lib/erbook/#xhtml
246
- 28. http://demos.flesler.com/jquery/scrollTo/
247
- 29. http://github.com/sprsquish/rainpress/tree/master
248
- 30. http://snk.tuxfamily.org/lib/erbook/#HelloWorld.spec
249
- </pre>
250
-
251
- </div>
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
- </div>
274
- </div>
275
- </body>
276
- </html>