erbook 7.0.0 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,407 +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.html</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.html
19
- </h1>
20
- <ul class="files">
21
- <li>ANN.html</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
- <pre>
31
- &lt;center&gt;
32
- &lt;h1&gt;ERBook 7.0.0&lt;/h1&gt;
33
- &lt;p&gt;Extensible document processor based on eRuby&lt;/p&gt;
34
- &lt;p&gt;http://snk.tuxfamily.org/lib/erbook/&lt;/p&gt;
35
- &lt;/center&gt;
36
- &lt;p&gt;ERBook is an extensible document processor that emits &lt;a class=&quot;xref&quot; href=&quot;http://snk.tuxfamily.org/lib/erbook/#HelloWorld&quot; title=&quot;Section 3.2.3. &amp;quot;Creating your own document format&amp;quot;&quot;&gt;any document you can imagine&lt;/a&gt; from &lt;a href='http://en.wikipedia.org/wiki/ERuby'&gt;eRuby templates&lt;/a&gt; that allow scripting and dynamic content generation.&lt;/p&gt;
37
- </pre>
38
- <p>
39
- <p>A working <a class=&#8220;xref&#8221; href=&#8220;<a
40
- href="http://snk.tuxfamily.org/lib/erbook/#xhtml">snk.tuxfamily.org/lib/erbook/#xhtml</a>&#8220;
41
- title=&#8220;Chapter 5.1. &amp;quot;XHTML (web page)&amp;quot;&#8221;>XHTML
42
- (web page)</a> format is provided, while <a class=&#8220;xref&#8221;
43
- href=&#8220;<a
44
- href="http://snk.tuxfamily.org/lib/erbook/#latex">snk.tuxfamily.org/lib/erbook/#latex</a>&#8220;
45
- title=&#8220;Chapter 5.3. &amp;quot;LaTeX (PDF)&amp;quot;&#8221;>LaTeX
46
- (PDF)</a>, <a class=&#8220;xref&#8221; href=&#8220;<a
47
- href="http://snk.tuxfamily.org/lib/erbook/#man">snk.tuxfamily.org/lib/erbook/#man</a>&#8220;
48
- title=&#8220;Chapter 5.4. &amp;quot;UNIX manual page&amp;quot;&#8221;>UNIX
49
- manual page</a>, and <a class=&#8220;xref&#8221; href=&#8220;<a
50
- href="http://snk.tuxfamily.org/lib/erbook/#text">snk.tuxfamily.org/lib/erbook/#text</a>&#8220;
51
- title=&#8220;Chapter 5.2. &amp;quot;Plain text&amp;quot;&#8221;>plain
52
- text</a> formats are planned&amp;8230; <a class=&#8220;xref&#8221;
53
- href=&#8220;<a
54
- href="http://snk.tuxfamily.org/lib/erbook/#License">snk.tuxfamily.org/lib/erbook/#License</a>&#8220;
55
- title=&#8220;Section 1.1. &amp;quot;License&amp;quot;&#8221;>patches are
56
- welcome</a>!</p>
57
- </p>
58
- <p>
59
- <p><a href="../classes/ERBook.html">ERBook</a> is exciting because:</p>
60
- </p>
61
- <p>
62
- <ul> <li>Its documents are scriptable <a href=&#8217;<a
63
- href="http://en.wikipedia.org/wiki/ERuby'>eRuby">en.wikipedia.org/wiki/ERuby'>eRuby</a>
64
- templates</a>.</li>
65
- </p>
66
- <p>
67
- <li>It lets you <a class=&#8220;xref&#8221; href=&#8220;<a
68
- href="http://snk.tuxfamily.org/lib/erbook/#HelloWorld">snk.tuxfamily.org/lib/erbook/#HelloWorld</a>&#8220;
69
- title=&#8220;Section 3.2.3. &amp;quot;Creating your own document
70
- format&amp;quot;&#8221;>define your own document formats</a>.</li>
71
- </p>
72
- <p>
73
- <li>Its core contains less than 300 lines of code.</li> </ul>
74
- </p>
75
- <p>
76
- <p>These features distinguish <a href="../classes/ERBook.html">ERBook</a>
77
- from the competition, which offers neither scriptable documents nor
78
- definable document formats:</p>
79
- </p>
80
- <p>
81
- <ul> <li><a href=&#8217;<a
82
- href="http://www.docbook.org'>DocBook</a></li">www.docbook.org'>DocBook</a></li</a>>
83
- </p>
84
- <p>
85
- <li><a href=&#8217;<a
86
- href="http://deplate.sourceforge.net'>Deplate</a></li">deplate.sourceforge.net'>Deplate</a></li</a>>
87
- </p>
88
- <p>
89
- <li><a href=&#8217;<a
90
- href="http://www.jus.uio.no/sisu/SiSU/'>SiSU</a></li">www.jus.uio.no/sisu/SiSU/'>SiSU</a></li</a>>
91
- </p>
92
- <p>
93
- <li><a href=&#8217;<a
94
- href="http://www.methods.co.nz/asciidoc/'>AsciiDoc</a></li">www.methods.co.nz/asciidoc/'>AsciiDoc</a></li</a>>
95
- </p>
96
- <p>
97
- <li><a href=&#8217;<a
98
- href="http://txt2tags.sourceforge.net'>txt2tags</a></li">txt2tags.sourceforge.net'>txt2tags</a></li</a>>
99
- </p>
100
- <p>
101
- <li><a href=&#8217;<a
102
- href="http://www.triptico.com/software/grutatxt.html'>Grutatxt</a></li">www.triptico.com/software/grutatxt.html'>Grutatxt</a></li</a>>
103
- </ul>
104
- </p>
105
- <p>
106
- <div class=&#8220;section&#8221;>
107
- </p>
108
- <pre>
109
- &lt;a name=&quot;Logistics&quot;/&gt;
110
- &lt;h2 class=&quot;title&quot;&gt;Logistics
111
- &lt;/h2&gt;
112
- &lt;div class=&quot;content&quot;&gt;&lt;ul&gt;
113
- </pre>
114
- <p>
115
- <li><a class=&#8220;xref&#8221; href=&#8220;<a
116
- href="http://snk.tuxfamily.org/lib/erbook/#History">snk.tuxfamily.org/lib/erbook/#History</a>&#8220;
117
- title=&#8220;Chapter 6. &amp;quot;History&amp;quot;&#8221;>Release
118
- notes</a> &amp;8212; history of project releases.</li>
119
- </p>
120
- <p>
121
- <li><a href=&#8217;<a
122
- href="http://github.com/sunaku/erbook'>Source">github.com/sunaku/erbook'>Source</a>
123
- code</a> &amp;8212; obtain via <a href=&#8217;<a
124
- href="http://git-scm.com'>Git</a">git-scm.com'>Git</a</a>> or browse
125
- online.</li>
126
- </p>
127
- <p>
128
- <li><a href=&#8217;<a
129
- href="http://snk.tuxfamily.org/lib/erbook/./api/index.html'>API">snk.tuxfamily.org/lib/erbook/./api/index.html'>API</a>
130
- reference</a> &amp;8212; documentation for source code.</li>
131
- </p>
132
- <p>
133
- <li><a href=&#8217;<a
134
- href="http://snk.tuxfamily.org/lib/erbook/'>Project">snk.tuxfamily.org/lib/erbook/'>Project</a>
135
- home</a> &amp;8212; the <a href="../classes/ERBook.html">ERBook</a> project
136
- home page.</li> </ul></div> </div><p> To get help or provide feedback,
137
- simply <a class=&#8220;xref&#8221; href=&#8220;<a
138
- href="http://snk.tuxfamily.org/lib/erbook/#License">snk.tuxfamily.org/lib/erbook/#License</a>&#8220;
139
- title=&#8220;Section 1.1. &amp;quot;License&amp;quot;&#8221;>contact the
140
- authors</a>.</p>
141
- </p>
142
- <p>
143
- <div class=&#8220;paragraph&#8221;>
144
- </p>
145
- <pre>
146
- &lt;a name=&quot;Version-numbers&quot;/&gt;
147
- &lt;p class=&quot;title&quot;&gt;Version numbers&lt;/p&gt;
148
- &lt;div class=&quot;content&quot;&gt;&lt;p&gt;ERBook releases are numbered in &lt;em&gt;major.minor.patch&lt;/em&gt; form according to the &lt;a href='http://www.rubygems.org/read/chapter/7'&gt;RubyGems rational versioning policy&lt;/a&gt;, which can be summarized thus:&lt;/p&gt;
149
- </pre>
150
- <p>
151
- <table border=&#8220;1&#8221;>
152
- </p>
153
- <pre>
154
- &lt;thead&gt;
155
- &lt;tr&gt;
156
- &lt;td rowspan='2'&gt;What increased in the version number?&lt;/td&gt;
157
- &lt;td colspan='3'&gt;The increase indicates that the release:&lt;/td&gt;
158
- &lt;/tr&gt;
159
- &lt;tr&gt;
160
- &lt;th&gt;Is backward compatible?&lt;/th&gt;
161
- &lt;th&gt;Has new features?&lt;/th&gt;
162
- &lt;th&gt;Has bug fixes?&lt;/th&gt;
163
- &lt;/tr&gt;
164
- &lt;/thead&gt;
165
- &lt;tbody&gt;
166
- &lt;tr&gt;
167
- &lt;th&gt;major&lt;/th&gt;
168
- &lt;td style='background-color: #FFE4E1;'&gt;No&lt;/td&gt;
169
- &lt;td&gt;Yes&lt;/td&gt;
170
- &lt;td&gt;Yes&lt;/td&gt;
171
- &lt;/tr&gt;
172
- &lt;tr&gt;
173
- &lt;th&gt;minor&lt;/th&gt;
174
- &lt;td&gt;Yes&lt;/td&gt;
175
- &lt;td&gt;Yes&lt;/td&gt;
176
- &lt;td&gt;Yes&lt;/td&gt;
177
- &lt;/tr&gt;
178
- &lt;tr&gt;
179
- &lt;th&gt;patch&lt;/th&gt;
180
- &lt;td&gt;Yes&lt;/td&gt;
181
- &lt;td style='background-color: #FFE4E1;'&gt;No&lt;/td&gt;
182
- &lt;td&gt;Yes&lt;/td&gt;
183
- &lt;/tr&gt;
184
- &lt;/tbody&gt;
185
- </pre>
186
- <p>
187
- </table></div> </div><p></p>
188
- </p>
189
- <pre>
190
- &lt;div class=&quot;section&quot;&gt;
191
- &lt;a name=&quot;Version-7.0.0-2009-05-03&quot;/&gt;
192
- &lt;h2 class=&quot;title&quot;&gt;Version 7.0.0 (2009-05-03)
193
- &lt;/h2&gt;
194
- &lt;div class=&quot;content&quot;&gt;&lt;p&gt;This release improves the appearance, usability, and validity of &lt;a class=&quot;xref&quot; href=&quot;http://snk.tuxfamily.org/lib/erbook/#xhtml&quot; title=&quot;Chapter 5.1&quot;&gt;XHTML (web page)&lt;/a&gt; output, upgrades to a new eRuby templating system, adds new processing options to node definitions, and fixes some bugs.&lt;/p&gt;
195
- </pre>
196
- <p>
197
- <div class=&#8220;paragraph&#8221;>
198
- </p>
199
- <pre>
200
- &lt;a name=&quot;Incompatible-changes&quot;/&gt;
201
- &lt;p class=&quot;title&quot;&gt;Incompatible changes&lt;/p&gt;
202
- &lt;div class=&quot;content&quot;&gt;&lt;ul&gt;
203
- </pre>
204
- <p>
205
- <li> <p>If you add methods to the <code class=&#8220;line&#8221;><span
206
- style=&#8220;color:036;font-weight:bold&#8221;>ERBook</span>::<span
207
- style=&#8220;color:036;font-weight:bold&#8221;>Template</span></code>
208
- class, in order to provide them to eRuby templates, you must now add those
209
- methods to the <code class=&#8220;line&#8221;><span
210
- style=&#8220;color:036;font-weight:bold&#8221;>ERBook</span>::<span
211
- style=&#8220;color:036;font-weight:bold&#8221;>Template</span>::<span
212
- style=&#8220;color:036;font-weight:bold&#8221;>Sandbox</span></code> class
213
- instead.</p> </li>
214
- </p>
215
- <p>
216
- <li> <p>The <a href=&#8217;<a
217
- href="http://snk.tuxfamily.org/lib/ember'>Ember</a">snk.tuxfamily.org/lib/ember'>Ember</a</a>>
218
- template processor is now used to render eRuby templates instead of the ERB
219
- library that is shipped with Ruby.</p>
220
- </p>
221
- <p>
222
- <ul> <li> <p>The file inclusion directive has been removed:</p>
223
- </p>
224
- <p>
225
- <pre>&amp;lt;%# include YOUR_FILE #%&amp;gt;</pre>
226
- </p>
227
- <p>
228
- <p>Ember provides equivalent functionality:</p>
229
- </p>
230
- <p>
231
- <pre>%&amp;lt; &amp;quot;YOUR_FILE&amp;quot;</pre> </li> </ul> </li>
232
- </p>
233
- <p>
234
- <li> <p>The <tt>erbook/to_xhtml</tt> library now annotates
235
- &amp;60;code&amp;62; elements with a &amp;8220;line&amp;8221; or
236
- &amp;8220;para&amp;8221; class indicating whether they span a single or
237
- mulitple lines respectively.</p>
238
- </p>
239
- <p>
240
- <p>The &amp;8220;pre.code&amp;8221; CSS class is no longer emitted.</p>
241
- </li>
242
- </p>
243
- <p>
244
- <li> <p>The <tt>erbook/rdoc</tt> library has been updated to work with <a
245
- href="../classes/RDoc.html">RDoc</a> 2.4.3. It no longer supports the old
246
- <a href="../classes/RDoc.html">RDoc</a> that is shipped with Ruby 1.8.</p>
247
- </li>
248
- </p>
249
- <p>
250
- <li> <p>Just a reminder from the <a class=&#8220;xref&#8221; href=&#8220;<a
251
- href="http://snk.tuxfamily.org/lib/erbook/#Version-5.0.0-2008-11-22">snk.tuxfamily.org/lib/erbook/#Version-5.0.0-2008-11-22</a>&#8220;
252
- title=&#8220;Section 6.5&#8220;>Version 5.0.0 (2008-11-22)</a> release
253
- notes:</p>
254
- </p>
255
- <p>
256
- <blockquote> <p>Internet Explorer 6 and 7 <a href=&#8217;<a
257
- href="http://www.w3.org/MarkUp/2004/xhtml-faq#ie'>do">www.w3.org/MarkUp/2004/xhtml-faq#ie'>do</a><em>
258
- not</em> support</a> the application/xhtml+xml mime type, so the output
259
- generated by the <a class=&#8220;xref&#8221; href=&#8220;<a
260
- href="http://snk.tuxfamily.org/lib/erbook/#xhtml">snk.tuxfamily.org/lib/erbook/#xhtml</a>&#8220;
261
- title=&#8220;Chapter 5.1&#8220;>XHTML (web page)</a> format cannot be
262
- viewed in those browsers.</p> </blockquote> </li> </ul></div> </div><div
263
- class=&#8220;paragraph&#8221;>
264
- </p>
265
- <pre>
266
- &lt;a name=&quot;New-features&quot;/&gt;
267
- &lt;p class=&quot;title&quot;&gt;New features&lt;/p&gt;
268
- &lt;div class=&quot;content&quot;&gt;&lt;ul&gt;
269
- </pre>
270
- <p>
271
- <li> <p>Replace dark background theme with a &amp;8220;wide open
272
- spaces&amp;8221; theme.</p>
273
- </p>
274
- <p>
275
- <ul> <li> <p>Use icons instead of unicode glyphs for mini navigation
276
- menus.</p> </li>
277
- </p>
278
- <p>
279
- <li> <p>Put mini navigation menus on right-hand side of headings</p> </li>
280
- </p>
281
- <p>
282
- <li> <p>Use <a href=&#8217;<a
283
- href="http://demos.flesler.com/jquery/scrollTo/'>scrolling">demos.flesler.com/jquery/scrollTo/'>scrolling</a>
284
- animation</a> when local links (URI fragments) are visited, instead of
285
- instantly teleporting to the destination. This gives a sense of spatial
286
- existence to the web page, making it feel almost tangible!</p> </li> </ul>
287
- </li>
288
- </p>
289
- <p>
290
- <li> <p>XHTML output is now valid XHTML 1.0 Transitional! And the embedded
291
- CSS it contains is now valid CSS 3!</p>
292
- </p>
293
- <p>
294
- <ul> <li> <p>Minify CSS in XHTML output using the <a href=&#8217;<a
295
- href="http://github.com/sprsquish/rainpress/tree/master'>Rainpress">github.com/sprsquish/rainpress/tree/master'>Rainpress</a>
296
- library</a>.</p> </li>
297
- </p>
298
- <p>
299
- <li> <p>Add CSS style for HTML definition lists.</p> </li> </ul> </li>
300
- </p>
301
- <p>
302
- <li> <p>Omit target type and index (&amp;8220;Section X.Y.Z&amp;8221;) in
303
- output of <code class=&#8220;line&#8221;>xref()</code> nodes in the
304
- screen-version (CSS stylesheet) of the generated output document.</p>
305
- </p>
306
- <p>
307
- <p>This information is still present in the print-version (CSS stylesheet)
308
- of the generated output document, where it is truly helpful to the
309
- reader.</p> </li>
310
- </p>
311
- <p>
312
- <li> <p>Add &amp;8220;bypass&amp;8221; option to node definitions to
313
- properly support the generic &amp;8220;node&amp;8221; node. Invalid XHTML
314
- was being generated because the &amp;8216;node&amp;8217; node was marked as
315
- simply &amp;8220;inline&amp;8221;, so it was not pulled out of the
316
- &amp;60;p&amp;62; tag created by Maruku.</p> </li> </ul></div> </div><div
317
- class=&#8220;paragraph&#8221;>
318
- </p>
319
- <pre>
320
- &lt;a name=&quot;Bug-fixes&quot;/&gt;
321
- &lt;p class=&quot;title&quot;&gt;Bug fixes&lt;/p&gt;
322
- &lt;div class=&quot;content&quot;&gt;&lt;ul&gt;
323
- </pre>
324
- <p>
325
- <li> <p>The &amp;8220;silent&amp;8221; property in node definitions was not
326
- being honored.</p> </li>
327
- </p>
328
- <p>
329
- <li> <p>Fix error when inserting reference nodes (they are not
330
- inline!).</p> </li>
331
- </p>
332
- <p>
333
- <li> <p>Add workaround for Maruku treating first line of input as parameter
334
- definition, and thereby omitting it from the output!</p> </li>
335
- </p>
336
- <p>
337
- <li> <p><code class=&#8220;line&#8221;><span
338
- style=&#8220;color:036;font-weight:bold&#8221;>Array</span><span
339
- style=&#8220;color:888&#8220;>to_s</span></code> is equivalent to <code
340
- class=&#8220;line&#8221;><span
341
- style=&#8220;color:036;font-weight:bold&#8221;>Array</span><span
342
- style=&#8220;color:888&#8220;>inspect</span></code> in Ruby 1.9.</p> </li>
343
- </p>
344
- <p>
345
- <li> <p><a class=&#8220;xref&#8221; href=&#8220;<a
346
- href="http://snk.tuxfamily.org/lib/erbook/#HelloWorld.spec">snk.tuxfamily.org/lib/erbook/#HelloWorld.spec</a>&#8220;
347
- title=&#8220;Example 1&#8221;>HelloWorld format specification file</a>
348
- added methods to the nonexistent <code class=&#8220;line&#8221;><span
349
- style=&#8220;color:036;font-weight:bold&#8221;>ERBook</span>::<span
350
- style=&#8220;color:036;font-weight:bold&#8221;>Node</span></code> class
351
- instead of adding them to the <code class=&#8220;line&#8221;><span
352
- style=&#8220;color:036;font-weight:bold&#8221;>ERBook</span>::<span
353
- style=&#8220;color:036;font-weight:bold&#8221;>Document</span>::<span
354
- style=&#8220;color:036;font-weight:bold&#8221;>Node</span></code>
355
- class.</p> </li> </ul></div> </div><div class=&#8220;paragraph&#8221;>
356
- </p>
357
- <pre>
358
- &lt;a name=&quot;Housekeeping&quot;/&gt;
359
- &lt;p class=&quot;title&quot;&gt;Housekeeping&lt;/p&gt;
360
- &lt;div class=&quot;content&quot;&gt;&lt;ul&gt;
361
- </pre>
362
- <p>
363
- <li> <p>Simplify language phrases used in mini navigation menus.</p> </li>
364
- </p>
365
- <p>
366
- <li> <p>Remove CSS hacks for supporting IE6; it cannot render XHTML
367
- anyway.</p> </li>
368
- </p>
369
- <p>
370
- <li> <p>Render italics and boldface equally in serif font. Bold is truly
371
- <strong>bold</strong> now and italic is <em>distinctive</em>.</p> </li>
372
- </p>
373
- <p>
374
- <li> <p>Adjust spacing between document title, author, and date
375
- headings.</p> </li>
376
- </p>
377
- <p>
378
- <li> <p>Add copyright notice at the top of every file.</p> </li>
379
- </ul></div> </div><p> </p></div> </div>
380
- </p>
381
-
382
- </div>
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
- </div>
405
- </div>
406
- </body>
407
- </html>
@@ -1,271 +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.txt</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.txt
19
- </h1>
20
- <ul class="files">
21
- <li>ANN.txt</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
- <pre>
31
- ERBook 7.0.0
32
-
33
- Extensible document processor based on eRuby
34
-
35
- http://snk.tuxfamily.org/lib/erbook/
36
-
37
- ERBook is an extensible document processor that emits [1]any
38
- document you can imagine from [2]eRuby templates that allow
39
- scripting and dynamic content generation.
40
-
41
- A working [3]XHTML (web page) format is provided, while
42
- [4]LaTeX (PDF), [5]UNIX manual page, and [6]plain text
43
- formats are planned... [7]patches are welcome!
44
-
45
- ERBook is exciting because:
46
-
47
- * Its documents are scriptable [8]eRuby templates.
48
-
49
- * It lets you [9]define your own document formats.
50
-
51
- * Its core contains less than 300 lines of code.
52
-
53
- These features distinguish ERBook from the competition, which
54
- offers neither scriptable documents nor definable document
55
- formats:
56
-
57
- * [10]DocBook
58
-
59
- * [11]Deplate
60
-
61
- * [12]SiSU
62
-
63
- * [13]AsciiDoc
64
-
65
- * [14]txt2tags
66
-
67
- * [15]Grutatxt
68
- </pre>
69
- <p>
70
- Logistics
71
- </p>
72
- <pre>
73
- * [16]Release notes -- history of project releases.
74
-
75
- * [17]Source code -- obtain via [18]Git or browse online.
76
-
77
- * [19]API reference -- documentation for source code.
78
-
79
- * [20]Project home -- the ERBook project home page.
80
-
81
- To get help or provide feedback, simply [21]contact the
82
- authors.
83
-
84
- Version numbers
85
-
86
- ERBook releases are numbered in major.minor.patch form
87
- according to the [22]RubyGems rational versioning policy,
88
- which can be summarized thus:
89
- What increased in the version number? The increase indicates
90
- that the release:
91
- Is backward compatible? Has new features? Has bug fixes?
92
- major No Yes Yes
93
- minor Yes Yes Yes
94
- patch Yes No Yes
95
- </pre>
96
- <p>
97
- Version 7.0.0 (2009-05-03)
98
- </p>
99
- <pre>
100
- This release improves the appearance, usability, and validity
101
- of [23]XHTML (web page) output, upgrades to a new eRuby
102
- templating system, adds new processing options to node
103
- definitions, and fixes some bugs.
104
-
105
- Incompatible changes
106
-
107
- * If you add methods to the ERBook::Template class, in
108
- order to provide them to eRuby templates, you must now
109
- add those methods to the ERBook::Template::Sandbox class
110
- instead.
111
-
112
- * The [24]Ember template processor is now used to render
113
- eRuby templates instead of the ERB library that is
114
- shipped with Ruby.
115
- + The file inclusion directive has been removed:
116
- </pre>
117
- <p>
118
- <%# include YOUR_FILE #%>
119
- </p>
120
- <pre>
121
- Ember provides equivalent functionality:
122
- </pre>
123
- <p>
124
- %< &#8220;YOUR_FILE&#8220;
125
- </p>
126
- <pre>
127
- * The erbook/to_xhtml library now annotates &lt;code&gt; elements
128
- with a &quot;line&quot; or &quot;para&quot; class indicating whether they
129
- span a single or mulitple lines respectively.
130
- The &quot;pre.code&quot; CSS class is no longer emitted.
131
-
132
- * The erbook/rdoc library has been updated to work with
133
- RDoc 2.4.3. It no longer supports the old RDoc that is
134
- shipped with Ruby 1.8.
135
-
136
- * Just a reminder from the [25]Version 5.0.0 (2008-11-22)
137
- release notes:
138
-
139
- Internet Explorer 6 and 7 [26]do not support the
140
- application/xhtml+xml mime type, so the output generated
141
- by the [27]XHTML (web page) format cannot be viewed in
142
- those browsers.
143
-
144
- New features
145
-
146
- * Replace dark background theme with a &quot;wide open spaces&quot;
147
- theme.
148
- + Use icons instead of unicode glyphs for mini
149
- navigation menus.
150
- + Put mini navigation menus on right-hand side of
151
- headings
152
- + Use [28]scrolling animation when local links (URI
153
- fragments) are visited, instead of instantly
154
- teleporting to the destination. This gives a sense
155
- of spatial existence to the web page, making it feel
156
- almost tangible!
157
-
158
- * XHTML output is now valid XHTML 1.0 Transitional! And the
159
- embedded CSS it contains is now valid CSS 3!
160
- + Minify CSS in XHTML output using the [29]Rainpress
161
- library.
162
- + Add CSS style for HTML definition lists.
163
-
164
- * Omit target type and index (&quot;Section X.Y.Z&quot;) in output of
165
- xref() nodes in the screen-version (CSS stylesheet) of
166
- the generated output document.
167
- This information is still present in the print-version
168
- (CSS stylesheet) of the generated output document, where
169
- it is truly helpful to the reader.
170
-
171
- * Add &quot;bypass&quot; option to node definitions to properly
172
- support the generic &quot;node&quot; node. Invalid XHTML was being
173
- generated because the `node' node was marked as simply
174
- &quot;inline&quot;, so it was not pulled out of the &lt;p&gt; tag created
175
- by Maruku.
176
-
177
- Bug fixes
178
-
179
- * The &quot;silent&quot; property in node definitions was not being
180
- honored.
181
-
182
- * Fix error when inserting reference nodes (they are not
183
- inline!).
184
-
185
- * Add workaround for Maruku treating first line of input as
186
- parameter definition, and thereby omitting it from the
187
- output!
188
-
189
- * Array#to_s is equivalent to Array#inspect in Ruby 1.9.
190
-
191
- * [30]HelloWorld format specification file added methods to
192
- the nonexistent ERBook::Node class instead of adding them
193
- to the ERBook::Document::Node class.
194
-
195
- Housekeeping
196
-
197
- * Simplify language phrases used in mini navigation menus.
198
-
199
- * Remove CSS hacks for supporting IE6; it cannot render
200
- XHTML anyway.
201
-
202
- * Render italics and boldface equally in serif font. Bold
203
- is truly bold now and italic is distinctive.
204
-
205
- * Adjust spacing between document title, author, and date
206
- headings.
207
-
208
- * Add copyright notice at the top of every file.
209
- </pre>
210
- <p>
211
- References
212
- </p>
213
- <pre>
214
- 1. http://snk.tuxfamily.org/lib/erbook/#HelloWorld
215
- 2. http://en.wikipedia.org/wiki/ERuby
216
- 3. http://snk.tuxfamily.org/lib/erbook/#xhtml
217
- 4. http://snk.tuxfamily.org/lib/erbook/#latex
218
- 5. http://snk.tuxfamily.org/lib/erbook/#man
219
- 6. http://snk.tuxfamily.org/lib/erbook/#text
220
- 7. http://snk.tuxfamily.org/lib/erbook/#License
221
- 8. http://en.wikipedia.org/wiki/ERuby
222
- 9. http://snk.tuxfamily.org/lib/erbook/#HelloWorld
223
- 10. http://www.docbook.org/
224
- 11. http://deplate.sourceforge.net/
225
- 12. http://www.jus.uio.no/sisu/SiSU/
226
- 13. http://www.methods.co.nz/asciidoc/
227
- 14. http://txt2tags.sourceforge.net/
228
- 15. http://www.triptico.com/software/grutatxt.html
229
- 16. http://snk.tuxfamily.org/lib/erbook/#History
230
- 17. http://github.com/sunaku/erbook
231
- 18. http://git-scm.com/
232
- 19. http://snk.tuxfamily.org/lib/erbook/./api/index.html
233
- 20. http://snk.tuxfamily.org/lib/erbook/
234
- 21. http://snk.tuxfamily.org/lib/erbook/#License
235
- 22. http://www.rubygems.org/read/chapter/7
236
- 23. http://snk.tuxfamily.org/lib/erbook/#xhtml
237
- 24. http://snk.tuxfamily.org/lib/ember
238
- 25. http://snk.tuxfamily.org/lib/erbook/#Version-5.0.0-2008-11-22
239
- 26. http://www.w3.org/MarkUp/2004/xhtml-faq#ie
240
- 27. http://snk.tuxfamily.org/lib/erbook/#xhtml
241
- 28. http://demos.flesler.com/jquery/scrollTo/
242
- 29. http://github.com/sprsquish/rainpress/tree/master
243
- 30. http://snk.tuxfamily.org/lib/erbook/#HelloWorld.spec
244
- </pre>
245
-
246
- </div>
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
- </div>
269
- </div>
270
- </body>
271
- </html>