erbook 7.0.0 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +3 -0
- data/bin/erbook +2 -2
- data/doc/HelloWorld.input +1 -1
- data/doc/api/classes/ERBook/Document.html +153 -150
- data/doc/api/classes/ERBook/Document/Node.html +7 -7
- data/doc/api/classes/ERBook/Template.html +24 -24
- data/doc/api/classes/ERBook/Template/Sandbox.html +6 -6
- data/doc/api/classes/RDoc/AnyMethod.html +32 -28
- data/doc/api/classes/RDoc/TopLevel.html +47 -47
- data/doc/api/classes/String.html +14 -14
- data/doc/api/created.rid +1 -1
- data/doc/api/files/CREDITS.html +68 -0
- data/doc/api/files/lib/erbook/document_rb.html +1 -3
- data/doc/api/files/lib/erbook/rdoc_rb.html +1 -1
- data/doc/api/files/lib/erbook/template_rb.html +1 -1
- data/doc/api/files/lib/erbook/to_xhtml_rb.html +3 -3
- data/doc/api/files/lib/erbook_rb.html +3 -1
- data/doc/api/panel/search_index.js +1 -1
- data/doc/api/panel/tree.js +1 -1
- data/doc/formats.erb +129 -8
- data/doc/history.erb +136 -2
- data/doc/index.erb +2 -2
- data/doc/index.xhtml +1867 -610
- data/doc/intro.erb +29 -13
- data/doc/setup.erb +9 -2
- data/doc/theory.erb +24 -3
- data/doc/usage.erb +11 -2
- data/fmt/xhtml.yaml +913 -707
- data/fmt/{xhtml.icons → xhtml/icons}/index.yaml +2 -2
- data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/COPYING +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/README +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/skins/simple/external.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/rakefile +4 -6
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/16x16/places/start-here.png +0 -0
- data/fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/actions/go-next.png +0 -0
- data/fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/actions/go-previous.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/32x32/places/start-here.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/32x32/status/software-update-available.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/apps/accessories-text-editor.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/apps/internet-group-chat.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/emblems/emblem-important.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-error.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-information.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-warning.png +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/COPYING +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/README +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/bookmark-new.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/go-home.svg +0 -0
- data/fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-next.svg +191 -0
- data/fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-previous.svg +852 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/view-refresh.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/apps/accessories-text-editor.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/apps/internet-group-chat.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/emblems/emblem-favorite.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/emblems/emblem-important.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/mimetypes/application-certificate.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/places/start-here.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-error.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-information.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-warning.svg +0 -0
- data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/software-update-available.svg +0 -0
- data/fmt/xhtml/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/fmt/xhtml/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/fmt/xhtml/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/fmt/xhtml/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/fmt/xhtml/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/fmt/xhtml/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/fmt/xhtml/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/fmt/xhtml/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/fmt/xhtml/jquery/images/ui-icons_222222_256x240.png +0 -0
- data/fmt/xhtml/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
- data/fmt/xhtml/jquery/images/ui-icons_454545_256x240.png +0 -0
- data/fmt/xhtml/jquery/images/ui-icons_888888_256x240.png +0 -0
- data/fmt/xhtml/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/fmt/{xhtml.scripts → xhtml/jquery}/jquery-1.3.2.min.js +0 -0
- data/fmt/xhtml/jquery/jquery-ui-1.7.2.custom.css +406 -0
- data/fmt/xhtml/jquery/jquery-ui-1.7.2.custom.min.js +43 -0
- data/lang/de.yaml +13 -2
- data/lang/el.yaml +13 -2
- data/lang/es.yaml +13 -2
- data/lang/fr.yaml +13 -2
- data/lang/it.yaml +13 -2
- data/lang/ja.yaml +13 -2
- data/lang/ko.yaml +13 -2
- data/lang/nl.yaml +13 -2
- data/lang/phrases.yaml +15 -4
- data/lang/pt.yaml +13 -2
- data/lang/ru.yaml +13 -2
- data/lang/zh.yaml +13 -2
- data/lang/zt.yaml +13 -2
- data/lib/erbook.rb +10 -8
- data/lib/erbook/document.rb +144 -139
- data/lib/erbook/rdoc.rb +29 -7
- data/lib/erbook/template.rb +2 -2
- data/lib/erbook/to_xhtml.rb +6 -2
- metadata +78 -45
- data/doc/api/files/ANN_eml.html +0 -276
- data/doc/api/files/ANN_html.html +0 -407
- data/doc/api/files/ANN_txt.html +0 -271
- data/fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/actions/go-down.png +0 -0
- data/fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/actions/go-up.png +0 -0
- data/fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-down.svg +0 -200
- data/fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-up.svg +0 -196
- data/fmt/xhtml.scripts/jquery.localscroll-1.2.7-min.js +0 -9
- data/fmt/xhtml.scripts/jquery.scrollTo-1.4.1-min.js +0 -11
data/doc/api/files/ANN_html.html
DELETED
@@ -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
|
-
<center>
|
32
|
-
<h1>ERBook 7.0.0</h1>
|
33
|
-
<p>Extensible document processor based on eRuby</p>
|
34
|
-
<p>http://snk.tuxfamily.org/lib/erbook/</p>
|
35
|
-
</center>
|
36
|
-
<p>ERBook is an extensible document processor that emits <a class="xref" href="http://snk.tuxfamily.org/lib/erbook/#HelloWorld" title="Section 3.2.3. &quot;Creating your own document format&quot;">any document you can imagine</a> from <a href='http://en.wikipedia.org/wiki/ERuby'>eRuby templates</a> that allow scripting and dynamic content generation.</p>
|
37
|
-
</pre>
|
38
|
-
<p>
|
39
|
-
<p>A working <a class=“xref” href=“<a
|
40
|
-
href="http://snk.tuxfamily.org/lib/erbook/#xhtml">snk.tuxfamily.org/lib/erbook/#xhtml</a>“
|
41
|
-
title=“Chapter 5.1. &quot;XHTML (web page)&quot;”>XHTML
|
42
|
-
(web page)</a> format is provided, while <a class=“xref”
|
43
|
-
href=“<a
|
44
|
-
href="http://snk.tuxfamily.org/lib/erbook/#latex">snk.tuxfamily.org/lib/erbook/#latex</a>“
|
45
|
-
title=“Chapter 5.3. &quot;LaTeX (PDF)&quot;”>LaTeX
|
46
|
-
(PDF)</a>, <a class=“xref” href=“<a
|
47
|
-
href="http://snk.tuxfamily.org/lib/erbook/#man">snk.tuxfamily.org/lib/erbook/#man</a>“
|
48
|
-
title=“Chapter 5.4. &quot;UNIX manual page&quot;”>UNIX
|
49
|
-
manual page</a>, and <a class=“xref” href=“<a
|
50
|
-
href="http://snk.tuxfamily.org/lib/erbook/#text">snk.tuxfamily.org/lib/erbook/#text</a>“
|
51
|
-
title=“Chapter 5.2. &quot;Plain text&quot;”>plain
|
52
|
-
text</a> formats are planned&8230; <a class=“xref”
|
53
|
-
href=“<a
|
54
|
-
href="http://snk.tuxfamily.org/lib/erbook/#License">snk.tuxfamily.org/lib/erbook/#License</a>“
|
55
|
-
title=“Section 1.1. &quot;License&quot;”>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=’<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=“xref” href=“<a
|
68
|
-
href="http://snk.tuxfamily.org/lib/erbook/#HelloWorld">snk.tuxfamily.org/lib/erbook/#HelloWorld</a>“
|
69
|
-
title=“Section 3.2.3. &quot;Creating your own document
|
70
|
-
format&quot;”>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=’<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=’<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=’<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=’<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=’<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=’<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=“section”>
|
107
|
-
</p>
|
108
|
-
<pre>
|
109
|
-
<a name="Logistics"/>
|
110
|
-
<h2 class="title">Logistics
|
111
|
-
</h2>
|
112
|
-
<div class="content"><ul>
|
113
|
-
</pre>
|
114
|
-
<p>
|
115
|
-
<li><a class=“xref” href=“<a
|
116
|
-
href="http://snk.tuxfamily.org/lib/erbook/#History">snk.tuxfamily.org/lib/erbook/#History</a>“
|
117
|
-
title=“Chapter 6. &quot;History&quot;”>Release
|
118
|
-
notes</a> &8212; history of project releases.</li>
|
119
|
-
</p>
|
120
|
-
<p>
|
121
|
-
<li><a href=’<a
|
122
|
-
href="http://github.com/sunaku/erbook'>Source">github.com/sunaku/erbook'>Source</a>
|
123
|
-
code</a> &8212; obtain via <a href=’<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=’<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> &8212; documentation for source code.</li>
|
131
|
-
</p>
|
132
|
-
<p>
|
133
|
-
<li><a href=’<a
|
134
|
-
href="http://snk.tuxfamily.org/lib/erbook/'>Project">snk.tuxfamily.org/lib/erbook/'>Project</a>
|
135
|
-
home</a> &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=“xref” href=“<a
|
138
|
-
href="http://snk.tuxfamily.org/lib/erbook/#License">snk.tuxfamily.org/lib/erbook/#License</a>“
|
139
|
-
title=“Section 1.1. &quot;License&quot;”>contact the
|
140
|
-
authors</a>.</p>
|
141
|
-
</p>
|
142
|
-
<p>
|
143
|
-
<div class=“paragraph”>
|
144
|
-
</p>
|
145
|
-
<pre>
|
146
|
-
<a name="Version-numbers"/>
|
147
|
-
<p class="title">Version numbers</p>
|
148
|
-
<div class="content"><p>ERBook releases are numbered in <em>major.minor.patch</em> form according to the <a href='http://www.rubygems.org/read/chapter/7'>RubyGems rational versioning policy</a>, which can be summarized thus:</p>
|
149
|
-
</pre>
|
150
|
-
<p>
|
151
|
-
<table border=“1”>
|
152
|
-
</p>
|
153
|
-
<pre>
|
154
|
-
<thead>
|
155
|
-
<tr>
|
156
|
-
<td rowspan='2'>What increased in the version number?</td>
|
157
|
-
<td colspan='3'>The increase indicates that the release:</td>
|
158
|
-
</tr>
|
159
|
-
<tr>
|
160
|
-
<th>Is backward compatible?</th>
|
161
|
-
<th>Has new features?</th>
|
162
|
-
<th>Has bug fixes?</th>
|
163
|
-
</tr>
|
164
|
-
</thead>
|
165
|
-
<tbody>
|
166
|
-
<tr>
|
167
|
-
<th>major</th>
|
168
|
-
<td style='background-color: #FFE4E1;'>No</td>
|
169
|
-
<td>Yes</td>
|
170
|
-
<td>Yes</td>
|
171
|
-
</tr>
|
172
|
-
<tr>
|
173
|
-
<th>minor</th>
|
174
|
-
<td>Yes</td>
|
175
|
-
<td>Yes</td>
|
176
|
-
<td>Yes</td>
|
177
|
-
</tr>
|
178
|
-
<tr>
|
179
|
-
<th>patch</th>
|
180
|
-
<td>Yes</td>
|
181
|
-
<td style='background-color: #FFE4E1;'>No</td>
|
182
|
-
<td>Yes</td>
|
183
|
-
</tr>
|
184
|
-
</tbody>
|
185
|
-
</pre>
|
186
|
-
<p>
|
187
|
-
</table></div> </div><p></p>
|
188
|
-
</p>
|
189
|
-
<pre>
|
190
|
-
<div class="section">
|
191
|
-
<a name="Version-7.0.0-2009-05-03"/>
|
192
|
-
<h2 class="title">Version 7.0.0 (2009-05-03)
|
193
|
-
</h2>
|
194
|
-
<div class="content"><p>This release improves the appearance, usability, and validity of <a class="xref" href="http://snk.tuxfamily.org/lib/erbook/#xhtml" title="Chapter 5.1">XHTML (web page)</a> output, upgrades to a new eRuby templating system, adds new processing options to node definitions, and fixes some bugs.</p>
|
195
|
-
</pre>
|
196
|
-
<p>
|
197
|
-
<div class=“paragraph”>
|
198
|
-
</p>
|
199
|
-
<pre>
|
200
|
-
<a name="Incompatible-changes"/>
|
201
|
-
<p class="title">Incompatible changes</p>
|
202
|
-
<div class="content"><ul>
|
203
|
-
</pre>
|
204
|
-
<p>
|
205
|
-
<li> <p>If you add methods to the <code class=“line”><span
|
206
|
-
style=“color:036;font-weight:bold”>ERBook</span>::<span
|
207
|
-
style=“color:036;font-weight:bold”>Template</span></code>
|
208
|
-
class, in order to provide them to eRuby templates, you must now add those
|
209
|
-
methods to the <code class=“line”><span
|
210
|
-
style=“color:036;font-weight:bold”>ERBook</span>::<span
|
211
|
-
style=“color:036;font-weight:bold”>Template</span>::<span
|
212
|
-
style=“color:036;font-weight:bold”>Sandbox</span></code> class
|
213
|
-
instead.</p> </li>
|
214
|
-
</p>
|
215
|
-
<p>
|
216
|
-
<li> <p>The <a href=’<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>&lt;%# include YOUR_FILE #%&gt;</pre>
|
226
|
-
</p>
|
227
|
-
<p>
|
228
|
-
<p>Ember provides equivalent functionality:</p>
|
229
|
-
</p>
|
230
|
-
<p>
|
231
|
-
<pre>%&lt; &quot;YOUR_FILE&quot;</pre> </li> </ul> </li>
|
232
|
-
</p>
|
233
|
-
<p>
|
234
|
-
<li> <p>The <tt>erbook/to_xhtml</tt> library now annotates
|
235
|
-
&60;code&62; elements with a &8220;line&8221; or
|
236
|
-
&8220;para&8221; class indicating whether they span a single or
|
237
|
-
mulitple lines respectively.</p>
|
238
|
-
</p>
|
239
|
-
<p>
|
240
|
-
<p>The &8220;pre.code&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=“xref” href=“<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>“
|
252
|
-
title=“Section 6.5“>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=’<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=“xref” href=“<a
|
260
|
-
href="http://snk.tuxfamily.org/lib/erbook/#xhtml">snk.tuxfamily.org/lib/erbook/#xhtml</a>“
|
261
|
-
title=“Chapter 5.1“>XHTML (web page)</a> format cannot be
|
262
|
-
viewed in those browsers.</p> </blockquote> </li> </ul></div> </div><div
|
263
|
-
class=“paragraph”>
|
264
|
-
</p>
|
265
|
-
<pre>
|
266
|
-
<a name="New-features"/>
|
267
|
-
<p class="title">New features</p>
|
268
|
-
<div class="content"><ul>
|
269
|
-
</pre>
|
270
|
-
<p>
|
271
|
-
<li> <p>Replace dark background theme with a &8220;wide open
|
272
|
-
spaces&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=’<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=’<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 (&8220;Section X.Y.Z&8221;) in
|
303
|
-
output of <code class=“line”>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 &8220;bypass&8221; option to node definitions to
|
313
|
-
properly support the generic &8220;node&8221; node. Invalid XHTML
|
314
|
-
was being generated because the &8216;node&8217; node was marked as
|
315
|
-
simply &8220;inline&8221;, so it was not pulled out of the
|
316
|
-
&60;p&62; tag created by Maruku.</p> </li> </ul></div> </div><div
|
317
|
-
class=“paragraph”>
|
318
|
-
</p>
|
319
|
-
<pre>
|
320
|
-
<a name="Bug-fixes"/>
|
321
|
-
<p class="title">Bug fixes</p>
|
322
|
-
<div class="content"><ul>
|
323
|
-
</pre>
|
324
|
-
<p>
|
325
|
-
<li> <p>The &8220;silent&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=“line”><span
|
338
|
-
style=“color:036;font-weight:bold”>Array</span><span
|
339
|
-
style=“color:888“>to_s</span></code> is equivalent to <code
|
340
|
-
class=“line”><span
|
341
|
-
style=“color:036;font-weight:bold”>Array</span><span
|
342
|
-
style=“color:888“>inspect</span></code> in Ruby 1.9.</p> </li>
|
343
|
-
</p>
|
344
|
-
<p>
|
345
|
-
<li> <p><a class=“xref” href=“<a
|
346
|
-
href="http://snk.tuxfamily.org/lib/erbook/#HelloWorld.spec">snk.tuxfamily.org/lib/erbook/#HelloWorld.spec</a>“
|
347
|
-
title=“Example 1”>HelloWorld format specification file</a>
|
348
|
-
added methods to the nonexistent <code class=“line”><span
|
349
|
-
style=“color:036;font-weight:bold”>ERBook</span>::<span
|
350
|
-
style=“color:036;font-weight:bold”>Node</span></code> class
|
351
|
-
instead of adding them to the <code class=“line”><span
|
352
|
-
style=“color:036;font-weight:bold”>ERBook</span>::<span
|
353
|
-
style=“color:036;font-weight:bold”>Document</span>::<span
|
354
|
-
style=“color:036;font-weight:bold”>Node</span></code>
|
355
|
-
class.</p> </li> </ul></div> </div><div class=“paragraph”>
|
356
|
-
</p>
|
357
|
-
<pre>
|
358
|
-
<a name="Housekeeping"/>
|
359
|
-
<p class="title">Housekeeping</p>
|
360
|
-
<div class="content"><ul>
|
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>
|
data/doc/api/files/ANN_txt.html
DELETED
@@ -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
|
-
%< “YOUR_FILE“
|
125
|
-
</p>
|
126
|
-
<pre>
|
127
|
-
* The erbook/to_xhtml library now annotates <code> elements
|
128
|
-
with a "line" or "para" class indicating whether they
|
129
|
-
span a single or mulitple lines respectively.
|
130
|
-
The "pre.code" 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 "wide open spaces"
|
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 ("Section X.Y.Z") 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 "bypass" option to node definitions to properly
|
172
|
-
support the generic "node" node. Invalid XHTML was being
|
173
|
-
generated because the `node' node was marked as simply
|
174
|
-
"inline", so it was not pulled out of the <p> tag created
|
175
|
-
by Maruku.
|
176
|
-
|
177
|
-
Bug fixes
|
178
|
-
|
179
|
-
* The "silent" 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>
|