diff --git a/README.mdown b/README.mdown
index dcc970b..b54c8ac 100644
--- a/README.mdown
+++ b/README.mdown
@@ -2,7 +2,7 @@ Shoes Tutorial Note
===================
**- For the Shoes App Rookie Creators -**
-Nov. 29th, 2008 by ashbb (Satoshi Asakawa)
+Dec. 1st, 2008 by ashbb (Satoshi Asakawa)
Table of contents
-----------------
@@ -68,6 +68,7 @@ Table of contents
Change log:
-----------
+Dec 01st, 2008: Added '\\' in front of '\_' for githb spec change or bug.
Nov 29th, 2008: Modified file name '\_' to '-' for github spec change or bug. Added assignment 3.
Nov 24th, 2008: Added a new tool, patch.rb, which replace image-file-path-on-github. This is a temporary patch. Because I'm not sure about a github spec change or a bug.
Nov 23th, 2008: Improved mkmdown.rb to add sample program names in the table of contents. Added a new tool, mkpdf.rb.
diff --git a/mdowns/00100_Introduction.mdown b/mdowns/00100_Introduction.mdown
index 1085250..a909559 100644
--- a/mdowns/00100_Introduction.mdown
+++ b/mdowns/00100_Introduction.mdown
@@ -1,7 +1,7 @@
Introduction
------------
-Shoes is a cross-platform tiny graphics and windowing toolkit for the Ruby programming language written by [_why](http://en.wikipedia.org/wiki/Why_the_lucky_stiff).
+Shoes is a cross-platform tiny graphics and windowing toolkit for the Ruby programming language written by [\_why](http://en.wikipedia.org/wiki/Why_the_lucky_stiff).
All sample programs and data files in this tutorial can be downloaded from [here](http://github.com/ashbb/shoes_tutorial/tree/master).
diff --git a/mdowns/00300_First_step.mdown b/mdowns/00300_First_step.mdown
index d4ed9b1..951dc82 100644
--- a/mdowns/00300_First_step.mdown
+++ b/mdowns/00300_First_step.mdown
@@ -33,9 +33,9 @@ A Tip: Quick Launcher
---------------------
The windows link in a "Tool Bar".
-**shoes_launcher.jpg**
+**shoes\_launcher.jpg**
-![shoes_launcher.jpg](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/shoes_launcher.jpg)
+![shoes\_launcher.jpg](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/shoes_launcher.jpg)
*This tip is provided by Victor Goff -- Saturday, 15 November 2008, POIRPWSC101-1I*
diff --git a/mdowns/00406_No.6_edit__line.mdown b/mdowns/00406_No.6_edit__line.mdown
index 4761da8..6c16a8f 100644
--- a/mdowns/00406_No.6_edit__line.mdown
+++ b/mdowns/00406_No.6_edit__line.mdown
@@ -20,7 +20,7 @@ Edit lines are a slender, little box for entering one line of text.
![sample7.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/sample7.png)
-We can use :secret in the edit_line area.
+We can use :secret in the edit\_line area.
# sample7-1.rb
Shoes.app :width => 235, :height => 80 do
diff --git a/mdowns/00501_Open_Shoes_built-in_manual_and_Shoes_console_window.mdown b/mdowns/00501_Open_Shoes_built-in_manual_and_Shoes_console_window.mdown
index 5ce9159..7e4e579 100644
--- a/mdowns/00501_Open_Shoes_built-in_manual_and_Shoes_console_window.mdown
+++ b/mdowns/00501_Open_Shoes_built-in_manual_and_Shoes_console_window.mdown
@@ -18,7 +18,7 @@ Or select from the menu. See here.
To open the Shoes console window,
type Alt + / on any Shoes app window.
-**shoes_console.png**
+**shoes\_console.png**
-![shoes_console.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/shoes_console.png)
+![shoes\_console.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/shoes_console.png)
diff --git a/mdowns/00505_Built-in_Constants_and_methods.mdown b/mdowns/00505_Built-in_Constants_and_methods.mdown
index 77d951b..811cba4 100644
--- a/mdowns/00505_Built-in_Constants_and_methods.mdown
+++ b/mdowns/00505_Built-in_Constants_and_methods.mdown
@@ -2,13 +2,13 @@ Built-in Constants and methods
------------------------------
Built-in Constants:
-Shoes::RELEASE_NAME
-Shoes::RELEASE_ID
+Shoes::RELEASE\_NAME
+Shoes::RELEASE\_ID
Shoes::REVISION
Shoes::FONTS
Built-in methods:
These methods can be used anywhere throughout Shoes programs:
- alert, ask, ask_color, ask\_open\_file, ask\_save\_file, ask\_open\_folder, ask\_save\_folder, confirm, debug, error, exit, font, gradient, gray, info, rgb, warn
+ alert, ask, ask\_color, ask\_open\_file, ask\_save\_file, ask\_open\_folder, ask\_save\_folder, confirm, debug, error, exit, font, gradient, gray, info, rgb, warn
Read the Built-in manual -> Shoes -> Built-in section.
diff --git a/mdowns/00506_Scope__A_tip_of_using_the_YAML_file.mdown b/mdowns/00506_Scope__A_tip_of_using_the_YAML_file.mdown
index c0a20db..f7dd2dc 100644
--- a/mdowns/00506_Scope__A_tip_of_using_the_YAML_file.mdown
+++ b/mdowns/00506_Scope__A_tip_of_using_the_YAML_file.mdown
@@ -17,12 +17,15 @@ Scope: A tip about using YAML files
The top-level namespace in any Shoes app is Shoes
so in sample19.rb
- Gang = Struct.new :name, :country
+ Gang = Struct.new :name, :country
It really make a Shoes::Gang struct, not a Gang struct,
so change that line to this and it (sample19-1.rb) works well.
- ::Gang = Struct.new :name, :country
+ ::Gang = Struct.new :name, :country
+
+Modified code is
+
# sample19-1.rb
require 'yaml'
diff --git a/mdowns/00507_keypress,_mouse_and_clipboard.mdown b/mdowns/00507_keypress,_mouse_and_clipboard.mdown
index b34d2cb..2a2f354 100644
--- a/mdowns/00507_keypress,_mouse_and_clipboard.mdown
+++ b/mdowns/00507_keypress,_mouse_and_clipboard.mdown
@@ -36,11 +36,11 @@ yar
shaha
Copy the above list into the system clipboard.
-Click Yar and she will rotate (*1).
+Click Yar and she will rotate (\*1).
Then paste the clipboard text into the place you want.
-*1: With Shoes-0.r925, Yar rotates well as expected. But with Shoes-0.r970, Yar rotates when the mouse moves out of the Shoes window. This behavior is a bug. It has been fixed in Shoes-0.r1057.
+\*1: With Shoes-0.r925, Yar rotates well as expected. But with Shoes-0.r970, Yar rotates when the mouse moves out of the Shoes window. This behavior is a bug. It has been fixed in Shoes-0.r1057.
Oops, Shoes-0.r1091 behaves as same as Shoes-0.r970. Maybe it's a bug again...
after:
diff --git a/mdowns/00516_Classes_List_and_Colors_List.mdown b/mdowns/00516_Classes_List_and_Colors_List.mdown
index fe19ca5..aa077e3 100644
--- a/mdowns/00516_Classes_List_and_Colors_List.mdown
+++ b/mdowns/00516_Classes_List_and_Colors_List.mdown
@@ -21,6 +21,6 @@ We can also see them with the following sample code.
![sample30.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/sample30.png)
-_why is thinking about some more method related colors.
+\_why is thinking about some more method related colors.
e.g. invert, dark?, light?, black?, white?, opaque?, transparent?
We might be able to get them in the near future.
diff --git a/mdowns/00520_widget_with_block.mdown b/mdowns/00520_widget_with_block.mdown
index a39e3c2..7b10cc5 100644
--- a/mdowns/00520_widget_with_block.mdown
+++ b/mdowns/00520_widget_with_block.mdown
@@ -30,9 +30,9 @@ You can use the widget object with a block to respond to keypress or mouse event
![sample36.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/sample36.png)
-Click Yar and she will rotate (*1).
+Click Yar and she will rotate (\*1).
-*1: With Shoes-0.r925, Yar rotates well as expected. But with Shoes-0.r970, Yar rotates when the mouse moves out of the Shoes window. This behavior is a bug. It has been fixed in Shoes-0.r1057.
+\*1: With Shoes-0.r925, Yar rotates well as expected. But with Shoes-0.r970, Yar rotates when the mouse moves out of the Shoes window. This behavior is a bug. It has been fixed in Shoes-0.r1057.
Oops, Shoes-0.r1091 behaves as same as Shoes-0.r970. Maybe it's a bug again...
diff --git a/mdowns/00521_text_message_slide-in.mdown b/mdowns/00521_text_message_slide-in.mdown
index 4a0da0d..2c91f4b 100644
--- a/mdowns/00521_text_message_slide-in.mdown
+++ b/mdowns/00521_text_message_slide-in.mdown
@@ -1,7 +1,7 @@
text message slide-in
---------------------
-_why gave us his one thousandth commit of Shoes on 24th Sep. Here is a new sample - simple-slide.rb: showing slide-in slide-out animation.
+\_why gave us his one thousandth commit of Shoes on 24th Sep. Here is a new sample - simple-slide.rb: showing slide-in slide-out animation.
**simple-slide.png**
diff --git a/mdowns/00601_External_Fonts.mdown b/mdowns/00601_External_Fonts.mdown
index 20f2d03..7d4528f 100644
--- a/mdowns/00601_External_Fonts.mdown
+++ b/mdowns/00601_External_Fonts.mdown
@@ -6,7 +6,7 @@ Picked up some topics here which were discussed in the Shoes ML nowadays.
External Fonts
--------------
-_why added support to Shoes for loading .ttf and .otf files (and others, depending on your platform.)
+\_why added support to Shoes for loading .ttf and .otf files (and others, depending on your platform.)
Can't wait next build.
diff --git a/mdowns/00602_Locking_edit__box.mdown b/mdowns/00602_Locking_edit__box.mdown
index b290242..c1cf809 100644
--- a/mdowns/00602_Locking_edit__box.mdown
+++ b/mdowns/00602_Locking_edit__box.mdown
@@ -1,7 +1,7 @@
Locking edit\_box
-----------------
-If Shoes makes the edit_box read-only, we can select (copy) text data from it.
+If Shoes makes the edit\_box read-only, we can select (copy) text data from it.
Locking edit boxes
diff --git a/mdowns/00604_Trying_to_ease_the_RubyGems_pain.mdown b/mdowns/00604_Trying_to_ease_the_RubyGems_pain.mdown
index 3eb0ed6..97e7ab6 100644
--- a/mdowns/00604_Trying_to_ease_the_RubyGems_pain.mdown
+++ b/mdowns/00604_Trying_to_ease_the_RubyGems_pain.mdown
@@ -1,7 +1,7 @@
Trying to ease the RubyGems pain
--------------------------------
-_why announced that he is trying to ease the RubyGems pain.
+\_why announced that he is trying to ease the RubyGems pain.
Some issues are:
diff --git a/mdowns/01100_Trivia.mdown b/mdowns/01100_Trivia.mdown
index de58393..56cfacb 100644
--- a/mdowns/01100_Trivia.mdown
+++ b/mdowns/01100_Trivia.mdown
@@ -1,7 +1,7 @@
Trivia
------
-list_box needs to set :height explicitly
+list\_box needs to set :height explicitly
----------------------------------------
# sample91.rb
@@ -16,7 +16,7 @@ list_box needs to set :height explicitly
![sample91.png](http://www.rin-shun.com/rubylearning/shoes/shoes_tutorial_html/images/sample91.png)
Try to comment out :height => 30 and run.
-The list_box doesn't show the items.
+The list\_box doesn't show the items.
This strange behavior occurs only on Windows. On Mac OS X, it doesn't.
This OS X information was provided by George Thompson.
diff --git a/tools/table_of_contents.txt b/tools/table_of_contents.txt
index 898b23a..9da03ba 100644
--- a/tools/table_of_contents.txt
+++ b/tools/table_of_contents.txt
@@ -2,7 +2,7 @@ Shoes Tutorial Note
===================
**- For the Shoes App Rookie Creators -**
-Nov. 29th, 2008 by ashbb (Satoshi Asakawa)
+Dec. 1st, 2008 by ashbb (Satoshi Asakawa)
Table of contents
-----------------
@@ -68,6 +68,7 @@ Table of contents
Change log:
-----------
+Dec 01st, 2008: Added '\\' in front of '\_' for githb spec change or bug.
Nov 29th, 2008: Modified file name '\_' to '-' for github spec change or bug. Added assignment 3.
Nov 24th, 2008: Added a new tool, patch.rb, which replace image-file-path-on-github. This is a temporary patch. Because I'm not sure about a github spec change or a bug.
Nov 23th, 2008: Improved mkmdown.rb to add sample program names in the table of contents. Added a new tool, mkpdf.rb.