erbook 7.1.1 → 7.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/doc/formats.erb CHANGED
@@ -31,21 +31,21 @@
31
31
 
32
32
  For example, if you replace the entire <tt>to_xhtml.rb</tt> file with the following code, then the output of all nodes will appear within red boxes in the final output document.
33
33
 
34
- <code>
35
- class String
36
- # Transforms this string into XHTML while ensuring that the
37
- # result contains one or more block-level elements at the root.
38
- def to_xhtml
39
- '<p style="border: thin solid red">' + self + '</p>'
40
- end
34
+ class String
35
+ # Transforms this string into XHTML while ensuring that the
36
+ # result contains one or more block-level elements at the root.
37
+ def to_xhtml
38
+ '<p style="border: thin solid red">' + self + '</p>'
39
+ end
41
40
 
42
- # Transforms this string into an *inline* XHTML string (one that
43
- # does not contain any block-level XHTML elements at the root).
44
- def to_inline_xhtml
45
- self
46
- end
47
- end
48
- </code>
41
+ # Transforms this string into an *inline* XHTML string (one that
42
+ # does not contain any block-level XHTML elements at the root).
43
+ def to_inline_xhtml
44
+ self
45
+ end
46
+ end
47
+
48
+ {:lang=ruby}
49
49
 
50
50
  In addition to supporting Markdown syntax, the default implementation has some additional features which are described in the following subsections.
51
51
 
@@ -297,7 +297,7 @@
297
297
 
298
298
  %|section "caution", "xhtml.nodes.caution"
299
299
 
300
- bq. A note of caution. Use this for example when the reader may lose easily recovered or replaceable information (e.g. user settings), or when they could cause data loss if they don't correctly follow the procedure being outlined. <%= cite "KDE.admonitions" %>
300
+ > A note of caution. Use this for example when the reader may lose easily recovered or replaceable information (e.g. user settings), or when they could cause data loss if they don't correctly follow the procedure being outlined. <%= cite "KDE.admonitions" %>
301
301
 
302
302
 
303
303
  %|caution "An example"
@@ -309,7 +309,7 @@
309
309
 
310
310
  Use an **important** node when:
311
311
 
312
- bq. When there is no danger of data loss, but you wish to make clear to the reader a consequence that isn't immediately obvious (e.g. when changing the font for one instance of a program also changes the default setting, and this isn't clear from the GUI.) <%= cite "KDE.admonitions" %>
312
+ > When there is no danger of data loss, but you wish to make clear to the reader a consequence that isn't immediately obvious (e.g. when changing the font for one instance of a program also changes the default setting, and this isn't clear from the GUI.) <%= cite "KDE.admonitions" %>
313
313
 
314
314
 
315
315
  %|important "An example"
@@ -321,7 +321,7 @@
321
321
 
322
322
  Use a **note** node to convey:
323
323
 
324
- bq. Information the user should be aware of, but is peripheral to the actual task being described. <%= cite "KDE.admonitions" %>
324
+ > Information the user should be aware of, but is peripheral to the actual task being described. <%= cite "KDE.admonitions" %>
325
325
 
326
326
 
327
327
  %|note "An example"
@@ -333,7 +333,7 @@
333
333
 
334
334
  Use a **tip** node when:
335
335
 
336
- bq. When you're giving a hint to make things easier or more productive for the reader. <%= cite "KDE.admonitions" %>
336
+ > When you're giving a hint to make things easier or more productive for the reader. <%= cite "KDE.admonitions" %>
337
337
 
338
338
 
339
339
  %|tip "An example"
data/doc/history.erb CHANGED
@@ -9,6 +9,71 @@
9
9
  %|history
10
10
 
11
11
 
12
+ %|section "Version 7.3.0 (2009-10-09)"
13
+
14
+ This release improves the printer friendliness of the XHTML format.
15
+
16
+
17
+ %|paragraph "New features"
18
+
19
+ * Do not omit ERBook internals from node stack traces.
20
+
21
+ * Hide "printer friendly" toggle checkbox when printing (but not when viewing the "printer friendly" mode on the computer screen).
22
+
23
+ * Hide the "About" section in "printer friendly" mode.
24
+
25
+
26
+ %|paragraph "Bug fixes"
27
+
28
+ * Page scrolled to wrong location when links in the table of contents in the "printer friendly" mode were clicked.
29
+
30
+ * Print style was not used when printing from "printer friendly" mode.
31
+
32
+ * Sans-serif font was not used in headings in print style.
33
+
34
+
35
+ %|paragraph "Housekeeping"
36
+
37
+ * Use Ember syntax in <%= xref "HelloWorld.input" %> example.
38
+
39
+
40
+ %|section "Version 7.2.0 (2009-10-07)"
41
+
42
+ This release improves support for Ruby 1.9 and Webkit-based web browsers, reduces gem dependencies, and fixes some bugs.
43
+
44
+
45
+ %|paragraph "New features"
46
+
47
+ * Add `String#thru_ember` method for direct template rendering.
48
+
49
+
50
+ %|paragraph "Bug fixes"
51
+
52
+ XHTML
53
+
54
+ * Fix "printer friendly" toggle checkbox for Webkit browsers.
55
+ * Disable interactive TOC tree location coloring in print style.
56
+ * Use normal line height for preformatted text in print style.
57
+ * Use serif for normal and sans-serif for emphasis in print style.
58
+
59
+ Ruby 1.9
60
+
61
+ * `Array#to_s` is same as `Array#inspect` in Ruby 1.9.
62
+ * RDoc 2.4.3 no longer provides `RDoc::Generators::MarkUp`.
63
+
64
+ Markdown
65
+
66
+ * Allow "code spans" annotated with Maruku's IAL (Inline Attribute List) Markdown extension to be syntax colored.
67
+
68
+
69
+ %|paragraph "Housekeeping"
70
+
71
+ * Remove CSS and JavaScript minification in favor of manual gzip compression and fewer gem dependencies.
72
+ * Fix forgotten Textile 'bq.' to Markdown '>' conversion.
73
+ * Omit navigation menu from Abstract; it is standalone.
74
+ * Mark all code spans with `{:lang=ruby}` instead of HTML `<code/>` tags
75
+
76
+
12
77
  %|section "Version 7.1.1 (2009-09-06)"
13
78
 
14
79
  This release improves support for Microsoft, Opera, and Webkit web browsers in the XHTML format, revises the code and documentation, and fixes some bugs.
@@ -320,7 +385,7 @@
320
385
 
321
386
  %|paragraph "New features"
322
387
 
323
- * Added admonition icon for HTML <code><blockquote></code> element.
388
+ * Added admonition icon for HTML `<blockquote>` element.
324
389
 
325
390
  * A visual marker is shown on outgoing (external) hyperlinks.
326
391